-
1. Re: Ports used by JBoss?
yoyodyne Apr 23, 2003 5:17 PM (in response to rd)The complete JBoss server gets shutdown when u run shutdown.bat.
-
2. Re: Ports used by JBoss?
rd Apr 29, 2003 4:42 PM (in response to rd)Hello people,
can someone provide me the requested info? All the ports used by JBoss on startup along with the name of the services using them?
About the shutdown.bat, when I launch JBoss from one window (run.bat -c all) and then run shutdown.bat from another window, I dont see the port 1099 getting freed. This tells me that not everything started by JBoss gets shut down with shutdown.bat
RD -
3. Re: Ports used by JBoss?
rd Apr 29, 2003 4:55 PM (in response to rd)Hello people,
can someone provide me the requested info? All the ports used by JBoss on startup along with the name of the services using them?
About the shutdown.bat, when I launch JBoss from one window (run.bat -c all) and then run shutdown.bat from another window, I dont see the port 1099 getting freed. This tells me that not everything started by JBoss gets shut down with shutdown.bat
RD -
4. Re: Ports used by JBoss?
rd Apr 29, 2003 4:56 PM (in response to rd)Hello people,
can someone provide me the requested info? All the ports used by JBoss on startup along with the name of the services using them?
About the shutdown.bat, when I launch JBoss from one window (run.bat -c all) and then run shutdown.bat from another window, I dont see the port 1099 getting freed. This tells me that not everything started by JBoss gets shut down with shutdown.bat
RD -
5. Re: Ports used by JBoss?
rd Apr 29, 2003 5:00 PM (in response to rd)Hello people,
can someone provide me the requested info? All the ports used by JBoss on startup along with the name of the services using them?
About the shutdown.bat, when I launch JBoss from one window (run.bat -c all) and then run shutdown.bat from another window, I dont see the port 1099 getting freed. This tells me that not everything started by JBoss gets shut down with shutdown.bat
RD -
6. Re: Ports used by JBoss?
mikefinn Apr 29, 2003 7:45 PM (in response to rd)Are you sure that JBoss JNDI came up ok on port 1099? Make sure. I have seen other things on Windows take 1099 and the JNDI service puke on startup (rest of the server comes up ok, but won't be very happy about it); but I have never seen a JBoss port still be listening after the server shutdown (except for the short time until the listener socket times out). All server threads should be shutdown by shutdown.bat. What state was the listener socket in?
Here are the TCP-based listeners in 3.x, the MBean name, and respective default port. Note: there are UDP ports used by JavaGroups in the clustering stuff as well.
RMI CL WebServer (jboss:service=WebService): 8083
JNDI (jboss:service=Naming): 1099
RMI (jboss:service=invoker,type=jrmp): 4444
HSQL (jboss:service=Hypersonic): 1476
OIL (jboss.mq:service=InvocationLayer,type=OIL):
8090
OIL2 (jboss.mq:service=InvocationLayer,type=OIL): 8092
UIL: (jboss.mq:service=InvocationLayer,type=UIL): 8091
UIL2: (jboss.mq:service=InvocationLayer,type=UIL2): 8093
Jetty/Tomcat (jboss.web:service=WebServer): 8080
HAJNDI (jboss:service=HAJNDI): 1100
mike -
7. Re: Ports used by JBoss?
mikefinn Apr 29, 2003 7:46 PM (in response to rd)Note these are 3.2 MBean names. 3.0 will be slightly different.
-
8. Re: Ports used by JBoss?
rd Apr 30, 2003 5:21 PM (in response to rd)Thanks for the info. I am using JBoss 3.0.6 (without Tomcat) and found all but 8092 and 8093 ports being used.
About shutdown.bat, I did check again and again that 1099 is NOT being freed after I run shutdown.bat. And its NOT being used before I started JBoss. Please confirm that u r running run.bat and shutdown.bat from 2 different command line windows. There is no other option anyway since the command line window from which I launch "run.bat -c all" is blocked and I cannot run shutdown.bat from the same window. I am on windows NT. shutdown.bat reports "shutting down http service at 8080" and that exactly (and only thing) that it does.
CTRL-C on the original command line window does stop everything.
Thanks again. -
9. Re: Ports used by JBoss?
rd May 3, 2003 12:54 PM (in response to rd)Hello,
People who are referring to this thread, I just noticed some other thread addressing my concern about shutdown.bat not working as expected with JBoss.
Shutdown.bat if run as
C:\JBOSS_HOME\bin\shutdown.bat
does not shutdown the jboss completely.
Use
C:\JBOSS_HOME\bin\shutdown.bat -u foo -p bar
where foo and bar are username/password for secured jmx console, which, if not secured, means "foo" and "bar" username/password should work as they are.
This results in complete proper shutdown and the original window from where JBoss is launched reports
Halting VM......
to ur immense satisfaction!
Cheers
RD -
10. Re: Ports used by JBoss?
yoyodyne May 4, 2003 11:45 AM (in response to rd)let me tell u in advance that if u plan to move to jboss-3.2.0, u wud have to do
shutdown -s hostname