aspose file tools*
The moose likes JBoss/WildFly and the fly likes Not Finding DataSource in JNDI Tree Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Not Finding DataSource in JNDI Tree" Watch "Not Finding DataSource in JNDI Tree" New topic
Author

Not Finding DataSource in JNDI Tree

Russell Ray
Ranch Hand

Joined: Apr 25, 2005
Posts: 116
I have port over my application to JBoss. I am confrigured most to the application server, but I am getting an error when the application attempts to make a connection to the DataSource. This is the error:






this is the code:



This is how I have my DataSource (*-ds.xml) configured:



This is my web.xml




This is my jboss-web.xml





When I go back and look at how my dataSource is connection, I discover the DataSource log statement:

Code:







I am let to believe the DataSource is setup properly, but for some reason, the JNDI is not.

Any suggestions would be much appreciated.

Thanks for reading my post.

Russ
Russell Ray
Ranch Hand

Joined: Apr 25, 2005
Posts: 116
I found my mistake.........you can close this.
 
Consider Paul's rocket mass heater.
 
subject: Not Finding DataSource in JNDI Tree