I'm having a similar problem but I'm trying to access EJBs on one server
from a servlet on another server.  I found this in the mail archives but
still haven't got it working.

http://www.mail-archive.com/orion-interest@orionserver.com/msg02763.html

-Paul

-----Original Message-----
From: Jordi Daroca [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 27, 2001 3:27 AM
To: Orion-Interest
Subject: reference to a bean of another application



        Can a Bean of one application see a Bean of another application??

        When I try to do it, i get the error:

javax.naming.NamingException: Error instantiating web-app JNDI-context:
No locat
ion specified and no suitable instance of the type 'ants.aws.Mediator'
found for
 the ejb-ref Mediator

        
        In the ejb-jar.xml the reference to Mediator is explicited:

                        <session>
                        <display-name>EventManager</display-name>
                        <ejb-name>EventManager</ejb-name>
                        <home>em.EventManagerHome</home>
                        <remote>em.EventManager</remote>
                        <ejb-class>em.EventManagerEJB</ejb-class>
                        <session-type>Statefull</session-type>
                        <transaction-type>Container</transaction-type>
                        <ejb-ref>
                                <ejb-ref-name>Mediator</ejb-ref-name>
                                <ejb-ref-type>Session</ejb-ref-type>
                                <home>ants.aws.MediatorHome</home>
                                <remote>ants.aws.Mediator</remote>
                                <ejb-link>Mediator</ejb-link>
                        </ejb-ref>
                        </session>

        and also in the application-client.xml .

        If the modules are packed in only one application there are no
problem.

Reply via email to