This content has been marked as final.
Show 2 replies
-
1. Re: jndi/datasource error similar to jndi/ejb post by codemy
raist_majere Dec 8, 2004 10:42 PM (in response to chuckh)The resource you define in web.xml is only defined inside your application (it's a logical name), so you must map it to a phisical name using jboss-web.xml. This is to explain why you have to use the jboss-web.xml file.
If you get this error I think it's due to you haven't defined a datasource with the name jdbc/honeypot in the configuration files of JBoss. -
2. Re: jndi/datasource error similar to jndi/ejb post by codemy
chuckh Dec 8, 2004 11:02 PM (in response to chuckh)Thanks, but I already figured it out. Turns out that I didn't have the data source file in my deploy directory.
I must admit that it took 10+ hours to figure it out by digging through google and hacking around with jboss. The jboss docs don't provide enough detail.
All of the tutorials and descriptions that I found on google didn't explain this. Other sources *abstracted* this detail away.