Migrating from Tomcat 3.2.4 to 3.3.1, server.xml question
All, I have a bit of a legacy installation of Tomcat 3.2.4 on a server which I wish to get moved over to 3.3.1, the question I have is it possible to simply use the existing configuration files, such as server.xml if I build the new(er) version of tomcat. I appreciate that there are additional directives which appeared at 3.3 but should the old configuration files be usable straight off? Also, if anyone's gone through this is the path is there anything specificly that I should look out for? Server is UnixWare 7.1.1 running JDK 1.3 and currently Apache-SSL 1.3.26/1.48 Many thanks John Boo _ This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Control Centre. For further information visit http://www.star.net.uk/stats.asp This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Migrating from Tomcat 3.2.4 to 3.3.1, server.xml question
You will need to start with Tomcat 3.3.1's default server.xml and add appropriate changes from your 3.2.4 installation. The 3.2.4 server.xml isn't usable in 3.3.1, as is. You can still define contexts in server.xml, but Tomcat 3.3.1 provides a better mechanism where they are placed in a separate file(s). Thus, you can modify them without modifying your server.xml. For the important changes from Tomcat 3.2.x to Tomcat 3.3, see: http://jakarta.apache.org/tomcat/tomcat-3.3-doc/readme For reference information on Tomcat 3.3.1's server.xml, see: http://jakarta.apache.org/tomcat/tomcat-3.3-doc/serverxml.html For other Tomcat 3.3.1 information, start here: http://jakarta.apache.org/tomcat/tomcat-3.3-doc/index.html Cheers, Larry -Original Message- From: Boocock, John (Academy) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 11, 2002 6:17 AM To: '[EMAIL PROTECTED]' Subject: Migrating from Tomcat 3.2.4 to 3.3.1, server.xml question All, I have a bit of a legacy installation of Tomcat 3.2.4 on a server which I wish to get moved over to 3.3.1, the question I have is it possible to simply use the existing configuration files, such as server.xml if I build the new(er) version of tomcat. I appreciate that there are additional directives which appeared at 3.3 but should the old configuration files be usable straight off? Also, if anyone's gone through this is the path is there anything specificly that I should look out for? Server is UnixWare 7.1.1 running JDK 1.3 and currently Apache-SSL 1.3.26/1.48 Many thanks John Boo _ This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Control Centre. For further information visit http://www.star.net.uk/stats.asp This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
server.xml question
Hi, I asked the same question some hours ago already but no one responded. Is my question so difficult or can no one understand it ??? We would like to have a log directory for every virtual host running on our box. Therfore we were setting up the Logger/ tag within the server.xml file to the following attributes: Logger className=org.apache.catalina.logger.FileLogger directory=/home/wwa-m/public_html/docroot/WEB-INF/log/ prefix=wwa-m. sufix =.log timestamp=true/ And now the problem: the logs are not being writen to the configured directory, even though the directory exist!! any suggestions?? R.
RE: server.xml question
Is it as simple as you misspelled suffix? Roger Whitcomb Computer Associates Senior Software Engineer Development Phone: +1 408 965 8653 FAX: +1 408 965 8805 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: rainer jünger [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 9:48 AM To: Tomcat Users List Subject: server.xml question Hi, I asked the same question some hours ago already but no one responded. Is my question so difficult or can no one understand it ??? We would like to have a log directory for every virtual host running on our box. Therfore we were setting up the Logger/ tag within the server.xml file to the following attributes: Logger className=org.apache.catalina.logger.FileLogger directory=/home/wwa-m/public_html/docroot/WEB-INF/log/ prefix=wwa-m. sufix =.log timestamp=true/ And now the problem: the logs are not being writen to the configured directory, even though the directory exist!! any suggestions?? R. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: server.xml question
thanks Roger, well the misspelling was happend only in the email. In the server.xml it is spelled correctly... rainer jünger Is it as simple as you misspelled suffix? Roger Whitcomb Computer Associates Senior Software Engineer Development Phone: +1 408 965 8653 FAX: +1 408 965 8805 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: rainer jünger [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 9:48 AM To: Tomcat Users List Subject: server.xml question Hi, I asked the same question some hours ago already but no one responded. Is my question so difficult or can no one understand it ??? We would like to have a log directory for every virtual host running on our box. Therfore we were setting up the Logger/ tag within the server.xml file to the following attributes: Logger className=org.apache.catalina.logger.FileLogger directory=/home/wwa-m/public_html/docroot/WEB-INF/log/ prefix=wwa-m. sufix =.log timestamp=true/ And now the problem: the logs are not being writen to the configured directory, even though the directory exist!! any suggestions?? R. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: server.xml question
Here are some suggestions: - Are the log files being written ANYWHERE? Or not at all? - What if you use a relative path (such as logs)? - Are the permissions set correctly for your directory? - What if you DON'T use the trailing / on the directory name? Roger Whitcomb Computer Associates Senior Software Engineer Development Phone: +1 408 965 8653 FAX: +1 408 965 8805 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: rainer jünger [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 10:49 AM To: Tomcat Users List Subject: Re: server.xml question thanks Roger, well the misspelling was happend only in the email. In the server.xml it is spelled correctly... rainer jünger Is it as simple as you misspelled suffix? Roger Whitcomb Computer Associates Senior Software Engineer Development Phone: +1 408 965 8653 FAX: +1 408 965 8805 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: rainer jünger [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 9:48 AM To: Tomcat Users List Subject: server.xml question Hi, I asked the same question some hours ago already but no one responded. Is my question so difficult or can no one understand it ??? We would like to have a log directory for every virtual host running on our box. Therfore we were setting up the Logger/ tag within the server.xml file to the following attributes: Logger className=org.apache.catalina.logger.FileLogger directory=/home/wwa-m/public_html/docroot/WEB-INF/log/ prefix=wwa-m. sufix =.log timestamp=true/ And now the problem: the logs are not being writen to the configured directory, even though the directory exist!! any suggestions?? R. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: server.xml question
At Tuesday, 30 April 2002, you wrote: Here are some suggestions: - Are the log files being written ANYWHERE? Or not at all? - What if you use a relative path (such as logs)? - Are the permissions set correctly for your directory? - What if you DON'T use the trailing / on the directory name? Actually suggestion number two reminds me: isn't it true that tomcat by default only allows itself to write files underneath TOMCAT_HOME? maybe this doesn't apply to log files. I had a problem a while back as far as trying to write uploaded files to a different directory -- I had two choices: mess with the security manager or choose a path under TOMCAT_HOME. I chose the latter ; ) Hi, I asked the same question some hours ago already but no one responded. Is my question so difficult or can no one understand it ??? We would like to have a log directory for every virtual host running on our box. Therfore we were setting up the Logger/ tag within the server. xml file to the following attributes: Logger className=org.apache.catalina.logger.FileLogger directory=/home/wwa-m/public_html/docroot/WEB-INF/log/ prefix=wwa-m. sufix =.log timestamp=true/ And now the problem: the logs are not being writen to the configured directory, even though the directory exist!! -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: server.xml question
Hi, Actually suggestion number two reminds me: isn't it true that tomcat by default only allows itself to write files underneath TOMCAT_HOME? maybe this doesn't apply to log files. I had a problem a while back as far as trying to write uploaded files to a different directory -- I had two choices: mess with the security manager or choose a path under TOMCAT_HOME. I chose the latter ; ) the following is written at: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/logger.html directory: Absolute or relative pathname of a directory in which log files created by this logger will be placed. If a relative path is specified, it is interpreted as relative to $CATALINA_HOME. If no directory attribute is specified, the default value is logs (relative to $CATALINA_HOME). so it should definately be possible to write logs somewhere else ?! rainer jünger -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: server.xml question
Hi Roger, - Are the permissions set correctly for your directory? that was the reason (stupid me!) chmod 777 ... solved the problem is it normal that there are only very view infos being writen in?? I thougt it is also the access log and the error log? Sofar there are only infos concerning starting and stopping the container (of course that doesn't proove weather errors are logged or not!) thanks, rainer -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: server.xml question
Depends on exactly what level you defined Logger at. If defined at the Engine level, you will get very few messages (mostly startup and shutdown of the servlet container) (normally in 'catalina.log.xxx.txt' files): 2002-04-01 22:28:37 Ajp13Processor[8009][4] Stopping background thread 2002-04-01 22:28:37 Ajp13Processor[8009][3] Stopping background thread 2002-04-01 22:28:37 Ajp13Processor[8009][2] Stopping background thread 2002-04-01 22:28:37 Ajp13Processor[8009][1] Stopping background thread 2002-04-01 22:28:37 Ajp13Processor[8009][0] Stopping background thread 2002-04-01 22:28:37 Ajp13Connector[8009] Stopping background thread 2002-04-01 22:28:53 HttpConnector Opening server socket on all host IP addresses 2002-04-01 22:29:12 HttpConnector[8080] Starting background thread 2002-04-01 22:29:12 HttpProcessor[8080][0] Starting background thread 2002-04-01 22:29:12 HttpProcessor[8080][1] Starting background thread 2002-04-01 22:29:12 HttpProcessor[8080][2] Starting background thread However, if you define the Logger at the Host level, then you get MUCH more (every access to that host) (normally in 'hostname_log.xxx.txt' files): 127.0.0.1 - - [26/Mar/2002:09:23:51 -0800] GET /login.jsp HTTP/1.1 200 4406 127.0.0.1 - - [26/Mar/2002:09:23:51 -0800] GET /testit.jpg HTTP/1.1 304 - 127.0.0.1 - - [26/Mar/2002:09:23:51 -0800] GET /testit2.jpg HTTP/1.1 304 - 127.0.0.1 - - [26/Mar/2002:09:23:53 -0800] GET /tomcat-power.gif HTTP/1.1 304 - The default server.xml should have both levels of Logger defined in there. Look at all the definitions . . . . Roger Whitcomb Computer Associates Senior Software Engineer Development Phone: +1 408 965 8653 FAX: +1 408 965 8805 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: rainer jünger [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 11:52 AM To: Tomcat Users List Subject: Re: server.xml question Hi Roger, - Are the permissions set correctly for your directory? that was the reason (stupid me!) chmod 777 ... solved the problem is it normal that there are only very view infos being writen in?? I thougt it is also the access log and the error log? Sofar there are only infos concerning starting and stopping the container (of course that doesn't proove weather errors are logged or not!) thanks, rainer -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]