Re: using manager webapp programatically

2006-10-10 Thread Yoav Shapira
Hi, Download mc4j (http://mc4j.org/confluence/display/mc4j/Home) or jmanage (http://www.jmanage.org/) or JBoss Console (http://jboss.org/wiki/Wiki.jsp?page=JMXConsole) and take a look at their source code. It's simple, elegant, and effective (all three work well, and there are several others). Y

Re: using manager webapp programatically

2006-10-10 Thread Jason Novotny
Cool-- I'm new to JMX, can you provide any sample snippet code or place to look in order to use the Tomcat JMX stuff? Thanks a bunch, Jason Yoav Shapira wrote: Hi, I don't have time to delve deeply into looking at the manager app request path info code right now, but a quick suggestion

Re: using manager webapp programatically

2006-10-10 Thread Yoav Shapira
Hi, I don't have time to delve deeply into looking at the manager app request path info code right now, but a quick suggestion: if I were to do anything building on top of the manager / admin webapp functionality, I wouldn't do it via request includes, and I would instead build on top of the JMX s

using manager webapp programatically

2006-10-09 Thread Jason Novotny
Hi, I have a webapp (a portal) that sets the crossContext="true" and so can accesss other webapps in Tomcat. My goal is to do an include() on the manager webapp to show the deployed applications. Here is my code: doGet(HttpServletRequest req, HttpServletResponse res) throws IOException,