1 Reply Latest reply on Feb 29, 2004 6:30 PM by Adrian Brock

    rar deployment problem

    mburke Newbie

      I've got a jca adapter that deploys correctly in one ear but not in another ear. In the ear that doesn't deploy correctly jboss log shows:
      19:09:50,445 INFO [EARDeployer] Init J2EE application: file:/home/mburke/temp/jboss-3.2.3/server/default/deploy/jcasample.ear
      19:09:51,186 INFO [RARMetaData] Loading
      19:09:51,250 INFO [RARDeployer] nested deployment: file:/home/mburke/temp/jboss-3.2.3/server/default/tmp/deploy/tmp46199jcasample.ear-contents/jpox-1.0.0-beta-2.rar-contents/jdo.jar
      19:09:51,328 INFO [RARDeployer] nested deployment: file:/home/mburke/temp/jboss-3.2.3/server/default/tmp/deploy/tmp46199jcasample.ear-contents/jpox-1.0.0-beta-2.rar-contents/jpox.jar
      19:09:51,388 INFO [RARDeployer] nested deployment: file:/home/mburke/temp/jboss-3.2.3/server/default/tmp/deploy/tmp46199jcasample.ear-contents/jpox-1.0.0-beta-2.rar-contents/log4j.jar
      19:09:51,403 INFO [RARDeployer] nested deployment: file:/home/mburke/temp/jboss-3.2.3/server/default/tmp/deploy/tmp46199jcasample.ear-contents/jpox-1.0.0-beta-2.rar-contents/mysql-connector-java-3.0.8-stable-bin.jar

      inn the ear that deploys correctly jboss binds the jndi name as it should:

      20:08:16,992 INFO [EARDeployer] Init J2EE application: file:/home/mburke/temp/jboss-3.2.3/server/default/deploy/jpoxjbex.ear
      20:08:17,181 INFO [RARMetaData] Loading
      20:08:17,188 INFO [RARDeployer] nested deployment: file:/home/mburke/temp/jboss-3.2.3/server/default/tmp/deploy/tmp46205jpoxjbex.ear-contents/jpox-1.0.0-beta-2.rar-contents/jdo.jar
      20:08:17,231 INFO [RARDeployer] nested deployment: file:/home/mburke/temp/jboss-3.2.3/server/default/tmp/deploy/tmp46205jpoxjbex.ear-contents/jpox-1.0.0-beta-2.rar-contents/jpox.jar
      20:08:17,255 INFO [RARDeployer] nested deployment: file:/home/mburke/temp/jboss-3.2.3/server/default/tmp/deploy/tmp46205jpoxjbex.ear-contents/jpox-1.0.0-beta-2.rar-contents/log4j.jar
      20:08:17,278 INFO [RARDeployer] nested deployment: file:/home/mburke/temp/jboss-3.2.3/server/default/tmp/deploy/tmp46205jpoxjbex.ear-contents/jpox-1.0.0-beta-2.rar-contents/mysql-connector-java-3.0.8-stable-bin.jar
      20:08:17,737 INFO [RARDeployment] Started jboss.jca:service=ManagedConnectionFactory,name=jdo/jpox
      20:08:17,759 INFO [JBossManagedConnectionPool] Started jboss.jca:service=ManagedConnectionPool,name=jdo/jpox
      20:08:17,951 INFO [jdo/jpox] Bound connection factory for resource adapter for
      ConnectionManager 'jboss.jca:service=TxCM,name=jdo/jpox to JNDI name 'java:/jdo/jpox'
      20:08:17,951 INFO [TxConnectionManager] Started jboss.jca:service=TxCM,name=jdo/jpox

      The only difference between the two ears is the one that works has a war module and the one that doesn't has a war module and an ejb module. Any suggestions would be appreciated.