Re: is restarting Orion necessary ??
Note that if you're changing a class while the server is running, you're developing... but a redeployment should clear out caches. - Joseph B. Ottinger [EMAIL PROTECTED] http://enigmastation.comIT Consultant On Thu, 14 Mar 2002, anandpt wrote: Hi Please let me know if restarting Orion necessary if I change a class when the server is running. I do not want to run my server in development mode regards Sunil
Re: is restarting Orion necessary ??
Hello mittal, Thursday, March 14, 2002, 12:48:14 AM, you wrote: msajcj Hi msajcj Please let me know if restarting Orion necessary if I change a class when msajcj the server is running. msajcj I do not want to run my server in development mode msajcj regards msajcj Sunil Hi! The answer is yes, you have to restart Orion as the default behavior of the JVM is to not reload a class that is already loaded in memory. Redeployment can flush that cache for servlets and EJB, but sometimes helper classes are not reloaded, so a restart is needed in those cases. m2c Rafael
:is restarting Orion necessary ??
Hi: You have not to restart the Orion application server - ÔÎÄ - From: anandpt To: Orion-Interest Subject: is restarting Orion necessary ?? Sent: Thu Mar 14 14:22:33 CST 2002 Hi Please let me know if restarting Orion necessary if I change a class when the server is running. I do not want to run my server in development mode regards Sunil
is restarting Orion necessary ??
Hi Please let me know if restarting Orion necessary if I change a class when the server is running. I do not want to run my server in development mode regards Sunil
is restarting Orion necessary ??
Hi Please let me know if restarting Orion necessary if I change a class when the server is running. I do not want to run my server in development mode regards Sunil
Re: is restarting Orion necessary ??
Hi,friend, Thanks for your reply. Yes, I tried every cases. And I also found the same problem when I tried to subscribe the e-mail. I don't know why, I also re-isntalled the low stable version 1.5.2, but same problems. By the way, I also have 2 questions: 1.Can you tell me where(the directory) I should put the jndi.properties file? 2.How can I list a directory(that means if I just give the directory name in the web browser, then the contents of the directory will be displayed in the browser)? Thanks a lot. [EMAIL PROTECTED] wrote: Hi Please let me know if restarting Orion necessary if I change a class when the server is running. I do not want to run my server in development mode regards Sunil
RE: restarting orion
Take off the :90, it should just be ormi://localhost -Original Message- From: Peter Peltonen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 21, 2001 9:39 AM To: Orion-Interest Subject: restarting orion When I give the command "java -jar admin.jar ormi://localhost:90 admin mypassword -restart" I get the error message: 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 Here's some background of my fresh installation: I've installed Orion 1.4.5 on RedHat Linux 6.2 that has j2sdkee-1_2_1 and jdk1.2.2 installed on it. I followed the instructions in Installation Guide and unpacked Orion to /usr/src/orion as root. I ran the command "java -jar orion.jar -install" which asked for an admin password. I gave it a one. I started Orion with "java -jar orion.jar". I tried and I can access the server with my web browser. What's wrong, why won't my Orion restart? Regards, Peter
RE: restarting orion
Take off the port number (:90). It should just be ormi://localhost. -Original Message- From: Peter Peltonen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 21, 2001 9:39 AM To: Orion-Interest Subject: restarting orion When I give the command "java -jar admin.jar ormi://localhost:90 admin mypassword -restart" I get the error message: 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 Here's some background of my fresh installation: I've installed Orion 1.4.5 on RedHat Linux 6.2 that has j2sdkee-1_2_1 and jdk1.2.2 installed on it. I followed the instructions in Installation Guide and unpacked Orion to /usr/src/orion as root. I ran the command "java -jar orion.jar -install" which asked for an admin password. I gave it a one. I started Orion with "java -jar orion.jar". I tried and I can access the server with my web browser. What's wrong, why won't my Orion restart? Regards, Peter
Re: restarting orion
Port 90 looks wrong - you should use the admin port not the http port (just leave out :90) java -jar admin.jar ormi://localhost admin mypassword -restart Peter Peltonen wrote: When I give the command "java -jar admin.jar ormi://localhost:90 admin mypassword -restart" I get the error message: 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 Here's some background of my fresh installation: I've installed Orion 1.4.5 on RedHat Linux 6.2 that has j2sdkee-1_2_1 and jdk1.2.2 installed on it. I followed the instructions in Installation Guide and unpacked Orion to /usr/src/orion as root. I ran the command "java -jar orion.jar -install" which asked for an admin password. I gave it a one. I started Orion with "java -jar orion.jar". I tried and I can access the server with my web browser. What's wrong, why won't my Orion restart? Regards, Peter -- David Smith Software Development Manager e-Net Software Ltd [EMAIL PROTECTED]
restarting orion
When I give the command "java -jar admin.jar ormi://localhost:90 admin mypassword -restart" I get the error message: 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 Here's some background of my fresh installation: I've installed Orion 1.4.5 on RedHat Linux 6.2 that has j2sdkee-1_2_1 and jdk1.2.2 installed on it. I followed the instructions in Installation Guide and unpacked Orion to /usr/src/orion as root. I ran the command "java -jar orion.jar -install" which asked for an admin password. I gave it a one. I started Orion with "java -jar orion.jar". I tried and I can access the server with my web browser. What's wrong, why won't my Orion restart? Regards, Peter
restarting orion
- I have Orion running as root, but if I restart Orion, with the command in the FAQ (java -jar admin.jar ormi://yourserver/ username password -restart), it doesn't appear to take the changes the I made in the config files, like data-sources.xml. In the server.log their appears an extra "started" entry. - Neither does it shutdown properly. When I do a shutdown in the same way as above their appears a"Stopped" entry in the server.log, but whe I look with "ps" still a lot of Orion processes are running, and it complains about it when I try to restart it: --- Error starting HTTP-Server: Address already in useOrion/1.3.8 initialized-- How can I solve this ? - One more thing: Orion sometimes refuses to execute a stand-alone servlet, when it gives an server error (through a web browser) and the sevlet contains a runtime error, which is logicaly ofcourse. When I then correct the problem, the Orion server keeps on giving this server error until I restart the server. How can I solve this ? Regards, Ed Bras
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 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
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
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
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 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
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
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
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.
Restarting Orion: HELP: NOT WORKING
Dear Orion Interest Group: Platform:Sun Sparc OS:Solaris JDK: Sun 1.2.2_005 Orion:1.0.3b Command: java -jar admin.jar ormi://localhost/ admin 123 -restart Always Result In: Error: com.evermind.reflect.UndeclaredExceptionTypeException: java.lang.ClassNotFoundException This is a very very odd problem.Class UndeclaredExceptionTypeException IS in file orion.jar!! How could it possibly not find it! Someone posted that the problem is cured when going to revision 1.0.3b, however I just did this and the problem remains. Has anyone found a cure? STeve Punte e-Business Software Architect Technologent Inc [EMAIL PROTECTED]
Problem with restarting orion: Me too
Hi! I have got _exactly_ the same problem. my config: * win nt 4.0 service pack 5 * sun jdk 1.3 On the mailing list archive I read that various problems witch admin.jar are platform specific - is that true? will there be a fix of that problem? or ist there already a workaround? thanks, joe peer [EMAIL PROTECTED] -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Ratz, Peter Gesendet: Dienstag, 25. Juli 2000 08:33 An: Orion-Interest Betreff: Problem with restarting orion Hello, im am new to orion server an i cannot restart/shutdown the server. I type in the following command and get an exception: C:\orionjava -jar admin.jar ormi://localhost admin 123 -restart Error: com.evermind.reflect.UndeclaredExceptionTypeException: java.lang.ClassNotFoundException Thanks Peter ___ Say Bye to Slow Internet! http://www.home.com/xinbox/signup.html