You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by aa...@ascentialsoftware.com on 2001/10/09 15:43:05 UTC

Please... need urgent help on Tomcat 3.1 vs 3.2 problem

Hello,

After upgrading tomcat from version 3.1. to version 3.2, the behavior of the
log files has changed. I have tried searching the web, searching the archives
of this list, and reading every FAQ and readme that I could find, but I cannot
find anything that documents this problem. 

At release 3.1, I could create a directory, give it conf, logs, webapps and 
a work directory, and start tomcat with the -f /dirpath/conf/server.xml option
and then it would write the generated conf files and logs to this area. 

Now with Tomcat 3.2.3, it will write the log files to the logs directory under
TOMCAT_HOME, no matter how I start the server. I don't know if I am doing 
something wrong or not, but the documentation for tomcat 3.2.3 says that it
should write the logs the same as tomcat 3.1 but it does not. 

I really need help with this.. can anybody help or point me in the right 
direction? 

Thank you very much,

Aaron
aaron.titus@ascentialsoftware.com

Re: Please... need urgent help on Tomcat 3.1 vs 3.2 problem

Posted by Jeff Kilbride <je...@kilbride.com>.
Hi Aaron,

Have you specified a TOMCAT_HOME environment variable? TC 3.2.3 uses
TOMCAT_HOME as it's base directory and looks for the conf, webapps, work,
and logs directories relative to this path.

Alternately, you can set the "home" attribute of the <ContextManager>
directive in server.xml to whatever absolute path you want as your base.

For individual log files, look at the <Logger> directives in server.xml.
Each <Logger> has a "path" attribute that can take a relative or absolute
path. If relative, it's relative to the base directory set with TOMCAT_HOME
or the "home" attribute mentioned above.

Not sure if this answers your question...

Thanks,
--jeff

----- Original Message -----
From: <aa...@ascentialsoftware.com>
To: <to...@jakarta.apache.org>
Sent: Tuesday, October 09, 2001 6:43 AM
Subject: Please... need urgent help on Tomcat 3.1 vs 3.2 problem


> Hello,
>
> After upgrading tomcat from version 3.1. to version 3.2, the behavior of
the
> log files has changed. I have tried searching the web, searching the
archives
> of this list, and reading every FAQ and readme that I could find, but I
cannot
> find anything that documents this problem.
>
> At release 3.1, I could create a directory, give it conf, logs, webapps
and
> a work directory, and start tomcat with the -f /dirpath/conf/server.xml
option
> and then it would write the generated conf files and logs to this area.
>
> Now with Tomcat 3.2.3, it will write the log files to the logs directory
under
> TOMCAT_HOME, no matter how I start the server. I don't know if I am doing
> something wrong or not, but the documentation for tomcat 3.2.3 says that
it
> should write the logs the same as tomcat 3.1 but it does not.
>
> I really need help with this.. can anybody help or point me in the right
> direction?
>
> Thank you very much,
>
> Aaron
> aaron.titus@ascentialsoftware.com
>


Best version of Tomcat?

Posted by Brandon Cruz <bc...@norvax.com>.
Does anyone have any opinion or experience as to what is the easiest to
install, most stable, and most bug free release of Tomcat to date?  I am
currently using Tomcat 3.2.1 with over 20 virtual hosts connected from
Apache.  I know Tomcat 4.0 is good, but I have seen several messages about
getting webapp and stuff to work properly.  What I am really looking for is
a way to run another tomcat on the same linux machine, connected to the same
apache server, but running a couple different versions of my webapp,
depending on when each virtual host signs up for the service.  So to
summarize,

1)Most stable, bug free, and easiest to install version of tomcat with
Apache on Linux
2)Will this be easy to install another Tomcat, run it on the same machine,
connected to the same Apache server, and will mod_jk know to redirect to the
appropriate Tomcat where the virtual host is listed in server.xml
3)If I have 30 virtual hosts, can 10 of them use version X.1, 15 use X.2,
and 5 use X.3?  Only 3 webapps, which they all share?

I have been looking into documentation, but need to know what version's
documentation to start with in the first place.  Thanks in advance for your
help!


Brandon