-
1. Re: Cannot connect to the JNDI: No valid JNDI mapping
jaikiran Feb 17, 2009 1:50 AM (in response to chongming)Please post the entire exception stacktrace. Also do you have a jboss-web.xml? What does it contain? Please post its contents.
While posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure that your post is correctly formatted. -
2. Re: Cannot connect to the JNDI: No valid JNDI mapping
peterj Feb 17, 2009 11:13 AM (in response to chongming)Here is a recent topic that contains working code: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=150529 (see my last post at the end of the topic)
Note that the resource-ref stanza was not required in web.xml. -
3. Re: Cannot connect to the JNDI: No valid JNDI mapping
chongming Feb 18, 2009 7:56 AM (in response to chongming)Hi, thanks for the replies. After adding the jboss-web.xml, i finally solve the error. However i encounter the spring problem.
I will post the new question in the relevant section.
Thanks for the advice. Greatly appreciated. :)