[jboss-dev-forums] [JBoss AS7 Development] - Cannot deploy ear on JBoss 7, ClassNotFoundException throws
Hiep Le Canh
do-not-reply at jboss.com
Wed Nov 16 03:42:16 EST 2011
Hiep Le Canh [http://community.jboss.org/people/canhhiep] created the discussion
"Cannot deploy ear on JBoss 7, ClassNotFoundException throws"
To view the discussion, visit: http://community.jboss.org/message/636724#636724
--------------------------------------------------------------
Hi,
When I deploy my ear which was deployed successfully in JBoss 5 to JBoss 7. ClassNotFoundException happens.
I have 2 ejb modules, one module contans the interface (ExamInterface module) and the other contain implemention of that interface (ExamImpl module) . Both of them are placed at the root of the EAR file. The exception thrown when ExamImpl module deploying, the interface not found.
Does anyone have the same issue? please let me know how to fix it.
I think this issue happens because of the order of deployment, ExamInterface must be deployed before ExamImpl module. I try to add
<initialize-in-order>true</initialize-in-order> to application.xml but it seems not working.
Thanks
Hiep
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/636724#636724]
Start a new discussion in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20111116/1d117abd/attachment.html
More information about the jboss-dev-forums
mailing list