Jody Garnett a écrit :
> I added an init method to it so I could stuff in the JNDI context that I
> had created for my test case ... is that wrong?
No idea; I'm really not a competent guy for JNDI stuff.
> I will think about your suggestion, I may prefer to have the "GeoTools"
> class manage the
I added an init method to it so I could stuff in the JNDI context that I
had created for my test case ... is that wrong?
Apparently one is supposed to punt a file to the file system that
describes how new InitialContext() is configured, I have
held back from doing this (since the choice of JNDI
Jody Garnett a écrit :
> I am looking for ways to test JNDI functionality in GeoTools ... the
> JNDI class is supposed to serve up an InitialContext - but it does not
> appear to work (when you try to use the class to bind anything it starts
> to complain).
You can send org.geotools.factory.JND
Okay I am back to simple-jndi after looking at using the default java
filesystem JNDI implementation (problem is it is only a default when you
suck up some java ee jars as a dependency). At least all this stuff is
only needed for testing.
I found the following bug report (actually a documentati
I am looking for ways to test JNDI functionality in GeoTools ... the
JNDI class is supposed to serve up an InitialContext - but it does not
appear to work (when you try to use the class to bind anything it starts
to complain).
Switching to a directory based context would involve setting up temp