The same is happening to me. Using 1.4.7 everything was fine.
I already posted a message before but here it is again:
- java -jar admin.jar ormi://localhost admin 123 -shutdown
Works as long as no EJB/Database is called.
Gives the "shutting down..." for ever message if ejb/jdbc is
accessed
- CTRL-C
Works fine as long as not ejb/jdbc calls are made
Does not work at all if ejb/jdbc is accessed
- Touch the application.xml file
Redeploys the application as long as no EJB/jdbc calls are made
Gives the following error if ejb/jdbc is accessed:
java.lang.SecurityException: Invalid username/password for
CitySolutions (Admin)
at com.evermind._br._me(Unknown Source)
at com.evermind._br._me(Unknown Source)
at com.evermind._br._mj(Unknown Source)
at com.evermind._bs._mj(Unknown Source)
at com.evermind.server.rmi.RMIContext.unbind(Unknown Source)
at com.evermind._bt.unbind(Unknown Source)
at com.evermind._cb._vy(Unknown Source)
at com.evermind._cb._yq(Unknown Source)
at com.evermind._cb._ax(Unknown Source)
at com.evermind._cb._ax(Unknown Source)
at com.evermind.server.ApplicationServer._tw(Unknown Source)
at com.evermind._kn.run(Unknown Source)
at com.evermind._by.run(Unknown Source)
at com.evermind._jw.run(Unknown Source)
This is driving me crazy because the only way to redeploy ejbs now
is to kill the process and force the server to crash
OS: Windows NT 4.0,
JDK 1.3
1.4.8
Hi!
It is a bit unclear for me how the shutdown process should work. When I
initiate "java -jar admin.jar ormi://localhost admin password -shutdown"
the message "Shutting down..." is printed on the log. After that Orion
no longer responds to any requests but all the Java processes are still
kicking alive:
$ ps ax
21242 pts/2 S 0:00 /usr/java/jdk1.3/bin/i386/native_threads/java
-server -Xms8m -Xmx192m -Djava...
21266 pts/2 S 0:00 /usr/java/jdk1.3/bin/i386/native_threads/java
-server -Xms8m -Xmx192m -Djava...
...
Platform: RedHat Linux 7.0, HotSpot Virtual Machine, Orion 1.4.7
Is there a way to shutdown Orion so that it stops all Java procesesses
too?