RE: remote shutdown of orion 1.4.8

2001-05-06 Thread Adam Cassar


IIRC, using -shutdown -force will generally work

On 05 May 2001 18:28:21 -0700, Jeff Schnitzer wrote:
  From: Eduardo Estefano [mailto:[EMAIL PROTECTED]]
  
  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
 
 This has been happening to me since I started using Orion (1.3.8).
 There was some discussion of this problem on the list a long time ago,
 and I believe the conclusion was that there is some sort of JVM problem.
 You might want to search the list for shutdown.
 
 I'm using Win2K with JDK 1.3  1.3_02.
 
 Jeff
 





Re: remote shutdown of orion 1.4.8

2001-05-05 Thread Eduardo Estefano

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/2S  0:00 /usr/java/jdk1.3/bin/i386/native_threads/java
-server -Xms8m -Xmx192m -Djava...
21266 pts/2S  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?





Re: remote shutdown of orion 1.4.8

2001-05-05 Thread Hani Suleiman

Did you check the changes.txt file, and move the references to
principals.xml from server.xml to application.xml? Any security errors you
get when switching from 1.4.7 to 1.4.8 are very likely to be due to not
making that change...

On Sat, 5 May 2001, Eduardo Estefano wrote:

 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/2S  0:00 /usr/java/jdk1.3/bin/i386/native_threads/java
 -server -Xms8m -Xmx192m -Djava...
 21266 pts/2S  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?
 
 
 





RE: remote shutdown of orion 1.4.8

2001-05-05 Thread Jeff Schnitzer

 From: Eduardo Estefano [mailto:[EMAIL PROTECTED]]
 
 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

This has been happening to me since I started using Orion (1.3.8).
There was some discussion of this problem on the list a long time ago,
and I believe the conclusion was that there is some sort of JVM problem.
You might want to search the list for shutdown.

I'm using Win2K with JDK 1.3  1.3_02.

Jeff




Re: remote shutdown of orion 1.4.8

2001-05-04 Thread Joni Suominen

[EMAIL PROTECTED] wrote:
 
 Folks,
 
 The following remote shutdown command does not work anymore in 1.4.8 (it
 works fine in 1.4.7), any ideas? bug?
 
 java -jar admin.jar ormi://localhost admin password -shutdown

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/2S  0:00 /usr/java/jdk1.3/bin/i386/native_threads/java
-server -Xms8m -Xmx192m -Djava...
21266 pts/2S  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?

-- 
Joni
[EMAIL PROTECTED]




Re: remote shutdown of orion 1.4.8

2001-05-04 Thread Attila Bodis



Joni,

I am having the same problem using 1.4.5; strangely, I am able 
to use -shutdown just fine as long as none of my servlets/JSPs do any JDBC 
calls. Once I get deeper into my app where I start hitting the database, 
Orion refuses to shut down in exactly the way you describe.

 Attila

  - Original Message - 
  From: 
  Joni Suominen 
  
  To: Orion-Interest 
  Sent: Friday, May 04, 2001 4:47 AM
  Subject: Re: remote shutdown of orion 
  1.4.8
  [EMAIL PROTECTED] wrote: 
   Folks,  The following remote shutdown command does 
  not work anymore in 1.4.8 (it works fine in 1.4.7), any ideas? 
  bug?  java -jar admin.jar ormi://localhost admin password 
  -shutdownHi!It is a bit unclear for me how the shutdown process 
  should work. When Iinitiate "java -jar admin.jar ormi://localhost admin 
  password -shutdown"the message "Shutting down..." is printed on the log. 
  After that Orionno longer responds to any requests but all the Java 
  processes are stillkicking alive:$ ps ax21242 
  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.7Is there a way to shutdown Orion so that it stops all Java 
  procesessestoo?-- Joni[EMAIL PROTECTED]


Re: remote shutdown of orion 1.4.8

2001-04-27 Thread Adam Cassar

try -force

On 25 Apr 2001 08:46:02 -0600, [EMAIL PROTECTED] wrote:
 Folks,
 
 The following remote shutdown command does not work anymore in 1.4.8 (it
 works fine in 1.4.7), any ideas? bug?
 
 java -jar admin.jar ormi://localhost admin password -shutdown
 
 P.S.
 already verified the password is correct in
 [orion-home]/config/principals.xml
 
 Thanks in advance!
 
 Chris
 





Re: remote shutdown of orion 1.4.8

2001-04-26 Thread Stephen Kuo

Hi Chris
That might be your problem, it works just fine in my machine.


Stephen Kuo
WJsoft Inc.
TEL: 886-4-23509525 ext.510
FAX: 886-4-23509522
19F-2, No.123, Sec.3, Chungkung Rd.
Taichung
Taiwan


- Original Message - 
From: [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Wednesday, April 25, 2001 10:46 PM
Subject: remote shutdown of orion 1.4.8


 Folks,
 
 The following remote shutdown command does not work anymore in 1.4.8 (it
 works fine in 1.4.7), any ideas? bug?
 
 java -jar admin.jar ormi://localhost admin password -shutdown
 
 P.S.
 already verified the password is correct in
 [orion-home]/config/principals.xml
 
 Thanks in advance!
 
 Chris
 
 





Re: remote shutdown of orion 1.4.8

2001-04-26 Thread Markus Holmberg

The reference to principals.xml (principals path=./principals.xml/)
moved from server.xml to application.xml in  1.4.8. Be sure you didn't
miss to update your configuration accordingly.

Markus

On Wed, Apr 25, 2001 at 08:46:02AM -0600, [EMAIL PROTECTED] wrote:
 Folks,
 
 The following remote shutdown command does not work anymore in 1.4.8 (it
 works fine in 1.4.7), any ideas? bug?
 
 java -jar admin.jar ormi://localhost admin password -shutdown
 
 P.S.
 already verified the password is correct in
 [orion-home]/config/principals.xml
 
 Thanks in advance!
 
 Chris

-- 

Markus Holmberg |   Give me Unix or give me a typewriter.
[EMAIL PROTECTED]  |   http://www.freebsd.org/




Re: remote shutdown of orion 1.4.8

2001-04-26 Thread Eddie

I am not sure if it is his problem as I have about the same problem, also on
the localhost.
In the STDOUT of orion.jar there appears: shutting down .. after a
half an hour it is still up and running and the same message appears.
Neither does the force option at the end doesn't work.

BTW:  I am using Linux Redhat 7.0 and orion 1.4.7 (almost 1.4.8 :)   )

Ed


- Original Message -
From: Stephen Kuo [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, April 26, 2001 8:31 AM
Subject: Re: remote shutdown of orion 1.4.8


 Hi Chris
 That might be your problem, it works just fine in my machine.


 Stephen Kuo
 WJsoft Inc.
 TEL: 886-4-23509525 ext.510
 FAX: 886-4-23509522
 19F-2, No.123, Sec.3, Chungkung Rd.
 Taichung
 Taiwan


 - Original Message -
 From: [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Wednesday, April 25, 2001 10:46 PM
 Subject: remote shutdown of orion 1.4.8


  Folks,
 
  The following remote shutdown command does not work anymore in 1.4.8 (it
  works fine in 1.4.7), any ideas? bug?
 
  java -jar admin.jar ormi://localhost admin password -shutdown
 
  P.S.
  already verified the password is correct in
  [orion-home]/config/principals.xml
 
  Thanks in advance!
 
  Chris
 
 







Re: remote shutdown of orion 1.4.8

2001-04-26 Thread Johan Fredriksson

I upgraded from 1.4.7 to 1.4.8 and for me it works...

D:\orionjava -jar admin.jar ormi://localhost/ admin pwd -shutdown
Error: com.evermind.server.rmi.OrionRemoteException: Disconnected: Server
shutdo
wn

D:\orionjava -jar orion.jar -version
Orion/1.4.8 (build 10374)

( at the same time... stdout )

Shutting down...

So for me it works


- Original Message -
From: Eddie [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, April 26, 2001 1:10 PM
Subject: Re: remote shutdown of orion 1.4.8


 I am not sure if it is his problem as I have about the same problem, also
on
 the localhost.
 In the STDOUT of orion.jar there appears: shutting down .. after a
 half an hour it is still up and running and the same message appears.
 Neither does the force option at the end doesn't work.

 BTW:  I am using Linux Redhat 7.0 and orion 1.4.7 (almost 1.4.8 :)   )

 Ed


 - Original Message -
 From: Stephen Kuo [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Thursday, April 26, 2001 8:31 AM
 Subject: Re: remote shutdown of orion 1.4.8


  Hi Chris
  That might be your problem, it works just fine in my machine.
 
 
  Stephen Kuo
  WJsoft Inc.
  TEL: 886-4-23509525 ext.510
  FAX: 886-4-23509522
  19F-2, No.123, Sec.3, Chungkung Rd.
  Taichung
  Taiwan
 
 
  - Original Message -
  From: [EMAIL PROTECTED]
  To: Orion-Interest [EMAIL PROTECTED]
  Sent: Wednesday, April 25, 2001 10:46 PM
  Subject: remote shutdown of orion 1.4.8
 
 
   Folks,
  
   The following remote shutdown command does not work anymore in 1.4.8
(it
   works fine in 1.4.7), any ideas? bug?
  
   java -jar admin.jar ormi://localhost admin password -shutdown
  
   P.S.
   already verified the password is correct in
   [orion-home]/config/principals.xml
  
   Thanks in advance!
  
   Chris