This content has been marked as final.
Show 2 replies
-
1. Re: Disable WAR classloader isolation
jaikiran Apr 19, 2009 1:25 AM (in response to altavatar)[VFSScanner] Error handling item 'index.page.xml' java.lang.NullPointerException: Cannot find URL from classLoader for index.page.xml, loading from org.jboss.web.tomcat.service.WebCtxLoader$ENCLoader@
1687250
Which exact version of AS5 do you use? I haven't seen that error or the class reporting that error before (i don't have a system where i can check for that class).How can I configure JBoss AS 5 to use the same classloader for both WARs in my EAR?
See this http://www.jboss.org/index.html?module=bb&op=viewtopic&t=153791#4224555 -
2. Re: Disable WAR classloader isolation
altavatar Apr 24, 2009 11:48 AM (in response to altavatar)"jaikiran" wrote:
Which exact version of AS5 do you use? I haven't seen that error or the class reporting that error before (i don't have a system where i can check for that class).
I've tried both AS 5.0.0 and AS 5.0.1
I tried to do as you suggested in the other thread - setting the following property to true:
%JBOSS_HOME%/server/< serverName>/deployers/jbossweb.deployer/META-INF/war-deployers-jboss-beans.xml<property name="useJBossWebLoader">true</property>
Unfortunately, I'm still seeing similar errors:WARN [VFSScanner] Error handling item 'index.page.xml': java.lang.NullPointerException: Cannot find URL from classLoader for index.page.xml, loading from org.jboss.web.tomcat.service.WebCtxLoader$ENCLoader@42b366
Looks like the same ClassLoader is still being used?