-
1. Re: JNDI in a Servlet inside of the JBoss
genman Sep 15, 2004 12:07 AM (in response to aryjr)
Usually, you're supposed to put anything you're using from local JNDI into resource-refs in your web.xml file. -
2. Re: JNDI in a Servlet inside of the JBoss
aryjr Sep 15, 2004 1:08 PM (in response to aryjr)OK, but when I try to do this i receive the exception below:
'Caused by: javax.naming.NamingException: resource-ref: hibernate/FabricaSessaoSiteJava has no valid JNDI binding. Check the jboss-web/resource-ref.
at org.jboss.web.AbstractWebDeployer.linkResourceRefs(AbstractWebDeployer.java:506)
at org.jboss.web.AbstractWebDeployer.parseWebAppDescriptors(AbstractWebDeployer.java:419)
at org.jboss.web.AbstractWebDeployer$DescriptorParser.parseWebAppDescriptors(AbstractWebDeployer.java:714)
at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:121)
at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:70)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:306)
Thank you!!!