Perhaps 3.2.2 is being more compliant insofar as a war is not supposed
to access classes outside WEB-INF/lib or WEB-INF/classes. The solution
would be to specify backend.jar in your war's manifest and that would
explain why we do not see the problem you are having: we never use
WEB-INF/lib or WEB-INF/classes but rather stipulate what jars we use in
the manifest and place those in the EAR root:

Manifest-Version: 1.0
Class-Path: backend.jar



-----Original Message-----
From: Jonathan.O'[EMAIL PROTECTED] [mailto:Jonathan.O'[EMAIL PROTECTED] 
Sent: Monday, October 20, 2003 7:43 AM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] Specifying deployment order in EAR - JBoss
3.2.2


Rod,
It sure does. Here it is:
<application>
        <display-name>TraxbahnApp</display-name>
        <description>All Traxbahn Entity, Message Driven and Session
Bean 
jars</description>
 
        <module>
                <ejb>backend.jar</ejb>
        </module>
        <module>
                <java>TIPS_bs_soap.wsr</java>
        </module>
        <module>
                <web>
                        <web-uri>traxbahn.war</web-uri>
                        <context-root>traxbahn</context-root>
                </web>
        </module> 
</application>

And this works perfectly in JBoss 3.0.6 and 3.0.8

Ciao,
Jonathan O'Connor
XCOM Dublin




"Rod Macpherson" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
20.10.2003 13:24
Please respond to jboss-user
 
        To:     <[EMAIL PROTECTED]>
        cc: 
        Subject:        RE: [JBoss-user] Specifying deployment order in 
EAR - JBoss 3.2.2


Does the EAR's application.xml include both the EJB and WEB module
elements? 

-----Original Message-----
From: Jonathan.O'[EMAIL PROTECTED] [mailto:Jonathan.O'[EMAIL PROTECTED] 
Sent: Monday, October 20, 2003 4:50 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] Specifying deployment order in EAR - JBoss 3.2.2


Hi, I'm trying to migrate our code from JBoss 3.0.6 to 3.2.2 and I've
got 
a problem due to deployment order.
My ear file has a backend.jar containing entity beans and session beans,
a 
frontend.war. In 3.0.6, the backend.jar was always deployed first before

the WAR. This meant that a listener in the WAR ran happily accessing 
session beans in the backend.

But in 3.2.2 (and in RC4 too) I get an exception trying to run the 
listener code in contextInitialized(). It seems that the session beans
in 
the backend.jar have not been loaded yet. Is there a way of setting a 
dependency on the order of loading in 3.2.2? jboss-service.xml has a 
depends clause, but that won't work for <ejb> or <web> stuff.

Any help would be greatly appreciated
Ciao,
Jonathan O'Connor
XCOM Dublin


-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user




-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to