-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Karthik,

karthikn wrote:
| a)shutdown.sh  refuses to work and displays ...
|
| Using CATALINA_BASE:   /infinet/karthik/TOMCAT5523
| Using CATALINA_HOME:   /infinet/karthik/TOMCAT5523
| Using CATALINA_TMPDIR: /infinet/karthik/TOMCAT5523/temp
| Using JRE_HOME:       /opt/java6
|
| Error: Exception thrown by the agent : java.rmi.server.ExportException:
| Port already in use: 8999; nested exception is:
|        java.net.BindException: Address already in use (errno:226)
| Error occurred during initialization of VM
| java.lang.RuntimeException: Exception thrown by the agent
|        at sun.management.Agent.error(Agent.java:303)
|        at sun.management.Agent.error(Agent.java:294)
|        at sun.management.Agent.startAgent(Agent.java:151)
|        at sun.management.Agent.startAgent(Agent.java:239)

Just kill the Tomcat process completely (using the kill -9) and start
fresh. Make sure you can start and stop Tomcat properly before you continue.

| Cause of this I cannot do the JMX / Jconsole monitoring setup for a
| Production Live system,since Down time cannot be more then
| 60 sec.

I wouldn't investigate this on a production system, anyway. Don't you
have a test environment that you can play with?

| Does any body think that the JNI Layer is the Cause of this trouble in
| creating 100% CPU utilization.

Any code can cause your process to run away with 100% of the CPU. Native
versus managed Java code is largely irrelevant, although you won't get a
full thread dump of native code.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkfs+GcACgkQ9CaO5/Lv0PD2HwCfVxqjtP+asIPapefm8gLrA1xg
pAIAn3JFAx1ML+Xdf4wx6OsC96riY0Jy
=0601
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to