Thanks Dave,
I guess port has a default admin port-which obviously is not the web server port. I guess now that I say this, I seem like a bone head.

I encourage anyone who doesn't know the config file well, to install orion and set the admin password that way.
java -jar orion.jar -install

I tried restart
java -jar admin.jar ormi://localhost/ admin admin123 -restart

and got this
 java -jar orion.jar
Orion/1.0 (Internal build 3) initialized
Restarting...
Error starting RMIServer: IO Error: Address already in use

I tried shutdown
java -jar admin.jar ormi://localhost/ admin admin123 -shutdown
 
and bravo, it worked
 
java -jar orion.jar
Orion/1.0 (Internal build 3) initialized
Shutting down...

I'm not going to try anything else-but thanks for the help.

Eric :-)
 
 

Dave Smith wrote:

Trye leaving out the port number.

You need the application name in there for datasources.

java -jar admin.jar ormi://localhost/ admin admin123 -application appName
-dataSourceInfo

Dave Smith
Senior Team Leader
Aristocrat Technologies Australia Pty Ltd

mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
 
 

-----Original Message-----
From: Eric Richardson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 29, 2000 1:16 AM
To: Orion-Interest
Subject: admin.jar problems

Hi,
I tried this as well with some problems. Here are the steps I took.

java -jar orion.jar -install
Enter an admin password to use: admin123
Confirm admin password: admin123
Installation done

 java -jar orion.jar
Orion/1.0 (Internal build 3) initialized

java -jar admin.jar ormi://localhost:8888/ admin admin123 -dataSourceInfo
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

 java -jar admin.jar ormi://localhost:8888/ admin admin123 -shutdown
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

Any ideas?

Eric :-)

p.s. Karl, if you see this, hi!

Reply via email to