Re: How do you shut down orion after it's initialized

2001-12-18 Thread Steven R Brandt

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.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











Re: Application content types

2001-12-07 Thread Steven R Brandt

This looks like it might be a good place to use a filter.
http://www.orionserver.com/tutorials/filters/

12/7/01 9:13:35 AM, Marcus Ahnve [EMAIL PROTECTED] wrote:

Resending times=2/ :-/

Is there any way to set a default content type for an web application?
Weare using one webapp for wml, and the only way to get it right is to
use% response.setContentType(text/vnd.wap.wml); % in  the top of
everypage, which I'd rather not do.

There are some settings in globalwebapplication.xml, but they seem to be
just global.

/Marcus
-- 
Marcus Ahnve  email: [EMAIL PROTECTED]
Lecando AB   Office: +46-(0)8-634 94 18
Sweden   Mobile: +46-(0)70-462 19 18
www.lecando.comICQ#: 4564879