David kerber wrote on 09.06.2010 16:32:
On 6/9/2010 10:19 AM, Thomas Kloeber wrote:
* the IP address of the backing database is one of the parameters
that needs to be configured (in context.xml), so I can't get any
data from the db unless it is configured...
* the other confgurables (SPNEGO and kerberos stuff) are in web.xml
and as long as they are not set up correct, my app won't start!
* sounds like a catch 22 to me ...
Does that stuff HAVE to be in context.xml and web.xml, or could you
put them in an external file, and just have your tomcat config files
point to that external file? Or even do as I do, and put it in the
service startup: -DextConfigFile=/path/to/configfile.properties
dunno :)
The SPNEGO and kerberos stuff are part of a filter that is defined in
web.xml and the IP address in context.xml is something some servlet gets
via context lookup. For the latter I was told that this is the way to do
it. For the other stuff it is a copy'n paste thing and I'm just glad it
works as it does...
--
Intelligent Communication Software Vertriebs GmbH
Firmensitz: Kistlerhof Str. 111, 81379 München
Registergericht: Amtsgericht München, HRB 88283
Geschäftsführer: Albert Fuss
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org