Re: restarting orion-server

2000-12-12 Thread Marcus Lankenau

Hi Michael!

"Michael S. Kelly" wrote:

 Have tried telneting into your server and executing the following at the
 command prompt?

 java -jar admin.jar ormi://localhost/ admin 123 -restart

 "admin" is a user name with administration permissions and "123" is the
 password (see the principals.xml config file).


Yes I did, but without success.It seems that the server does not shutdown.
When using shutdown (with admin-tool) the server does not stop. Only
-shutdown force does the job.


Marcus Lankenau


begin:vcard 
n:Lankenau;Marcus
x-mozilla-html:FALSE
url:wwl.de
org:wwl vision2market;Interactive
adr:;;goebelstr. 46;Lilienthal;D;28865;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Senior Developer
fn:Marcus Lankenau
end:vcard



Re: restarting orion-server

2000-12-12 Thread Johan Fredriksson

Someone mentioned earlier that orion doesn't stop if you have started some
threads on your own, that still are running, make sure to check that they
don't defunct.




- Original Message -
From: "Marcus Lankenau" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Tuesday, December 12, 2000 9:29 AM
Subject: Re: restarting orion-server


 Hi Michael!

 "Michael S. Kelly" wrote:

  Have tried telneting into your server and executing the following at the
  command prompt?
 
  java -jar admin.jar ormi://localhost/ admin 123 -restart
 
  "admin" is a user name with administration permissions and "123" is the
  password (see the principals.xml config file).
 

 Yes I did, but without success.It seems that the server does not shutdown.
 When using shutdown (with admin-tool) the server does not stop. Only
 -shutdown force does the job.


 Marcus Lankenau






RE: restarting orion-server

2000-12-11 Thread Michael S. Kelly

Have tried telneting into your server and executing the following at the
command prompt?

java -jar admin.jar ormi://localhost/ admin 123 -restart

"admin" is a user name with administration permissions and "123" is the
password (see the principals.xml config file).

I haven't tried this on a linux box, but it's very slick on Win2K.

-=michael=-

==
 Michael S. Kelly [EMAIL PROTECTED]      _
 Axian, Inc.   [EMAIL PROTECTED]  // |_  __(_) ___  _ __
 4800 SW Griffith Dr., Ste. 202 //| |\\/ /| |/ _ \| '_ \
 Beaverton, OR  97005 USA _//_| | / / | | |_| | | | |
 Voice: (503)644-6106 x122   ((   //  |_|/_/\\|_|\_/|_|_| |_|
 Fax:   (503)643-8425 ``-''  ``-''
 http://www2.axian.com   Software Consulting and Training
==


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Marcus
Lankenau
Sent: Friday, December 08, 2000 4:16 AM
To: Orion-Interest
Subject: restarting orion-server


Hi!

We are running our orion-process on debion linux and we wanna restart
the server remotely (since after deploying the application the ejbs are
not accessible). Has anyone managed to restart the orion-server from the
orionconsole? Wenn invoking 'restart' the server writes

Error starting RMI-Server: IO Error: Address already in use
Error starting HTTP-Server: Address already in use

When invoking 'shutdown' and then 'restart' there is no response after
the 'shutdown'.

Thx in advance
Marcus Lankenau





RE: restarting orion-server

2000-12-08 Thread Jason Smith


 When invoking 'shutdown' and then 'restart' there is no response after
 the 'shutdown'.

Do shutdown OR restart, not both.  If shutdown is not bringing everything
down I would hook up Orion to a remote debugger (like bugseeker) and see
what thread is stalling it.  I posted a bug (#220) about shutdown hooks not
being started when Orion is given the shutdown command, so if you are doing
any custom threading in a java client module you may have workers hanging
around if you are waiting on termination to clean up.






Re: restarting orion-server

2000-12-08 Thread Johan Fredriksson

I found this script working extremely well on 1.3.8 and earlier


#! /bin/sh

case $1 in
start)
(
echo 'Starting orion'
cd /opt/orion
cp /opt/orion/orion.stdout /opt/orion.stdout.old
   cp /opt/orion/orion.errorlog /opt/orion/orion.errorlog.old
   rm /opt/orion/orion.stdout
   rm /opt/orion/orion.errorlog
   java \
   -jar orion.jar \
   -config /opt/orion/config/server.xml \
   -out /opt/orion/orion.stdout \
   -err /opt/orion/orion.errorlog \
   
)
;;

stop)
echo 'Killing orion'
   java -jar /opt/orion/admin.jar ormi://localhost/ admin orion99 -shutdown
force
kill `ps -ef | grep orion | grep jar | awk '{print
$2}'`
;;
restart)
(
echo 'Restarting orion'
echo 'Please wait'
   java -jar /opt/orion/admin.jar ormi://localhost admin orion99 -restart
echo 'Orion started, kick ass!!'
)
;;
esac

exit 0


- Original Message -
From: "Jason Smith" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, December 08, 2000 2:45 PM
Subject: RE: restarting orion-server



  When invoking 'shutdown' and then 'restart' there is no response after
  the 'shutdown'.

 Do shutdown OR restart, not both.  If shutdown is not bringing everything
 down I would hook up Orion to a remote debugger (like bugseeker) and see
 what thread is stalling it.  I posted a bug (#220) about shutdown hooks
not
 being started when Orion is given the shutdown command, so if you are
doing
 any custom threading in a java client module you may have workers hanging
 around if you are waiting on termination to clean up.







RE: restarting orion-server

2000-12-08 Thread Juan Lorandi (Chile)

flamebait
after you shutdown

the server shuts down (geez, go figure how that works)

and it no longer listens for ANY admin message...

So I guess thats why it doesn't respond to restart (Oh, I'm a genius)

Use EITHER restart OR shutdown
/flamebait

JP
-Original Message-
From: Jason Smith [mailto:[EMAIL PROTECTED]]
Sent: Viernes, 08 de Diciembre de 2000 10:46
To: Orion-Interest
Cc: [EMAIL PROTECTED]
Subject: RE: restarting orion-server



 When invoking 'shutdown' and then 'restart' there is no response after
 the 'shutdown'.

Do shutdown OR restart, not both.  If shutdown is not bringing everything
down I would hook up Orion to a remote debugger (like bugseeker) and see
what thread is stalling it.  I posted a bug (#220) about shutdown hooks not
being started when Orion is given the shutdown command, so if you are doing
any custom threading in a java client module you may have workers hanging
around if you are waiting on termination to clean up.