-
1. Re: Error Shutdown JBoss 4 from MyEclipse
cutethree Jan 9, 2009 3:41 PM (in response to cutethree)Seems the shutdown command doesn't work(My env is Windows XP ). From the windows command, I can start the server by running the run.bat file. Ctrl-C to shut it down. However, I can't shut it down by running shutdown.bat. The same error as using Eclipse, which executes the same command.
-
2. Re: Error Shutdown JBoss 4 from MyEclipse
peterj Jan 9, 2009 4:32 PM (in response to cutethree)The shutdown.bat depends on JBoss AS using port 1099 for JNDI. Did you, by any chance, change the JNDI port?
-
3. Re: Error Shutdown JBoss 4 from MyEclipse
cutethree Jan 9, 2009 6:00 PM (in response to cutethree)I don't think I run anything with port 1099.
c:\>netstat -a|grep '1099'
c:\> -
4. Re: Error Shutdown JBoss 4 from MyEclipse
peterj Jan 9, 2009 6:09 PM (in response to cutethree)Which must mean that you did change the JNDI port. You need to find out what you changed it to and then pass the port number to shutdown:
shutdown -s hostname:portnumber
example:
shutdown -s localhost:1199 -
5. Re: Error Shutdown JBoss 4 from MyEclipse
cutethree Jan 11, 2009 1:57 PM (in response to cutethree)No, I didn't change any configuration.
-
6. Re: Error Shutdown JBoss 4 from MyEclipse
peterj Jan 11, 2009 3:51 PM (in response to cutethree)But you said nothing has port 1099 open. If you did not change anything, then JBoss AS would have that port open.
Also, when running netstat, use '-an', otherwise not all ports show up as numbers, in which case you could miss port 1099. Try running this (with JBoss AS up):
netstat -abn | grep "java"
That should show all ports open by JBoss AS.
Also do this: get a JNDIView list and post the results. Refer to this wiki page for instructions: https://www.jboss.org/community/docs/DOC-9584