[jboss-user] [JCA/JBoss] - Re: RA deployment in JBoss

jeff.yuchang do-not-reply at jboss.com
Wed Oct 17 10:57:45 EDT 2007


A little story about my situation:

Before I pack the rar file in an ear, I use the cxf-ds.xml and cxf.rar to do the deployment.

Because the cxf uses some jars which JBoss used its older version, to make it cxf based RA works, I need to endorse a bunch of jars in the $JBoss/lib/endorsed.

    *  geronimo-activation_1.1_spec-1.0-M1.jar
    * geronimo-annotation_1.0_spec-1.1.jar
    * geronimo-ws-metadata_2.0_spec-1.1.1.jar
    * jaxb-api-2.1.jar
    * jaxb-impl-2.1.4.jar
    * jaxb-xjc-2.1.4.jar
    * jsr181-api-1.0-MR1.jar
    * saaj-api-1.3.jar
    * saaj-impl-1.3.jar
    * stax-api-1.0.1.jar
    * stax-utils-20060502.jar

and it can start successfully, however, I am looking for an elegant way to do this instead of using endorsed.

So I know I need to use the scoped classloader, and in order to do that, it needs me to pack the RAR to an EAR, and then adding the jboss-app.xml to configure.


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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096131



More information about the jboss-user mailing list