Title: Embedded Tomcat Load-On-Startup w/ EJB's

We have a servlet that loads static data into the application object through our entity beans; everything is running in jboss /w embedded tomcat.  Because Embedded Tomcat starts before the EJB container the servlet can't get to the data.   I moved embedded tomcat to the end of the load sequence (jboss.jcml) and it worked but .ear's can't be deployed.  Other than a timer, is their a signal/listener that i can register with to wait for JBoss to deploy the beans so I can then let the servlet go do it's thing?  Should I just do a shell script to force the initialization of the servlet immediately following jboss loading.  This doesn't really seem to warrant an mbean.

Has anyone tackled something like this yet?

TIA,
John Moore


Reply via email to