You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Oxley, David" <Da...@workplace-systems.plc.uk> on 2003/09/22 12:25:03 UTC
Tomcat 5.0.12
I did some testing of 5.0.12 over the weekend to make sure our webapp works
with it. I haven't found any problems yet, but I do have a couple of
comments (applicable to Win32):
1. Am I right in assuming that JK2 is the default connector for TC5. If so,
the last release was November last year! I think we need another release. I
compiled from source for Windows (which didn't compile). in_addr_t was not
defined. I had to add the following code to jk_channel_socket.c:
#if defined(WIN32)
typedef u_long in_addr_t;
#endif
2. procrun is currently very unfriendly for the end-user. I remember the
days of jk_nt_service and the wrapper.properties. This was very flexible and
easy to use. I needed to add several services for Tomcat using the same
TOMCAT_HOME, but with different TOMCAT_BASE's. I did finally get it working.
This is the command I ended up using (Urgh):
C:\Tomcat\Home\bin\tomcatw.exe //IS//Tomcat5 --DisplayName "Apache Tomcat"
--Description "Apache Tomcat 5.1.12 Server -
http://jakarta.apache.org/tomcat/" --Install
"C:\Tomcat\Home\bin\tomcat.exe" --ImagePath
"C:\Tomcat\Home\bin\bootstrap.jar" --StartupClass
org.apache.catalina.startup.Bootstrap;main;start --ShutdownClass
org.apache.catalina.startup.Bootstrap;main;stop --Java auto --JavaOptions
-server#-Xms512m#-Xmx512m#-Xrs#-Djava.endorsed.dirs="C:\Tomcat\Home\bin;C:\T
omcat\Home\common\endorsed"#-Dcatalina.base="C:\Tomcat\BaseServer1"#-Dcatali
na.home="C:\Tomcat\Home"#-Djava.io.tmpdir="C:\Tomcat\BaseServer1\temp"
--Startup manual --StdOutputFile C:\Tomcat\BaseServer1\logs\jvm.stdout
--StdErrorFile C:\Tomcat\BaseServer1\logs\jvm.stderr --Arguments "-config
C:\Tomcat\BaseServer1\conf\server.xml"
Dave.
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
Re: Tomcat 5.0.12
Posted by Remy Maucherat <re...@apache.org>.
Oxley, David wrote:
> I did some testing of 5.0.12 over the weekend to make sure our webapp works
> with it. I haven't found any problems yet, but I do have a couple of
> comments (applicable to Win32):
>
> 1. Am I right in assuming that JK2 is the default connector for TC5. If so,
> the last release was November last year! I think we need another release. I
> compiled from source for Windows (which didn't compile). in_addr_t was not
> defined. I had to add the following code to jk_channel_socket.c:
> #if defined(WIN32)
> typedef u_long in_addr_t;
> #endif
No, you're cofusing mod_jk2 and JK 2 on the Tomcat side. JK 2 can work
with either mod_jk or mod_jk2.
> 2. procrun is currently very unfriendly for the end-user. I remember the
> days of jk_nt_service and the wrapper.properties. This was very flexible and
> easy to use. I needed to add several services for Tomcat using the same
> TOMCAT_HOME, but with different TOMCAT_BASE's. I did finally get it working.
> This is the command I ended up using (Urgh):
Thanks, I usually appreciate unsubstatiated feedback, which proves you
didn't look at the shortcuts or anything. Since you have decided you
didn't like it and it wouldn't work for you, feel free to not use it
(for your defense, the setup docs isn't there yet, but gvien point 1,
I'm not sure you would have read it). The startup scripts are there as
usual.
Remy
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
Re: Tomcat 5.0.12
Posted by Remy Maucherat <re...@apache.org>.
Oxley, David wrote:
> I did some testing of 5.0.12 over the weekend to make sure our webapp works
> with it. I haven't found any problems yet, but I do have a couple of
> comments (applicable to Win32):
>
> 1. Am I right in assuming that JK2 is the default connector for TC5. If so,
> the last release was November last year! I think we need another release. I
> compiled from source for Windows (which didn't compile). in_addr_t was not
> defined. I had to add the following code to jk_channel_socket.c:
> #if defined(WIN32)
> typedef u_long in_addr_t;
> #endif
No, you're cofusing mod_jk2 and JK 2 on the Tomcat side. JK 2 can work
with either mod_jk or mod_jk2.
> 2. procrun is currently very unfriendly for the end-user. I remember the
> days of jk_nt_service and the wrapper.properties. This was very flexible and
> easy to use. I needed to add several services for Tomcat using the same
> TOMCAT_HOME, but with different TOMCAT_BASE's. I did finally get it working.
> This is the command I ended up using (Urgh):
Thanks, I usually appreciate unsubstatiated feedback, which proves you
didn't look at the shortcuts or anything. Since you have decided you
didn't like it and it wouldn't work for you, feel free to not use it
(for your defense, the setup docs isn't there yet, but gvien point 1,
I'm not sure you would have read it). The startup scripts are there as
usual.
Remy