Hello,
I'm having the same problem with Orion on Redhat Linux. Here's my command
line:
java -jar admin.jar ormi://localhost:8011 admin go2orion -shutdown
And, here's the error I'm getting:
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
Here's my JDK, just in case:
java version "1.2.2"
Classic VM (build Linux_JDK_RC3, native threads, sunwjit)
Any help would be appreciated.
Doug
--
Doug Smith
Senior Developer
Eviciti Corp.
http://www.eviciti.com
mailto:[EMAIL PROTECTED]
Fabio Silva
<[EMAIL PROTECTED]> To: Orion-Interest
<[EMAIL PROTECTED]>
Sent by: cc:
owner-orion-interest@orion Subject: Re: Need Urgent
Reply
server.com
06/20/2000 02:44 AM
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