Re: Tomcat/Personal Web Server Problem
Steve, Thanks for responding. The results of netstat -a include the following: Active Connections Proto Local Address Foreign AddressState TCP4e317:8080 0.0.0.0:0 LISTENING TCP4e317:8081 0.0.0.0:0 LISTENING According to the jwsdp launcher server log, Tomcat is using ports 8080 and 8081. How would I change the port that Personal Web Server runs on? Please keep in mind that PWS was uninstalled. However, when this problem is resolved, I want to re-install it. So what is the best plan of attack and how do I accomplish it? Clearly, I know nothing about technical support. So I need a step-by-step process. Thanks, Robin - Original Message - From: Steve Kirk [EMAIL PROTECTED] To: 'Tomcat Users List' tomcat-user@jakarta.apache.org Sent: Thursday, May 26, 2005 5:06 AM Subject: RE: Tomcat/Personal Web Server Problem Looks like TC cannot start. If you have fresh installed it, then hazarding a guess, I'd say it might be because the port might be in use. You can't have 2 servers on the same port. Did you have them configured to run on the same port (8080)? One thing to check is to open a dos window then type netstat -a, this will list all ports in use on your machine. Give it a while to run, this can sometimes take up to a minute depending on what's running on your machine. If 8080 is listed there and tomcat is not started, you know that the old config of PWS still has the port. You need to take further steps to uninstall it. Or, change the port that either TC or PWS runs on. Then you can run both at once if you like. -Original Message- From: Robin Rembish [mailto:[EMAIL PROTECTED] Sent: Wednesday 25 May 2005 23:03 To: tomcat-user@jakarta.apache.org Subject: Tomcat/Personal Web Server Problem I had both Tomcat 4.1 and Microsoft Personal Web Server installed on my laptop ( an IBM Thinkpad - Windows NT operating system). It had been several months since I used Tomcat. When I started the Tomcat server and typed in localhost:8080 in the Internet Explorer address window, it brought me to Personal Web Server rather than bringing up the Tomcat page. I then decided to uninstall both Personal Web Server and the Java Web Services Developers Pack. But after reinstalling the latter, I am getting a page not found condition. (Details are below). On the advice of someone at a technical forum, I started Tomcat (Start/Programs/Java Web Services Developer Pack 1.1/Start Tomcat) and then checked Start/Programs/Administrative Tools/Windows NT Diagnostics/Services It had: JavaWebServer Stopped although the services log file (and all other log files) under jwsdp-1_1 indicated Tomcat was running If anyone can help, I'd really appreciate it. Robin Type in Address Window: http://localhost:8080 Error message: Page cannot be displayed The page you are looking for is currently unavailable In Internet Explorer Above Address Window: res://C:\WINNT\System32\shdoclc.dll/dnserror.htm#http://localh ost:8080/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat/Personal Web Server Problem
Steve, After uninstalling Personal Web Server, I was not getting PWS when typing http://localhost:8080 in the address window of Internet Explorer. I got the following error message: Page cannot be displayed The page you are looking for is currently unavailable Above Address Window: res://C:\WINNT\System32\shdoclc.dll/dnserror.htm#http://localhost:8080/ I checked the jwsdp-1_1 logs and didn't find any errors. The output from the launcher server log is below. Robin Launcher.server.log [INFO] Registry - -Loading registry information [INFO] Registry - -Creating new Registry instance [INFO] Registry - -Creating MBeanServer [INFO] Http11Protocol - -Attribute port: 8081 [INFO] Http11Protocol - -Attribute maxThreads: 75 [INFO] Http11Protocol - -Attribute backlog: 10 [INFO] Http11Protocol - -Attribute tcpNoDelay: true [INFO] Http11Protocol - -Attribute soTimeout: 6 [INFO] Http11Protocol - -Attribute timeout: 6 [INFO] Http11Protocol - -Attribute secure: false [INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 protocol handler on port 8081 [INFO] Http11Protocol - -Attribute port: 8080 [INFO] Http11Protocol - -Attribute maxThreads: 75 [INFO] Http11Protocol - -Attribute backlog: 10 [INFO] Http11Protocol - -Attribute tcpNoDelay: true [INFO] Http11Protocol - -Attribute soTimeout: 6 [INFO] Http11Protocol - -Attribute timeout: 6 [INFO] Http11Protocol - -Attribute secure: false [INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 protocol handler on port 8080 Starting service Internal Services Java Web Services Developer Pack/1.1-fcs [INFO] Http11Protocol - -Starting Coyote HTTP/1.1 protocol handler on port 8081 Starting service Java Web Services Developer Pack Java Web Services Developer Pack/1.1-fcs [INFO] Http11Protocol - -Starting Coyote HTTP/1.1 protocol handler on port 8080 - Original Message - From: Steve Kirk [EMAIL PROTECTED] To: 'Tomcat Users List' tomcat-user@jakarta.apache.org Sent: Thursday, May 26, 2005 9:17 AM Subject: RE: Tomcat/Personal Web Server Problem Well based on your netstat output below, this proves that something is listening on 8080 and 8081. It doesn't indicate what is (not sure if there is a way to find out). If you are accessing http://localhost:8080 and still getting PWS, then it is still starting on 8080, before TC is, so TC is probably failing to start. If TC cannot start for this reasons, it will say so in its logs - look at any files under the logs directory under your tomcat install directory. Read carefully for any error logged. I realise that you have repeated that PWS is uninstalled, but you do also say that you can still access it at 8080. Perhaps it would help if you said why you think you are accessing PWS not TC. Do they serve completely different pages? If they serve the same pages is it possible that you just think you are seeing PWS? PS I should point out that I have not run JWS myself so am best-guessing based on TC experience. -Original Message- From: Robin Rembish [mailto:[EMAIL PROTECTED] Sent: Thursday 26 May 2005 12:59 To: Tomcat Users List Subject: Re: Tomcat/Personal Web Server Problem Steve, Thanks for responding. The results of netstat -a include the following: Active Connections Proto Local Address Foreign AddressState TCP4e317:8080 0.0.0.0:0 LISTENING TCP4e317:8081 0.0.0.0:0 LISTENING According to the jwsdp launcher server log, Tomcat is using ports 8080 and 8081. How would I change the port that Personal Web Server runs on? Please keep in mind that PWS was uninstalled. However, when this problem is resolved, I want to re-install it. So what is the best plan of attack and how do I accomplish it? Clearly, I know nothing about technical support. So I need a step-by-step process. Thanks, Robin - Original Message - From: Steve Kirk [EMAIL PROTECTED] To: 'Tomcat Users List' tomcat-user@jakarta.apache.org Sent: Thursday, May 26, 2005 5:06 AM Subject: RE: Tomcat/Personal Web Server Problem Looks like TC cannot start. If you have fresh installed it, then hazarding a guess, I'd say it might be because the port might be in use. You can't have 2 servers on the same port. Did you have them configured to run on the same port (8080)? One thing to check is to open a dos window then type netstat -a, this will list all ports in use on your machine. Give it a while to run, this can sometimes take up to a minute depending on what's running on your machine. If 8080 is listed there and tomcat is not started, you know that the old config of PWS still has the port. You need to take further steps to uninstall it. Or, change the port that either TC or PWS runs on. Then you can run both at once if you like. -Original Message- From: Robin Rembish [mailto:[EMAIL PROTECTED] Sent: Wednesday 25 May 2005 23:03 To: tomcat-user@jakarta.apache.org Subject
Re: Tomcat/Personal Web Server Problem
Steve, Thanks for trying to help. I've decided to have Windows NT re-installed on my laptop. Robin - Original Message - From: Steve Kirk [EMAIL PROTECTED] To: 'Tomcat Users List' tomcat-user@jakarta.apache.org Sent: Thursday, May 26, 2005 10:34 AM Subject: RE: Tomcat/Personal Web Server Problem Sorry, my mistake - you said that clearly the first time but I misread it. I'm struggling to make any further suggestions I'm afraid. You could try the bood old fashioned reboot. Is the problem persists, verify that 8080/8081 are still in LISTENING state. Then maybe can you install TC on another port (by stopping it, changing it's config settings, reboot the PC so that you are sure you've cleared any network ports, then restating it). Again repeat the netstat -a command to see if that new port is open and there is nothing on 8080/8081. This at least gives you the clue that TC is starting and running on the ports that you think it is. What version OS are you on? -Original Message- From: Robin Rembish [mailto:[EMAIL PROTECTED] Sent: Thursday 26 May 2005 15:21 To: Tomcat Users List Subject: Re: Tomcat/Personal Web Server Problem Steve, After uninstalling Personal Web Server, I was not getting PWS when typing http://localhost:8080 in the address window of Internet Explorer. I got the following error message: Page cannot be displayed The page you are looking for is currently unavailable Above Address Window: res://C:\WINNT\System32\shdoclc.dll/dnserror.htm#http://localh ost:8080/ I checked the jwsdp-1_1 logs and didn't find any errors. The output from the launcher server log is below. Robin Launcher.server.log [INFO] Registry - -Loading registry information [INFO] Registry - -Creating new Registry instance [INFO] Registry - -Creating MBeanServer [INFO] Http11Protocol - -Attribute port: 8081 [INFO] Http11Protocol - -Attribute maxThreads: 75 [INFO] Http11Protocol - -Attribute backlog: 10 [INFO] Http11Protocol - -Attribute tcpNoDelay: true [INFO] Http11Protocol - -Attribute soTimeout: 6 [INFO] Http11Protocol - -Attribute timeout: 6 [INFO] Http11Protocol - -Attribute secure: false [INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 protocol handler on port 8081 [INFO] Http11Protocol - -Attribute port: 8080 [INFO] Http11Protocol - -Attribute maxThreads: 75 [INFO] Http11Protocol - -Attribute backlog: 10 [INFO] Http11Protocol - -Attribute tcpNoDelay: true [INFO] Http11Protocol - -Attribute soTimeout: 6 [INFO] Http11Protocol - -Attribute timeout: 6 [INFO] Http11Protocol - -Attribute secure: false [INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 protocol handler on port 8080 Starting service Internal Services Java Web Services Developer Pack/1.1-fcs [INFO] Http11Protocol - -Starting Coyote HTTP/1.1 protocol handler on port 8081 Starting service Java Web Services Developer Pack Java Web Services Developer Pack/1.1-fcs [INFO] Http11Protocol - -Starting Coyote HTTP/1.1 protocol handler on port 8080 - Original Message - From: Steve Kirk [EMAIL PROTECTED] To: 'Tomcat Users List' tomcat-user@jakarta.apache.org Sent: Thursday, May 26, 2005 9:17 AM Subject: RE: Tomcat/Personal Web Server Problem Well based on your netstat output below, this proves that something is listening on 8080 and 8081. It doesn't indicate what is (not sure if there is a way to find out). If you are accessing http://localhost:8080 and still getting PWS, then it is still starting on 8080, before TC is, so TC is probably failing to start. If TC cannot start for this reasons, it will say so in its logs - look at any files under the logs directory under your tomcat install directory. Read carefully for any error logged. I realise that you have repeated that PWS is uninstalled, but you do also say that you can still access it at 8080. Perhaps it would help if you said why you think you are accessing PWS not TC. Do they serve completely different pages? If they serve the same pages is it possible that you just think you are seeing PWS? PS I should point out that I have not run JWS myself so am best-guessing based on TC experience. -Original Message- From: Robin Rembish [mailto:[EMAIL PROTECTED] Sent: Thursday 26 May 2005 12:59 To: Tomcat Users List Subject: Re: Tomcat/Personal Web Server Problem Steve, Thanks for responding. The results of netstat -a include the following: Active Connections Proto Local Address Foreign AddressState TCP4e317:8080 0.0.0.0:0 LISTENING TCP4e317:8081 0.0.0.0:0 LISTENING According to the jwsdp launcher server log, Tomcat is using ports 8080 and 8081. How would I change the port that Personal Web Server runs on? Please keep in mind that PWS was uninstalled. However, when this problem is resolved, I want to re-install it. So what
Tomcat/Personal Web Server Problem
I had both Tomcat 4.1 and Microsoft Personal Web Server installed on my laptop ( an IBM Thinkpad - Windows NT operating system). It had been several months since I used Tomcat. When I started the Tomcat server and typed in localhost:8080 in the Internet Explorer address window, it brought me to Personal Web Server rather than bringing up the Tomcat page. I then decided to uninstall both Personal Web Server and the Java Web Services Developers Pack. But after reinstalling the latter, I am getting a page not found condition. (Details are below). On the advice of someone at a technical forum, I started Tomcat (Start/Programs/Java Web Services Developer Pack 1.1/Start Tomcat) and then checked Start/Programs/Administrative Tools/Windows NT Diagnostics/Services It had: JavaWebServer Stopped although the services log file (and all other log files) under jwsdp-1_1 indicated Tomcat was running If anyone can help, I'd really appreciate it. Robin Type in Address Window: http://localhost:8080 Error message: Page cannot be displayed The page you are looking for is currently unavailable In Internet Explorer Above Address Window: res://C:\WINNT\System32\shdoclc.dll/dnserror.htm#http://localhost:8080/