1 Reply Latest reply on Dec 13, 2012 3:13 PM by Justin Bertram

    Unnecessary JARs in HornetQ JCA RA

    Justin Bertram Master

      Currently on master if you run the "hornetq-ra-rar" example you get an archive like this:

       

      • hornetq-rar-2.3.0.BETA-SNAPSHOT.rar
        • META-INF
          • ra.xml
        • hornetq-commons-2.3.0.BETA-SNAPSHOT.jar

        • hornetq-core-client-2.3.0.BETA-SNAPSHOT.jar

        • hornetq-jms-client-2.3.0.BETA-SNAPSHOT.jar

        • hornetq-jms-server-2.3.0.BETA-SNAPSHOT.jar

        • hornetq-journal-2.3.0.BETA-SNAPSHOT.jar

        • hornetq-ra-2.3.0.BETA-SNAPSHOT.jar

        • hornetq-server-2.3.0.BETA-SNAPSHOT.jar

        • jboss-common-core-2.2.14.GA.jar

        • jboss-connector-api_1.5_spec-1.0.0.Final.jar

        • jboss-jms-api_1.1_spec-1.0.0.Final.jar

        • jbossjts-4.16.4.Final.jar

        • jboss-logging-3.1.0.GA.jar

        • jboss-logmanager-1.2.2.GA.jar

        • jboss-transaction-api_1.1_spec-1.0.0.Final.jar

        • jboss-transaction-spi-7.0.0.Final.jar

        • jgroups-3.0.10.Final.jar

        • jnpserver-5.0.3.GA.jar

        • netty-3.4.5.Final.jar

       

      I'm pretty certain that these should not be in there as they will interfere with the application server's versions (e.g. in JBoss AS 4 and 5):

      • jboss-connector-api_1.5_spec-1.0.0.Final.jar
      • jboss-jms-api_1.1_spec-1.0.0.Final.jar
      • jboss-transaction-api_1.1_spec-1.0.0.Final.jar

       

      Some of the other libraries look misplaced as well, but I can't tell for sure.  For example

      • hornetq-jms-server-2.3.0.BETA-SNAPSHOT.jar
      • hornetq-journal-2.3.0.BETA-SNAPSHOT.jar
      • jnpserver-5.0.3.GA.jar

       

      All these appear to be coming via transitive dependencies that I haven't yet been able to identify.

       

      Can anyone shed any additional light on this?