[jboss-user] [IronJacamar] - Re: How do I make RAR classes visible to separate EAR modules? JBoss 7.1.1.Final, IronJacamar 1.0.16.Final, JDK 6
Omar Vega
do-not-reply at jboss.com
Tue May 7 17:33:50 EDT 2013
Omar Vega [https://community.jboss.org/people/ovegag] created the discussion
"Re: How do I make RAR classes visible to separate EAR modules? JBoss 7.1.1.Final, IronJacamar 1.0.16.Final, JDK 6"
To view the discussion, visit: https://community.jboss.org/message/816611#816611
--------------------------------------------------------------
After a careful reading https://community.jboss.org/message/626315#626315 https://community.jboss.org/message/626315#626315 and https://community.jboss.org/thread/219118 https://community.jboss.org/thread/219118 and https://docs.jboss.org/author/display/AS71/Class+Loading+in+AS7 https://docs.jboss.org/author/display/AS71/Class+Loading+in+AS7 I was able to fix the issue above by modifying the jboss-deployment-structure.xml on the EAR file as well as the jboss-deployment-structure.xml on the RAR.
The contents of the jboss-deployment-structure.xml file on the RAR (sevensys-cloud-adapter-aws.rar):
*<?xml version="1.0" encoding="UTF-8"?>*
*<jboss-deployment-structure>*
* <deployment>*
* <exports>*
* <include path="mx/sevensys/cloud/api**" />*
* <include path="org/jclouds**" />*
* </exports>*
* <dependencies>*
* <module name="javax.inject.api"/>*
* <module name="javax.ws.rs.api"/>*
* <module name="javax.annotation.api"/>*
* </dependencies>*
* </deployment>*
*</jboss-deployment-structure>*
The contents of the jboss-deployment-structure.xml file on the EAR:
*<?xml version="1.0" encoding="UTF-8"?>*
*<jboss-deployment-structure>*
* <ear-subdeployments-isolated>false</ear-subdeployments-isolated>*
* <sub-deployment name="sample-ear-ejb.jar">*
* <dependencies>*
* <module name="deployment.sevensys-cloud-adapter-aws.rar"/>*
* </dependencies>*
* </sub-deployment>*
*</jboss-deployment-structure>*
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/816611#816611]
Start a new discussion in IronJacamar at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2098]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130507/fff189a0/attachment-0001.html
More information about the jboss-user
mailing list