Manage a context via JMX

2005-10-11 Thread Björn König
Hello, i'm using jmx to access the tomcat 5.5 server. I succeeded in retrieving a list of context mbeans. My problem is that the context-mbean doesn't contain any information about the availability of a context, the context description and number of sessions. I tried to get the origin

Re: JMX Method to check JDBC connection acivity?

2005-09-28 Thread andy gordon
informatio available via JMX was the same whether MySQL was started or not. I am wondering if creating your own MBean is the appropriate way to test the connection. Let me know how this comes out. - Andy Gordon Edmon Begoli <[EMAIL PROTECTED]> wrote: Is there a handy MBean in

JMX Method to check JDBC connection acivity?

2005-09-27 Thread Edmon Begoli
Is there a handy MBean in Tomcat that would allow me to do on demand check if the connection to the database is up? I've looked at DataSource but that one does not expose getConnection, and the one that requires username and password throws RMI permission exception. I would really like to have som

Re: ACCESSING TOMCAT JMX SUPPORT REMORTELY VIA THE RMI CONNECTOR

2005-09-21 Thread jiang ying
verConnection();" A little different from yours, but it works. :) I've been wasting time finding the solution about mx4j and finally solved it by using mc4j. Thank you. :) From: "Dirk Weigenand" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" To: "

Re: ACCESSING TOMCAT JMX SUPPORT REMORTELY VIA THE RMI CONNECTOR

2005-09-21 Thread Dirk Weigenand
Hi, > --- Ursprüngliche Nachricht --- > Von: "jiang ying" <[EMAIL PROTECTED]> > An: tomcat-user@jakarta.apache.org > Betreff: Re: ACCESSING TOMCAT JMX SUPPORT REMORTELY VIA THE RMI CONNECTOR > Datum: Wed, 21 Sep 2005 23:38:36 +0800 > > I did follow the link

Re: ACCESSING TOMCAT JMX SUPPORT REMORTELY VIA THE RMI CONNECTOR

2005-09-21 Thread jiang ying
I did follow the link to SUNs web site and did the exercise. I know how to use JMX, but I don't know how to get the mbeanserver that the tomcat JMX support registed. And I've been searching the material about mx4j at all times :(. From: "Dirk Weigenand" <[EMAIL PROTEC

Re: ACCESSING TOMCAT JMX SUPPORT REMORTELY VIA THE RMI CONNECTOR

2005-09-21 Thread Dirk Weigenand
Hi, > > Before posting my question, I have studied > http://jakarta.apache.org/tomcat/tomcat-5.5-doc/monitoring.html. It > explains the way to activate HTTP adaptor. Well it explains how to activate jmx remote monitoring right at the start of the page. Did you follow the link to S

Re: ACCESSING TOMCAT JMX SUPPORT REMORTELY VIA THE RMI CONNECTOR

2005-09-21 Thread jiang ying
suggest really do me a lot. Finally I am able to monitor the tomcat via RMI connector. Thanks a lot. cylinder From: "Dirk Weigenand" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" To: "Tomcat Users List" Subject: Re: ACCESSING TOMCAT JMX SUPPORT REMOR

Re: ACCESSING TOMCAT JMX SUPPORT REMORTELY VIA THE RMI CONNECTOR

2005-09-21 Thread andy gordon
connector client in a very small bit of java code as well as establish as use the MBeanServerConnection class to access TOMCAT domains and MBeans. THis is probably about a 1/2 dozen LOC to gain access and there are examples to be found. You can use JConsole (JMX monitoring from SUN) which is

Re: ACCESSING TOMCAT JMX SUPPORT REMORTELY VIA THE RMI CONNECTOR

2005-09-21 Thread Dirk Weigenand
Hi, > --- Ursprüngliche Nachricht --- > Von: "jiang ying" <[EMAIL PROTECTED]> > An: tomcat-user@jakarta.apache.org > Betreff: ACCESSING TOMCAT JMX SUPPORT REMORTELY VIA THE RMI CONNECTOR > Datum: Wed, 21 Sep 2005 16:26:00 +0800 > > hi, I know the way to acces

ACCESSING TOMCAT JMX SUPPORT REMORTELY VIA THE RMI CONNECTOR

2005-09-21 Thread jiang ying
hi, I know the way to access Tomcat JMX support via http adaptor. I also know how to monitor an application via JMX by registering an mbeanserver. But I really confused about accessing Tomcat JMX support via RMI connector: 1. how to configure Mx4j RMI connector with Tomcat 5.5, since only

RE: tomcat/jvm shutdown very slow after enabling JMX remote management...

2005-09-13 Thread Joe R. Lindsay
Thanks, actually setting the JMX OPTS during shutdown ends up creating a port in use error. I managed to figure that one out.I tried setting jmxremote to false and that was a noop as expected... I still get the long shutdown with the jmx OPTS excluded. -Original Message- From

Re: tomcat/jvm shutdown very slow after enabling JMX remote management...

2005-09-13 Thread Christoph Kutzinski
You should only set the JMX JAVA_OPTS for startup. If you use the same JAVA_OPTS for shutdown, the shutdown-VM will unsuccessfully try to start a JMX server on port . That's what taking so long. Joe R. Lindsay wrote: If found an old post mentioning the same issue, but no resoluti

tomcat/jvm shutdown very slow after enabling JMX remote management...

2005-09-13 Thread Joe R. Lindsay
If found an old post mentioning the same issue, but no resolution or others. My config is pretty vanilly except for setting the JMX options as part of the normal Tomcat startup (CATALINA_OPTS)... export CATALINA_OPTS="$CATALINA_OPTS -Dcom.sun.management.jmxremote.port=&quo

Tomcat JNDI / JMX port

2005-09-11 Thread Gurumoorthy
Hi, What is i am trying to do: Connect 4.1.27 tomcat to JMX client MC4J in a differenct port What is the issue:The port which tomcat uses be default is 1099 How can you help:Can you please let me know how to change the

Re: JMX Remote monitoring with jakarta-tomcat-5.5.9 and jdk1.5.0_04

2005-08-14 Thread Peter Rossbach
Hey Joe, currently the default java 5 jmx rmi implementation can't set a fix rmi port. You can only set the naming port. Really bad, but the only way to change this, is to implement a tomcat listener and start your own rmi connector. I am very happy to see the implementation. :-)

JMX Remote monitoring with jakarta-tomcat-5.5.9 and jdk1.5.0_04

2005-08-14 Thread Joe R. Lindsay
So, I have it up and running, but it seems that remote monitoring requires a random 2nd data port So, even when I set the remote jmx port to say 1234 after restarting tomcat I see it listening on port 1234 and something like 33051. This makes jmx remote a bit difficult to use in a secure

Help: IndexOutOfBoundsException using JMX management

2005-08-05 Thread Tom
Hi, I want to monitore and manage my tomcat instance using JMX. I use tomcat-5.4.4 and a JDK-1.5 under suse linux. I do the actions specified in the official documentation (Monitoning and managing tomcat). ~/bin/startup.sd export CATALINA_OPTS="-Dcom.sun.management.jmxr

Re: How to query Tomcat for the number of peers in the cluster without using the JMX

2005-07-10 Thread Peter Rossbach
HEy, you can access you local Mbeans Server and write your own HTML interface to show cluster state. Look inside Manager or Admin app for example. Peter Edmon Begoli schrieb: Since I may not be allowed to enable JMX on the production, but we would still like to query host Tomcat for the

How to query Tomcat for the number of peers in the cluster without using the JMX

2005-07-08 Thread Edmon Begoli
Since I may not be allowed to enable JMX on the production, but we would still like to query host Tomcat for the number of peers in the cluster can someone please share how can this be accomplished using the Tomcat API, and what jars, if any, I would need to have in the lib directory of my web

Re: How do you set up JMX remote for Tomcat 5.5.9?

2005-07-08 Thread teknokrat
dn't start. Suggestions? I have not done anything else at this point with respect to enabling JMX remote. Thank you - andy Tim Funk <[EMAIL PROTECTED]> wrote: http://jakarta.apache.org/tomcat/faq/misc.html#properties -Tim andy gordon wrote: Help, How do you set up JMX remote fo

Re: How do you set up JMX remote for Tomcat 5.5.9?

2005-07-07 Thread andy gordon
ons? I have not done anything else at this point with respect to enabling JMX remote. Thank you - andy Tim Funk <[EMAIL PROTECTED]> wrote: http://jakarta.apache.org/tomcat/faq/misc.html#properties -Tim andy gordon wrote: > Help, > > How do you set up JMX remote fo

Re: How do you set up JMX remote for Tomcat 5.5.9?

2005-07-07 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/misc.html#properties -Tim andy gordon wrote: Help, How do you set up JMX remote for Tomcat 5.5.9? For instance where do you specify the JVM startup option -Dcom.sun.management.jmxremote.port=9998 that enables remote monitoring and management

How do you set up JMX remote for Tomcat 5.5.9?

2005-07-07 Thread andy gordon
Help, How do you set up JMX remote for Tomcat 5.5.9? For instance where do you specify the JVM startup option -Dcom.sun.management.jmxremote.port=9998 that enables remote monitoring and management? THank you - andy - Sell on

TC 5.5.9 - JMX - jconsole

2005-06-16 Thread Pfingstl Gernot
Opening a remote connection with jconsole to a tomcat 5.5.9 (jdk 1.5) running with security manager works fine when disabling authentication (com.sun.management.jmxremote.authenticate=false). Using client auth & no security manager works well, too. Using client auth & security manager throws se

Re: JMX implementation - Tomcat 5.0.28

2005-06-07 Thread Jimmy Ray
> (assuming you're using the scripts not the service > to start and stop tc). > > 2) > According to the release notes you can also change > the manifest file in > the bootstrap.jar to point to your own jmx > implementations. > > http://jakarta.apache.org/tomcat

Re: JMX implementation - Tomcat 5.0.28

2005-06-07 Thread Jon Wingfield
otstrap classpath by modifying setclasspath.bat (assuming you're using the scripts not the service to start and stop tc). 2) According to the release notes you can also change the manifest file in the bootstrap.jar to point to your own jmx implementations. http://jakarta.apache.org/tomc

JMX implementation - Tomcat 5.0.28

2005-06-02 Thread Jimmy Ray
I was ruinning 5.0.28 on Windows, but now it wont start. I get this message: Due to new licensing guidelines mandated by the Apache Software Foundation Board of Directors, a JMX implementation can no longer be distributed with the Apache Tomcat binaries. As a result, you must download a JMX 1.2

Problems running jmx/mx4J on Tomcat 5.0.28

2005-05-31 Thread Chris Mayer
Hi all, while trying to get jmx/mx4j running on my tomcat 5.0.28 following guidellines and other tomcat-user suggestions, I am still running in some errors and exceptions ... --- createAdaptor: Exception javax.management.ReflectionException: nested exception is

Re: how to change the port for jmx in tomcat 5.5.9 ?

2005-05-11 Thread Bill Barker
) "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 foll

how to change the port for jmx in tomcat 5.5.9 ?

2005-05-11 Thread Pankaj Bhatnagar
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

JMX on Tomcat 5.5.9, JDK1.4 broken even with compatibility package?

2005-04-17 Thread Paul ANDERSON
In the change log for TC5.5.9, there is a claim that MX4J 3.0.1 has been integrated instead of 2. The JAR in bin from the compatibility package for JDK1.4 matches MX4J 3.0.1. But if I put the other 3.0.1 JARs in common/lib and configure Coyote to use jk2.properties with mx.enabled=true, using JDK1.

Re: Tomcat 5.5.4/Windows 2000 server - Failed to register in JMX: BasicDataSourceFactory

2005-02-05 Thread Mario Winterer
e that close to the container. Greg -Original Message- From: Mario Winterer [mailto:[EMAIL PROTECTED] Sent: Thursday, February 03, 2005 4:37 PM To: Tomcat Users List Subject: Re: Tomcat 5.5.4/Windows 2000 server - Failed to register in JMX: BasicDataSourceFactory Hi David! I think, you do no

Tomcat/JMX Agent/Log4J Question

2005-02-04 Thread Kalyan Inuganti
All, Let us say that I have an agent running on localhost:9092. I have my Java Serverside App running on Tomcat (4.x) - localhost:8080. I am using Log4J for logging in my App. I would like to know how my MBean implementation class associated with the Agent, can access the Level property (logger.ge

Re: Tomcat 5.5.4/Windows 2000 server - Failed to register in JMX: BasicDataSourceFactory

2005-02-04 Thread Parsons Technical Services
al Message - From: "DAVID TURNER" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Friday, February 04, 2005 8:19 AM Subject: RE: Tomcat 5.5.4/Windows 2000 server - Failed to register in JMX: BasicDataSourceFactory Hi all, Most of the examples I've come across s

RE: Tomcat 5.5.4/Windows 2000 server - Failed to register in JMX: BasicDataSourceFactory

2005-02-04 Thread DAVID TURNER
ist" To "'Tomcat Users List'" cc Subject RE: Tomcat 5.5.4/Windows 2000 server - Failed to register in JMX: BasicDataSourceFactory Hi David, Mario, We actually specify the factory parameter because we extend the BasicDataSourceFactory so we can encrypt passwor

RE: Tomcat 5.5.4/Windows 2000 server - Failed to register in JMX: BasicDataSourceFactory

2005-02-03 Thread Greg Guerin
Failed to register in JMX: BasicDataSourceFactory Hi David! I think, you do not need to explicitely define a bean factory because Tomcat 5 automatically uses dbcp for JNDI-DataSources (I think tomcat looks at the type of resource - in your case a javax.sql.DataSource - and uses the tomcat-int

Re: Tomcat 5.5.4/Windows 2000 server - Failed to register in JMX: BasicDataSourceFactory

2005-02-03 Thread Mario Winterer
tem;libraries=,pgmdbt,caelib;errors=full" username="userid" password="password"/> Mario Winterer <[EMAIL PROTECTED]> 02/02/2005 07:19 PM Please respond to "Tomcat Users List" To Tomcat Users List cc Subject Re: Tomcat

Re: Tomcat 5.5.4/Windows 2000 server - Failed to register in JMX: BasicDataSourceFactory

2005-02-03 Thread DAVID TURNER
c Subject Re: Tomcat 5.5.4/Windows 2000 server - Failed to register in JMX: BasicDataSourceFactory Hi! How did you define your JDBC DataSource? As far as I know, the original jakarta-commons-dbcp and jakarta-commons-pool-libraries are not included with Tomcat. Instead, just a subset of

Re: Tomcat 5.5.4/Windows 2000 server - Failed to register in JMX: BasicDataSourceFactory

2005-02-02 Thread Mario Winterer
error on Tomcat startup: Feb 2, 2005 10:50:49 AM org.apache.catalina.core.NamingContextListener addResource WARNING: Failed to register in JMX: javax.naming.NamingException: Could not create resource factory, ClassNotFoundException:org.apache.commons.dbcp.BasicDataSourceFactory My webapp uses

Tomcat 5.5.4/Windows 2000 server - Failed to register in JMX: BasicDataSourceFactory

2005-02-02 Thread DAVID TURNER
I'm running Tomcat 5.5.4 on Windows 2000 Server and encountered the below error on Tomcat startup: Feb 2, 2005 10:50:49 AM org.apache.catalina.core.NamingContextListener addResource WARNING: Failed to register in JMX: javax.naming.NamingException: Could not create resource fa

RE: Catalina Log File - Coyote can't register jmx for protocol

2005-01-30 Thread HockChai Lim
Below is all I see in catalina_log.2005-01-29.txt file: 2005-01-29 23:03:39 CoyoteConnector Coyote can't register jmx for protocol. I'm using win98, jdk1.4.2. Tomcat 4.1. --- "Caldarale, Charles R" <[EMAIL PROTECTED]> wrote: > Whatever error or stack trace you we

RE: Catalina Log File - Coyote can't register jmx for protocol

2005-01-29 Thread Caldarale, Charles R
> From: HockChai Lim [mailto:[EMAIL PROTECTED] > Subject: Catalina Log File - Coyote can't register jmx for protocol > > I'm new to tomcat and java programming. When I start > Tomcat, I see the following in the Catalina Log File. > What is that mean and should I be

Catalina Log File - Coyote can't register jmx for protocol

2005-01-29 Thread HockChai Lim
I'm new to tomcat and java programming. When I start Tomcat, I see the following in the Catalina Log File. What is that mean and should I be worried about it? thanks __ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http:

Re: reset Resource with JMX?

2005-01-04 Thread Tim Funk
work and JConsole showed the old name for the DataSource. I had to restart Tomcat to effect the change. I'm guessing that though the resource is defined in the webapp, because the connection pool is controlled by Tomcat maybe changes aren't picked up on webapp restart? Though I looked arou

reset Resource with JMX?

2005-01-04 Thread Andy Kriger
Tomcat to effect the change. I'm guessing that though the resource is defined in the webapp, because the connection pool is controlled by Tomcat maybe changes aren't picked up on webapp restart? Though I looked around the JMX beans exposed by JConsole and did not see a way to refresh th

Re: Making a webapp JMX-manageable?

2005-01-02 Thread Michael Schuerig
nning within Tomcat manageable. The latter I figured out, among other things, through an out-of-band discussion with Peter Rossbach. I can't offer a completely general solution, though. I'm using the Spring framework (http://www.springframework.org) and had a look at the JMX support classes

Re: Making a webapp JMX-manageable?

2005-01-02 Thread Patrick Lacson
Here's a link to sample code for integrating tomcat 5.5.4 http://lacson.name/archives/2004/12/how_to_embed_to.html --patrick ps. let me know when you figure out the JMX stuff! On Sun, 26 Dec 2004 23:50:47 +0100, Michael Schuerig <[EMAIL PROTECTED]> wrote: > > I would like

T5.x/JDK 1.4 comat: Confusion about versions of JMX in there

2004-12-31 Thread T K
1) The T5.0 changelog claims: "Replace MX4J 1.1.1 with the Sun JMX 1.2 RI (remm)" 2) The JDK 1.4.2 compat zip contains a jmx.jar; that apparently contains mx4j - what version? 3) So is it mx4j or SUN JMX 1.2 RI or both? Why this

Making a webapp JMX-manageable?

2004-12-26 Thread Michael Schuerig
I would like to make a simple web application manageable. Right now I'm at a loss how to do this. My problem is not so much JMX itself, but rather how to integrate into Tomcat. Some sample code would be very helpful. Michael -- Michael Schuerig The more it

Tomcat 5.5 - JMX with j2se1.4

2004-12-23 Thread Slobodan Vujasinovic
I've succeeded (to expose Tomcat 5.5.x server for remote JMX management with j2se 1.4)! So if anybody is interested, Steps are the same as for Tomcat 5.0! - To connect to Tomcat 5.0 you must currently enable the MX4J 1.1.1 propri

Re: Tomcat 5.5 - JMX

2004-12-22 Thread Dominik Drzewiecki
"Slobodan Vujasinovic" <[EMAIL PROTECTED]> wrote: > That is the way to start and run tomcat under j2sdk 1.4.x! > But, my question was regarding server exposure for remote jmx management > (for example, to enable MC4J connection to installed tomcat 5.5). I must have mis

Re: Tomcat 5.5 - JMX

2004-12-22 Thread Slobodan Vujasinovic
That is the way to start and run tomcat under j2sdk 1.4.x! But, my question was regarding server exposure for remote jmx management (for example, to enable MC4J connection to installed tomcat 5.5). With java 5.0, it was enough to set 'com.sun.management.jmxremote.port' property for JVM.

Re: Tomcat 5.5 - JMX

2004-12-22 Thread Dominik Drzewiecki
"Slobodan Vujasinovic" <[EMAIL PROTECTED]> napisał(a): > Hi, > > Has anyone succeeded to expose Tomcat 5.5.x server for remote JMX > management > with j2se 1.4? Tomcat 5.5.x is intended to be run on JRE 5.0, but its *is* compatible with JRE 1.4. Several librari

Tomcat 5.5 - JMX

2004-12-22 Thread Slobodan Vujasinovic
Hi, Has anyone succeeded to expose Tomcat 5.5.x server for remote JMX management with j2se 1.4? I've done it with JRE 5.0 but I'm limited to j2se 1.4 use! Regards, Slobodan - To unsubscribe, e-mail: [EMAIL PROT

RE: Embedded Tomcat + JMX

2004-10-22 Thread sven morales
logged: [jmx-service] INFO: Starting Coyote HTTP/1.1 on http-9080 [jmx-service] Oct 22, 2004 12:17:08 PM org.apache.catalina.core.StandardEngine start [jmx-service] INFO: Starting Servlet Engine: Apache Tomcat/5.0.28 [jmx-service] Oct 22, 2004 12:17:08 PM org.apache.catalina.core.StandardHost start

RE: Embedded Tomcat + JMX

2004-10-22 Thread Shapira, Yoav
Hi, Maybe ask the book's author ;) Yoav Shapira http://www.yoavshapira.com >-Original Message- >From: sven morales [mailto:[EMAIL PROTECTED] >Sent: Friday, October 22, 2004 3:12 PM >To: [EMAIL PROTECTED] >Subject: Embedded Tomcat + JMX > > I tried the E

Embedded Tomcat + JMX

2004-10-22 Thread sven morales
I tried the Embedded class to work with Tomcat5 from the jakarta-tomcat-5.0.28-embed.tar.gz and am not getting very far, ie not able to deploy even the /manager webapp included in the webapps/. I also tried the JMX style using an xml file (not exactly sure why is this better than starting

Monitoring different Contexts with JMX MBean

2004-09-17 Thread Stefan Fleiter
Hi, I try to do my first steps with the java server platform and have chosen Tomcat for this. I wrote a class which is able to Monitor the database pools of a Context when beeing called out of it. I only had to use JNDI to iterate over "comp/env/jdbc" and cast the DataSource instances to a Basic

JMX remoting by RMI

2004-09-03 Thread Sebastien Brunot
Hi, How do you enable remote access to the JMX Server by RMI in Tomcat 4.1.30 ? I'd like to access a custom MBean, which i register to the Tomcat JMX Server in my webapp, via RMI. Thanks for your help, Sebastien

Problem with WebApp Classloader using remote Jmx initialization of the Web module.

2004-08-29 Thread Alex Smirnoff
I'm trying to create the WebAppContext remotely with JMX (Tomcat 5.0.27, JDK 1.5)and doing something like this: public void deployApplication(String context, String path) throws CoreException { init(); try { ObjectName webmodule = new ObjectName(DOMAIN+":j2eetype=WebM

"setModelerType method not found" - when updating attributes using JMX-console

2004-08-23 Thread Sastry Malladi
ute by default for all mbeans (the mbeans-descriptors.xml itself doesn't contain this). How can this work if StandardServer doesn't have setModelerType method ? Is this is a bug or am I missing something ? Any insights are appreciated. Sastry Sastry Malladi wrote: I'm using JBOSS 3.2

Re: JMX Timer

2004-08-18 Thread Erik Weber
Well I got the JMX Timer running in Tomcat, and I did what I suggested -- I just instantiated a javax.management.timer.Timer, configured it and started it. I did not register the Timer with any type of JMX server, or anything like that. I would appreciate any insight on whether that&#

JMX Timer

2004-08-18 Thread Erik Weber
Hello. I searched the archives at http://mikal.org/interests/java/tomcat/archive/search?search=JMX+Timer but found no results. I am porting a small Servlet application from WebLogic 8.x to Tomcat 5.x. The application has a Servlet context listener that instantiates and starts a JMX Timer

Re: can't register jmx for protocol

2004-07-29 Thread Christina Androne
Bill Barker wrote: This message is totally harmless. It happens when you've removed the ServerLifecycleListener from your server.xml file. The only thing that it means is that the admin webapp won't work. Tomcat should otherwise function normally. But how about the other one with the socket c

Re: can't register jmx for protocol

2004-07-28 Thread Bill Barker
> wrote in message news:[EMAIL PROTECTED] > Hello > > Has anybody encounter this and knows what's to be done about it? I found > this in one of the logs: > > "CoyoteConnector Coyote can't register jmx for protocol" > > This started happening after I messe

Re: can't register jmx for protocol

2004-07-28 Thread Christina Androne
Christina Androne wrote: Christina Androne wrote: Has anybody encounter this and knows what's to be done about it? I found this in one of the logs: "CoyoteConnector Coyote can't register jmx for protocol" This other error shows up too:

Re: can't register jmx for protocol

2004-07-28 Thread Christina Androne
Christina Androne wrote: Christina Androne wrote: Has anybody encounter this and knows what's to be done about it? I found this in one of the logs: "CoyoteConnector Coyote can't register jmx for protocol" This other error shows up too:

Re: can't register jmx for protocol

2004-07-28 Thread Christina Androne
Christina Androne wrote: Has anybody encounter this and knows what's to be done about it? I found this in one of the logs: "CoyoteConnector Coyote can't register jmx for protocol" What I forgot to add is that apparently the effect of this error is that the browsers are never

can't register jmx for protocol

2004-07-28 Thread Christina Androne
Hello Has anybody encounter this and knows what's to be done about it? I found this in one of the logs: "CoyoteConnector Coyote can't register jmx for protocol" This started happening after I messed out the server.xml file or someone messed up my deployment machine. I'

jmx and tomcat realm

2004-07-22 Thread Don Hill
Hi, How would I use JMX/tomcat to get a handle on the realm and be able to call methods like authenticate(). I know I can get a realm but I believe its not writeable. I was trying to use the ServerFactory but it seems I get a classnotfound exception, are the container classloader not a child of

RE: Tomcat suppport JMX ???

2004-07-21 Thread Shapira, Yoav
Hi, Yes, in both tomcat 4 and 5, but the former is much more limited. Yoav Shapira Millennium Research Informatics >-Original Message- >From: Bimali Ponnamperuma [mailto:[EMAIL PROTECTED] >Sent: Wednesday, July 21, 2004 3:07 AM >To: [EMAIL PROTECTED] >Subject: Tomc

access JMX objec

2004-07-21 Thread Bimali Ponnamperuma
Hi , Can any body tell me how to access a deployed JMX object in Tomcat. Thanks in advance. bimali. -- This message, including any attachments, contains confidential information intended for a

Tomcat suppport JMX ???

2004-07-21 Thread Bimali Ponnamperuma
Hi all, I just want to know whether we can write JMX objects for the Tomcat Server.. (If so with what version of Tomcat.. ) Thanks & Regards, Bimali Ponnamperuma. -- This message, inclu

RE: JMX tools survey

2004-07-14 Thread EXT-Patel, Rajesh M
There is mc4j, however I have not gotten it to work properly. -Original Message- From: Erik Earle [mailto:[EMAIL PROTECTED] Sent: Friday, July 09, 2004 1:23 PM To: [EMAIL PROTECTED] Subject: JMX tools survey I'm just curious: what tools folks are using for monitoring / man

AW: see Tomcat deployed applications throw JMX

2004-07-13 Thread Younes El Moumen
Moumen Gesendet: Mittwoch, 7. Juli 2004 17:20 An: [EMAIL PROTECTED] Betreff: see Tomcat deployed applications throw JMX I want to see deployed applications on Tomcat thwrow JMX. Can anybody help me? Thanks. - To unsubscribe,

JMX tools survey

2004-07-09 Thread Erik Earle
I'm just curious: what tools folks are using for monitoring / managing Tomcat through JMX? _ MSN Life Events gives you the tips and tools to handle the turning points in your life. http://lifeevents.ms

AW: see Tomcat deployed applications throw JMX

2004-07-09 Thread Younes El Moumen
I've Tried first to implements the ContainerServlet and use deployed.findDeployedApplications() but I found out in a Forum that using JMX is better and easier. Now I'm trying find how. Is there any examples? -Ursprüngliche Nachricht- Von: Younes El Moumen Gesendet: Mittwoc

JMX Tomcat Manager

2004-07-07 Thread EXT-Patel, Rajesh M
Is there a way to use JMX to do what the tomcat manager does. What I want to do is to Reload, Stop, Start and Add Contexts with JMX. Raj - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

see Tomcat deployed applications throw JMX

2004-07-07 Thread Younes El Moumen
I want to see deployed applications on Tomcat thwrow JMX. Can anybody help me? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Deploy/install custom jmx mbean in tomcat 5.0.19

2004-06-30 Thread Ewan Harrow
H. So why does the doco not mention any of this instead suggesting that one can just drop in an mbean, descriptor and update the server config? ewan ___ALL-NEW Yahoo! Messenger - so many all-new

Re: Deploy/install custom jmx mbean in tomcat 5.0.19

2004-06-30 Thread Peter Rossbach
Currently, your bean are not started automaticly with this configuration. You must write a own LifecycleListener that start your Mbeans. Other options is you can configure at engine element is Look at commons-modeler project for documentation: Here is my example to made a better support possibl

Deploy/install custom jmx mbean in tomcat 5.0.19

2004-06-30 Thread Ewan Harrow
How does one actually deploy an mbean in tomcat5 so that it is accessibile via the admin webapp or is this not actually possible? I have created a TestMBean interface and a simple implementation class with a get/set and int attribute and copied to /shared/classes. Along with the classes I created

JMX in tomcat

2004-06-22 Thread mzoom
How is the JMX sequence in tomcat? When the mbeans-descriptors get used? Which is the first? Any info? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tutorial on Tomcat and JMX ?

2004-06-19 Thread deepak shripat mane
 For Tomcat Tutorial u can got Jakarta-Apache-tomcat web site or u can refer Wrox or Orielly publicatipn book or u can visit javaranchmoon web site On Thu, 17 Jun 2004 Michael Südkamp wrote : >Hi, > >Is there any good tutorial on how to play with the JMX capabilities of Tomcat 4

RE: Tutorial on Tomcat and JMX ?

2004-06-17 Thread Shapira, Yoav
Hola, There are a few leads on google, such as http://mc4j.sourceforge.net/usageTomcat.html. There's probably nothing more comprehensive than looking at the admin webapp's code, as that exercises virtually every tomcat JMX operation/attribute: http://cvs.apache.org/viewcvs.cgi/jaka

Tutorial on Tomcat and JMX ?

2004-06-17 Thread Michael Südkamp
Hi, Is there any good tutorial on how to play with the JMX capabilities of Tomcat 4 or 5? I have a basic understanding of JMX but I don't know how to get it to work with Tomcat. Michael - To unsubscribe, e-mail: [

RE: Configuring mod_jk2/jk2 Via The JMX Console

2004-05-26 Thread Wilson Jimmy - jiwils
>>You have made a copy from mx4j.tools.jar to $catalina.hom/bin and >>changed your setclasspath Skript ? >>Please, send your log file output for more analyze steps. While I was waiting on your response, I found out more information. My catalina.out file contains information that indicates that

Re: Configuring mod_jk2/jk2 Via The JMX Console

2004-05-26 Thread Peter Rossbach
Hello Jimmy, I have more then one Tomcat controlled with HTTP JMX Adaptor on my system. Sorry, for the Typo. You must changed the mx.httpPort=9000 . This is the default MX4J HTTP Adpator Port. You have made a copy from mx4j.tools.jar to $catalina.hom/bin and changed your setclasspath Skript

RE: Configuring mod_jk2/jk2 Via The JMX Console

2004-05-26 Thread Wilson Jimmy - jiwils
>> the Remote JMX jk2 config is possible with this jk2.properties file >> >> With this configuration all JK2 Beans are reflect to the JMX MBeans >> (Domain "apache"). >> Access the MBeans with http://localhost:9000. (Ignore the xsl mx4j error >> at

Re: Configuring mod_jk2/jk2 Via The JMX Console

2004-05-25 Thread Peter Rossbach
Hello Jimmy, the Remote JMX jk2 config is possible with this jk2.properties file === conf/jk2.properties handler.list=modjk,mx # Überschreibt den StandardPort des Channel-Sockets channelSocket.port=8009 # Apache Status modjk.webServerHost=localhost modjk.webServerPort=80 modjk.statusPath=/jkstatus

RE: Configuring mod_jk2/jk2 Via The JMX Console

2004-05-25 Thread Wilson Jimmy - jiwils
>Furthermore, what are the interfaces of the JMX bean proxies that are >mentioned? Are they "standard", "dynamic/model", or "open" mbeans? Is >there a good page out there that details what the interfaces of the >mentioned MBean proxies look like?

Configuring mod_jk2/jk2 Via The JMX Console

2004-05-24 Thread Wilson Jimmy - jiwils
The mod_jk2/jk2 web page indicates that a JMX console can be utilized for runtime configuration changes: "On tomcat side, you must enable the JMX proxy. This is done by setting "modjk.webServerHost" and "modjk.webServerPort" in jk2.properties to point to the web

RE: [BULK] - Re: Tomcat JMX monitor beans

2004-04-20 Thread Sankaranarayanan \(Ganesh\) Ganapathy
Thanks I found the same! -Original Message- From: Peter Lin [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 20, 2004 11:34 AM To: Tomcat Users List Subject: [BULK] - Re: Tomcat JMX monitor beans I think the current status servlet provides request count per page and webapp. I could be

Re: Tomcat JMX monitor beans

2004-04-20 Thread Peter Lin
I think the current status servlet provides request count per page and webapp. I could be wrong. have you looked at the full status page in TC5? peter "Sankaranarayanan (Ganesh) Ganapathy" <[EMAIL PROTECTED]> wrote:I see that tomcat provides JMX administration beans how

Tomcat JMX monitor beans

2004-04-20 Thread Sankaranarayanan \(Ganesh\) Ganapathy
I see that tomcat provides JMX administration beans however I don't see tomcat JMX beans for monitoring (like thread pools) and statistics like a) time required to complete a request b) avergate time required to complete a request c) average number of requests per unit of time d) numb

Jmx HTTP/RMI Adaptors not found in Tomcat 4.1.29

2004-04-14 Thread Boulay Arnaud
Hello, I have some exceptions on Jmx setting : 14/04/2004 19:00:17,437 INFO app Creating Naming:name=rmiregistry 14/04/2004 19:00:17,437 ERROR app MX4j RMI adapter not loaded: javax.management. ReflectionException: null nested exception is java.lang.ClassNotFoundException

Re: Horrible memory leak in tomcat 5.0.19 (JMX bug?)

2004-03-22 Thread Joseph Shraibman
I know, I ran a few hundred lynx's at a time. Ralph Einfeldt wrote: To your question: I don't know. Having a delay in the jsp (or servlet) isn't enough to enshure concurrent requests. You have to do something on the calling site to enforce this. If you just call lynx as in your example, lynx wi

RE: Horrible memory leak in tomcat 5.0.19 (JMX bug?)

2004-03-21 Thread Ralph Einfeldt
] > Sent: Friday, March 19, 2004 7:21 PM > To: Tomcat Users List > Subject: Re: Horrible memory leak in tomcat 5.0.19 (JMX bug?) > > Why are those message generated by a thread starting up or something? > If so I already have a jsp with a built in delay I can use to > make sure

Re: Horrible memory leak in tomcat 5.0.19 (JMX bug?)

2004-03-19 Thread Joseph Shraibman
Ralph Einfeldt wrote: That may be a bit to simple, as this is just performing one request after the other. You may have to force concurrent request: Why are those message generated by a thread starting up or something? If so I already have a jsp with a built in delay I can use to make sure the

  1   2   >