cancel
Showing results for 
Search instead for 
Did you mean: 

JDBC data source SAPSR3DB connection issue

Former Member
0 Kudos

Hello All,

We have recently upgraded to 7.3 system and one of the custom java application is not working. The application connects to standard data source for fetching data. Earlier data sources were maintained in visual admin but in NWA, data sources are available in NWA. When we are trying to launch the application, exception is thrown saying:

Naming Exception occured - Object not found in lookup of SAPSR3DB"

Need hint or direction to fix the issue. Please help in case anyone has any experience with JDBC connectivity in 7.3.

Regards

Amit

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member207744
Contributor
0 Kudos

From that exception I understood you are using initialcontext.lookup for jdbc connection.

Check jdbc datasource in nwa and pass that name as parameter for lookup otherwise you will get Naming Exception.

Just in case if you are passsing right name as param in lookup and you are running from local standalone java file, then also you will get the same exception.

Check below link for jdbc data source details.

http://scn.sap.com/people/ayyapparaj.kv/blog/2008/11/21/creating-jdbc-data-sources-using-nwa-for-dif...

http://help.sap.com/saphelp_nw04s/helpdata/en/51/735d4217139041e10000000a1550b0/content.htm

Regards,

Sriram.V