-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David,

David Kerber wrote:
> Christopher Schultz wrote:
>> Aah, okay. That's the same thing as <env-entry> in web.xml, I think.
>>  
>>
> I think I need to look at that; I'd like to eliminate the entry in
> server.xml if possible...

Take a look at <env-entry> in the web.xml: i think you can just put it
there and not put anything in server.xml, which would be better, I think.

>> A JNDI browser might simplify this for you if you can either deploy it
>> into your existing application, or if you can somehow connect to it from
>> the outside. Otherwise, you can write some quickie preference editor
>> yourself.
>
> Very cool;  Thanks, Chris!  I didn't know I could do that.

Well, like I said... I haven't done it myself. There was a question on
this list this week about mutability of the JNDI values through Tomcat.
It's possible that Tomcat provides a read-only view of the directory, so
you might be hosed in that case. Perhaps there is a way around that.

> I guess that's what happens when I just copy some code from a web
> page, without really understanding where it's coming from..  I have
> already done some preference editors that use the java Preferences
> class, so modifying them to use this should be no trouble at all.

In fact, you might be able to write a class that looks like a
Preferences object and really delegates all calls to JNDI.

> (Or is that no 'tribble' at all <GGG>??).

Ooh. -1 for bad Star Trek humor ;)

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFuQMb9CaO5/Lv0PARApH0AJ0Ygr9fPcGnl3gpaz5da9k9NClodgCgwe9x
m8gQJDQUnExIPQataRIopWY=
=ll0S
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to