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" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to