Re: Tomcat JMX connection - Authentication failed.

2011-01-14 Thread Pid
On 1/13/11 5:09 PM, Ziggy wrote: > Given that Jconsole can connect to the Tomcat JMX without any user > credentials (locally), i am guessing that i dont need to supply these > credentials but how do i connect to the JMX server without supplying the > port number? (by specifying the port number it m

Re: Tomcat JMX connection - Authentication failed.

2011-01-13 Thread Ziggy
Given that Jconsole can connect to the Tomcat JMX without any user credentials (locally), i am guessing that i dont need to supply these credentials but how do i connect to the JMX server without supplying the port number? (by specifying the port number it means i am allowing remote authentication

Re: Tomcat JMX connection - Authentication failed.

2011-01-13 Thread Pid
On 1/13/11 3:15 PM, Ziggy wrote: > Aha... i didnt realise that i needed to supply the credentials from the > client. I thought Tomcat would get those from the password files. Ok im off > to the documentation now. :) It could do, but you'd have to point the client at those files and read their cont

Re: Tomcat JMX connection - Authentication failed.

2011-01-13 Thread André Warnier
Ziggy wrote: Aha... i didnt realise that i needed to supply the credentials from the client. I thought Tomcat would get those from the password files. Purely from an intellectual curiosity point of view, it would be interesting if you could explain what you thought that this server-side passw

Re: Tomcat JMX connection - Authentication failed.

2011-01-13 Thread Ziggy
atch (MalformedURLException e) { >>throw new Exception(methodName + ":" + e); >>} catch (IOException e) { >> throw new Exception(methodName + ":" + "Failed to >> connect to the Tomcat Server "

Re: Tomcat JMX connection - Authentication failed.

2011-01-13 Thread André Warnier
ot be any issues with the firewall. Any clues On Thu, Jan 13, 2011 at 1:20 PM, André Warnier wrote: Ziggy wrote: Tomcat JMX connection - Authentication failed. I am having some problems setting up Tomcat for JMX. I added the following properties to CATALINA_OPTS CATALINA_OPTS="-Dcom.s

Re: Tomcat JMX connection - Authentication failed.

2011-01-13 Thread Ziggy
there should not be any issues with the firewall. Any clues On Thu, Jan 13, 2011 at 1:20 PM, André Warnier wrote: > Ziggy wrote: > >> Tomcat JMX connection - Authentication failed. >> >> I am having some problems setting up Tomcat for JMX. I added the following >>

Re: Tomcat JMX connection - Authentication failed.

2011-01-13 Thread André Warnier
Ziggy wrote: Tomcat JMX connection - Authentication failed. I am having some problems setting up Tomcat for JMX. I added the following properties to CATALINA_OPTS CATALINA_OPTS="-Dcom.sun.management.jmxremote.port=18070 -Dcom.sun.management.jmxremote.password.file=$CATALINA_BASE

Tomcat JMX connection - Authentication failed.

2011-01-13 Thread Ziggy
Tomcat JMX connection - Authentication failed. I am having some problems setting up Tomcat for JMX. I added the following properties to CATALINA_OPTS CATALINA_OPTS="-Dcom.sun.management.jmxremote.port=18070 -Dcom.sun.management.jmxremote.password.file=$CATALINA_BASE/conf/jmxremote.pas