Hi Cheng
Still no success. I've got two nodes 192.168.0.2(client) and 192.168.0.4(server)
I bound orb-listener-1 on both machines to their network address:
I can reach the server with the url http://192.168.0.4:8080/. The OS on both machines is fedora 14 64 bit with Glassfish 3.1.2.
The code in the client ejb is:
@Stateless
@LocalBean
public class CallEjbBean {
@EJB (beanName="BankServiceBean")
BankService bankservice;
---------------------------------------------
ejb-jar.xml:
CallEjbBean
---------------------------------------------
glassfish-ejb-jar.xml:
CallEjbBean
CallEjbBean
BankServiceBean
corbaname:iiop@192.168.0.4:3700#ServerEAR/ServerEjb/BankServiceBean
--------------------------------------------------------
I cannot deploy the application. The error I get is:
SEVERE: Class [ Lsession/BankService; ] not found. Error while loading [ class ee.example.ejb.CallEjbBean ]
WARNING: This bean [CallEjbBean] has no ejb reference by the name of [BankServiceBean]
SEVERE: DPL8006: get/add descriptor failure : ejb-ref TO BankServiceBean
WARNING: DPL8007: Unsupported deployment descriptors element jndi-name value corbaname:iiop@192.168.0.4:3700#ServerEAR/ServerEjb/BankServiceBean
SEVERE: Exception while deploying the app [ClienteEAR]
SEVERE: Error processing EjbDescriptor
java.lang.RuntimeException: Error processing EjbDescriptor