That's because Orion did not start properly in the first place.  That's why
you're getting that second error.  Fix the start process, then you should be
fine.  To test that Orion did not start, just hit it via local host or
something and see if it responds.  You should get connection refused.


--

This is what I get when I start Orion:

C:\orion>java -jar orion.jar
Warning: Error reading transaction-log file
(/C:/orion/persistence/transaction.state) for recovery: premature end of
file
Forced or abrubt (crash etc) server shutdown detected, starting recovery
process
...
Recovery completed, 0 connections committed and 0 rolled back...
Orion/1.5.2 initialized

I immediately opened a new DOS window and did this:

C:\WINDOWS\Profiles\James\Desktop>cd c:\orion

C:\orion>java -jar admin.jar ormi://localhost:8080 admin pswd -shutdown
Error: javax.naming.NamingException: Lookup error: java.io.EOFException:
Disconnected; nested exception is:
        java.io.EOFException: Disconnected

C:\orion>




From: "Setlur, Atul (MED)" <[EMAIL PROTECTED]>
Reply-To: Orion-Interest <[EMAIL PROTECTED]>
To: Orion-Interest <[EMAIL PROTECTED]>
Subject: RE: How do you shut down orion after it's initialized
Date: Tue, 18 Dec 2001 11:16:11 -0600

Are you sure you are running this from the directory where orion is
installed. Verify admin.jar is in the directory that you are running
this script. Alternatively, "cd" to the orion directory and run it from
there.

-Atul

-----Original Message-----
From: James Beeson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 18, 2001 9:41 AM
To: Orion-Interest
Subject: Re: How do you shut down orion after it's initialized



I did not have the admin user deactivated (althought that was a good
tip-
thanks!)

When I use the command:

java -jar admin.jar ormi://localhost:8080/ admin pswd -shutdown

I get:

Exception in thread "main" java.util.zip.ZipException: The system cannot

find the file specified
         at java.util.zip.ZipFile.open(Native Method)
         at java.util.zip.ZipFile.<init>(Unknown Source)
         at java.util.jar.JarFile.<init>(Unknown Source)
         at java.util.jar.JarFile.<init>(Unknown Source)

And then Orion is left running. Could that be related to the error it
prints
out when Orion starts (here it is):

Warning: Error reading transaction-log file
(/C:/orion/persistence/transaction.state) for recovery: premature end of

file Forced or abrubt (crash etc) server shutdown detected, starting
recovery process
...
Recovery completed, 0 connections committed and 0 rolled back...
Orion/1.5.2 initialized

But then the app runs fine. I currently don't have a transaction.state
file.

Why won't it let me shut down Orion?
Thanks




_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx




_________________________________________________________________
Join the world's largest e-mail service with MSN Hotmail.
http://www.hotmail.com





Reply via email to