[jboss-user] [JBoss Seam] - Re: Two EARs with shared EJB/WAR
aleeuwen
do-not-reply at jboss.com
Thu Jan 24 07:52:26 EST 2008
"nickarls" wrote : Do you have an jboss-app.xml with a loader-repository?
That would be a no, however upon trying to use the following content in mij /META-INF/jboss-app.xml:
<!DOCTYPE jboss-app
| PUBLIC "-//JBoss//DTD J2EE Application 1.4//EN"
| "http://www.jboss.org/j2ee/dtd/jboss-app_4_2.dtd">
|
| <jboss-app>
| <loader-repository>
| seam.jboss.org:loader=ORM-ear.ear
| </loader-repository>
| </jboss-app>
It gives me the following error:
13:41:44,032 INFO [Contexts] starting up: org.jboss.seam.bpm.jbpm
| 13:41:44,069 ERROR [[/orm]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener
| java.lang.NoClassDefFoundError: org/w3c/dom/Document
| at org.jbpm.configuration.ObjectFactoryParser.parseElementsFromResource(ObjectFactoryParser.java:104)
| at org.jbpm.JbpmConfiguration.parseObjectFactory(JbpmConfiguration.java:312)
| at org.jbpm.JbpmConfiguration.parseResource(JbpmConfiguration.java:360)
| at org.jboss.seam.bpm.Jbpm.<clinit>(Jbpm.java:305)
|
If I don't have jboss-app.xml placed there it starts up okay. Clues?
Thank you very much so far :-) It does seem to scope Seam (etc) correctly.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123011#4123011
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123011
More information about the jboss-user
mailing list