Re: java.rmi.server.ExportException thrown when stopping Tomcat

2007-02-27 Thread chuanjiang lo
On 2/27/07, chuanjiang lo <[EMAIL PROTECTED]> wrote: Hi there, I have edited the catalina.bat to enable jmx connections to tomcat server. set JAVA_OPTS=%JAVA_OPTS% - Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager - Dcom.sun.management.jmx

java.rmi.server.ExportException thrown when stopping Tomcat

2007-02-27 Thread chuanjiang lo
Hi there, I have edited the catalina.bat to enable jmx connections to tomcat server. set JAVA_OPTS=%JAVA_OPTS% - Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager - Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9004 - Dcom.sun.management.jmxremote.authenticat

Using JConsole with Tomcat

2007-02-23 Thread chuanjiang lo
I have added this statement in catalina.bat set CATALINA_OPTS="-Dcom.sun.management.jmxremote - Dcom.sun.management.jmxremote.port=1099 - Dcom.sun.management.jmxremote.ssl=false - Dcom.sun.management.jmxremote.authenticate=false" I try to use Jconsole to connect to the tomcat jmx agent but it is

control JMX beans remotely in Tomcat instance

2006-12-28 Thread chuanjiang lo
hi all, i am trying write a simple applicationto connect to tomcat remotely to view the jmx beans. Is there any articles or tutorials i can look upon for a kickstart? Appreciate any help.

Re: Webapp with Adminstrative Console

2006-12-05 Thread chuanjiang lo
On 12/6/06, Mikolaj Rydzewski <[EMAIL PROTECTED]> wrote: You could also use JMX to change configuration at runtime. Spring has nice JMX support. Looks like the tag is the easiest solution of all but JMX seems interesting and i can learn something new but is it possible to do without Spring?

Webapp with Adminstrative Console

2006-12-05 Thread chuanjiang lo
I am having a web application that have some config files(.ini) that contains some settings so that during runtime the servlet would take the settings from the config file and perform some action. Together with the web application, there is an adminstrator console that allows user to change the s

Re: Webapp with Adminstrative Console

2006-12-05 Thread chuanjiang lo
On 12/6/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: Rather than restarting Tomcat, why don't you have the servlet watch for changes to the .ini file and reload it as needed? Seems a bit of overkill to take the whole server down for just that. You could also just redeploy the app when n

Tomcat Ant Task

2006-07-07 Thread chuanjiang lo
Can anyone point me the any links that teaches how to use the ant task from Tomcat to start, stop, deploy, undeploy..etc.tc? Appreciate any help

Re: JNDI Datasource Problem

2006-02-20 Thread chuanjiang lo
i think you would need to change the context.xml? On 2/20/06, Mark Whitby <[EMAIL PROTECTED]> wrote: > > Hey guys, > > Thanks for the help with the previous problem I had, I've managed to solve > them now thanks to your help. But now I'm having a problem with setting up > a DataSource connection.