Hi, we have some internals event (not well documented) but basically look for @org.apache.openejb.observer.Event, then you can configure observers on it through tomee.xml.
Would it match your need? *Romain Manni-Bucau* *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* *Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2013/5/29 Peter <[email protected]> > Hi, > > As part of a project, I would like to develop a small module which reports > the status (e.g. simplest case - 'the server is starting', 'the server is > started', 'all applications are started') of TomEE server to external > monitoring agent running on the same machine. Unfortunately, it is not an > option for me to implement this as an application that is running on the > TomEE server and leverages the MBeans of the Tomcat. > > I have to develop this as a jar that extends TomEE server. Therefore, I > need > to bind to some TomEE mechanism that will initialize my jar as it > initializes the Java EE containers at the startup of TomEE. > > Can anyone advice me on how to achieve this? > > Thanks in advance, Peter > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/How-to-detect-startup-of-TomEE-server-tp4663318.html > Sent from the OpenEJB User mailing list archive at Nabble.com. >
