Has anyone see this problem? I have a orion server running on my NT box (JDK
1.3) and a client on the same machine. The client loops every 10 seconds and
calls the same method in the CartEJB on the server. I've added a database
lookup, etc to the CartEJB method. After about 125 exections I get this
error on the client:

java.lang.NullPointerException
        at aq.invokeMethod(JAX)
        at ah.invoke(JAX)
        at Proxy0.create(Unknown Source)
        at mikecart.test.CartClient.testOrion(CartClient.java:80)
        at mikecart.test.CartClient.main(CartClient.java:22)

System/communication error: IO Error: Disconnected

The actual line it is erroring on is:

Cart cart = (Cart)PortableRemoteObject.narrow(home.create(), Cart.class);

The ejbserver system traces do not show any errors.


========================================
Mike Fontenot - Object Systems Architect
Polygon Network, Inc.
Golden, Colorado
========================================

Reply via email to