tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: how to change the port for jmx in tomcat 5.5.9 ?
Date Thu, 12 May 2005 03:00:43 GMT
Well, firstly JkMX is deprecated in 5.5 in favor of javax.management.remote.

To use JkMX anyway, you need to either specify the properties directly on 
the <Connector> (e.g. mx.jrmpPort="1099") or specify the location of the 
properties file (e.g. propertiesFile="conf/jk2.properties")

"Pankaj Bhatnagar" <pankajatncst@rediffmail.com> wrote in message 
news:20050511072835.14980.qmail@webmail28.rediffmail.com...
Hi
I used to change the port for jmx by specifying the property :
jrmpPort=1099
in the jk2.properties file while using Tomcat 5.0.28

After adding this property when I started Tomcat I used to get the following 
in the console :
May 11, 2005 12:57:22 PM org.apache.jk.common.JkMX loadAdapter
INFO: Creating Naming:name=rmiregistry
May 11, 2005 12:57:22 PM org.apache.jk.common.JkMX loadAdapter
INFO: Creating Adaptor:protocol=jrmp on host localhost at port 1099
May 11, 2005 12:57:22 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=15/328 
config=D:\Apps\tomcat5.0.19\conf\jk2.properties

I made the same changes to the jk2.properties file in Tomcat 5.5.9, but it 
seems that it does not read the jk2.properties file. I get the following in 
the console :
May 11, 2005 10:55:32 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/32  config=null

Could someone help me out as to what I am missing in this ?

Thanks
Pankaj 




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


Mime
View raw message