Title: Change port for Default Server and How to check which port is used in Windows

Hi,

I can feel that I am getting closer to solve the problem with my first servlet.

As check c:\Program Files\Allaire\Jrun\Log\DefaultServerEvent.log,
It says that my server is using port 5100 for something other than JRUN Default Server, and by default
port 5100 was assigned to JRUN Default Server in my case.

Could you please teach me how to list which port is used for what processor
in Windows environment?  I think I simply do not know the command as simple as
PING.

Could you also tell me how to reassign PORT for JRUN Default Server?
I am afraid to re-install JRUN after hearing problems with it.

The following is message listed on the log file as.

08/09 23:03:44 info (JRun) Loading monitor
08/09 23:03:44 info (JRun) Loading license
08/09 23:03:44 warning (license) Professional will expire on Aug 16, 2000
08/09 23:03:44 info (license) Enabling unlimited concurrency for Professional
08/09 23:03:44 info (JRun) Loading control
08/09 23:03:44 info (control) control listening on 127.0.0.1:55555
08/09 23:03:44 info (JRun) Loading ejb
08/09 23:03:44 info (JRun) Loading jms
08/09 23:03:45 info (JRun) Loading jndi
08/09 23:03:45 info (JRun) Loading jdbc
08/09 23:03:45 info (JRun) Loading web
08/09 23:03:45 info (web) web listening on *:8100
08/09 23:03:45 info (JRun) Loading mail
08/09 23:03:45 info (JRun) Loading url
08/09 23:03:45 info (JRun) Loading default-app
08/09 23:03:46 info (default-app) Starting default-app: Default User Application - Default application for getting started

08/09 23:03:46 info (default-app) Loading scheduler
08/09 23:03:46 info (default-app) Loading logging
08/09 23:03:46 info (JRun) Loading session
08/09 23:03:46 info (session) Loading persistence storage provider 'file'
08/09 23:03:46 info (JRun) Loading authentication
08/09 23:03:46 info (JRun) Loading propfile
08/09 23:03:46 info (JRun) Loading jsp
08/09 23:03:46 info (JRun) Loading file
08/09 23:03:46 info (JRun) default-app Ready
08/09 23:03:46 info (JRun) Loading demo-app
08/09 23:03:46 info (demo-app) Starting demo-app: JRun Demo - JRun Demo
08/09 23:03:46 info (demo-app) Loading scheduler
08/09 23:03:46 info (demo-app) Loading logging
08/09 23:03:46 info (session) Loading persistence storage provider 'file'
08/09 23:03:46 info (JRun) Loading session
08/09 23:03:46 info (JRun) Loading authentication
08/09 23:03:46 info (JRun) Loading propfile
08/09 23:03:46 info (JRun) Loading jsp
08/09 23:03:46 info (JRun) Loading file
08/09 23:03:46 info (JRun) demo-app Ready
08/09 23:03:46 info (JRun) Loading jcp
08/09 23:03:46 error (JRun) JRun Aborting! [javax.servlet.ServletException: Port in use by another service or process: 51000]

javax.servlet.ServletException: Port in use by another service or process: 51000
java.net.BindException: Port in use by another service or process: 51000
        at allaire.jrun.NetworkService.bind(NetworkService.java:273)
        at allaire.jrun.NetworkService.init(NetworkService.java:114)
        at allaire.jrun.ServletService.init(ServletService.java, Compiled Code)
        at allaire.jrun.ServletService.init(ServletService.java:31)
        at allaire.jrun.servlet.JRunServletLoader.loadServletInstance(JRunServletLoader.java:236)
        at allaire.jrun.servlet.JRunSE.initServices(JRunSE.java, Compiled Code)
        at allaire.jrun.servlet.JvmContext.initServices(JvmContext.java:96)
        at allaire.jrun.servlet.JRunSE.init(JRunSE.java, Compiled Code)
        at allaire.jrun.servlet.JvmContext.init(JvmContext.java:35)
        at allaire.jrun.ServletService.init(ServletService.java, Compiled Code)
        at allaire.jrun.ServletService.init(ServletService.java:31)
        at JRun.main(JRun.java, Compiled Code)

Thank you very much for your kind help on this matter.

With best regards,
    Hitae Lee.

Reply via email to