Hi,

I want to deploy an EAR that contains both a RAR and an EJB-JAR that depends on 
it. I use the maven 2 EAR plugin to build the .ear file. Then, I drop this file 
into my JBoss (4.0.3SP1) deploy dir and I got the following error trace on the 
console:

[...]
09:19:11,864 INFO  [EARDeployer] Init J2EE application: 
file:/D:/programs/JBoss/4.0.3SP1/server/default/deploy/ird-pricer-j2ee-teste
r-0.1-SNAPSHOT.ear
09:19:12,286 INFO  [EjbModule] Deploying ejb/WAXTesterEJB
09:19:12,442 INFO  [STDOUT] WAXResourceAdapter/start [EMAIL PROTECTED]
09:19:12,489 INFO  [ProxyFactory] Bound EJB Home 'ejb/WAXTesterEJB' to jndi 
'ejb/WAXTesterEJB'
09:19:12,489 INFO  [EJBDeployer] Deployed: 
file:/D:/programs/JBoss/4.0.3SP1/server/default/tmp/deploy/tmp54436ird-pricer-j2ee-tester
-0.1-SNAPSHOT.ear-contents/ird-pricer-wax-tester-ejb-0.1-SNAPSHOT.jar
09:19:12,520 INFO  [EARDeployer] Started J2EE application: 
file:/D:/programs/JBoss/4.0.3SP1/server/default/deploy/ird-pricer-j2ee-te
ster-0.1-SNAPSHOT.ear
09:19:12,520 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

--- MBeans waiting for other MBeans ---
ObjectName: jboss.jca:name=jca/WAXRA,service=NoTxCM
  State: CONFIGURED
  I Depend On:
    jboss.jca:name=jca/WAXRA,service=ManagedConnectionPool
    jboss.jca:service=CachedConnectionManager
  Depends On Me:
    jboss.jca:name=jca/WAXRA,service=ConnectionFactoryBinding

ObjectName: jboss.jca:name=jca/WAXRA,service=ManagedConnectionPool
  State: CONFIGURED
  I Depend On:
    jboss.jca:name=jca/WAXRA,service=ManagedConnectionFactory
  Depends On Me:
    jboss.jca:name=jca/WAXRA,service=NoTxCM

ObjectName: jboss.jca:name=jca/WAXRA,service=ManagedConnectionFactory
  State: CONFIGURED
  I Depend On:
    jboss.jca:name='ird-pricer-wax-ra-0.1-SNAPSHOT.rar',service=RARDeployment
  Depends On Me:
    jboss.jca:name=jca/WAXRA,service=ManagedConnectionPool

ObjectName: jboss.jca:name=jca/WAXRA,service=ConnectionFactoryBinding
  State: CONFIGURED
  I Depend On:
    jboss.jca:name=jca/WAXRA,service=NoTxCM

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: 
jboss.jca:name='ird-pricer-wax-ra-0.1-SNAPSHOT.rar',service=RARDeployment
  State: NOTYETINSTALLED
  Depends On Me:
    jboss.jca:name=jca/WAXRA,service=ManagedConnectionFactory
[...]

I have tested that my RAR and EJB-JAR are ok by dropping them independently (no 
EAR) into the deploy dir and it works. I'm wondering if the problem is not 
coming from a bad dependency handling during EAR deployment, since I guess that 
the RAR file should be deployed prior to the EJB-JAR to get everything ok...

Any suggestions are welcome...

Thx in advance,
-Xavier

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to