rmiregistry - going crazy and cant stop it -- need help !

Discussion in 'Java' started by dhavalvthaker@gmail.com, Jun 23, 2008.

  1. Guest

    hello..
    I have run into one issue with rmiregistry..and need help plz !

    i m working on a hpux 1 B.11.23 U 9000/8000 with java version 1.5.0.06

    i started rmiregistry on a different port "rmiregistry 8080"

    next i saw that it is eating up all of one CPU on 2 CPU box.

    CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU
    %CPU COMMAND
    1 ? 4533 jonbd 152 24 1239M 36660K run 2711:13 100.17 100.00
    rmiregistry
    0 ? 7980 oms 178 20 1097M 589M run 357:57 8.60
    8.59 java

    so now i want to stop it and i cant ! :(

    so far i have tried,
    1) doing "kill -9 ProcessID" but no effect..even root tried but cant
    stop it

    2) wrote a small code to unexport the object i had put in ..but that
    failed as well..
    looking for registry at port 8080 at hostname 10.23.1.101
    ComputeEngine exception:
    java.rmi.ConnectIOException: error during JRMP connection
    establishment; nested exception is:
    java.net.SocketTimeoutException: Read timed out
    at
    sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:273)
    at
    sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
    at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306)
    at sun.rmi.registry.RegistryImpl_Stub.list(Unknown Source)
    at stopRMI.stopCompute.main(stopCompute.java:34)
    Caused by: java.net.SocketTimeoutException: Read timed out
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.read(SocketInputStream.java:134)
    at java.io.BufferedInputStream.fill(BufferedInputStream.java:
    218)
    at java.io.BufferedInputStream.read(BufferedInputStream.java:
    235)
    at java.io.DataInputStream.readByte(DataInputStream.java:241)
    at
    sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:215)
    ... 4 more

    3) i can ask for reboot of the box but that will be my last
    option..also not knowing what caused it..i cant really dare to run
    rmiregistry again ! :-(

    any ideas or suggestions wud be a big help..

    Thanks in advance..
     
    , Jun 23, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Navin
    Replies:
    3
    Views:
    654
    Navin
    Jul 28, 2003
  2. David Kensche

    Help! with RMIRegistry

    David Kensche, Mar 11, 2005, in forum: Java
    Replies:
    0
    Views:
    708
    David Kensche
    Mar 11, 2005
  3. Neil Monk
    Replies:
    2
    Views:
    501
    Neil Monk
    Jul 20, 2004
  4. Nagaraj
    Replies:
    1
    Views:
    872
    Lionel B
    Mar 1, 2007
  5. shapper
    Replies:
    0
    Views:
    525
    shapper
    Jul 5, 2007
Loading...

Share This Page