Hey Gommo, how's it going? I'm able to do a JNDI lookup for the datasource using the value of the <jta-data-source> tag. So, I belive this would work for you:
InitialContext ctx = new InitialContext(); Object ds = ctx.lookup("java:/PostgresDS");
I'm not clear on why in the datasource config there's no leading "java:/", maybe somebody more knowledgeable about JNDI can explain that.
Cool, thanks, I'll give it a try
It works from a sessionbean but not from the client so it appears remotely I need to address it slightly differently. Any pointers anyone?