tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefán F. Stefánsson <stef...@snote.decode.is>
Subject war file loading and logging in TC 3.2.1
Date Fri, 09 Mar 2001 10:34:17 GMT
Hello.

I'm using an EmbededTomcat in a project and I'm wondering why I can't
specify a war file in the method addContext(String, URL).

I want to specify a war file to load up but I can't do that.  I must
specify the root directory of my webapp.  Anybody have an idea?  How are
the war files loaded up in tomcat standalone?  when you put a war file
in the webapps directory under the tomcat root they load up just fine.
I'm curious to know what the trick is behind that.

Another issue is the logging.  Does anyone know if I can create a logger
with a method call in EmbededTomcat just like the standalone Tomcat can
use server.xml to specify loggers.  I would want the three standard
loggers that are specified in server.xml.

I would also like to know (if someone can tell me) the differences
between Tomcat 3.2 and Tomcat 3.3 (if I'm allowed to call it that...
what was it... the "proposed" Tomcat 3.3?) will be with regards to
EmbededTomcat.  Are there any major differences that might result in TC
3.3 not working in my server app?  Has the interface been changed?  If
someone can answer this with regards to TC 4 that would be great too.

Finally I'm wondering if anyone knows why the SecurityManager in Tomcat
3.2 doesn't allow me to do anything when I start up my EmbededTomcat.  I
had to create a new policy file which allows anything to do everything.
This is not a critical issue I guess, I just think the way I'm doing
things are kindof ugly... I'd like to see EmbededTomcat be able to do
everything the regular Tomcat can do without having to specify some
dummy policy file.

Kind regards,
	Stefan Freyr.

--------------------------------------------
Stefan Freyr Stefansson
Software Developer
deCODE Genetics, Inc.
http://www.decode.com

Phone: (+354) 570 2854
GSM:   (+354) 861 1718
Fax:   (+354) 491 3782
 <<Stefan Stefansson.vcf>> 

Mime
View raw message