• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Classloader

 
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can anybody give me a very simple example of the jboss-web configuration to make my WAR have its own classloader? I read some websites and searched this forum, but everything I've tried doesn't seem to have any effect (the whole loader-repository tag thing). (My sympton is my logging messages showing up in the JBoss server.log instead of my own.) I'm only interested in my WAR having its own classloader, not the entire EAR.

So, if anybody feels generous, gracias. BTW, I'm using JBoss 4.
 
Author
Posts: 367
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If the WAR is inside of the EAR, it cannot be scoped (have its own classloader). You'll need to do the isolation at the EAR level or separate out the WAR file.

Try http://www.jboss.org/wiki/Wiki.jsp?page=Logging for some general advice on logging.
reply
    Bookmark Topic Watch Topic
  • New Topic