cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding Datasource Connection

Former Member
0 Kudos

Hi Experts,

I'm does not getting datasource connation, the code which i used for,

Context context = new InitialContext();

DataSource dataSource = (DataSource)context.lookup("MyAtlas_DS");

connection = dataSource.getConnection();

MyAtlas_DS datasource already created.

Error: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of MyAtlas_DS.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Toji,

Please refer to the following documents to set up datasource connection:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/fca9e290-0201-0010-05ba-82328739...

Go to page 16, 17, and 18

You should find the information you need there.

PS: Reward points if helpful

Answers (0)