[jboss-dev-forums] [JBoss Microcontainer Development POJO Server] - Re: Implementing a non-flat deployment for Weld Integration

Ales Justin do-not-reply at jboss.com
Wed Sep 29 07:17:55 EDT 2010


Ales Justin [http://community.jboss.org/people/alesj] created the discussion

"Re: Implementing a non-flat deployment for Weld Integration"

To view the discussion, visit: http://community.jboss.org/message/563888#563888

--------------------------------------------------------------
> - finally, I tested the attached weld-translator.ear file, that contains weld-translator-lib.jar, and whose weld-translator.jar archive references that lib jar from its manifest. It doesn't work either. This time, VFSUtils.addManifestLocations recognizes the referenced jar, but the WeldFilesDeployer piece of code I pasted above does not get the extra classpath entry $JBOSS_HOME/server/all/deploy/weld-translator.ear/weld-translator-lib.jar. The outcome is the following deployment exception:
This test is actually semi-broken, as it doesn't exactly/propery test what you had in mind.
The catch is in the way we handle sub-deployments in .ear.
Even though they are not referenced in application.xml, they are still considered to be real ear contents; see EARStructure.

So, in your case, the SentenceParser bean could come or be refed (in Weld) from just another sub-deployment,
hence not actually thru manifest reference.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/563888#563888]

Start a new discussion in JBoss Microcontainer Development POJO Server at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2116]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20100929/be36b0dc/attachment.html 


More information about the jboss-dev-forums mailing list