Jboss 6.1.0-Final DEPLOYMENTS MISSING DEPENDENCIES ERROR
janakiraman.e Feb 21, 2012 11:17 PMHi,
I have doing the migration of jboss from 4 to jboss 6.1.0 final version and hence i got the below deployment error .
Kindly suggest for the mentioned error
Deployment "jboss-switchboard:appName=power,module=power" is missing the following dependencies:
Dependency "java:/queue/autoReleaseQueue" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'java:/queue/autoReleaseQueue'**")
Dependency "java:/queue/postProcessQueue" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'java:/queue/postProcessQueue'**")
Dependency "java:/mail/Power" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'java:/mail/Power' **")
Deployment "jboss.web.deployment:war=/power" is missing the following dependencies:
Dependency "jboss-switchboard:appName=power,module=power" (should be in state "Installed", but is actually in state "Create")
DEPLOYMENTS IN ERROR:
Deployment "java:/queue/autoReleaseQueue" is in error due to the following rea
son(s): ** NOT FOUND Depends on 'java:/queue/autoReleaseQueue' **
Deployment "java:/mail/Power" is in error due to the following reason(s): ** N
OT FOUND Depends on 'java:/mail/Power' **
Deployment "java:/queue/postProcessQueue" is in error due to the following rea
son(s): ** NOT FOUND Depends on 'java:/queue/postProcessQueue' **
at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(Dep
well my jboss-web.xml
<?xml version="1.0" encoding="UTF-8"?>
<jboss-web>
<context-root>power</context-root>
<security-domain>java:/jaas/PowerRealm</security-domain>
<resource-ref>
<res-ref-name>jdbc/Cylab</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<jndi-name>java:/jdbc/Cylab</jndi-name>
</resource-ref>
<resource-ref>
<res-ref-name>mail/Power</res-ref-name>
<res-type>javax.mail.Session</res-type>
<jndi-name>java:/mail/Power</jndi-name>
</resource-ref>
<resource-ref>
<res-ref-name>queue/autoReleaseQueue</res-ref-name>
<res-type>javax.jms.Queue</res-type>
<jndi-name>java:/queue/autoReleaseQueue</jndi-name>
</resource-ref>
<resource-ref>
<res-ref-name>queue/postProcessQueue</res-ref-name>
<res-type>javax.jms.Queue</res-type>
<jndi-name>java:/queue/postProcessQueue</jndi-name>
</resource-ref>
<ejb-ref>
<ejb-ref-name>ejb/ReportRenderEJB</ejb-ref-name>
<jndi-name>ReportRenderEJB</jndi-name>
</ejb-ref>
</jboss-web>
web.xml
<resource-ref>
<description>Resource reference to a factory for javax.mail.Session
instances that may be used for sending electronic mail
messages, preconfigured to connect to the appropriate
SMTP server.</description>
<res-ref-name>mail/Power</res-ref-name>
<res-type>javax.mail.Session</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<resource-ref>
<res-ref-name>queue/autoReleaseQueue</res-ref-name>
<res-type>javax.jms.Queue</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<resource-ref>
<res-ref-name>queue/postProcessQueue</res-ref-name>
<res-type>javax.jms.Queue</res-type>
<res-auth>Container</res-auth>
</resource-ref>
Please advice for the above mentioned request..
Once i commented the following lines in the xml files the application deployed without error.
Thanks & Regards,
Janakiraman E