Hi,

I have a web application which uses a connector to call an external 
application. 

Due to some requirement restrictions, the web application and the connector are 
packaged seperately - they cannot be packaged into a single EAR. Also these 
components needs to be self-contained, ie all the dependent JAR files need to 
be packaged inside these components and cannot be placed in the Server's 
classpath. 

The same RAR and the WAR files need to deployed without any change to JBoss and 
also to WebLogic. 

The RA is not implementing CCI.

Since the RAR and the WAR code uses the ConenctionFactory I need to place the 
Connector JAR file inside both the RAR and the WAR. Since the classloaders for 
RAR and the WAR are different I get a ClassCastException when I lookup the 
ConnectionFactory in the Web Application.

For the connector and the web application to be run on the Weblogic App. Server 
I can keep the Connector JAR file (containing the ConnectionFactory 
implementation) in both the RAR file and the JAR file and also set the 
<enable-global-access-to-classes>true</enable-global-access-to-classes> in 
weblogic-ra.xml. 

Can someone please help me by providing a similar solution with JBoss keeping 
in mind the following requirements:

1. CCI not supported
2. Connector JAR needs to be placed in both the RAR and the WAR
3. The shared JAR files cannot be moved to Server classpath
4. RAR and WAR needs to be deployed seperately - not in an EAR
5. RAR and WAR needs to be deployed in JBoss and Weblogic without any 
structural change.

Is there any option in JBoss specific deployment descriptors?

Thanks and Regards,
Venu

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023524#4023524

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023524
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to