You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by teknokrat <te...@yahoo.com> on 2007/01/09 13:04:04 UTC

tomcat 5.5, java 6 and jconsole not working as service

I am running Tomcat 5.5 as a service using Java 6. I try to connect 
jconsole locally but it can't seem to find tomcat. Anyone know how I can
do this?

thanks


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


Re: tomcat 5.5, java 6 and jconsole not working as service

Posted by Jess Holle <je...@ptc.com>.
Tomcat 5.5.20 runs fine with Java 6, though I'm not sure if I tried it 
as a service.

Martin Dubuc wrote:
> I haven't been successful running Tomcat on Java 6. My guess is that
> Tomcat can't run yet on Java 6.
>
> Martin
>
> On 1/9/07, teknokrat <te...@yahoo.com> wrote:
>> I am running Tomcat 5.5 as a service using Java 6. I try to connect
>> jconsole locally but it can't seem to find tomcat. Anyone know how I can
>> do this?
>>
>> thanks
>>
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>

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


Re: tomcat 5.5, java 6 and jconsole not working as service

Posted by David Smith <dn...@cornell.edu>.
I've had some interesting issues with Maven 2 and Java 6, but Tomcat
5.5.20 has run great on Java 6.

--David

Martin Dubuc wrote:

> I haven't been successful running Tomcat on Java 6. My guess is that
> Tomcat can't run yet on Java 6.
>
> Martin
>
> On 1/9/07, teknokrat <te...@yahoo.com> wrote:
>
>> I am running Tomcat 5.5 as a service using Java 6. I try to connect
>> jconsole locally but it can't seem to find tomcat. Anyone know how I can
>> do this?
>>
>> thanks
>>
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>


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


RE: tomcat 5.5, java 6 and jconsole not working as service

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Martin Dubuc [mailto:martind1111@gmail.com] 
> Subject: Re: tomcat 5.5, java 6 and jconsole not working as service
> 
> I haven't been successful running Tomcat on Java 6. My guess is that
> Tomcat can't run yet on Java 6.

5.5.20 runs fine for me with JDK 6 on XP, both as a service and from the
startup script.  No issues at all when installed from the .zip file;
haven't tried the .exe with JDK 6.

 - 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: tomcat 5.5, java 6 and jconsole not working as service

Posted by Martin Dubuc <ma...@gmail.com>.
I haven't been successful running Tomcat on Java 6. My guess is that
Tomcat can't run yet on Java 6.

Martin

On 1/9/07, teknokrat <te...@yahoo.com> wrote:
> I am running Tomcat 5.5 as a service using Java 6. I try to connect
> jconsole locally but it can't seem to find tomcat. Anyone know how I can
> do this?
>
> thanks
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

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


RE: tomcat 5.5, java 6 and jconsole not working as service

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: news [mailto:news@sea.gmane.org] On Behalf Of teknokrat
> Subject: tomcat 5.5, java 6 and jconsole not working as service
> 
> I am running Tomcat 5.5 as a service using Java 6. I try to connect 
> jconsole locally but it can't seem to find tomcat.

By default, JConsole only connects to local JVMs running under the same
userid.  Unless you've modified the Log On settings for the Tomcat
service, it's running under Local System Account, not your normal
userid.  Also, you have to add -Dcom.sun.management.jmxremote to the
Java Options for the service, using the tomcat5w.exe utility.  Once
those were done, I was able to connect to the Tomcat service using
JConsole running with JDK 6.

However, I am now noticing something very strange: most of the apps did
not deploy when running as a service.  Only ROOT, host-manager, manager,
and tomcat-docs show up in the application list.  When running with
startup.bat, everything's there.  More investigation needed.

 - 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org