Really, there are about 1 gazzillion valid ways to setup an application consisting of n number of tomcats and m number of jbosses, running in same or separate processes/vms/datacenters and doing stuff. Maybe you should first find out, what your deployment architecture is, and what your app does. Probably ps is a good way to start to find out what is really running on your machine and where.
Leon On Sat, May 17, 2014 at 11:35 AM, Randhir Singh <randhir.si...@sterlite.com>wrote: > I have 1 observation. In our developmental environment, I killed the Tomcat > process and started the Tomcat it worked. But in the production > environment, > starting Tomcat was not enough and I had to restart JBoss & Tomcat in > sequence for Tomcat to be up. Could it mean that JVM is crashing or > something because of OOME in Tomcat. > > I could try to increase the heap & Permgen memory in Tomcat, would that > help? > > Requesting a reply. > > Regards > > -----Original Message----- > From: Randhir Singh [mailto:randhir.si...@sterlite.com] > Sent: Saturday, May 17, 2014 11:00 AM > To: 'Tomcat Users List' > Subject: RE: Tomcat dependency on application server > > Thanks Chris for your answer. There were separate PID's on Linux for JBoss > & > Tomcat and I killed the Tomcat process. Would killing a Tomcat process also > kill the JVM process? I had another related question of how to know the > number of JVM's running, I mean the count of the number of JVM's. > > I hope, my query has been put across correctly. > > Requesting a reply. > > Regards > > -----Original Message----- > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: Saturday, May 17, 2014 1:59 AM > To: Tomcat Users List > Subject: Re: Tomcat dependency on application server > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Randhir, > > On 5/15/14, 3:17 AM, Randhir Singh wrote: > > Hi, > > > > We have JBoss as the application server & Tomcat as the web server in > > our production & developmental setup which is on Red Hat Linux 5.X. We > > have tomcat 6.X. My query is that if I need to restart tomcat, do I > > need to restart JBoss & Tomcat both or just restarting Tomcat would be > > enough. I am asking this query because I had killed the tomcat process > > using kill -9 and while restarting tomcat it was not starting but when > > I killed JBoss & tomcat and then restarted, Tomcat was up. > > > > I hope my query is clear whether Tomcat is dependent on JBoss. > > I'm fairly sure that there is only a single JVM for JBoss/Tomcat. If you > killed one, you've killed the other. > > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1 > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iQIcBAEBCAAGBQJTdnUaAAoJEBzwKT+lPKRYnH8QALfeHn4XVXB6KANb0hmAPEL3 > 7pNRaUW0AypQQjujzr7X4DKv3MOnMwWfIaiVcazNbtC7j+W3Mi6khksZIq1cz0At > o9K0CDdJhAg5be9a68T7E5ko4mdy+rjX2ZsuX2LDdp5wyQaYWEXRWd3+hfBL2Gk7 > D+225vxnMUeB9gHLaVUQ4k/3TOZvO/DYT9TCnxOlviP1+QEek5chN6a9XDJpQKpg > O/EVBudYmDMLu9QKbOJJ5jomKUUa/VPsjhwz4O32+2Zok5VWLIrct5joF3r2ej+p > 5RfHLnijRcCX5QkZOAYM9mdvFuFb1+lNAUGKPJwZU47SI7delyJZwxqGJYmo495e > Q2nGMqepgXlQhOtwuTMdSh9gFV6LqJeaWcW6ZpyMNXbkNSSRSIy3hgcZqRycsSUa > dvBRg6j57MMhNiCDx9IVtxF+OqKbiiLNdb9tJRArSXdoSx3a1EYbRbmye3xWbrUv > SYadbr14KBqTXxaK2qJBb7E3j/fn1J5NKEARQbM/ML5Q/0TaNIRMlmjbOt2yccYG > pNRtC8FRkHWaN3eYtpM0vMNCZ/Cl/atzr3StoN/EX5bWjba6eaaXBaeKdG3FypyY > jL0nQu7P0Ir1ASrcxlQeN5snLmI2G4AoFjenOhEsCDDQKixSiryzZRR6ZVqCPZ/k > Bi3P3ZPYqngg8oU6s6b6 > =bJS6 > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- > > *STL Disclaimer:* > The content of this message may be legally privileged and confidential and > are for the use of the intended recipient(s) only. It should not be read, > copied and used by anyone other than the intended recipient(s). If you have > received this message in error, please immediately notify the sender, > preserve its confidentiality and delete it. Before opening any attachments > please check them for viruses and defects. No employee or agent is > authorised to conclude any binding agreement on behalf of Sterlite > Technologies Limited with another party by email without express written > confirmation by authorised person. Visit us at > www.sterlitetechnologies.com > Please consider environment before printing this email ! > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >