-
1. Re: Deployment of EAR and separate WAR making trouble
tviet Mar 12, 2013 11:25 PM (in response to webut)Hi Werner,
I faced with the same thing as you mentioned above. Have you found any solution please advice?
Thanks,
Viet Tran
-
2. Re: Deployment of EAR and separate WAR making trouble
prashamsjain Mar 13, 2013 12:13 AM (in response to tviet)Hi,
Even I am facing similar issues. and it is throwing this exception. Unable to file the reason as this is the complete stack-trace for this errors
06:47:11,620 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-2) Error listenerStart
06:47:11,620 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-2) Context [/applicationName] startup failed due to previous errors
06:47:11,636 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2)
MSC000001: Failed to start service jboss.web.deployment.default-host./applicationName:
org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./applicationName:
JBAS018040: Failed to start context -
3. Re: Deployment of EAR and separate WAR making trouble
mp911de Mar 13, 2013 4:11 AM (in response to prashamsjain)Hi,
please keep in mind, if you want to access EJB's from a WAR which is outside your EAR, you must use Remote EJB (classloading and serialization is handled differently in comparison to Local EJB). You've got also to package the API part of the EJB (the interfaces, exceptions and model classes) as some sort of API artifact into your WAR (but without the EJB impl).
Best regards, Mark
-
4. Re: Deployment of EAR and separate WAR making trouble
webut Mar 13, 2013 5:27 AM (in response to mp911de)Hi,
unfortunately I didn't find a solution back then. Until now I am working with a regular EAR. Lucky me, the data volume in the application is much less then expected, so it is not a crucial issue for me anymore.
Though the issue will come back in the future...
@Mark: I did in fact deploy the interfaces/dtos in a utility jar but that didn't work out either. Unfortunately I cannot provide you with any detailed information anymore.
regards
Werner