Hello everybody,

I entered this as bug 43 in Bugzilla.

I have setup two Orion servers (SERVER_A & SERVER_B), both with two EJB
components
configured, EJB_A & EJB_B. Server A has EJB_B configured as remote. This
should enable
EJB_B lookup on SERVER_B. EJB_A is accessing EJB_B.


Configuration files:

SERVER_A:
EJB_B is configured as remote in orion-application.xml, using <ejb-module
.. remote="true">
SERVER_B is configured as remote server in rmi.xml, using <rmi server
host="SERVER_B" ...

SERVER_B:
EJB_B is configured as non-remote in orion-application.xml, using <ejb-
module ... remote="false">


Two steps to describe the problem:

1 - I startup SERVER_B, then SERVER_A:
after few checks, it happened that EJB_B dissappeared from orion-console
view (orion still servicing).

Then I made lookup to EJB_B from EJB_A - here's what I got:

9/10/00 9:24 PM Error in bean com.vitress.ejb.payment.intrum.Scoring
java.lang.ClassCastException: __Proxy0
        at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java)
        at sauterel.core.tools.JNDITools.lookupHome(JNDITools.java)
        at com.vitress.ejb.payment.intrum.Sc
oringBean.queryScoringSystem(ScoringBean.java)
        at com.vitress.ejb.payment.intrum.ScoringBean.isScoreValid(ScoringBean.java)
        at Scoring_StatelessSessionBeanWrapp
er7.isScoreValid(Scoring_StatelessSessionBeanWrapper7.java:41)
        at com.vitress.ejb.payment.invoice.ProcessorBean.verify(ProcessorBean.java)
        at com.vitress.ejb.payment.invoice.ProcessorBean.verify(ProcessorBean.java)
        at Processor_StatelessSessionBeanWra
pper2.verify(Processor_StatelessSessionBeanWrapper2.java:130)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.evermind.server.rmi.bd.run(JAX)
        at com.evermind.server.rmi.bb.hx(JAX)
        at com.evermind.server.rmi.bb.run(JAX)
        at com.evermind.server.rmi.bb.gf(JAX)
        at com.evermind.server.rmi.bb.<init>(JAX)
        at com.evermind.server.rmi.RMIServer.gf(JAX)
        at com.evermind.server.rmi.RMIHttpTunnelServlet.connect(JAX)
        at com.evermind.server.http.HttpTunnelServlet.doPost(JAX)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at com.evermind.server.http.dy.rz(JAX)
        at com.evermind.server.http.dy.forward(JAX)
        at com.evermind.server.http.d9.r5(JAX)
        at com.evermind.server.http.d9.r4(JAX)
        at com.evermind.util.f.run(JAX)

2 - I shutdown SERVER_A, then restart it:

Error binding to server: javax.naming.NamingException: Error looking up
reference for EJBHome com.vitress.ejb.tools.Encryption from remote
server: Lookup error: java.io.IOException: Class Not Found:
com.vitress.ejb.tools.EncryptionHome; nested exception is: 
        java.io.IOException: Class Not Found: com.vitress.ejb.tools.EncryptionHome
Error binding to server: com.evermind.server.rmi.OrionRemoteException: IO
Error: Bad file descriptor; nested exception is: 
        java.io.IOException: Bad file descriptor
Error binding to server: com.evermind.server.rmi.OrionRemoteException: IO
Error: Bad file descriptor; nested exception is: 
        java.io.IOException: Bad file descriptor
Error binding to server: com.evermind.server.rmi.OrionRemoteException: IO
Error: Bad file descriptor; nested exception is: 
        java.io.IOException: Bad file descriptor
Error binding to server: com.evermind.server.rmi.OrionRemoteException: IO
Error: Bad file descriptor; nested exception is: 
        java.io.IOException: Bad file descriptor
Error binding to server: com.evermind.server.rmi.OrionRemoteException: IO
Error: Bad file descriptor; nested exception is: 
        java.io.IOException: Bad file descriptor
Error binding to server: com.evermind.server.rmi.OrionRemoteException: IO
Error: Bad file descriptor; nested exception is: 
        java.io.IOException: Bad file descriptor
Error binding to server: com.evermind.server.rmi.OrionRemoteException: IO
Error: Bad file descriptor; nested exception is: 
        java.io.IOException: Bad file descriptor
Orion/1.3.3 initialized
Error binding to server: com.evermind.server.rmi.OrionRemoteException: IO
Error: Bad file descriptor; nested exception is: 
        java.io.IOException: Bad file descriptor

My mind is giving out - any help welcome.

Bernard Sauterel

+------------------+----------------------------+
| Bernard Sauterel | sauterel.net               |
+------------------+----------------------------+
             email | [EMAIL PROTECTED]

Reply via email to