-
1. Re: Shutdown problem?
juhalindfors Mar 30, 2003 7:16 AM (in response to davidsills)There's a "feature" in 3.0.6 shutdown script where you have to provide a dummy user name and password to the shutdown script even if you haven't secured the jmx-console (which is not secured by default). So executing the script with:
sh shutdown.sh -u foo -p bar
should fix it. -
2. Re: Shutdown problem?
juhalindfors Mar 30, 2003 7:19 AM (in response to davidsills)oh and BTW, the "feature" has been removed in the 3.0.x branch, so the next release should not have it.
-
3. Re: Shutdown problem?
davidsills Mar 30, 2003 9:12 AM (in response to davidsills)Many thanks! I feel slightly more sane now (I _could_ be mistaken, however :)
-
4. Re: Shutdown problem?
luwasoft Mar 31, 2003 1:31 PM (in response to davidsills)Thank you for asking exactly the same Question i had :-) (and describing exactly the same feelings i had running into that problem :-)
So i was happy to read the answer just before writing down my question...
"Thats how an open community should work..." -
5. Re: Shutdown problem?
pstrotmann Apr 2, 2003 8:39 AM (in response to davidsills)thank you all from a newbie, had the same problem on a linux mandrake 9.1, first thought my linux was too fresh, but with the dummy workaround shutting down works fine.
peter -
6. Re: Shutdown problem?
k2brewer Apr 2, 2003 8:33 PM (in response to davidsills)That works with port 8080, but when a different port is used I find it does not shutdown. Unfortunately, my JBoss is running with some other apps. that are already using 8080. Any ideas?
Thanks. -
7. Re: Shutdown problem?
coach-x Apr 2, 2003 9:03 PM (in response to davidsills)I have the same problem as well if you are running jboss on port 80. I have found that you can shut down the server using jmx-console-jboss.system-type=server Then invoke the void shutdown() function.
-
8. Re: Shutdown problem?
juhalindfors Apr 3, 2003 1:59 AM (in response to davidsills)Are you guys saying that providing the port number to the shutdown script does not work?
Usage: Shutdown [host [port]] [-u username] [-p password] [-c shutdown_command]
If so, then file a bug report. -
9. Re: Shutdown problem?
coach-x Apr 3, 2003 1:53 PM (in response to davidsills)My problem was two fold. I needed to install lynx first, but I also needed to specify the host/port.
./bin/shutdown.sh localhost 80 -u foo -p bar
Thanks for the tip juha. -
10. Re: Shutdown problem?
k2brewer Apr 3, 2003 4:16 PM (in response to davidsills)Thanks! I didn't know the [host [port]] option. It works fine now.
-
11. Re: Shutdown problem?
loic Apr 7, 2003 5:37 AM (in response to davidsills)HI all,
I always have a problem on shutting down.
I am using jboss3.0.4 with tomcat4.0.6 on different OS.
On windows XP shutting down works good just in clicking on shutdown.bat
On windows NT i tried with the full option line (and other tries) but nothing happened. The shutting down program told me shutdown complete but in fact nothing. (I work on the default port 8080 and i have no login module)
What can i do? -
12. Re: Shutdown problem?
blueser Apr 16, 2003 5:46 PM (in response to davidsills)How does this work for 3.2.0? It has no [host [port]] params. I tried using -s, but it didn't work. If I just run shutdown.sh, it does its job fine up to a point, but it always stops at the same point:
[...]
18:32:57,365 INFO [jbossweb] Stopped SocketListener on 0.0.0.0:8081
(note we're using port 8081 for jmx-console).
This leaves me no options aside from stopping it with kill -9 -- but all my guts tell me I am not doing the right thing...
BTW: I am trying to run it through the RedHat init script provided (properly modified). Nevertheless, results are the same when I invoke shutdown.sh directly.
Any ideas?
TIA
Andre -
13. Re: Shutdown problem?
blueser Apr 16, 2003 6:35 PM (in response to davidsills)Some additional info: if I start JBoss on a shell with run.sh and interrupt it with CTRL+C, it stops at the same point the shutdown.sh script does. However, if I press CTRL+C a 2nd time, JBoss "indeed terminates" (i.e. the rest of the shutdown takes place normally until the "Shutdown completeHalting VM" msgs appear).
I tried sending a SIGINT to the java process that started JBoss with kill -2, hoping I could fake the 2nd CTRL+C, but it simply ignores it (manually pressing CTRL+C still works, though).
Is this expected behavior?
TIA
Andre -
14. Re: Shutdown problem?
yoyodyne Apr 16, 2003 7:21 PM (in response to davidsills)shutdown.sh -s hostname worked fine for me on solaris 8.