Hey Guys,
I'm looking for a quick example, or preferably a url to a tutorial of some sort to show me an example of how to create a very basic MBean in tomcat. Preferably using Eclipse, where I have my project associated with a tomcat 7 instance.
or.. well maybe I'm asking the wrong question. When I ask Google this, I get results that aren't exactly what I'm looking for.
I have a few ETL processes that I've written. That will be executed on a scheduler. I want to wrap that with the Mbean, so I can pull the current status of any one of those processes, or force them to star, in more of an ad-hoc fashion.
Thanks!
2 replies to this topic
#1
Posted 07 July 2011 - 10:26 AM
|
|
|
#2
Posted 09 July 2011 - 04:42 AM
Could this be what you are looking for? or it is missing some key thing you needed?
MBeans and Tomcat: A HOWTO Guide for Managing YOUR Application
MBeans and Tomcat: A HOWTO Guide for Managing YOUR Application
Today is the first day of the rest of my life
#3
Posted 09 July 2011 - 08:29 AM
Hey! Thanks for responding! I was working against this tutorial, it it's helped greatly. However I'm supposed to work against a newer jre than tomcat 5.5 supports. When I actually tried running this with tomcat 7, it reported that it could not find "org.apache.catalina.mbeans.ServerLifecycleListener".
To be honest, it might be something stupid that I'm doing. While I happen to be working with java at the moment, I'm actually a .NET guy.
As best as I can figure, I have everything required in my class path.
Now that said, I did deviate from the tutorial somewhat. Where I am trying to have eclipse manage the instance. A co-worker of mine suggested that I not do this, and instead install tomcat separately. I'll be trying this again, and hopefully with some better success.
Most of the stuff we do here is with jboss, and it seems to be a much simpler task in jboss. =) This particular requirement has to be very lightweight, so we're hoping to use tomcat.
To be honest, it might be something stupid that I'm doing. While I happen to be working with java at the moment, I'm actually a .NET guy.
As best as I can figure, I have everything required in my class path.
Now that said, I did deviate from the tutorial somewhat. Where I am trying to have eclipse manage the instance. A co-worker of mine suggested that I not do this, and instead install tomcat separately. I'll be trying this again, and hopefully with some better success.
Most of the stuff we do here is with jboss, and it seems to be a much simpler task in jboss. =) This particular requirement has to be very lightweight, so we're hoping to use tomcat.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









