Re: Junit cant access DAO of the application
Posted By:
Christopher_Koenigsberg
Posted On:
Saturday, June 10, 2006 05:12 PM
Could it be maybe that you need to refer to it by some variant prefix, e.g. "java:comp/env/vldev" in the client? and/or change the oracle config, on the server, to just call it "vldev" instead of "java:vldev"? and maybe the server automatically prepends the namespace onto the name?
I get confused by this stuff too, trying to write portable client code that will run against different vendors' JNDI server implementations, with different prepended namespaces.