hi all,
    I have implemented an EJB JAR and a WAR to access the EJB, it works when I 
deployed the two pakages in the same server. But I got an error masage when I deployed 
the EJB JAR and WAR in different servers. The error masage as follows:

javax.naming.NamingException: Could not dereference object [Root exception is 
javax.naming.CommunicationException [Root exception is java.rmi.ConnectException: 
Connection refused to host: 127.0.0.1; nested exception is: java.net.ConnectException: 
Connection refused: connect]] 

my jboss-web descriptor as follows:
<jboss-web>
    <ejb-ref>
       <ejb-ref-name>ejb/TravelAgentHomeRemote</ejb-ref-name>
       <jndi-name>jnp://MyRemoteServerIP:1099/ejb/TravelAgentHomeRemote</jndi-name>
    </ejb-ref>

</jboss-web>

Does any Configure need for remote EJB call? Or some topic need to study first?

PLEASE,Can anyone help me?? 
Thanks very much in advance. 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828314#3828314

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3828314


-------------------------------------------------------
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