Re: How do you shut down orion after it's initialized
Why do you use ormi://localhost:8080 ? default is ormi://localhost, and unless you explicitely changed the port number for the ormi listener, that's what it should be. The ormi port has *nothing* to do with the http port defined in default-web-site.xml - Renaud - Original Message - From: "James Beeson" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Wednesday, December 19, 2001 5:06 AM Subject: Re: How do you shut down orion after it's initialized > I have an admin.jar in my c:\orion directory, but I looked inside it and the > ONLY file is the manifest.mf file. There are no other files (namely any > .class files) there. Is that right? I just downloaded this less than a week > ago, the newest stable version there was > > Here is what is in the manifest file: > > Manifest-Version: 1.0 > Main-Class: com.evermind.client.orion.OrionConsoleAdmin > Name: "Evermind Console-based Admin" > Created-By: 1.2 (Sun Microsystems Inc.) > Implementation-Vendor: "Evermind" > Class-Path: orion.jar > Implementation-Version: "0.1.8" > Implementation-Title: "com.evermind.client.orion" > > I have run the > java -jar admin.jar ormi://localhost:8080/ admin pswd -shutdown command > from the c:\orion directory > > I am able to shut down properly by using the orion console's > File>Exit menu item after accessing the console via the command > > C:\orion>java -jar orion.jar -console > > While this doesn't solve my problem from trying to shut down properly from > the command line, this seems to do the trick. > Thanks Everyone! > > > > > > From: Chris Callaghan <[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: Wed, 19 Dec 2001 11:14:55 +1300 > > Sounds like you're missing admin.jar... > > You can get rid of your transaction-log error by creating a persistence > directory under the orion directory. Orion will then happily use that... > I think some zip implementations have a thing about creating empty > directories... > > James Beeson wrote: > > > > >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.(Unknown Source) > >at java.util.jar.JarFile.(Unknown Source) > >at java.util.jar.JarFile.(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 > > > > > > > > > > _ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. > > >
Re: How do you shut down orion after it's initialized
Why do you have 8080 as the port that you are connecting to? The port number should be the one listed in rmi.xml. (http://kb.atlassian.com/content/orion/docs/configuration/rmi.xml.html) If not specified, then it is the default - 23791. Unless you have changed this, you should just specify "ormi://localhost" See this article: http://kb.atlassian.com/content/orionsupport/articles/admin.html Cheers, Scott -- Scott Farquhar :: [EMAIL PROTECTED] Atlassian :: http://www.atlassian.com Supporting YOUR J2EE World James Beeson wrote: > I have an admin.jar in my c:\orion directory, but I looked inside it and > the ONLY file is the manifest.mf file. There are no other files (namely > any .class files) there. Is that right? I just downloaded this less than > a week ago, the newest stable version there was > > Here is what is in the manifest file: > > Manifest-Version: 1.0 > Main-Class: com.evermind.client.orion.OrionConsoleAdmin > Name: "Evermind Console-based Admin" > Created-By: 1.2 (Sun Microsystems Inc.) > Implementation-Vendor: "Evermind" > Class-Path: orion.jar > Implementation-Version: "0.1.8" > Implementation-Title: "com.evermind.client.orion" > > I have run the > java -jar admin.jar ormi://localhost:8080/ admin pswd -shutdown command > from the c:\orion directory > > I am able to shut down properly by using the orion console's > File>Exit menu item after accessing the console via the command > > C:\orion>java -jar orion.jar -console > > While this doesn't solve my problem from trying to shut down properly > from the command line, this seems to do the trick. > Thanks Everyone! > > > > > > From: Chris Callaghan <[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: Wed, 19 Dec 2001 11:14:55 +1300 > > Sounds like you're missing admin.jar... > > You can get rid of your transaction-log error by creating a persistence > directory under the orion directory. Orion will then happily use that... > I think some zip implementations have a thing about creating empty > directories... > > James Beeson wrote: > >> >> 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.(Unknown Source) >>at java.util.jar.JarFile.(Unknown Source) >>at java.util.jar.JarFile.(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 >> >> > > > > > > _ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. > > >
Re: How do you shut down orion after it's initialized
Hi James, Is 8080 your HTTP port, specified in your x-web-site.xml descriptor, or is it the RMI port described in the rmi.xml one? It HAS to be the RMI one, as you admin.jar connects through RMI to tell the orion server to stop, so you cannot do it through the port HTTP is used for. regards, D. James Beeson wrote: > 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.(Unknown Source) > at java.util.jar.JarFile.(Unknown Source) > at java.util.jar.JarFile.(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
Re: How do you shut down orion after it's initialized
Wrong port dude, try 23791 (default unless you change it in orion/config/rmi.xml). James Beeson wrote: > 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.(Unknown Source) > at java.util.jar.JarFile.(Unknown Source) > at java.util.jar.JarFile.(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 > >
Re: How do you shut down orion after it's initialized
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.(Unknown Source) at java.util.jar.JarFile.(Unknown Source) at java.util.jar.JarFile.(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
RE: How do you shut down orion after it's initialized
you will need the entire Orion153.zip, not just the admin.jar -Original Message- From: James Beeson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 19 December 2001 4:06 PM To: Orion-Interest Subject: Re: How do you shut down orion after it's initialized I have an admin.jar in my c:\orion directory, but I looked inside it and the ONLY file is the manifest.mf file. There are no other files (namely any .class files) there. Is that right? I just downloaded this less than a week ago, the newest stable version there was Here is what is in the manifest file: Manifest-Version: 1.0 Main-Class: com.evermind.client.orion.OrionConsoleAdmin Name: "Evermind Console-based Admin" Created-By: 1.2 (Sun Microsystems Inc.) Implementation-Vendor: "Evermind" Class-Path: orion.jar Implementation-Version: "0.1.8" Implementation-Title: "com.evermind.client.orion" I have run the java -jar admin.jar ormi://localhost:8080/ admin pswd -shutdown command from the c:\orion directory I am able to shut down properly by using the orion console's File>Exit menu item after accessing the console via the command C:\orion>java -jar orion.jar -console While this doesn't solve my problem from trying to shut down properly from the command line, this seems to do the trick. Thanks Everyone! From: Chris Callaghan <[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: Wed, 19 Dec 2001 11:14:55 +1300 Sounds like you're missing admin.jar... You can get rid of your transaction-log error by creating a persistence directory under the orion directory. Orion will then happily use that... I think some zip implementations have a thing about creating empty directories... James Beeson wrote: > >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.(Unknown Source) >at java.util.jar.JarFile.(Unknown Source) >at java.util.jar.JarFile.(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 > > _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
Re: How do you shut down orion after it's initialized
I have an admin.jar in my c:\orion directory, but I looked inside it and the ONLY file is the manifest.mf file. There are no other files (namely any .class files) there. Is that right? I just downloaded this less than a week ago, the newest stable version there was Here is what is in the manifest file: Manifest-Version: 1.0 Main-Class: com.evermind.client.orion.OrionConsoleAdmin Name: "Evermind Console-based Admin" Created-By: 1.2 (Sun Microsystems Inc.) Implementation-Vendor: "Evermind" Class-Path: orion.jar Implementation-Version: "0.1.8" Implementation-Title: "com.evermind.client.orion" I have run the java -jar admin.jar ormi://localhost:8080/ admin pswd -shutdown command from the c:\orion directory I am able to shut down properly by using the orion console's File>Exit menu item after accessing the console via the command C:\orion>java -jar orion.jar -console While this doesn't solve my problem from trying to shut down properly from the command line, this seems to do the trick. Thanks Everyone! From: Chris Callaghan <[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: Wed, 19 Dec 2001 11:14:55 +1300 Sounds like you're missing admin.jar... You can get rid of your transaction-log error by creating a persistence directory under the orion directory. Orion will then happily use that... I think some zip implementations have a thing about creating empty directories... James Beeson wrote: > >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.(Unknown Source) >at java.util.jar.JarFile.(Unknown Source) >at java.util.jar.JarFile.(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 > > _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
RE: How do you shut down orion after it's initialized
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.(Unknown Source) at java.util.jar.JarFile.(Unknown Source) at java.util.jar.JarFile.(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 worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com
Re: How do you shut down orion after it's initialized
Forgive the dumb question... but is admin.jar in the current directory when you issue this command? 12/18/01 10:41:14 AM, "James Beeson" <[EMAIL PROTECTED]> wrote: > >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.(Unknown Source) >at java.util.jar.JarFile.(Unknown Source) >at java.util.jar.JarFile.(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 > > > >
Re: How do you shut down orion after it's initialized
Sounds like you're using the command without being in the Orion directory. Can't do that. R > James Beeson wrote: > > > > > 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.(Unknown Source) > >at java.util.jar.JarFile.(Unknown Source) > >at java.util.jar.JarFile.(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 > > > > > > > >
Re: How do you shut down orion after it's initialized
Sounds like you're missing admin.jar... You can get rid of your transaction-log error by creating a persistence directory under the orion directory. Orion will then happily use that... I think some zip implementations have a thing about creating empty directories... James Beeson wrote: > > 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.(Unknown Source) >at java.util.jar.JarFile.(Unknown Source) >at java.util.jar.JarFile.(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 > >
RE: How do you shut down orion after it's initialized
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.(Unknown Source) at java.util.jar.JarFile.(Unknown Source) at java.util.jar.JarFile.(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
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.(Unknown Source) at java.util.jar.JarFile.(Unknown Source) at java.util.jar.JarFile.(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
Re: How do you shut down orion after it's initialized
Make sure you have removed deactivated="true" from the admin user in config/principals.xml, then use: java -jar admin.jar ormi://localhost:23791/ admin 123 -shutdown James Beeson wrote: > > How do you shut down orion after it's initialized? > I've tried several commands, but I can't get any to work. > > > _ > Get your FREE download of MSN Explorer at > http://explorer.msn.com/intl.asp. > >