> Orion team-
>       I am seriously evaluating Orion and am rather 
> disappointed that I can't
> shutdown nor can I restart Orion without receiving a ClassNotFound
> exception. 

I am sorry to hear that you have had problems. The problem you are seeing is
caused by two reasons. The first reason is user error. when most people see
the syntax

ormi://myhost:port they automatically assume that this is the web-site port,
when this is the ormi port... in fact, in most cases, you don't need to
specify a port at all.

An exaple would be:

java -jar admin.jar ormi://localhost myuser mypassword -shutdown

That's all there is to it...

another reason is that a slight inconsistency with some JVMs was found in
the 1.03 build of Orion, which was corrected in the experimental build that
would cause this problem under some circumstances. please download the
newest jar file from http://www.orionserver.com/orion/orion.jar and replace
the orion.jar in orion's directory with this new and improved one.

> I have Orion running on Win2000 and on RedHat6.2 and have
> experienced the same problem on both.  I have run -install 
> and I have even
> downloaded a newer copy of orion.jar as dictated in previous 
> emails.

I am currently able to shutdown in both environments as expected.

> I don't mind doing a kill -9 or a ^C in development as 
> www.orionsupport.com
> suggests, I can't seriously recommend Orion as a viable 
> alternative to our
> current environment until this is fixed.  Please fix this or publish a
> solution to quell the non believers!
> 
> 

On this same issue, let me say that shutting down Orion with ^C in JVM 1.3
is not dangerous as Orion installs shutdown hooks to the JVM, so when you
press ^C, or kill -15 you actually shutdown the server gracefully.

Good luck,

Victor Salaman

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of 
> Christian Sell
> Sent: Monday, July 17, 2000 2:56 PM
> To: Orion-Interest
> Subject: Re: exception error while shutting down the server???
> 
> 
> I just posted this to orionsupport.com:
> 
> which port do I mention to admin.jar (e.g. to shutdown the server)?
> 
> you use the RMI port, which is given in RMI.XML. If you 
> havent changed the
> default (which is 23791, see orion "docs"), you can leave it 
> out, like so:
> 
> java -jar admin.jar ormi://myserver myuser mypassword -shutdown
> 
> 
> -----Original Message-----
> From: nirav dani <[EMAIL PROTECTED]>
> To: Orion-Interest <[EMAIL PROTECTED]>
> Date: Dienstag, 18. Juli 2000 00:37
> Subject: exception error while shutting down the server???
> 
> 
> my system:
> Linux-mandrake 7.1
> JDK1.3 for linux on usr/local
> Orion 1.0.3 on usr/local
> 
> 
> I am running this command from another "konsole"to
> shutdown the server,
> java -jar admin.jar ormi://localhost:8080 admin
> <password> -shutdown
> 
> but it gives me this kind of error:
> Error: javax.naming.NamingException: Lookup error:
> java.io.StreamCorruptedException:Caught EOFException
> while reading the stream header; nested exception is:
> ava.io.StreamCorruptedException:Caught EOFException
> 
> while reading the stream header;
> javaEOFException while reading the stream header
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Get Yahoo! Mail  Free email you can access from anywhere!
> http://mail.yahoo.com/
> 
> 
> 

Reply via email to