On Oct 26, 2007, at 11:35 AM, Dario Laverde wrote:
Hi Dain,
Just a couple of questions, how did you hookup deploying an ear
file into Tomcat's
webapps without requiring a restart or is that a false assumption)?
From the restart perspective ears are much easier to deal with then
wars, because tomcat completely ignores ear files. When we detect an
ear file in the webapp directory, we simply kick off a normal OpenEJB
deploy. When we get to the assembler the TomcatWebAppBuilder is
notified of the web application and adds new contexts to Tomcat.
Are there any packaging considerations for the ear file - it still
has to be a collapsed correct?
The feature I announced is that normal .ear files work. Collapsed
ears have worked for a long time.
Is there a test that illustrates an example?
Nope. I hacked the itests into an ear structure.
Secondly, although the installer now indicates that the openjpa
agent that requires
a restart is now optional, I still couldn't get my examples working
without it (even
on Java 6 which I assumed openjpa would make use of to avoid the
agent/restart).
I stopped running the installer a long time ago and JPA has been
working good for me. Can you post a the stacktrace and info about
your application?
-dain