[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JNDI problem
zhlu
do-not-reply at jboss.com
Tue Aug 14 10:42:54 EDT 2007
I still got the same errors:
10:39:37,500 INFO [TomcatDeployer] deploy, ctxPath=/aaa, warUrl=.../tmp/deploy/
tmp2520aaa-exp.war/
10:39:37,515 WARN [ServiceController] Problem starting service jboss.web.deploy
ment:war=aaa.war,id=-1582241627
org.jboss.deployment.DeploymentException: Error during deploy; - nested throwabl
e: (javax.naming.NamingException: resource-ref: mcv_test has no valid JNDI bindi
ng. Check the jboss-web/resource-ref.)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:384)
at org.jboss.web.WebModule.startModule(WebModule.java:83)
at org.jboss.web.WebModule.startService(WebModule.java:61)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:289)
and my /WEB-INF/jboss-web.xml is:
<jboss-web>
<resource-ref>
<res-ref-name>mcv_test</res-ref-name>
<jndi-name>java:mcv_test</jndi-name>
</resource-ref>
</jboss-web>
and my /WEB-INF/web.xml is:
<resource-ref>
<res-ref-name>mcv_test</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
-Henry
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074054#4074054
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074054
More information about the jboss-user
mailing list