Re: Stopping the Server
Hi Miles , Youmight be using the port no in the url while stopping the server. (e.g. ormi://localhost:80) If you are using it omit it. The same exception I got while getting Initial Context, if port no. is specified. It works fine without giving the port no. Shailesh Joshi Java Programmer Versaware(India) Ltd. - Original Message - From: Miles Daffin To: Orion-Interest Sent: Monday, October 09, 2000 4:49 PM Subject: Stopping the Server Hi, Any ideas why I get this when issuing the command to stop the server? 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 Thanks. --Miles DaffinJava Developer, Netherlands. Land: +31 (0)10 476 2412Mobile: +31 (0)6 2959 1423Permanent email: [EMAIL PROTECTED]
Re: Stopping the Server
Hello, Check out http://www.orionserver.com/howtos/debug-tips.html and search for "StreamCorrupted". This will be in the FAQ shortly. Regards, Karl Avedal Miles Daffin wrote: Hi, Any ideas why I get this when issuing the command to stop the server? 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 Thanks.-- Miles Daffin Java Developer, Netherlands. Land: +31 (0)10 476 2412 Mobile: +31 (0)6 2959 1423 Permanent email: [EMAIL PROTECTED]
Re[2]: Stopping the Server
Hi, Any ideas why I get this when issuing the command to stop the server? 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 Thanks.-- This error happened to me a lot, until I found that the ormi port that orion is using is defined in rmi.xml(23791 by default). So, to restart orion you need to use something like: java -jar admin.jar ormi://localhost:23791/ login password -shutdown change 23791 with the port specified in rmi.xml I couldn't read the original message, so I don't know which is the line that he used. -- Rafaelmailto:[EMAIL PROTECTED]