My application is successfully deployed on test environment on IBM Websphere 6.1. I need to deploy the same application on my local machine. I am able to install my web application on IBM Websphere using admin console. But I am not able to configure datasource. Datasource is provided in the property file which is used successfully in test environment. Now, where do I configure datasource in IBM websphere, which will be used by my application. Datasource is not configured in web.xml or ibm-web-bnd.xmi. After deployment, I am getting following error in log files.
Connection Pooling Set up failed javax.naming.NameNotFoundException: Context: 01HW357911Node01Cell/nodes/01HW357911Node01/servers/server1, name: jdbc/SupplierNetDataSource: First component in name SupplierNetDataSource not found. [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
I also created datasource in IBM Websphere admin console in resources successfully. But same is not used by my application. I also created {Name Space Binding] in Environment->Naming path in admin console. But still same error is coming.
I also tried using tnsnames.ora file for datasource name, but was not successful.
Is there any way, to check the JNDI configured on test/dev unix server which can be replicated on local?