[jboss-jira] [JBoss JIRA] Commented: (JBAS-7210) JBossContextConfig needs to be isolated from the war class loader

Sanne Grinovero (JIRA) jira-events at lists.jboss.org
Thu Jan 21 11:31:29 EST 2010


    [ https://jira.jboss.org/jira/browse/JBAS-7210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12507558#action_12507558 ] 

Sanne Grinovero commented on JBAS-7210:
---------------------------------------

Hello,
we've been building JBoss from EAP5 branch; deploying a simple WAR containing Xerces makes the application server fail booting. It appears JBoss's classloader is not yet isolated from the war (please reopen the issue)

it shows:

16:00:50,218 ERROR [AbstractKernelController] Error installing to Start: name=jboss.j2ee:module="jira.war",service=EjbModule,uid=225182096 state=Create mode=Manual requiredState=Installed 
org.jboss.deployment.DeploymentException: Invalid XML: file=vfsfile:/home/tst/Downloads/Projects/jboss-eap/build/output/jboss-eap-5.0.1-SNAPSHOT/server/default/conf/standardjbosscmp-jdbc.xml 
at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:351) 
at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:273) 
at org.jboss.metadata.XmlFileLoader.getDocumentFromURL(XmlFileLoader.java:245) 
at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:229) 
at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCXmlFileLoader.load(JDBCXmlFileLoader.java:77) 
at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadJDBCEntityMetaData(JDBCStoreManager.java:732) 
at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:424) 
at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:368) 
at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:172) 
at org.jboss.ejb.EjbModule.startService(EjbModule.java:495)

> JBossContextConfig needs to be isolated from the war class loader
> -----------------------------------------------------------------
>
>                 Key: JBAS-7210
>                 URL: https://jira.jboss.org/jira/browse/JBAS-7210
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: ClassLoading, Web (Tomcat) service
>    Affects Versions: JBossAS-5.1.0.GA
>            Reporter: Scott M Stark
>            Assignee: Scott M Stark
>             Fix For: JBossAS-6.0.0.M2
>
>         Attachments: jbas-7210.war.zip
>
>
> The parsing of the context.xml by the JBossContextConfig class is using the tccl which causes problems when the war app has tried to load its own xml parser.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list