geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aman Nanner/MxI Technologies <>
Subject Intra-EAR dependencies
Date Mon, 16 Jul 2007 15:16:24 GMT


I'm wondering if there is a way in Geronimo 2.0 to define intra-EAR
dependencies.  Within my EAR, I define a JMS ActiveMQ resource adapter to
deploy my JMS queues and topics.  I also have an EJB JAR that is part of
the EAR which uses these queues and topics.

The problem I am experiencing is that, when deploying my application, it
seems that the GBean for my resource adapter is not running before the EJBs
are deployed.  The deployment of my application then fails.

11:00:34,650 ERROR [GBeanInstanceState] Error while starting; GBean is now
in the FAILED state:
java.lang.IllegalStateException: GBean is not running:

I realize that I can get around this problem if deploy my JMS resources
separately from my EAR, and then declare an explicit dependency on the JMS
RAR, but I was hoping that I would be able to package them within the same


* This message is intended only for the use of the individual or entity to which it is addressed,
and may contain information that is privileged, confidential and exempt from disclosure under
applicable law. Unless you are the addressee (or authorized to receive for the addressee),
you may not use, copy or disclose the message or any information contained in the message.
If you have received this message in error, please advise the sender by reply e-mail , and
delete the message, or call (collect) 001 613 747 4698. *

View raw message