I have an EJB that uses classes from other EJBs from another application. In my 
jboss.xml I have the following to make this work:

    <enterprise-beans>
    
        <ejb-name>VolatilityManager</ejb-name> 
        <jndi-name>saen/VolatilityManager</jndi-name>
        <ejb-local-ref>
                <ejb-link>UnderlyingManager</ejb-link>
        </ejb-local-ref>
        <ejb-local-ref>
                <ejb-link>DividendManager</ejb-link>
        </ejb-local-ref>
    

    </enterprise-beans>


Unfortunately this only works sometimes. Occasionally on startup JBoss loads the ear 
containing the VolatilityManager before loading the ear containing the other EJBs, 
causing a deployment failure. Is there a way to configure the order in which I want 
the ears to be deployed on startup?

Somehow I had thought JBoss should be able to figure out the dependencies from the 
jboss.xml files by itself, but apparently it doesn't. So far I haven't found anywhere 
how I can influence the load-order of ears, so any help would be appreciated.

    Mark


<a 
href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824371#3824371";>View 
the original post</a>

<a 
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3824371>Reply 
to the post</a>


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to