tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zsaade <zsa...@path-solutions.com>
Subject Re: EAR Datasource javax.naming.NameNoFoundException
Date Thu, 14 Feb 2019 07:51:16 GMT
Dear jgallimore

Thanks a lot for you reply; I tried the below:

Context initContext = new InitialContext(); 
DataSource ds = (DataSource)
initContext.lookup("openejb:Resource/services"); 
this.ConnectDataSource = ds; 

But I received the below exception:

javax.naming.NameNotFoundException: Name "Resource/services" not found.

PS: Waiting your Example.

Best Regards



--
Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html

Mime
View raw message