[ SlackList ] [ WkikiSlack ]




rmi na slacku

From: Patryk <patrykx_malpka_poczta.onet.pl>
Date: Thu May 13 2004 - 19:23:23 CEST

cześć
czy rmi działa na slacku od razu czy trzeba gdzies pogrzebac ??
uruchamiam prosty przyklad z ksiazki i nie działa
uruchamaim to jako zwykly uzytkownik
rmiregistry tez jako zwykly uzytkownik

to jest blad serwera
java.rmi.UnmarshalException: Error unmarshaling return header; nested
exception is:
        java.net.SocketException: Connection reset
        at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:203)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:350)
        at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
        at java.rmi.Naming.rebind(Naming.java:160)
        at ProductServer.main(ProductServer.java:22)
Caused by: java.net.SocketException: Connection reset
        at java.net.SocketInputStream.read(SocketInputStream.java:168)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
        at java.io.BufferedInputStream.read1(BufferedInputStream.java:222)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:277)
        at
java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2150)
        at
java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2163)
        at
java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2631)
        at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:734)
        at java.io.ObjectInputStream.<init>(ObjectInputStream.java:253)
        at sun.rmi.server.MarshalInputStream.<init>(MarshalInputStream.java:110)
        at
sun.rmi.transport.ConnectionInputStream.<init>(ConnectionInputStream.java:38)
        at
sun.rmi.transport.StreamRemoteCall.getInputStream(StreamRemoteCall.java:111)
        at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:197)
        ... 4 more

--
Patryk
Received on Thu May 13 23:44:41 2004

This archive was generated by hypermail 2.1.8. Wyprawa Shackleton 2014