Hashim Merchant wrote:
> Hi guys,
>
> In my application i need to shut down the orion server and restart it i
> have tried using java -jar admin.jar ormi://localhost:<portnumber>/ admin
> 123 -shutdown
> but received the same errors as others i.e
>
> Error: javax.naming.NamingException: Lookup error:
> java.io.StreamCorruptedException: Caught EOFException while reading the
> stream header; nested exception is:
> java.io.StreamCorruptedException: Caught EOFException while reading
> the stream header
>
> All my previous mails on the same subject have been ignored. I would really
> appreciate it if there is somebody there who could atleast give me a
> suggestion as to how to restart the server.
>
> Thank you for your time,
>
> Hashim Merchant
>
Hi there Hashim,
I'm not sure if I am the right person to be answering this, but here goes my
experiences:
1 - With orion 1.0.0 (the one you can download from the webpage directly), I
would get the same error
2 - After almost giving up using the admin.jar, I saw a post on this list where
you could get the orion 1.0.3:
Try http://www.orionserver.com/orion/orion.jar
3 - After using this, my problems were solved. Nevertheless:
What platform/jdk are you using? I tried with success in both Windows NT 4.0/
Windows 2000 / Linux 2.2.12 using jdk 1.2.2 from Sun with or without hotspot
Have you tried removing the "/" on the end of the ormi://... ?
like this :
java -jar admin.jar ormi://localhost:<portnumber> admin 123 -shutdown
Hope this helps
F�bio