| Author |
Classloader
|
Nathaniel Stoddard
Ranch Hand
Joined: May 29, 2003
Posts: 1258
|
|
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.
|
Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
|
 |
norman richards
Author
Ranch Hand
Joined: Jul 21, 2003
Posts: 364
|
|
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.
|
[<a href="http://members.capmac.org/~orb/blog.cgi" target="_blank" rel="nofollow">blog</a>] [<a href="http://www.amazon.com/exec/obidos/ASIN/0596100078/orb-20" target="_blank" rel="nofollow">JBoss: A Developer's Notebook</a>] [<a href="http://www.amazon.com/exec/obidos/ASIN/1932394052/orb-20" target="_blank" rel="nofollow">XDoclet in Action</a>]
|
 |
 |
|
|
subject: Classloader
|
|
|