AW: see Tomcat deployed applications throw JMX

2004-07-13 Thread Younes El Moumen
I have found the solution:

MBeanServer mBeanServer = null;
Registry registry;
registry=Registry.getRegistry();
mBeanServer = Registry.getRegistry().getServer();
Set set = mBeanServer.queryNames(new ObjectName(Catalina:type=Manager,*), 
null);
   Iterator it = set.iterator();

while (it.hasNext()) {
String kunde=it.next().toString();
kunde = 
kunde.substring((kunde.indexOf('/')+1),(kunde.lastIndexOf(',')));
}

-Ursprüngliche Nachricht-
Von: Younes El 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, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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: 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, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]