RE: Out of memory

2005-08-12 Thread Wolfgang Hackl
You can modify the memory settings for the windows service also in the service.bat file itself. I've been known to uninstall the service, modify the bat file and then service install again. Forget about a reinstall. Use regedit and go to HKEY_LOCAL_MACHINE\SOFTWARE\Apache software

Re: jsvc.exec error: syscall failed in set_caps

2005-04-17 Thread Wolfgang Hackl
Georges Roux wrote: I can't start tomcat 5.5.9 as a daemon on linux on port 8080 (default configuration) nothing is running on this port and have only thi error in logs/catalina.err jsvc.exec error: syscall failed in set_caps jsvc.exec error: Service exit with a return value of 4 Try modprobe

Re: Tomcat 5 shutdown issue with jsvc commons daemon

2005-03-16 Thread Wolfgang Hackl
Hi Bernhard! Bernard wrote: I get the following error: jsvc.exec error: Service exit with a return value of 143 There was a Thread here in December called Session restart replication when using jsvc. Bill Barker recommended to use CVS HEAD of the commons-daemon. Kind regards Wolfgang

Re: Trouble with JDBC (I need a little help)

2005-03-16 Thread Wolfgang Hackl
Maxime wrote: I'am asking for help because I have a problem that it's making me crazy. [Program code and logs snipped] Thank you very much for the help, it will be very appreciated ! I am not familiar with MySQL therefore just a guess: I do not see a single close() statement. Close your

Re: tomcat load-balancing maintenance strategy?

2005-03-08 Thread Wolfgang Hackl
Sng Wee Jim wrote: 1. Is it possible to pass the session information to TomcatA before shutting down TomcatB? For eg. we want to perform servers upgrade, so we down TomcatB, upgrade it, start TomcatB, before doing the same to TomcatA. This is what a cluster does. See

Re: Migration from Tomcat 4.1 to Tomcat 5.0

2005-03-02 Thread Wolfgang Hackl
Kiran Patel wrote: I have a application runing on Tomcat 4.1. I want to change to Tomcat 5.0. I already installed Tomcat 5.0.28 and configured server.xml and web.xml according to the document. But when I click startup.bat, I get the error windows can not find '-Djava.endorsed.dirs=' . I get

Re: Register Tomcat as a service?

2005-02-17 Thread Wolfgang Hackl
Hay, Markus wrote: I have an application that requires Tomcat (4.1.30 or later) and I'd like to know how I can register Tomcat as a service if the user does not do this during the install. In my installer, I can check the registry to Hi Markus, this can be achieved with the file service.bat

Re: The number of tomcat directory for multiple tomcat instances

2005-02-17 Thread Wolfgang Hackl
Terry Chung wrote: I'm running APACHE 2.0.48 with Tomcat 4.1.29 on HP box/os. I'm running multiple tomcats that are connected to Apache using round-robin load balancing. All tomcat instances and apache is running on the same HP box. This configuration seems a bit strange. If you have only one

[OT] Making jsvc multiple instances enabled

2005-01-13 Thread Wolfgang Hackl
Hi! I would like to discuss whether it makes sense to have the commons daemon able to work with multiple tomcat instances out of the box. Since I know of at least two jsvc commiters reading this list and I think this is of interest for tomcat users, too, I start a discussion thread here. The

Re: can't run tomcat with jsvc

2005-01-03 Thread Wolfgang Hackl
Haluk Durmus wrote: I wan't to use Tomcat 5.5.6 as our default Webserver on port 80. That's why I start it with jsvc, that should give the chance to run on prots 1024 for nonroot-user. but get Error-Message in log file: [...] jsvc.exec error: syscall failed in set_caps jsvc.exec error: Service

Re: can't run tomcat with jsvc

2005-01-03 Thread Wolfgang Hackl
Haluk Durmus wrote: Thanks, I had the same problem on my Debian after a distribution upgrade from Woody with kernel 2.4.18 to Sarge and kernel 2.6.8. I traced the jsvc call with strace -f. So I got the following messages: [pid 11313] capset(0x19980330, 0,

Re: Session restart replication when using jsvc

2004-12-29 Thread Wolfgang Hackl
Trond G. Ziarkowski wrote: I recently switched from using Tomcat 5.0.28/jk2/Apache2 to running tomcat standalone using jsvc. This works great for me except for one thing; Sessions are not replicated when I restart tomcat. To stop Tomcat I'm using 'kill -9 `cat /var/run/jsvc.pid`'. When Tomcat

Re: best way to setup multiple instances of tomcat

2004-12-23 Thread Wolfgang Hackl
Greg Lappen wrote: Also, I'm thinking that I probably don't want them both running off the same install directory because what if I want to test a new version of Tomcat in the test environment? The only thing I'm saving by having them both run from the same directory is a few megs of space

Re: Two Tomcat installations on one server in Windows 2K3

2004-12-13 Thread Wolfgang Hackl
footh wrote: [running more than one Tomcat on a single machine] First off, I want to run Tomcat as a service and that seems to talk about running multiple instances with the startup script. It is likely that you want to use one version of Tomcat to run your web sites. So, I assume you have

Re: How to start multiple Tomcats

2004-12-09 Thread Wolfgang Hackl
Robert Lin wrote: We are trying to setup an automated J-Unit test from Ant using Cruise Control where we need multiple copies of tomcat servers running (by supplying different server.xml files). I suppose you want the same Tomcat binaries but different configuration per Tomcat instance.

Re: [ANN] Multiple Instances Tomcat Installer

2004-11-15 Thread Wolfgang Hackl
Peter Crowther wrote: From: Wolfgang Hackl [mailto:[EMAIL PROTECTED] To be serious, I am of the opinion that the Tomcat project can benefit from an application that helps Administrators with installation and management of multiple Tomcat instances (which is a superset of MITI's features

[ANN] Multiple Instances Tomcat Installer

2004-11-12 Thread Wolfgang Hackl
Hi everybody! I created a shell script for helping with the installation of multiple Tomcat instances. You may want to use it if you need to accelerate the creation of a new service. The script is called MITI - Multiple Instances Tomcat Installer. MITI performs actions analogous to the Advanced

Re: Running Tomcat from jsvc

2004-10-26 Thread Wolfgang Hackl
[EMAIL PROTECTED] wrote: When I start Tomcat using $CATALINA_HOME/bin/startup.sh everything works fine. But now I want to run Tomcat as a daemon under a non-root user. [...] The log (line 626)[3] is telling me that server.xml couldn't be loaded, but it didn't tell why. Hi Volkmar, did you check