I am trying to connect to a datasource created in websphere 188.8.131.52 server through a struts/Spring application.
Here is my datasource bean definition in spring config file.
Here is the code I used to look up the datasource from the struts web application
How ever when I execute the code through web application I am getting below exception trace at websphere logs.
Caused by: javax.naming.ConfigurationException: Name space accessor for the java: name space has not been set. Possible cause is that the user is specifying a java: URL name in a JNDI Context method call but is not running in a J2EE client or server environment.
This app is running in j2ee environment of websphere 184.108.40.206
Unfortunately I'm unable to help with your problem, but I've at least added code tags to your post to make the XML and Java snippets more readable. You can do so yourself the next time using the Code button. Meanwhile I hope that someone who knows Websphere more than I do will be able to provide some advice.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: javax.naming.ConfigurationException: Name space accessor for the java: name space has not been set.