tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Major Tomcat classloading issues with javaagent command line switch
Date Tue, 06 Apr 2010 15:18:46 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Arshan,

On 4/6/2010 12:04 AM, Arshan Dabirsiaghi wrote:
> The bottom line appears to be this: across Tomcat and JDK versions, you
> can't use the javaagent switch and have a working web app.

This works for me under the following environment:

$ bin/catalina.sh version
Using CATALINA_BASE:   /usr/local/apache-tomcat-6.0.26
Using CATALINA_HOME:   /usr/local/apache-tomcat-6.0.26
Using CATALINA_TMPDIR: /usr/local/apache-tomcat-6.0.26/temp
Using JRE_HOME:        /usr
Using CLASSPATH:       /usr/local/apache-tomcat-6.0.26/bin/bootstrap.jar
Server version: Apache Tomcat/6.0.26
Server built:   March 9 2010 1805
Server number:  6.0.26.0
OS Name:        Linux
OS Version:     2.6.18-14-fza-686-bigmem
Architecture:   i386
JVM Version:    1.6.0_12-b04
JVM Vendor:     Sun Microsystems Inc.

The command line for my running JVM looks like this:

/usr/bin/java -Dnop -Xmx64M
- -agentpath:/home/cschultz/yjp-8.0.6/bin/linux-x86-32/libyjpagent.so=
- -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
- -Djava.endorsed.dirs=/usr/local/apache-tomcat-6.0.26/endorsed -classpath
/usr/local/apache-tomcat-6.0.26/bin/bootstrap.jar
- -Dcatalina.base=/home/cschultz/.webapps/xxx
- -Dcatalina.home=/usr/local/apache-tomcat-6.0.26
- -Djava.io.tmpdir=/home/cschultz/.webapps/xxx/temp
org.apache.catalina.startup.Bootstrap start

What does yours look like?

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

iEYEARECAAYFAku7UNUACgkQ9CaO5/Lv0PCxFwCfa5/zxoTvyYF5x9/sNy2STxGY
Pb8AoIMd66jZvvTqqmu1yTZzg2/+U0Np
=8BCW
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message