RE: 1 Worker= 1 JVM?
Torsten, Ralph, Kaneda K Thanks I manage to start the two tomcat instances using "tomcat.bat start" for the first one and "tomcat.bat run" for the second following Kaneda K advice, Thanks again guys... Lise > -Message d'origine- > De: Ralph Einfeldt [SMTP:[EMAIL PROTECTED]] > Date: mardi 10 avril 2001 16:14 > À:'[EMAIL PROTECTED]' > Objet:AW: 1 Worker= 1 JVM? > > Did you change both ports for the second tomcat or did you > disable the web connector ? > > Tomcat uses 2 ports, one (default 8080) to connect > to the web and one (default 8007) to connect to a > connector (This port is also used by the stop script) > > Are the ports you assigned free ? > (From your description I guess that you're using windows. > For that I can't give advise how you can verify that, > for linux it's lsof -i : > > Please tell a bit more about your configuration. > (OS, Standalone/With Webserver (Which one), which tomcat) > > > -Ursprüngliche Nachricht- > > Von: GASNIER Lise [mailto:[EMAIL PROTECTED]] > > Gesendet: Dienstag, 10. April 2001 15:46 > > An: [EMAIL PROTECTED] > > Betreff: RE: 1 Worker= 1 JVM? > > > I tried to start 2 tomcat with two server.xml different > > (server1.xml and > > server2.xml) with two different connectors on two different > > ports and with > > two different log files but the second instance failed to > > start: the window > > in which it should have started opened and disappeared immediately. > > Have you ever started 2 Tomcat? > > Do you know what the problem is? > > Thanks again > > lise >
AW: 1 Worker= 1 JVM?
Did you change both ports for the second tomcat or did you disable the web connector ? Tomcat uses 2 ports, one (default 8080) to connect to the web and one (default 8007) to connect to a connector (This port is also used by the stop script) Are the ports you assigned free ? (From your description I guess that you're using windows. For that I can't give advise how you can verify that, for linux it's lsof -i : Please tell a bit more about your configuration. (OS, Standalone/With Webserver (Which one), which tomcat) > -Ursprüngliche Nachricht- > Von: GASNIER Lise [mailto:[EMAIL PROTECTED]] > Gesendet: Dienstag, 10. April 2001 15:46 > An: [EMAIL PROTECTED] > Betreff: RE: 1 Worker= 1 JVM? > I tried to start 2 tomcat with two server.xml different > (server1.xml and > server2.xml) with two different connectors on two different > ports and with > two different log files but the second instance failed to > start: the window > in which it should have started opened and disappeared immediately. > Have you ever started 2 Tomcat? > Do you know what the problem is? > Thanks again > lise
Re: 1 Worker= 1 JVM?
Hallo Lise war mein englisch so schlecht? Have you ever started 2 Tomcat? yes Do you know what the problem is? perhaps you try to keep the exuted window to see the error messages. you have to use the startup.sh / .bat with -f option to give it the corresponding server.xml file greetings Torsten > -Message d'origine- > De: Torsten Glunde [SMTP:[EMAIL PROTECTED]] > Date: mardi 10 avril 2001 15:23 > À: [EMAIL PROTECTED] > Objet: Re: 1 Worker= 1 JVM? > > Hi, > > for running multiple JVMs or Tomcat Instances you have to start and setup > them manually. > > For each jvm there will be one server.xml file with the corresponding port > numbers of the workers. > > Thats because the workers are established during the apache process in the > mod_jk and have nothing to do with the jvms and corresponding server.xml > files. > > > Greetings > Torsten > > - Original Message - > From: "GASNIER Lise" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, April 10, 2001 3:15 PM > Subject: 1 Worker= 1 JVM? > > > > > > Hi, > > Judging by the Tomcat-Apache How-to and its Multiple Tomcat JVMs > section, > > 1 instance of Tomcat= 1 JVM ("you have to be running two separate > instances > > of Tomcat, hence the "multiple JVMs"). > > And the Tomcat workers.properties doc says "a tomcat worker is a tomcat > > instance". > > So, 1 worker = 1JVM... > > But when running Tomcat with a workerlist composed of two workers, I can > see > > only one JVM (using TaskInfo). > > Can someone tell me if this assertion is correct: 1 worker= 1 JVM. > > > > thanks a lot, > > Lise > >
RE: 1 Worker= 1 JVM?
try to use tomcat run instead of tomcat start (you'll have you exception in you current windows). Otherwise, check that then ajp12 port are also different At 15:46 10/04/2001 +0200, you wrote: >Hallo torsten >Danke Schön für deine Antwort. >I tried to start 2 tomcat with two server.xml different (server1.xml and >server2.xml) with two different connectors on two different ports and with >two different log files but the second instance failed to start: the window >in which it should have started opened and disappeared immediately. >Have you ever started 2 Tomcat? >Do you know what the problem is? >Thanks again >lise > > > > -Message d'origine- > > De: Torsten Glunde [SMTP:[EMAIL PROTECTED]] > > Date: mardi 10 avril 2001 15:23 > > À:[EMAIL PROTECTED] > > Objet:Re: 1 Worker= 1 JVM? > > > > Hi, > > > > for running multiple JVMs or Tomcat Instances you have to start and setup > > them manually. > > > > For each jvm there will be one server.xml file with the corresponding port > > numbers of the workers. > > > > Thats because the workers are established during the apache process in the > > mod_jk and have nothing to do with the jvms and corresponding server.xml > > files. > > > > > > Greetings > > Torsten > > > > - Original Message - > > From: "GASNIER Lise" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Tuesday, April 10, 2001 3:15 PM > > Subject: 1 Worker= 1 JVM? > > > > > > > > > > Hi, > > > Judging by the Tomcat-Apache How-to and its Multiple Tomcat JVMs > > section, > > > 1 instance of Tomcat= 1 JVM ("you have to be running two separate > > instances > > > of Tomcat, hence the "multiple JVMs"). > > > And the Tomcat workers.properties doc says "a tomcat worker is a tomcat > > > instance". > > > So, 1 worker = 1JVM... > > > But when running Tomcat with a workerlist composed of two workers, I can > > see > > > only one JVM (using TaskInfo). > > > Can someone tell me if this assertion is correct: 1 worker= 1 JVM. > > > > > > thanks a lot, > > > Lise > > >
RE: 1 Worker= 1 JVM?
Hallo torsten Danke Schön für deine Antwort. I tried to start 2 tomcat with two server.xml different (server1.xml and server2.xml) with two different connectors on two different ports and with two different log files but the second instance failed to start: the window in which it should have started opened and disappeared immediately. Have you ever started 2 Tomcat? Do you know what the problem is? Thanks again lise > -Message d'origine- > De: Torsten Glunde [SMTP:[EMAIL PROTECTED]] > Date: mardi 10 avril 2001 15:23 > À:[EMAIL PROTECTED] > Objet: Re: 1 Worker= 1 JVM? > > Hi, > > for running multiple JVMs or Tomcat Instances you have to start and setup > them manually. > > For each jvm there will be one server.xml file with the corresponding port > numbers of the workers. > > Thats because the workers are established during the apache process in the > mod_jk and have nothing to do with the jvms and corresponding server.xml > files. > > > Greetings > Torsten > > - Original Message - > From: "GASNIER Lise" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, April 10, 2001 3:15 PM > Subject: 1 Worker= 1 JVM? > > > > > > Hi, > > Judging by the Tomcat-Apache How-to and its Multiple Tomcat JVMs > section, > > 1 instance of Tomcat= 1 JVM ("you have to be running two separate > instances > > of Tomcat, hence the "multiple JVMs"). > > And the Tomcat workers.properties doc says "a tomcat worker is a tomcat > > instance". > > So, 1 worker = 1JVM... > > But when running Tomcat with a workerlist composed of two workers, I can > see > > only one JVM (using TaskInfo). > > Can someone tell me if this assertion is correct: 1 worker= 1 JVM. > > > > thanks a lot, > > Lise > >
Re: 1 Worker= 1 JVM?
Hi, for running multiple JVMs or Tomcat Instances you have to start and setup them manually. For each jvm there will be one server.xml file with the corresponding port numbers of the workers. Thats because the workers are established during the apache process in the mod_jk and have nothing to do with the jvms and corresponding server.xml files. Greetings Torsten - Original Message - From: "GASNIER Lise" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 10, 2001 3:15 PM Subject: 1 Worker= 1 JVM? > > Hi, > Judging by the Tomcat-Apache How-to and its Multiple Tomcat JVMs section, > 1 instance of Tomcat= 1 JVM ("you have to be running two separate instances > of Tomcat, hence the "multiple JVMs"). > And the Tomcat workers.properties doc says "a tomcat worker is a tomcat > instance". > So, 1 worker = 1JVM... > But when running Tomcat with a workerlist composed of two workers, I can see > only one JVM (using TaskInfo). > Can someone tell me if this assertion is correct: 1 worker= 1 JVM. > > thanks a lot, > Lise >
1 Worker= 1 JVM?
Hi, Judging by the Tomcat-Apache How-to and its Multiple Tomcat JVMs section, 1 instance of Tomcat= 1 JVM ("you have to be running two separate instances of Tomcat, hence the "multiple JVMs"). And the Tomcat workers.properties doc says "a tomcat worker is a tomcat instance". So, 1 worker = 1JVM... But when running Tomcat with a workerlist composed of two workers, I can see only one JVM (using TaskInfo). Can someone tell me if this assertion is correct: 1 worker= 1 JVM. thanks a lot, Lise