Hi, Thx for your suggestions, I truly appreciate them.
Tried using the lookup in java:openejb/Resource, no success. Tried 1) + @Resource(name="id"), no success either. Tried using java:global, nothing. When I run the server I see in the Console datasource being configured. Is there a way to verify if the Datasource is configured and works properly in TomEE ? I tried also removing and adding the Tomcat server and setting Server locations to Use Tomcat installation. No luck either. Also tried copying tomee.xml to Servers workspace, when workspace metadata was used, did not help. The most interesting would be to know how to properly configure Eclipse and TomEE (tomee.xml) in order to be able to get the PostGres datasource by JNDI. If not possible by JNDI then any other means. If you follow the documentation you do not seem to get the desired result. Cannot believe it takes so much trouble to configure one datasource. Maybe it would be better to use JBoss instead ? -- View this message in context: http://openejb.979440.n4.nabble.com/cannot-JNDI-datasource-with-initialcontext-lookup-tp4662211p4662217.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
