None of them worked. Although putting the
"-Dcom.sun.management.jmxremote=true" i stopped getting the error
messages, but still Jconsole wouldn't work. The only way was to copy
directly in the command in the catalina.bat, which is terrible I
know!!!

%_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% %DEBUG_OPTS%
-Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath "%CLASSPATH%"
-Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA_HOME%"
-Djava.io.tmpdir="%CATALINA_TMPDIR%"
-Dcom.sun.management.jmxremote.port=9999
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false %MAINCLASS%
%CMD_LINE_ARGS% %ACTION%

And I still got the same problem, it keeps growing the non-heap
memory, although to a much smaller amount...

I will try two other things:
- use java6 on the solaris
- use eclipse TPTP Locally to see which classes are hanging.
- use eclipse TPTP remote (whioch seems will be a pain) to profile in
the remote tomcat

But for what it seems, all the classes from my applications are
hanging. I also tested with other 3 applications and all of them have
the same behaviour.

regards
emerson
2008/9/17 Caldarale, Charles R <[EMAIL PROTECTED]>:
>> From: Brian Clark [mailto:[EMAIL PROTECTED]
>> Subject: Re: Non-Heap Memory always increasing during
>> deployment for TC 5.5.26/Solaris/JVM 1.5.0_16
>>
>> I think you need to add one more line to your CATALINA_OPTS statement:
>> -Dcom.sun.management.jmxremote=true
>
> The above is not necessary.  Any declaration of a system property beginning 
> with com.sun.management.jmxremote enables remote JMX access, including 
> specification of a port; the "=true" is just noise.
>
>  - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
> MATERIAL and is thus for use only by the intended recipient. If you received 
> this in error, please contact the sender and delete the e-mail and its 
> attachments from all computers.
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
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