( URGENT Please ) tomcat connection refused
Dear all I am trying to create a secure connection between tomcat server and a browser. I have done exactly the same as the instructions on http://jakarta.apache.org/tomcat/tomcat-5.5-doc/ssl-howto.html but when I tried to connect on the port https://localhost:8443 , an alert popped up saying (( The connection was refused when attepting to contact localhost:8443 . So, I would be very grateful if anyone can let me know what is the problem ?? Thanks in advance Abdullah _ It's fast, it's easy and it's free. Get MSN Messenger 7.0 today! http://messenger.msn.co.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: ( URGENT Please ) tomcat connection refused
Did you generate the RSA key with the changeit password? Did you uncomment the section with 8443 port configuration? Did you wait long enough for the server to start (tail -f the catalina.out log and wait for it to see 8443 has started). What is in the catalina.out log? Any errors? On IBM AIX I had to change the protocol to IbmX503 and use SSL instead of TLS. Try changing TLS to SSL (see the section for configuring 8443 to do this). David -Original Message- From: Abdullah Abdullah [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 1:10 PM To: tomcat-user@jakarta.apache.org; tomcat-dev@jakarta.apache.org Subject: ( URGENT Please ) tomcat connection refused Dear all I am trying to create a secure connection between tomcat server and a browser. I have done exactly the same as the instructions on http://jakarta.apache.org/tomcat/tomcat-5.5-doc/ssl-howto.html but when I tried to connect on the port https://localhost:8443 , an alert popped up saying (( The connection was refused when attepting to contact localhost:8443 . So, I would be very grateful if anyone can let me know what is the problem ?? Thanks in advance Abdullah _ It's fast, it's easy and it's free. Get MSN Messenger 7.0 today! http://messenger.msn.co.uk - 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: Newbie: Connection refused first time on Tomcat
Hi Bruce, On 25 Jul 2005 at 18:39, Bruce E. Stemplewski wrote: Where does this get installed? Remember, I am a total newbie at this. And do I even need this? The error says: This release of Apache Tomcat was packaged to run on J2SE 5.0 or later. It can be run on earlier JVMs by downloading and installing a compatibility package from the Apache Tomcat binary download page. But my Tomcat JVM setting is at: C:\Program Files\Java\jre1.5.0_04\bin\client\jvm.dll Isn't 1.5.0 J2SE 5.0? Basically yes, though there's a difference between the JRE and J2SE - the latter includes a compiler, though I seem to recall that recent versions of Tomcat are no longer dependant on having access to the Java compiler. I suspect you may have a path problem here. A trap for the unwary Windows player is that, as far as I am aware, Tomcat (and Java) struggle with Windows' standard approach to paths with spaces in them. What I mean by that is that Windows mostly copes happily with paths with spaces in them, whereas programs like Java require such paths to be inside quotes. IIRC, by default, the tomcat installer puts at least one space in the path ( Tomcat 5.5 - between Tomcat and 5 - there will be at least one more if you put it in the C:\Program Files\ directory), but doesn't put any quotes around that path in program settings and shortcuts, so installation using the default settings on Windows simply doesn't work. Note, this problem may have been fixed in recent versions - I now habitually ensure I have no spaces in the tomcat (or JVM) path when I install it. If you have any spaces in the path, I suggest you: 1. Uninstall Tomcat and the JVM/JRE 2. Reinstall being sure to choose paths for Tomcat and the JRE that have no spaces in them - be sure to remove the space in the path the installer offers for Tomcat (Tomcat 5.5) - it's not always obvious. HTH, Rob Hills www.netpaver.com.au West Perth, Western Australia - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Newbie: Connection refused first time on Tomcat
I just installed Tomcat for the first time ever so please forgive the newbie question. I installed Apache Tomcat 5.5.9 Server and J2RE JSE 5.0 on an XP operating system. Tomcat starts up fine but when I try to go to the Welcome page, or the Manager Page. I get The connection was refused attempting to contact 127.0.0.1:8080 in FireFox, IE gives me this page cannot be displayed. I check the Tomcat logs and the stdout log has a few entries that read: This release of Apache Tomcat was packaged to run on J2SE 5.0 or later. It can be run on earlier JVMs by downloading and installing a compatibility package from the Apache Tomcat binary download page. Any ideas what I should look at first? Bruce Stemplewski www.stempsoft.com We are all in the same boat in a stormy sea, and we owe each other a terrible loyalty. G. K. Chesterton - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Newbie: Connection refused first time on Tomcat
I have the same problem here. If you tail -f the catalina log it never completes the startup. It hangs trying to set the context for admin for me. Can somebody let us know what we are doing wrong? Bruce E. Stemplewski wrote on 7/25/05 2:54 am: I just installed Tomcat for the first time ever so please forgive the newbie question. I installed Apache Tomcat 5.5.9 Server and J2RE JSE 5.0 on an XP operating system. Tomcat starts up fine but when I try to go to the Welcome page, or the Manager Page. I get The connection was refused attempting to contact 127.0.0.1:8080 in FireFox, IE gives me this page cannot be displayed. I check the Tomcat logs and the stdout log has a few entries that read: This release of Apache Tomcat was packaged to run on J2SE 5.0 or later. It can be run on earlier JVMs by downloading and installing a compatibility package from the Apache Tomcat binary download page. Any ideas what I should look at first? Bruce Stemplewski www.stempsoft.com We are all in the same boat in a stormy sea, and we owe each other a terrible loyalty. G. K. Chesterton - 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: Newbie: Connection refused first time on Tomcat
You need the compatibility stuff: http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi Search for compat on that page, and you'll see it. Larry On 25 Jul 2005 18:52:00 GMT, David E. Shapiro [EMAIL PROTECTED] wrote: I have the same problem here. If you tail -f the catalina log it never completes the startup. It hangs trying to set the context for admin for me. Can somebody let us know what we are doing wrong? Bruce E. Stemplewski wrote on 7/25/05 2:54 am: I just installed Tomcat for the first time ever so please forgive the newbie question. I installed Apache Tomcat 5.5.9 Server and J2RE JSE 5.0 on an XP operating system. Tomcat starts up fine but when I try to go to the Welcome page, or the Manager Page. I get The connection was refused attempting to contact 127.0.0.1:8080 http://127.0.0.1:8080 in FireFox, IE gives me this page cannot be displayed. I check the Tomcat logs and the stdout log has a few entries that read: This release of Apache Tomcat was packaged to run on J2SE 5.0 or later. It can be run on earlier JVMs by downloading and installing a compatibility package from the Apache Tomcat binary download page. Any ideas what I should look at first? Bruce Stemplewski www.stempsoft.com http://www.stempsoft.com We are all in the same boat in a stormy sea, and we owe each other a terrible loyalty. G. K. Chesterton - 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: Newbie: Connection refused first time on Tomcat
Where does this get installed? Remember, I am a total newbie at this. And do I even need this? The error says: This release of Apache Tomcat was packaged to run on J2SE 5.0 or later. It can be run on earlier JVMs by downloading and installing a compatibility package from the Apache Tomcat binary download page. But my Tomcat JVM setting is at: C:\Program Files\Java\jre1.5.0_04\bin\client\jvm.dll Isn't 1.5.0 J2SE 5.0? Bruce Stemplewski www.stempsoft.com We are all in the same boat in a stormy sea, and we owe each other a terrible loyalty. G. K. Chesterton Larry Meadors wrote: You need the compatibility stuff: http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi Search for compat on that page, and you'll see it. Larry On 25 Jul 2005 18:52:00 GMT, David E. Shapiro [EMAIL PROTECTED] wrote: I have the same problem here. If you tail -f the catalina log it never completes the startup. It hangs trying to set the context for admin for me. Can somebody let us know what we are doing wrong? Bruce E. Stemplewski wrote on 7/25/05 2:54 am: I just installed Tomcat for the first time ever so please forgive the newbie question. I installed Apache Tomcat 5.5.9 Server and J2RE JSE 5.0 on an XP operating system. Tomcat starts up fine but when I try to go to the Welcome page, or the Manager Page. I get The connection was refused attempting to contact 127.0.0.1:8080 http://127.0.0.1:8080 in FireFox, IE gives me this page cannot be displayed. I check the Tomcat logs and the stdout log has a few entries that read: This release of Apache Tomcat was packaged to run on J2SE 5.0 or later. It can be run on earlier JVMs by downloading and installing a compatibility package from the Apache Tomcat binary download page. Any ideas what I should look at first? Bruce Stemplewski www.stempsoft.com http://www.stempsoft.com We are all in the same boat in a stormy sea, and we owe each other a terrible loyalty. G. K. Chesterton - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
connection refused
hi guys when i try to access tomcat using //localserver:8080 it says connection refused .. why is this ? how do i solve this ? i need to check whether the default page of tomcat loading or not note that .. i neva do any changes .. i installed tomcat and started it .. when i try to access it show refused connection.. thank you - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: connection refused
On 7/4/05, ganesan malairaja [EMAIL PROTECTED] wrote: hi guys when i try to access tomcat using //localserver:8080 it says connection refused .. I presume it is http://localhost:8080 or hostname:8080. Check for any firewalls. Check log messages in console. -- rgds Anto Paul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: connection refused
sorry guys problem solved when i type catalina.sh start .. i could not access the //localhost:8080 but when i type catalina.sh run .. now i could access the default page.. but is this the corect way to start tomcat thanks i am using tomcat 4.1.xx From: Anto Paul [EMAIL PROTECTED] Reply-To: Anto Paul [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: Re: connection refused Date: Mon, 4 Jul 2005 12:01:11 +0530 On 7/4/05, ganesan malairaja [EMAIL PROTECTED] wrote: hi guys when i try to access tomcat using //localserver:8080 it says connection refused .. I presume it is http://localhost:8080 or hostname:8080. Check for any firewalls. Check log messages in console. -- rgds Anto Paul - 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: connection refused
sorry guys i think the aparent delay in tomcat is the cause of the problem.. when i close and open back my browser then i can acces the page with out a problem is this a known problem .. anything can be done to overcome this ? thanks .. sorry for waisting ur time and ur inbox space :D htmlDIV DIVFONT color=#cc face=Lucida Handwriting, CursiveEMSTRONGIMG height=16 src=http://graphics.hotmail.com/emarrow_right.gif; width=16Ganesan_MalairajaIMG height=16 src=http://graphics.hotmail.com/emarrow_left.gif; width=16/STRONG/EM/FONT/DIV/DIV/html From: ganesan malairaja [EMAIL PROTECTED] Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org To: tomcat-user@jakarta.apache.org, [EMAIL PROTECTED] Subject: Re: connection refused Date: Mon, 04 Jul 2005 06:37:55 + sorry guys problem solved when i type catalina.sh start .. i could not access the //localhost:8080 but when i type catalina.sh run .. now i could access the default page.. but is this the corect way to start tomcat thanks i am using tomcat 4.1.xx From: Anto Paul [EMAIL PROTECTED] Reply-To: Anto Paul [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: Re: connection refused Date: Mon, 4 Jul 2005 12:01:11 +0530 On 7/4/05, ganesan malairaja [EMAIL PROTECTED] wrote: hi guys when i try to access tomcat using //localserver:8080 it says connection refused .. I presume it is http://localhost:8080 or hostname:8080. Check for any firewalls. Check log messages in console. -- rgds Anto Paul - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
NotifyUtil::java.net.ConnectException: Connection refused: connect
My application works fine but following log is streaming. I don't know the reason, what should I do? Thanks Otgo NotifyUtil::java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at sun.net.NetworkClient.doConnect(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.init(Unknown Source) at sun.net.www.http.HttpClient.init(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source) at org.netbeans.modules.web.monitor.server.NotifyUtil$RecordSender.run(NotifyUt il.java:237) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
NotifyUtil::java.net.ConnectException: Connection refused: connect
My application works fine but following log is streaming. I don't know the reason, what should I do? Thanks Otgo NotifyUtil::java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at sun.net.NetworkClient.doConnect(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.init(Unknown Source) at sun.net.www.http.HttpClient.init(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source) at org.netbeans.modules.web.monitor.server.NotifyUtil$RecordSender.run(NotifyUt il.java:237) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat Connection refused :-(
Peter Crowther wrote: From: gaurav [mailto:[EMAIL PROTECTED] I am using tomcat 5.5.7 on Fedora 3 with jdk1.5.0_02 my i have disable firewal and stopped Iptables !! OK. netstat -a | grep tomcat or 8080- nothing , zero , blank You already said that you had moved the Tomcat port from 8080, though? If so, I wouldn't expect anything on 8080. And I would expect something on Tomcat's shutdown port as well (check your server.xml for its port number) - is that not starting either? - Peter I dont whats the wrong here... I have just installed Jboss .its tunning fine ...what the problem tomcat ?? Why o Why tomcat says connection refused is there any hidden lock or temp files thats is causing proble ?? - 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 Connection refused :-(
Did installing Oracle or jBoss change your JVM path? On Apr 4, 2005 5:49 AM, gaurav [EMAIL PROTECTED] wrote: Peter Crowther wrote: From: gaurav [mailto:[EMAIL PROTECTED] I am using tomcat 5.5.7 on Fedora 3 with jdk1.5.0_02 my i have disable firewal and stopped Iptables !! OK. netstat -a | grep tomcat or 8080- nothing , zero , blank You already said that you had moved the Tomcat port from 8080, though? If so, I wouldn't expect anything on 8080. And I would expect something on Tomcat's shutdown port as well (check your server.xml for its port number) - is that not starting either? - Peter I dont whats the wrong here... I have just installed Jboss .its tunning fine ...what the problem tomcat ?? Why o Why tomcat says connection refused is there any hidden lock or temp files thats is causing proble ?? - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat Connection refused :-(
Hi list, My tomcat server is not working !! no matter what I do every thing I going till I day installed oracle 9i :-( Now Tomcat just does responds to its port .i have changed the 8090 but no effect !! when I run ./startup.sh it shows no problem but nothing comes at at port (connection) refused during ./shutdown.sh I always get org.apache.catalina.startup.Catalina stopServer SEVERE: Catalina.stop: java.net.ConnectException: Connection refused I tried following * Rebooted the server * |ps axf | grep [j]ava.endorsed.dir - no output| * |rm /var/lock/subsys/tomcat - no lock file| * tried other port no that 8080 like 8900 - still doesnt work :-( pl help me !! | | [EMAIL PROTECTED] ~]# service tomcat stop Tomcat Shutdown: Using CATALINA_BASE: /home/tomcat/tomcat Using CATALINA_HOME: /home/tomcat/tomcat Using CATALINA_TMPDIR: /home/tomcat/tomcat/temp Using JRE_HOME: /usr/java/jdk1.5.0_02 Apr 1, 2005 5:41:50 PM org.apache.catalina.startup.Catalina stopServer SEVERE: Catalina.stop: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364) at java.net.Socket.connect(Socket.java:507) at java.net.Socket.connect(Socket.java:457) at java.net.Socket.init(Socket.java:365) at java.net.Socket.init(Socket.java:178) at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:394) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:320) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:411) OK - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat Connection refused :-(
Hi list, My tomcat server is not working !! no matter what I do every thing I going till I day installed oracle 9i :-( Now Tomcat just does responds to its port .i have changed the 8090 but no effect !! when I run ./startup.sh it shows no problem but nothing comes at at port (connection) refused during ./shutdown.sh I always get org.apache.catalina.startup.Catalina stopServer SEVERE: Catalina.stop: java.net.ConnectException: Connection refused I tried following * Rebooted the server * ps axf | grep [j]ava.endorsed.dir - no output| * rm /var/lock/subsys/tomcat - no lock file| * tried other port no that 8080 like 8900 - still doesnt work :-( pl help me !! I am using tomcat 5.7 on Fedora Core 3 [EMAIL PROTECTED] ~]# service tomcat stop Tomcat Shutdown: Using CATALINA_BASE: /home/tomcat/tomcat Using CATALINA_HOME: /home/tomcat/tomcat Using CATALINA_TMPDIR: /home/tomcat/tomcat/temp Using JRE_HOME: /usr/java/jdk1.5.0_02 Apr 1, 2005 5:41:50 PM org.apache.catalina.startup.Catalina stopServer SEVERE: Catalina.stop: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364) at java.net.Socket.connect(Socket.java:507) at java.net.Socket.connect(Socket.java:457) at java.net.Socket.init(Socket.java:365) at java.net.Socket.init(Socket.java:178) at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:394) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:320) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:411) OK - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat Connection refused :-(
From: gaurav [mailto:[EMAIL PROTECTED] My tomcat server is not working !! no matter what I do every thing I going till I day installed oracle 9i :-( What Tomcat version? What operating system? I assume some UNIX variant given the trace. Did you install anything else on the machine at the same time as Oracle 9i? Any operating system changes? Any firewall changes? Any reboot that could have brought into operation a pending change that someone had made at some earlier time? What does 'netstat -a' show? With Tomcat shut down, it should show nothing on Tomcat's ports; with Tomcat running, it should show Tomcat's ports as LISTENING. - Peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat Connection refused :-(
Hi Peter , Peter Crowther wrote: From: gaurav [mailto:[EMAIL PROTECTED] My tomcat server is not working !! no matter what I do every thing I going till I day installed oracle 9i :-( What Tomcat version? What operating system? I assume some UNIX variant given the trace. I am using tomcat 5.5.7 on Fedora 3 with jdk1.5.0_02 Did you install anything else on the machine at the same time as Oracle 9i? Any operating system changes? Any firewall changes? Any reboot my i have disable firewal and stopped Iptables !! that could have brought into operation a pending change that someone had made at some earlier time? What does 'netstat -a' show? With Tomcat shut down, it should show netstat -a | grep tomcat or 8080- nothing , zero , blank nothing on Tomcat's ports; with Tomcat running, it should show Tomcat's ports as LISTENING. what to do !! Regards, Gaurav - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat Connection refused :-(
gaurav wrote: what to do !! Basic troubleshooting. 1) look in your logs (and if this problem seems associated with the Oracle install, look in its log(s) and the syslogs, too). 2) prompt export JAVA_OPTS=-verbose prompt $CATALINA_HOME/bin/catalina.sh run watch the console and see where and why Tomcat stops initializing HTH! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat Connection refused :-(
From: gaurav [mailto:[EMAIL PROTECTED] I am using tomcat 5.5.7 on Fedora 3 with jdk1.5.0_02 Thanks. my i have disable firewal and stopped Iptables !! OK. netstat -a | grep tomcat or 8080- nothing , zero , blank You already said that you had moved the Tomcat port from 8080, though? If so, I wouldn't expect anything on 8080. And I would expect something on Tomcat's shutdown port as well (check your server.xml for its port number) - is that not starting either? - Peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
connection refused when testing jsp
Hi: I have just installed jakarta-tomcat-5.5.4.exe to run some jsp pages on my comp locally. After installing, i enter http://localhost:8080 in the address field of my browser, and pressed enter. I receive this error message. The connection was refused when attempting to contact localhost:8080 I had run Tomcat version 4 before, and nothing like this happened. Can anyone please help me. I am running: Windows XP service pack 2 jdk-1_5_0-windows-i586.exe j2eesdk-1_4-windows.exe thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: connection refused when testing jsp
Is tomcat actually running? How are you starting it? Try disabling the firewall. Are all the configuration file default? What errors are in the log file? Doug - Original Message - From: Ben Kuang [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Tuesday, January 11, 2005 7:44 PM Subject: connection refused when testing jsp Hi: I have just installed jakarta-tomcat-5.5.4.exe to run some jsp pages on my comp locally. After installing, i enter http://localhost:8080 in the address field of my browser, and pressed enter. I receive this error message. The connection was refused when attempting to contact localhost:8080 I had run Tomcat version 4 before, and nothing like this happened. Can anyone please help me. I am running: Windows XP service pack 2 jdk-1_5_0-windows-i586.exe j2eesdk-1_4-windows.exe thank you. - 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]
java.net.ConnectException: Connection refused
I am using Tomcat4.0, mysql 4.0.18 , on Linux environment. And i am unable to connect to mysql db. Below is the url i am using in server.xml file. and also i have the jdbc driver under WEB-INF/lib - mysql-connector-java-3.0.14-production-bin.jar...I was successfully able to deploy the same application on Windows, using the same server.xml file. please help. parameter namefactory/name valueorg.apache.commons.dbcp.BasicDataSourceFactory/value /parameter parameter nameurl/name valuejdbc:mysql://localhost:3306/prototypedb?autoReconnect=true/value /parameter !-- Class name for mm.mysql JDBC driver -- parameter namedriverClassName/name valueorg.gjt.mm.mysql.Driver/value /parameter org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory, cause: java.sql.SQLException: Server connection failure during transaction. Due to underlying exception: 'java.net.ConnectException: Connection refused'. ** BEGIN NESTED EXCEPTION ** java.net.ConnectException MESSAGE: Connection refused STACKTRACE: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) at java.net.Socket.connect(Socket.java:452) at java.net.Socket.connect(Socket.java:402) at java.net.Socket.init(Socket.java:309) at java.net.Socket.init(Socket.java:124) at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:121) at com.mysql.jdbc.MysqlIO.init(MysqlIO.java:220) at com.mysql.jdbc.Connection.createNewIO(Connection.java:1884) at com.mysql.jdbc.Connection.init(Connection.java:440) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:400) at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConne ctionFactory.java:82) at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnect ionFactory.java:300) at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataS ource.java:838) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.jav a:821) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:5 18) at com.ecommerce.DAO.DAOFactory.getConnection(Unknown Source) at com.ecommerce.DAO.UserDAO.init(Unknown Source) at com.ecommerce.action.PlaceOrderAction.execute(Unknown Source) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces sor.java:484) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) Attempted reconnect 3 times. Giving up. at com.mysql.jdbc.Connection.createNewIO(Connection.java:1952) at com.mysql.jdbc.Connection.init(Connection.java:440) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:400) at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConne ctionFactory.java:82) at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnect ionFactory.java:300) at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataS ource.java:838
Re: java.net.ConnectException: Connection refused
Shilpa Nalgonda wrote: I am using Tomcat4.0, mysql 4.0.18 , on Linux environment. And i am unable to connect to mysql db. underlying exception: 'java.net.ConnectException: Connection refused'. Can you connect manually (try telnet) to localhost port 3306? I'd bet not, in which case you'll need to add a rule to your iptables configuration... Of course, that's also assuming that mysqld is actually running :-) HTH! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: connection refused, localhost not found
On 12/08/2003 01:46 PM Damien Pacaud wrote: i disagree with you, since the root context works fine he's got a server up and running listenning on port 8080 but his app does create an error/interaction with it (hope i got this correct for the original email) Unfortunately i haven't got a clue what is wrongDoes your app handle some network code that could cause it to crash when loaded via te url : http://localhost:8080/myapp/ ? Hi guys, Damien, you are right - it was network code - well, a network module to handle redirects to from SSL. I had simply forgotten to reconfigure the ports after I configured it for the first time for the production machine! Mea culpa. The module was inadvertently redirecting requests from 8080 to 80, which of course was then refused. I only realised this once I started using wget to have a look at the responses in detail. Thanks for the help. Adam - Original Message - From: Patrick Ale [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, December 08, 2003 1:41 PM Subject: RE: connection refused, localhost not found Well, I got this problem with MLDonkey (not really java, I know but hey.. :P) This simply means your program crashes on startup and that nothing listens on port 8080. Now.. dunno what browser you use but I had this with Mozilla. I tried to connect to http://localhost:4080/ it didnt find anything on that port so it went on with resolving random/known by mozilla things, till it found localhost.net.au which actually is an existing page. Motto of this story is: your app is not running or not on port 8080 :-) Patrick Ale System administrator Freeler B.V Muda o mundo, começe com você mesmo -Oorspronkelijk bericht- Van: Adam Hardy [mailto:[EMAIL PROTECTED] Verzonden: maandag 8 december 2003 13:29 Aan: Tomcat Users List Onderwerp: connection refused, localhost not found Hi Listers I'm sceptical whether anybody else has ever suffered this bizarre problem so I'm not expecting anybody to be able to help, but this is seriously damaging my enjoyment of Monday morning. I have tomcat 5.0.14 set up on one computer and it works fine mostly, i.e. root context, JSP examples, manager apps are working fine. The problem is with the app I'm developing. On Friday night last week I did loads of debugging to sort out the JNDI connection pool, e.g. configuring the app context, the web.xml etc. Now when I try to call up http://localhost:8080/myapp/ the browser zooms off to find http://www.localhost.net.au! When I try http://127.0.0.1:8080/myapp/ I get a 'connection refused' pop-up from the browsers - on my machine and on others. (root context still works as I said). Obviously I tried restarting tomcat, redeploying the app, taking out all the filters, changing the context name, checked server.xml. Anybody care to take a wild guess about what I need to do? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Connection Refused
When I tried to shutdown tomcat, I got the following message. Please help. Thank you. Mike [EMAIL PROTECTED] bin] % ./shutdown.sh Using CATALINA_BASE: /opt/jakarta-tomcat-5.0.16Using CATALINA_HOME: /opt/jakarta-tomcat-5.0.16Using CATALINA_TMPDIR: /opt/jakarta-tomcat-5.0.16/tempUsing JAVA_HOME: /usr/j2seCatalina.stop: java.net.ConnectException: Connection refusedjava.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:295) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:161) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:148) at java.net.Socket.connect(Socket.java:425) at java.net.Socket.connect(Socket.java:375) at java.net.Socket.init(Socket.java:290) at java.net.Socket.init(Socket.java:118) at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:436) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:322) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:400) IncrediMail - Email has finally evolved - Click Here
connection refused, localhost not found
Hi Listers I'm sceptical whether anybody else has ever suffered this bizarre problem so I'm not expecting anybody to be able to help, but this is seriously damaging my enjoyment of Monday morning. I have tomcat 5.0.14 set up on one computer and it works fine mostly, i.e. root context, JSP examples, manager apps are working fine. The problem is with the app I'm developing. On Friday night last week I did loads of debugging to sort out the JNDI connection pool, e.g. configuring the app context, the web.xml etc. Now when I try to call up http://localhost:8080/myapp/ the browser zooms off to find http://www.localhost.net.au! When I try http://127.0.0.1:8080/myapp/ I get a 'connection refused' pop-up from the browsers - on my machine and on others. (root context still works as I said). Obviously I tried restarting tomcat, redeploying the app, taking out all the filters, changing the context name, checked server.xml. Anybody care to take a wild guess about what I need to do? Tx Adam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: connection refused, localhost not found
Well, I got this problem with MLDonkey (not really java, I know but hey.. :P) This simply means your program crashes on startup and that nothing listens on port 8080. Now.. dunno what browser you use but I had this with Mozilla. I tried to connect to http://localhost:4080/ it didnt find anything on that port so it went on with resolving random/known by mozilla things, till it found localhost.net.au which actually is an existing page. Motto of this story is: your app is not running or not on port 8080 :-) Patrick Ale System administrator Freeler B.V Muda o mundo, começe com você mesmo -Oorspronkelijk bericht- Van: Adam Hardy [mailto:[EMAIL PROTECTED] Verzonden: maandag 8 december 2003 13:29 Aan: Tomcat Users List Onderwerp: connection refused, localhost not found Hi Listers I'm sceptical whether anybody else has ever suffered this bizarre problem so I'm not expecting anybody to be able to help, but this is seriously damaging my enjoyment of Monday morning. I have tomcat 5.0.14 set up on one computer and it works fine mostly, i.e. root context, JSP examples, manager apps are working fine. The problem is with the app I'm developing. On Friday night last week I did loads of debugging to sort out the JNDI connection pool, e.g. configuring the app context, the web.xml etc. Now when I try to call up http://localhost:8080/myapp/ the browser zooms off to find http://www.localhost.net.au! When I try http://127.0.0.1:8080/myapp/ I get a 'connection refused' pop-up from the browsers - on my machine and on others. (root context still works as I said). Obviously I tried restarting tomcat, redeploying the app, taking out all the filters, changing the context name, checked server.xml. Anybody care to take a wild guess about what I need to do? Tx Adam - 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: connection refused, localhost not found
The app is not running, yup, guess I can't argue with that. Unfortunately it's not logging any exceptions. I see that tomcat starts a session for the context, and it logs the request in localhost_access_log, but otherwise, it's dead as a dodo. It's definitely on 8080 - the other contexts are obviously on 8080 and still run fine. On 12/08/2003 01:41 PM Patrick Ale wrote: Well, I got this problem with MLDonkey (not really java, I know but hey.. :P) This simply means your program crashes on startup and that nothing listens on port 8080. Now.. dunno what browser you use but I had this with Mozilla. I tried to connect to http://localhost:4080/ it didnt find anything on that port so it went on with resolving random/known by mozilla things, till it found localhost.net.au which actually is an existing page. Motto of this story is: your app is not running or not on port 8080 :-) Patrick Ale System administrator Freeler B.V Muda o mundo, começe com você mesmo -Oorspronkelijk bericht- Van: Adam Hardy [mailto:[EMAIL PROTECTED] Verzonden: maandag 8 december 2003 13:29 Aan: Tomcat Users List Onderwerp: connection refused, localhost not found Hi Listers I'm sceptical whether anybody else has ever suffered this bizarre problem so I'm not expecting anybody to be able to help, but this is seriously damaging my enjoyment of Monday morning. I have tomcat 5.0.14 set up on one computer and it works fine mostly, i.e. root context, JSP examples, manager apps are working fine. The problem is with the app I'm developing. On Friday night last week I did loads of debugging to sort out the JNDI connection pool, e.g. configuring the app context, the web.xml etc. Now when I try to call up http://localhost:8080/myapp/ the browser zooms off to find http://www.localhost.net.au! When I try http://127.0.0.1:8080/myapp/ I get a 'connection refused' pop-up from the browsers - on my machine and on others. (root context still works as I said). Obviously I tried restarting tomcat, redeploying the app, taking out all the filters, changing the context name, checked server.xml. Anybody care to take a wild guess about what I need to do? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: connection refused, localhost not found
what happens when you do: telnet localhost 8080 GET /myapp/ HTTP/1.1enter host: localhostenter enter enter Patrick Ale System administrator Freeler B.V Email: [EMAIL PROTECTED] Tel.: +31 320 267678 Muda o mundo, começe com você mesmo -Oorspronkelijk bericht- Van: Adam Hardy [mailto:[EMAIL PROTECTED] Verzonden: maandag 8 december 2003 14:16 Aan: Tomcat Users List Onderwerp: Re: connection refused, localhost not found The app is not running, yup, guess I can't argue with that. Unfortunately it's not logging any exceptions. I see that tomcat starts a session for the context, and it logs the request in localhost_access_log, but otherwise, it's dead as a dodo. It's definitely on 8080 - the other contexts are obviously on 8080 and still run fine. On 12/08/2003 01:41 PM Patrick Ale wrote: Well, I got this problem with MLDonkey (not really java, I know but hey.. :P) This simply means your program crashes on startup and that nothing listens on port 8080. Now.. dunno what browser you use but I had this with Mozilla. I tried to connect to http://localhost:4080/ it didnt find anything on that port so it went on with resolving random/known by mozilla things, till it found localhost.net.au which actually is an existing page. Motto of this story is: your app is not running or not on port 8080 :-) Patrick Ale System administrator Freeler B.V Muda o mundo, começe com você mesmo -Oorspronkelijk bericht- Van: Adam Hardy [mailto:[EMAIL PROTECTED] Verzonden: maandag 8 december 2003 13:29 Aan: Tomcat Users List Onderwerp: connection refused, localhost not found Hi Listers I'm sceptical whether anybody else has ever suffered this bizarre problem so I'm not expecting anybody to be able to help, but this is seriously damaging my enjoyment of Monday morning. I have tomcat 5.0.14 set up on one computer and it works fine mostly, i.e. root context, JSP examples, manager apps are working fine. The problem is with the app I'm developing. On Friday night last week I did loads of debugging to sort out the JNDI connection pool, e.g. configuring the app context, the web.xml etc. Now when I try to call up http://localhost:8080/myapp/ the browser zooms off to find http://www.localhost.net.au! When I try http://127.0.0.1:8080/myapp/ I get a 'connection refused' pop-up from the browsers - on my machine and on others. (root context still works as I said). Obviously I tried restarting tomcat, redeploying the app, taking out all the filters, changing the context name, checked server.xml. Anybody care to take a wild guess about what I need to do? - 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: connection refused, localhost not found
I changed the web.xml and have now managed to get tomcat to generate a status 404. This is also what comes thro to telnet. Strange because the context appears in tomcat manager as running, with sessions. I'm thinking about upgrading to 5.0.16 on this machine but I wanted to solve this problem before tackling the upgrade. On 12/08/2003 02:19 PM Patrick Ale wrote: what happens when you do: telnet localhost 8080 GET /myapp/ HTTP/1.1enter host: localhostenter enter enter Patrick Ale System administrator Freeler B.V Email: [EMAIL PROTECTED] Tel.: +31 320 267678 Muda o mundo, começe com você mesmo -Oorspronkelijk bericht- Van: Adam Hardy [mailto:[EMAIL PROTECTED] Verzonden: maandag 8 december 2003 14:16 Aan: Tomcat Users List Onderwerp: Re: connection refused, localhost not found The app is not running, yup, guess I can't argue with that. Unfortunately it's not logging any exceptions. I see that tomcat starts a session for the context, and it logs the request in localhost_access_log, but otherwise, it's dead as a dodo. It's definitely on 8080 - the other contexts are obviously on 8080 and still run fine. On 12/08/2003 01:41 PM Patrick Ale wrote: Well, I got this problem with MLDonkey (not really java, I know but hey.. :P) This simply means your program crashes on startup and that nothing listens on port 8080. Now.. dunno what browser you use but I had this with Mozilla. I tried to connect to http://localhost:4080/ it didnt find anything on that port so it went on with resolving random/known by mozilla things, till it found localhost.net.au which actually is an existing page. Motto of this story is: your app is not running or not on port 8080 :-) Patrick Ale System administrator Freeler B.V Muda o mundo, começe com você mesmo -Oorspronkelijk bericht- Van: Adam Hardy [mailto:[EMAIL PROTECTED] Verzonden: maandag 8 december 2003 13:29 Aan: Tomcat Users List Onderwerp: connection refused, localhost not found Hi Listers I'm sceptical whether anybody else has ever suffered this bizarre problem so I'm not expecting anybody to be able to help, but this is seriously damaging my enjoyment of Monday morning. I have tomcat 5.0.14 set up on one computer and it works fine mostly, i.e. root context, JSP examples, manager apps are working fine. The problem is with the app I'm developing. On Friday night last week I did loads of debugging to sort out the JNDI connection pool, e.g. configuring the app context, the web.xml etc. Now when I try to call up http://localhost:8080/myapp/ the browser zooms off to find http://www.localhost.net.au! When I try http://127.0.0.1:8080/myapp/ I get a 'connection refused' pop-up from the browsers - on my machine and on others. (root context still works as I said). Obviously I tried restarting tomcat, redeploying the app, taking out all the filters, changing the context name, checked server.xml. Anybody care to take a wild guess about what I need to do? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: connection refused, localhost not found
Now when I try to call up http://localhost:8080/myapp/ the browser zooms off to find http://www.localhost.net.au! When I try http://127.0.0.1:8080/myapp/ I get a 'connection refused' pop-up from the browsers - on my machine and on others. (root context still works as I said). My instant reaction was - start tomcat. Then I read: Obviously I tried restarting tomcat, redeploying the app, taking out all the filters, changing the context name, checked server.xml. I had this when I was developing. I closed tomcat but because I had Lynx open I assumed that the dos window was the tomcat instance. Took me about 10 minutes to figure my error. I wonder how many hits that guy gets due to the localhost error? Hope he pays by the megabyte because that is a big page to serve up:-) G. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: connection refused, localhost not found
On 12/08/2003 02:41 PM Graham Reeds wrote: Obviously I tried restarting tomcat, redeploying the app, taking out all the filters, changing the context name, checked server.xml. I had this when I was developing. I closed tomcat but because I had Lynx open I assumed that the dos window was the tomcat instance. Took me about 10 minutes to figure my error. I wonder how many hits that guy gets due to the localhost error? Hope he pays by the megabyte because that is a big page to serve up:-) Cheesy internet marketing rubbish - guess he reckons the traffic will someday turn into dollars! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: connection refused, localhost not found
Oops, sorry being a plonker. Had the ports in my config for the sslext (ssl redirect) module set up for the production box to 80 443 instead of 8080 8443 for development. Sorry for the waste of time bandwidth! On 12/08/2003 02:32 PM Adam Hardy wrote: I changed the web.xml and have now managed to get tomcat to generate a status 404. This is also what comes thro to telnet. Strange because the context appears in tomcat manager as running, with sessions. I'm thinking about upgrading to 5.0.16 on this machine but I wanted to solve this problem before tackling the upgrade. On 12/08/2003 02:19 PM Patrick Ale wrote: what happens when you do: telnet localhost 8080 GET /myapp/ HTTP/1.1enter host: localhostenter enter enter Patrick Ale System administrator Freeler B.V Email: [EMAIL PROTECTED] Tel.: +31 320 267678 Muda o mundo, começe com você mesmo -Oorspronkelijk bericht- Van: Adam Hardy [mailto:[EMAIL PROTECTED] Verzonden: maandag 8 december 2003 14:16 Aan: Tomcat Users List Onderwerp: Re: connection refused, localhost not found The app is not running, yup, guess I can't argue with that. Unfortunately it's not logging any exceptions. I see that tomcat starts a session for the context, and it logs the request in localhost_access_log, but otherwise, it's dead as a dodo. It's definitely on 8080 - the other contexts are obviously on 8080 and still run fine. On 12/08/2003 01:41 PM Patrick Ale wrote: Well, I got this problem with MLDonkey (not really java, I know but hey.. :P) This simply means your program crashes on startup and that nothing listens on port 8080. Now.. dunno what browser you use but I had this with Mozilla. I tried to connect to http://localhost:4080/ it didnt find anything on that port so it went on with resolving random/known by mozilla things, till it found localhost.net.au which actually is an existing page. Motto of this story is: your app is not running or not on port 8080 :-) Patrick Ale System administrator Freeler B.V Muda o mundo, começe com você mesmo -Oorspronkelijk bericht- Van: Adam Hardy [mailto:[EMAIL PROTECTED] Verzonden: maandag 8 december 2003 13:29 Aan: Tomcat Users List Onderwerp: connection refused, localhost not found Hi Listers I'm sceptical whether anybody else has ever suffered this bizarre problem so I'm not expecting anybody to be able to help, but this is seriously damaging my enjoyment of Monday morning. I have tomcat 5.0.14 set up on one computer and it works fine mostly, i.e. root context, JSP examples, manager apps are working fine. The problem is with the app I'm developing. On Friday night last week I did loads of debugging to sort out the JNDI connection pool, e.g. configuring the app context, the web.xml etc. Now when I try to call up http://localhost:8080/myapp/ the browser zooms off to find http://www.localhost.net.au! When I try http://127.0.0.1:8080/myapp/ I get a 'connection refused' pop-up from the browsers - on my machine and on others. (root context still works as I said). Obviously I tried restarting tomcat, redeploying the app, taking out all the filters, changing the context name, checked server.xml. Anybody care to take a wild guess about what I need to do? - 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: connection refused, localhost not found
It's my boss' bandwith, who's carring? :P And atleast noone has to worry about our friend localhost.net.au anymore when it appears ;-) Patrick Ale System administrator Freeler B.V Email: [EMAIL PROTECTED] Tel.: +31 320 267678 Muda o mundo, começe com você mesmo -Oorspronkelijk bericht- Van: Adam Hardy [mailto:[EMAIL PROTECTED] Verzonden: maandag 8 december 2003 15:39 Aan: Tomcat Users List Onderwerp: Re: connection refused, localhost not found Oops, sorry being a plonker. Had the ports in my config for the sslext (ssl redirect) module set up for the production box to 80 443 instead of 8080 8443 for development. Sorry for the waste of time bandwidth! On 12/08/2003 02:32 PM Adam Hardy wrote: I changed the web.xml and have now managed to get tomcat to generate a status 404. This is also what comes thro to telnet. Strange because the context appears in tomcat manager as running, with sessions. I'm thinking about upgrading to 5.0.16 on this machine but I wanted to solve this problem before tackling the upgrade. On 12/08/2003 02:19 PM Patrick Ale wrote: what happens when you do: telnet localhost 8080 GET /myapp/ HTTP/1.1enter host: localhostenter enter enter Patrick Ale System administrator Freeler B.V Email: [EMAIL PROTECTED] Tel.: +31 320 267678 Muda o mundo, começe com você mesmo -Oorspronkelijk bericht- Van: Adam Hardy [mailto:[EMAIL PROTECTED] Verzonden: maandag 8 december 2003 14:16 Aan: Tomcat Users List Onderwerp: Re: connection refused, localhost not found The app is not running, yup, guess I can't argue with that. Unfortunately it's not logging any exceptions. I see that tomcat starts a session for the context, and it logs the request in localhost_access_log, but otherwise, it's dead as a dodo. It's definitely on 8080 - the other contexts are obviously on 8080 and still run fine. On 12/08/2003 01:41 PM Patrick Ale wrote: Well, I got this problem with MLDonkey (not really java, I know but hey.. :P) This simply means your program crashes on startup and that nothing listens on port 8080. Now.. dunno what browser you use but I had this with Mozilla. I tried to connect to http://localhost:4080/ it didnt find anything on that port so it went on with resolving random/known by mozilla things, till it found localhost.net.au which actually is an existing page. Motto of this story is: your app is not running or not on port 8080 :-) Patrick Ale System administrator Freeler B.V Muda o mundo, começe com você mesmo -Oorspronkelijk bericht- Van: Adam Hardy [mailto:[EMAIL PROTECTED] Verzonden: maandag 8 december 2003 13:29 Aan: Tomcat Users List Onderwerp: connection refused, localhost not found Hi Listers I'm sceptical whether anybody else has ever suffered this bizarre problem so I'm not expecting anybody to be able to help, but this is seriously damaging my enjoyment of Monday morning. I have tomcat 5.0.14 set up on one computer and it works fine mostly, i.e. root context, JSP examples, manager apps are working fine. The problem is with the app I'm developing. On Friday night last week I did loads of debugging to sort out the JNDI connection pool, e.g. configuring the app context, the web.xml etc. Now when I try to call up http://localhost:8080/myapp/ the browser zooms off to find http://www.localhost.net.au! When I try http://127.0.0.1:8080/myapp/ I get a 'connection refused' pop-up from the browsers - on my machine and on others. (root context still works as I said). Obviously I tried restarting tomcat, redeploying the app, taking out all the filters, changing the context name, checked server.xml. Anybody care to take a wild guess about what I need to do? - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: connection refused, localhost not found
I took out the welcome-file config in web.xml and now I just get a plain status 404. But the tomcat manager shows the context is started and has a session after I try to access it. On 12/08/2003 02:32 PM Adam Hardy wrote: I changed the web.xml and have now managed to get tomcat to generate a status 404. This is also what comes thro to telnet. Strange because the context appears in tomcat manager as running, with sessions. I'm thinking about upgrading to 5.0.16 on this machine but I wanted to solve this problem before tackling the upgrade. On 12/08/2003 02:19 PM Patrick Ale wrote: what happens when you do: telnet localhost 8080 GET /myapp/ HTTP/1.1enter host: localhostenter enter enter Patrick Ale System administrator Freeler B.V Email: [EMAIL PROTECTED] Tel.: +31 320 267678 Muda o mundo, começe com você mesmo -Oorspronkelijk bericht- Van: Adam Hardy [mailto:[EMAIL PROTECTED] Verzonden: maandag 8 december 2003 14:16 Aan: Tomcat Users List Onderwerp: Re: connection refused, localhost not found The app is not running, yup, guess I can't argue with that. Unfortunately it's not logging any exceptions. I see that tomcat starts a session for the context, and it logs the request in localhost_access_log, but otherwise, it's dead as a dodo. It's definitely on 8080 - the other contexts are obviously on 8080 and still run fine. On 12/08/2003 01:41 PM Patrick Ale wrote: Well, I got this problem with MLDonkey (not really java, I know but hey.. :P) This simply means your program crashes on startup and that nothing listens on port 8080. Now.. dunno what browser you use but I had this with Mozilla. I tried to connect to http://localhost:4080/ it didnt find anything on that port so it went on with resolving random/known by mozilla things, till it found localhost.net.au which actually is an existing page. Motto of this story is: your app is not running or not on port 8080 :-) Patrick Ale System administrator Freeler B.V Muda o mundo, começe com você mesmo -Oorspronkelijk bericht- Van: Adam Hardy [mailto:[EMAIL PROTECTED] Verzonden: maandag 8 december 2003 13:29 Aan: Tomcat Users List Onderwerp: connection refused, localhost not found Hi Listers I'm sceptical whether anybody else has ever suffered this bizarre problem so I'm not expecting anybody to be able to help, but this is seriously damaging my enjoyment of Monday morning. I have tomcat 5.0.14 set up on one computer and it works fine mostly, i.e. root context, JSP examples, manager apps are working fine. The problem is with the app I'm developing. On Friday night last week I did loads of debugging to sort out the JNDI connection pool, e.g. configuring the app context, the web.xml etc. Now when I try to call up http://localhost:8080/myapp/ the browser zooms off to find http://www.localhost.net.au! When I try http://127.0.0.1:8080/myapp/ I get a 'connection refused' pop-up from the browsers - on my machine and on others. (root context still works as I said). Obviously I tried restarting tomcat, redeploying the app, taking out all the filters, changing the context name, checked server.xml. Anybody care to take a wild guess about what I need to do? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: connection refused, localhost not found
i disagree with you, since the root context works fine he's got a server up and running listenning on port 8080 but his app does create an error/interaction with it (hope i got this correct for the original email) Unfortunately i haven't got a clue what is wrongDoes your app handle some network code that could cause it to crash when loaded via te url : http://localhost:8080/myapp/ ? - Original Message - From: Patrick Ale [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, December 08, 2003 1:41 PM Subject: RE: connection refused, localhost not found Well, I got this problem with MLDonkey (not really java, I know but hey.. :P) This simply means your program crashes on startup and that nothing listens on port 8080. Now.. dunno what browser you use but I had this with Mozilla. I tried to connect to http://localhost:4080/ it didnt find anything on that port so it went on with resolving random/known by mozilla things, till it found localhost.net.au which actually is an existing page. Motto of this story is: your app is not running or not on port 8080 :-) Patrick Ale System administrator Freeler B.V Muda o mundo, começe com você mesmo -Oorspronkelijk bericht- Van: Adam Hardy [mailto:[EMAIL PROTECTED] Verzonden: maandag 8 december 2003 13:29 Aan: Tomcat Users List Onderwerp: connection refused, localhost not found Hi Listers I'm sceptical whether anybody else has ever suffered this bizarre problem so I'm not expecting anybody to be able to help, but this is seriously damaging my enjoyment of Monday morning. I have tomcat 5.0.14 set up on one computer and it works fine mostly, i.e. root context, JSP examples, manager apps are working fine. The problem is with the app I'm developing. On Friday night last week I did loads of debugging to sort out the JNDI connection pool, e.g. configuring the app context, the web.xml etc. Now when I try to call up http://localhost:8080/myapp/ the browser zooms off to find http://www.localhost.net.au! When I try http://127.0.0.1:8080/myapp/ I get a 'connection refused' pop-up from the browsers - on my machine and on others. (root context still works as I said). Obviously I tried restarting tomcat, redeploying the app, taking out all the filters, changing the context name, checked server.xml. Anybody care to take a wild guess about what I need to do? Tx Adam - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: connection refused, localhost not found
one idea that jumps in my head after re-reading your original post is : did you configure well the entry for your app in the web.xml file? just an idea (as you said you were looking for wild guesses ;) ) - Original Message - From: Adam Hardy [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, December 08, 2003 1:28 PM Subject: connection refused, localhost not found Hi Listers I'm sceptical whether anybody else has ever suffered this bizarre problem so I'm not expecting anybody to be able to help, but this is seriously damaging my enjoyment of Monday morning. I have tomcat 5.0.14 set up on one computer and it works fine mostly, i.e. root context, JSP examples, manager apps are working fine. The problem is with the app I'm developing. On Friday night last week I did loads of debugging to sort out the JNDI connection pool, e.g. configuring the app context, the web.xml etc. Now when I try to call up http://localhost:8080/myapp/ the browser zooms off to find http://www.localhost.net.au! When I try http://127.0.0.1:8080/myapp/ I get a 'connection refused' pop-up from the browsers - on my machine and on others. (root context still works as I said). Obviously I tried restarting tomcat, redeploying the app, taking out all the filters, changing the context name, checked server.xml. Anybody care to take a wild guess about what I need to do? Tx Adam - 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: connection refused, localhost not found
If I read correctly, he said root context still worked. This means the server is running. What is lost is the ability to move to another context. Since the standard context are working, it sounds like a typo in the setup. Learning the details myself, so maybe someone else can narrow the area to search. Doug - Original Message - From: Patrick Ale [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, December 08, 2003 7:41 AM Subject: RE: connection refused, localhost not found Well, I got this problem with MLDonkey (not really java, I know but hey.. :P) This simply means your program crashes on startup and that nothing listens on port 8080. Now.. dunno what browser you use but I had this with Mozilla. I tried to connect to http://localhost:4080/ it didnt find anything on that port so it went on with resolving random/known by mozilla things, till it found localhost.net.au which actually is an existing page. Motto of this story is: your app is not running or not on port 8080 :-) Patrick Ale System administrator Freeler B.V Muda o mundo, começe com você mesmo -Oorspronkelijk bericht- Van: Adam Hardy [mailto:[EMAIL PROTECTED] Verzonden: maandag 8 december 2003 13:29 Aan: Tomcat Users List Onderwerp: connection refused, localhost not found Hi Listers I'm sceptical whether anybody else has ever suffered this bizarre problem so I'm not expecting anybody to be able to help, but this is seriously damaging my enjoyment of Monday morning. I have tomcat 5.0.14 set up on one computer and it works fine mostly, i.e. root context, JSP examples, manager apps are working fine. The problem is with the app I'm developing. On Friday night last week I did loads of debugging to sort out the JNDI connection pool, e.g. configuring the app context, the web.xml etc. Now when I try to call up http://localhost:8080/myapp/ the browser zooms off to find http://www.localhost.net.au! When I try http://127.0.0.1:8080/myapp/ I get a 'connection refused' pop-up from the browsers - on my machine and on others. (root context still works as I said). Obviously I tried restarting tomcat, redeploying the app, taking out all the filters, changing the context name, checked server.xml. Anybody care to take a wild guess about what I need to do? Tx Adam - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: connection refused, localhost not found
Does the manager report that the context is loaded? -Original Message- From: Damien Pacaud [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2003 7:46 AM To: Tomcat Users List Subject: Re: connection refused, localhost not found i disagree with you, since the root context works fine he's got a server up and running listenning on port 8080 but his app does create an error/interaction with it (hope i got this correct for the original email) Unfortunately i haven't got a clue what is wrongDoes your app handle some network code that could cause it to crash when loaded via te url : http://localhost:8080/myapp/ ? - Original Message - From: Patrick Ale [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, December 08, 2003 1:41 PM Subject: RE: connection refused, localhost not found Well, I got this problem with MLDonkey (not really java, I know but hey.. :P) This simply means your program crashes on startup and that nothing listens on port 8080. Now.. dunno what browser you use but I had this with Mozilla. I tried to connect to http://localhost:4080/ it didnt find anything on that port so it went on with resolving random/known by mozilla things, till it found localhost.net.au which actually is an existing page. Motto of this story is: your app is not running or not on port 8080 :-) Patrick Ale System administrator Freeler B.V Muda o mundo, começe com você mesmo -Oorspronkelijk bericht- Van: Adam Hardy [mailto:[EMAIL PROTECTED] Verzonden: maandag 8 december 2003 13:29 Aan: Tomcat Users List Onderwerp: connection refused, localhost not found Hi Listers I'm sceptical whether anybody else has ever suffered this bizarre problem so I'm not expecting anybody to be able to help, but this is seriously damaging my enjoyment of Monday morning. I have tomcat 5.0.14 set up on one computer and it works fine mostly, i.e. root context, JSP examples, manager apps are working fine. The problem is with the app I'm developing. On Friday night last week I did loads of debugging to sort out the JNDI connection pool, e.g. configuring the app context, the web.xml etc. Now when I try to call up http://localhost:8080/myapp/ the browser zooms off to find http://www.localhost.net.au! When I try http://127.0.0.1:8080/myapp/ I get a 'connection refused' pop-up from the browsers - on my machine and on others. (root context still works as I said). Obviously I tried restarting tomcat, redeploying the app, taking out all the filters, changing the context name, checked server.xml. Anybody care to take a wild guess about what I need to do? Tx Adam - 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] - 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]
Connection refused error under load with tomcat 3.3.1 on Windows XP
We're running a load script on our tomcat server and seeing connection refused errors on the client. Server Configuration: Vanilla tomcat (not fronted with Apache) 3.3.1 -Xmx 800MB -Xms512M Windows XP 2.8 Ghz Hyperthreaded 800Mhz front side bus, 1 CPU 1.5 GB memory. On the client load test we are using Java, connection with the URL class. We see (don't know if it's immediate yet) a connection refused error only under load. The higher the number of concurrent users (or load in general), the more errors. Has anyone else seen this problem? Btw... we tried fronting this with Apache, mod_jk and found we received 500 errors instead. Mod_jk got the connection refused errors instead. Thanks, Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Connection refused error under load with tomcat 3.3.1 on Windows XP
The Http10Connector has issues with XP :(. Most of them require that you set the 'socketCloseDelay' attribute on the connector (e.g 'socketCloseDelay=1000' to add a one-second delay). However, this is usually a problem with POSTed messages. From your description, it's sounding like you need to increase your maxThreads setting on the Connector. I'm guessing that you are throwing more requests at the box then it is configured to handle. You can mitigate this somewhat by increasing the 'backlog' setting, but it mostly just shifts the problem to your TCP stack. You could also try using the CoyoteConnector2 from the nightly (which is basically the same HTTP/1.1 connector that TC 4.1.x TC 5.x are using). It tends to work much better on XP (well, actually, it works much better in general :). Dave Brewster [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] We're running a load script on our tomcat server and seeing connection refused errors on the client. Server Configuration: Vanilla tomcat (not fronted with Apache) 3.3.1 -Xmx 800MB -Xms512M Windows XP 2.8 Ghz Hyperthreaded 800Mhz front side bus, 1 CPU 1.5 GB memory. On the client load test we are using Java, connection with the URL class. We see (don't know if it's immediate yet) a connection refused error only under load. The higher the number of concurrent users (or load in general), the more errors. Has anyone else seen this problem? Btw... we tried fronting this with Apache, mod_jk and found we received 500 errors instead. Mod_jk got the connection refused errors instead. Thanks, Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Catalina.stop: java.net.ConnectException: Connection refused
Anyone? It's quite urgent and I'm stuck now... On Sun, 21 Sep 2003 21:53:30 +0200, Ilja [EMAIL PROTECTED] said: Tomcat suddenly stopped working without any obvious reason... Config: Tomcat 5.09 Mac OSX 10.2.6 error: Catalina.stop: java.net.ConnectException: Connection refused java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) at java.net.Socket.connect(Socket.java:426) at java.net.Socket.connect(Socket.java:376) at java.net.Socket.init(Socket.java:291) at java.net.Socket.init(Socket.java:119) at org.apache.catalina.startup.Catalina.stop(Catalina.java:581) at org.apache.catalina.startup.Catalina.execute(Catalina.java:402) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) Anyone? - 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: Catalina.stop: java.net.ConnectException: Connection refused
Possibly Tomcat or something else is already running on your TC port, therefore TC cannot start. Run a simple ps -ef | grep java and kill all TC processes, restart TC. -Original Message- From: Ilja Hehenkamp [mailto:[EMAIL PROTECTED] Sent: 22 September 2003 10:43 To: [EMAIL PROTECTED] Subject: Re: Catalina.stop: java.net.ConnectException: Connection refused Anyone? It's quite urgent and I'm stuck now... On Sun, 21 Sep 2003 21:53:30 +0200, Ilja [EMAIL PROTECTED] said: Tomcat suddenly stopped working without any obvious reason... Config: Tomcat 5.09 Mac OSX 10.2.6 error: Catalina.stop: java.net.ConnectException: Connection refused java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) at java.net.Socket.connect(Socket.java:426) at java.net.Socket.connect(Socket.java:376) at java.net.Socket.init(Socket.java:291) at java.net.Socket.init(Socket.java:119) at org.apache.catalina.startup.Catalina.stop(Catalina.java:581) at org.apache.catalina.startup.Catalina.execute(Catalina.java:402) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) Anyone? - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Catalina.stop: java.net.ConnectException: Connection refused
Tomcat suddenly stopped working without any obvious reason... Config: Tomcat 5.09 Mac OSX 10.2.6 error: Catalina.stop: java.net.ConnectException: Connection refused java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) at java.net.Socket.connect(Socket.java:426) at java.net.Socket.connect(Socket.java:376) at java.net.Socket.init(Socket.java:291) at java.net.Socket.init(Socket.java:119) at org.apache.catalina.startup.Catalina.stop(Catalina.java:581) at org.apache.catalina.startup.Catalina.execute(Catalina.java:402) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) Anyone? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Fwd: Delivery problems: Catalina.stop: java.net.ConnectException: Connection refused
Why do I always get this message when I send an email to this list? 1) I subscribed to the list and confirmed it as well, even got a confirmation from the mailinglist deamon 2) the messages still do seem to arrive 3) I've send an email to the emailadres in this email, but nothing has changed yet... On 21 Sep 2003 15:53:57 -0400, MAILER-DAEMON [EMAIL PROTECTED] said: This is an unknown user on this system. Please check the address. If you think there is a problem on our end, please send a message to [EMAIL PROTECTED] Please include the email address. Thank You. Warning, delivery failure! This is a status message indicating that a message could not be delivered to 1 or more recipients. Original message subject: Catalina.stop: java.net.ConnectException: Connection refused Date received: 21-Sep-2003 15:53:50 -0400 Recipients and delivery history [EMAIL PROTECTED] Transcript of session follows --- 21-Sep-2003 15:53:49 -0400 Received via SMTP from ASG.CHIINC.COM 21-Sep-2003 15:53:57 -0400 [EMAIL PROTECTED] is unknown Attachment2 Description: application/unknown ---BeginMessage--- Tomcat suddenly stopped working without any obvious reason... Config: Tomcat 5.09 Mac OSX 10.2.6 error: Catalina.stop: java.net.ConnectException: Connection refused java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) at java.net.Socket.connect(Socket.java:426) at java.net.Socket.connect(Socket.java:376) at java.net.Socket.init(Socket.java:291) at java.net.Socket.init(Socket.java:119) at org.apache.catalina.startup.Catalina.stop(Catalina.java:581) at org.apache.catalina.startup.Catalina.execute(Catalina.java:402) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) Anyone? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ---End Message--- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Catalina.stop: java.net.ConnectException: Connection refused
Tomcat suddenly stopped working without any obvious reason... Config: Tomcat 5.09 Mac OSX 10.2.6 error: Catalina.stop: java.net.ConnectException: Connection refused java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) at java.net.Socket.connect(Socket.java:426) at java.net.Socket.connect(Socket.java:376) at java.net.Socket.init(Socket.java:291) at java.net.Socket.init(Socket.java:119) at org.apache.catalina.startup.Catalina.stop(Catalina.java:581) at org.apache.catalina.startup.Catalina.execute(Catalina.java:402) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) Anyone? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Fwd: Delivery problems: Catalina.stop: java.net.ConnectException: Connection refused
It's not complaining about you, just about some address registered on the list. It looks like the tomcat list tried to forward a email to a user at chiinc.com but was unable to do so for the reason listed below. I get that from time to time as well. Ilja wrote: Why do I always get this message when I send an email to this list? 1) I subscribed to the list and confirmed it as well, even got a confirmation from the mailinglist deamon 2) the messages still do seem to arrive 3) I've send an email to the emailadres in this email, but nothing has changed yet... On 21 Sep 2003 15:53:57 -0400, MAILER-DAEMON [EMAIL PROTECTED] said: This is an unknown user on this system. Please check the address. If you think there is a problem on our end, please send a message to [EMAIL PROTECTED] Please include the email address. Thank You. Warning, delivery failure! This is a status message indicating that a message could not be delivered to 1 or more recipients. Original message subject: Catalina.stop: java.net.ConnectException: Connection refused Date received: 21-Sep-2003 15:53:50 -0400 Recipients and delivery history [EMAIL PROTECTED] Transcript of session follows --- 21-Sep-2003 15:53:49 -0400 Received via SMTP from ASG.CHIINC.COM 21-Sep-2003 15:53:57 -0400 [EMAIL PROTECTED] is unknown Subject: Catalina.stop: java.net.ConnectException: Connection refused From: Ilja [EMAIL PROTECTED] Date: Sun, 21 Sep 2003 21:53:30 +0200 To: [EMAIL PROTECTED] Tomcat suddenly stopped working without any obvious reason... Config: Tomcat 5.09 Mac OSX 10.2.6 error: Catalina.stop: java.net.ConnectException: Connection refused java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) at java.net.Socket.connect(Socket.java:426) at java.net.Socket.connect(Socket.java:376) at java.net.Socket.init(Socket.java:291) at java.net.Socket.init(Socket.java:119) at org.apache.catalina.startup.Catalina.stop(Catalina.java:581) at org.apache.catalina.startup.Catalina.execute(Catalina.java:402) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) Anyone? - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
java.net.ConnectException: Connection refused:
Hi, If this isn't the correct group, apologies. I am relatively new to Tomcat, but am interested in using it with the Java Web Service Dev Kit ( Catalina ). I have a couple of introductory questions. 1. I seem to remember in Tomcat 3.x / 4.x a directory structure with it. In the JWSDK there is only a bin directory. Why is this? 2. I think I was able to start Tomcat, but when I run an Ant build file I get BUILD FAILED file:D:/JavaWebServices/jwsdp-1.1/docs/tutorial/examples/gs/build.xml:83: java.net.ConnectException: Connection refused: connect I had read that this was because Tomcat had not started, but I could look at the Tomcat Admin page through my web browser. I thought this was evidence that it had started correctly. However I came across a post asking to try catalina start when I did this I get Error: org/apache/commons/launcher/LaunchFilte Is this the reason I get the conection refused? If so how do I fix it. Any help greatly appreciated.
RE: Tomcat doesn't shutdown: java.net.ConnectException: Connection refused
Howdy, Annoying problem, good solution, good post. Thanks! Yoav Shapira Millennium ChemInformatics -Original Message- From: Daniel Farinha [mailto:[EMAIL PROTECTED] Sent: Friday, July 18, 2003 11:50 PM To: [EMAIL PROTECTED] Subject: Tomcat doesn't shutdown: java.net.ConnectException: Connection refused It took way too long to find a solution. Others in this list have described this problem, so hopefully this might solve it for them too. The problem: Tomcat starts and runs fine. It listens on 8080 as usual, and does its stuff. But when you try shutting down, you get the following error: Catalina.stop: java.net.ConnectException: Connection refused java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) at java.net.Socket.connect(Socket.java:434) at java.net.Socket.connect(Socket.java:384) at java.net.Socket.init(Socket.java:291) at java.net.Socket.init(Socket.java:119) at org.apache.catalina.startup.Catalina.stop(Catalina.java:581) at org.apache.catalina.startup.Catalina.execute(Catalina.java:402) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja va:3 9) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso rImp l.jav a:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) It's identical to the error you get when you try shutting down when it's not running. But in my case (and some others in this list) it _was_ running. Well, in my case the problem was iptables. My firewall settings were very restrictive, and port 8005 was being blocked, which tomcat uses for shutdown. I opened port 8005 on the firewall and all worked fine. Hope this saves someone from all the trouble that I went through... It took me hours, several jdk and tomcat re-installations and a visit to IRC #tomcat to find that one out. Regards Daniel Farinha - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat doesn't shutdown: java.net.ConnectException: Connection refused
It took way too long to find a solution. Others in this list have described this problem, so hopefully this might solve it for them too. The problem: Tomcat starts and runs fine. It listens on 8080 as usual, and does its stuff. But when you try shutting down, you get the following error: Catalina.stop: java.net.ConnectException: Connection refused java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) at java.net.Socket.connect(Socket.java:434) at java.net.Socket.connect(Socket.java:384) at java.net.Socket.init(Socket.java:291) at java.net.Socket.init(Socket.java:119) at org.apache.catalina.startup.Catalina.stop(Catalina.java:581) at org.apache.catalina.startup.Catalina.execute(Catalina.java:402) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav a:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) It's identical to the error you get when you try shutting down when it's not running. But in my case (and some others in this list) it _was_ running. Well, in my case the problem was iptables. My firewall settings were very restrictive, and port 8005 was being blocked, which tomcat uses for shutdown. I opened port 8005 on the firewall and all worked fine. Hope this saves someone from all the trouble that I went through... It took me hours, several jdk and tomcat re-installations and a visit to IRC #tomcat to find that one out. Regards Daniel Farinha - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
connect failed localhost:8009 146 Connection refused
I can start tomcat with no errors but when I start apache I get the first 6 lines listed below. When I try to connect to http://localhost/examples I get the remaining errors. Any ideas? [Wed Feb 26 11:34:52 2003] [error] jk2_init() Can't find child 405 in scoreboard [Wed Feb 26 11:34:52 2003] [error] mod_jk child init 1 0 [Wed Feb 26 11:34:52 2003] [error] mod_jk child init 1 -2 [Wed Feb 26 11:34:52 2003] [error] jk2_init() Can't find child 407 in scoreboard [Wed Feb 26 11:34:52 2003] [error] mod_jk child init 1 -2 [Wed Feb 26 11:34:52 2003] [notice] Apache/2.0.44 (Unix) mod_jk2/2.0.3-dev confi gured -- resuming normal operations [Wed Feb 26 11:35:10 2003] [error] channelSocket.open() connect failed localhost :8009 146 Connection refused [Wed Feb 26 11:35:10 2003] [error] ajp13.connect() failed ajp13:localhost:8009 [Wed Feb 26 11:35:10 2003] [error] ajp13.service() failed to connect endpoint er rno=146 Connection refused Charles (Allen) Jordan [EMAIL PROTECTED] System Administrator(407)771-8919 Convergys 285 International Parkway, Lake Mary, FL 32746-5007 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Connection refused question
I am not able to get to http://localhost/examples I get the following errors in my apache error_log file. Any ideas? Where does it look for the examples directory and what sets it? [Wed Feb 26 11:35:10 2003] [error] channelSocket.open() connect failed localhost :8009 146 Connection refused [Wed Feb 26 11:35:10 2003] [error] ajp13.connect() failed ajp13:localhost:8009 [Wed Feb 26 11:35:10 2003] [error] ajp13.service() failed to connect endpoint er rno=146 Connection refused [Wed Feb 26 11:35:10 2003] [error] ajp13.service() Error forwarding ajp13:local host:8009 1 1 [Wed Feb 26 11:35:10 2003] [error] lb.service() worker failed 12 for ajp13:l ocalhost:8009 Charles (Allen) Jordan [EMAIL PROTECTED] System Administrator(407)771-8919 Convergys 285 International Parkway, Lake Mary, FL 32746-5007 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Connection refused question
Do you have an AJP13-compatible connector listening on port 8009? John -Original Message- From: Charles A Jordan [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 1:05 PM To: [EMAIL PROTECTED] Subject: Connection refused question I am not able to get to http://localhost/examples I get the following errors in my apache error_log file. Any ideas? Where does it look for the examples directory and what sets it? [Wed Feb 26 11:35:10 2003] [error] channelSocket.open() connect failed localhost :8009 146 Connection refused [Wed Feb 26 11:35:10 2003] [error] ajp13.connect() failed ajp13:localhost:8009 [Wed Feb 26 11:35:10 2003] [error] ajp13.service() failed to connect endpoint er rno=146 Connection refused [Wed Feb 26 11:35:10 2003] [error] ajp13.service() Error forwarding ajp13:local host:8009 1 1 [Wed Feb 26 11:35:10 2003] [error] lb.service() worker failed 12 for ajp13:l ocalhost:8009 Charles (Allen) Jordan [EMAIL PROTECTED] System Administrator(407)771-8919 Convergys 285 International Parkway, Lake Mary, FL 32746-5007 - 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: Connection refused question
Which tomcat connector are you using, jk or jk2? For jk2, check workers2.properties, jk2.properties and server.xml. I don't use jk. Regards, PQ This Guy Thinks He Knows Everything This Guy Thinks He Knows What He Is Doing -Original Message- From: Charles A Jordan [mailto:[EMAIL PROTECTED] Sent: February 26, 2003 1:05 PM To: [EMAIL PROTECTED] Subject: Connection refused question I am not able to get to http://localhost/examples I get the following errors in my apache error_log file. Any ideas? Where does it look for the examples directory and what sets it? [Wed Feb 26 11:35:10 2003] [error] channelSocket.open() connect failed localhost :8009 146 Connection refused [Wed Feb 26 11:35:10 2003] [error] ajp13.connect() failed ajp13:localhost:8009 [Wed Feb 26 11:35:10 2003] [error] ajp13.service() failed to connect endpoint er rno=146 Connection refused [Wed Feb 26 11:35:10 2003] [error] ajp13.service() Error forwarding ajp13:local host:8009 1 1 [Wed Feb 26 11:35:10 2003] [error] lb.service() worker failed 12 for ajp13:l ocalhost:8009 Charles (Allen) Jordan [EMAIL PROTECTED] System Administrator(407)771-8919 Convergys 285 International Parkway, Lake Mary, FL 32746-5007 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Connection refused question
How do I tell? Do you have an AJP13-compatible connector listening on port 8009? John -Original Message- From: Charles A Jordan [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 1:05 PM To: [EMAIL PROTECTED] Subject: Connection refused question I am not able to get to http://localhost/examples I get the following errors in my apache error_log file. Any ideas? Where does it look for the examples directory and what sets it? [Wed Feb 26 11:35:10 2003] [error] channelSocket.open() connect failed localhost :8009 146 Connection refused [Wed Feb 26 11:35:10 2003] [error] ajp13.connect() failed ajp13:localhost:8009 [Wed Feb 26 11:35:10 2003] [error] ajp13.service() failed to connect endpoint er rno=146 Connection refused [Wed Feb 26 11:35:10 2003] [error] ajp13.service() Error forwarding ajp13:local host:8009 1 1 [Wed Feb 26 11:35:10 2003] [error] lb.service() worker failed 12 for ajp13:l ocalhost:8009 Charles (Allen) Jordan [EMAIL PROTECTED] System Administrator(407)771-8919 Convergys 285 International Parkway, Lake Mary, FL 32746-5007 - 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] Charles (Allen) Jordan [EMAIL PROTECTED] System Administrator(407)771-8919 Convergys 285 International Parkway, Lake Mary, FL 32746-5007 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Connection refused question
I'm using jk2 Which tomcat connector are you using, jk or jk2? For jk2, check workers2.properties, jk2.properties and server.xml. I don't use jk. Regards, PQ This Guy Thinks He Knows Everything This Guy Thinks He Knows What He Is Doing -Original Message- From: Charles A Jordan [mailto:[EMAIL PROTECTED] Sent: February 26, 2003 1:05 PM To: [EMAIL PROTECTED] Subject: Connection refused question I am not able to get to http://localhost/examples I get the following errors in my apache error_log file. Any ideas? Where does it look for the examples directory and what sets it? [Wed Feb 26 11:35:10 2003] [error] channelSocket.open() connect failed localhost :8009 146 Connection refused [Wed Feb 26 11:35:10 2003] [error] ajp13.connect() failed ajp13:localhost:8009 [Wed Feb 26 11:35:10 2003] [error] ajp13.service() failed to connect endpoint er rno=146 Connection refused [Wed Feb 26 11:35:10 2003] [error] ajp13.service() Error forwarding ajp13:local host:8009 1 1 [Wed Feb 26 11:35:10 2003] [error] lb.service() worker failed 12 for ajp13:l ocalhost:8009 Charles (Allen) Jordan [EMAIL PROTECTED] System Administrator(407)771-8919 Convergys 285 International Parkway, Lake Mary, FL 32746-5007 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Charles (Allen) Jordan [EMAIL PROTECTED] System Administrator(407)771-8919 Convergys 285 International Parkway, Lake Mary, FL 32746-5007 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Connection refused question
You look in server.xml for a Connector on port 8009. It's there by default, so unless you changed it or your server.xml file was otherwised munged up, it should be there. John -Original Message- From: Charles A Jordan [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 1:20 PM To: [EMAIL PROTECTED] Subject: RE: Connection refused question How do I tell? Do you have an AJP13-compatible connector listening on port 8009? John -Original Message- From: Charles A Jordan [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 1:05 PM To: [EMAIL PROTECTED] Subject: Connection refused question I am not able to get to http://localhost/examples I get the following errors in my apache error_log file. Any ideas? Where does it look for the examples directory and what sets it? [Wed Feb 26 11:35:10 2003] [error] channelSocket.open() connect failed localhost :8009 146 Connection refused [Wed Feb 26 11:35:10 2003] [error] ajp13.connect() failed ajp13:localhost:8009 [Wed Feb 26 11:35:10 2003] [error] ajp13.service() failed to connect endpoint er rno=146 Connection refused [Wed Feb 26 11:35:10 2003] [error] ajp13.service() Error forwarding ajp13:local host:8009 1 1 [Wed Feb 26 11:35:10 2003] [error] lb.service() worker failed 12 for ajp13:l ocalhost:8009 Charles (Allen) Jordan [EMAIL PROTECTED] System Administrator(407)771-8919 Convergys 285 International Parkway, Lake Mary, FL 32746-5007 - 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] Charles (Allen) Jordan [EMAIL PROTECTED] System Administrator(407)771-8919 Convergys 285 International Parkway, Lake Mary, FL 32746-5007 - 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: Connection refused question
I found the problem. I needed to un-comment the AJP 1.3 Connector in server.xml. Thanks for the help and sorry to bother everyone. How do I tell? Do you have an AJP13-compatible connector listening on port 8009? John -Original Message- From: Charles A Jordan [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 1:05 PM To: [EMAIL PROTECTED] Subject: Connection refused question I am not able to get to http://localhost/examples I get the following errors in my apache error_log file. Any ideas? Where does it look for the examples directory and what sets it? [Wed Feb 26 11:35:10 2003] [error] channelSocket.open() connect failed localhost :8009 146 Connection refused [Wed Feb 26 11:35:10 2003] [error] ajp13.connect() failed ajp13:localhost:8009 [Wed Feb 26 11:35:10 2003] [error] ajp13.service() failed to connect endpoint er rno=146 Connection refused [Wed Feb 26 11:35:10 2003] [error] ajp13.service() Error forwarding ajp13:local host:8009 1 1 [Wed Feb 26 11:35:10 2003] [error] lb.service() worker failed 12 for ajp13:l ocalhost:8009 Charles (Allen) Jordan [EMAIL PROTECTED] System Administrator(407)771-8919 Convergys 285 International Parkway, Lake Mary, FL 32746-5007 - 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] Charles (Allen) Jordan [EMAIL PROTECTED] System Administrator(407)771-8919 Convergys 285 International Parkway, Lake Mary, FL 32746-5007 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Charles (Allen) Jordan [EMAIL PROTECTED] System Administrator(407)771-8919 Convergys 285 International Parkway, Lake Mary, FL 32746-5007 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Connection refused question
Server.xml connector= Regards, PQ This Guy Thinks He Knows Everything This Guy Thinks He Knows What He Is Doing -Original Message- From: Charles A Jordan [mailto:[EMAIL PROTECTED] Sent: February 26, 2003 1:20 PM To: [EMAIL PROTECTED] Subject: RE: Connection refused question How do I tell? Do you have an AJP13-compatible connector listening on port 8009? John -Original Message- From: Charles A Jordan [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 1:05 PM To: [EMAIL PROTECTED] Subject: Connection refused question I am not able to get to http://localhost/examples I get the following errors in my apache error_log file. Any ideas? Where does it look for the examples directory and what sets it? [Wed Feb 26 11:35:10 2003] [error] channelSocket.open() connect failed localhost :8009 146 Connection refused [Wed Feb 26 11:35:10 2003] [error] ajp13.connect() failed ajp13:localhost:8009 [Wed Feb 26 11:35:10 2003] [error] ajp13.service() failed to connect endpoint er rno=146 Connection refused [Wed Feb 26 11:35:10 2003] [error] ajp13.service() Error forwarding ajp13:local host:8009 1 1 [Wed Feb 26 11:35:10 2003] [error] lb.service() worker failed 12 for ajp13:l ocalhost:8009 Charles (Allen) Jordan [EMAIL PROTECTED] System Administrator(407)771-8919 Convergys 285 International Parkway, Lake Mary, FL 32746-5007 - 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] Charles (Allen) Jordan [EMAIL PROTECTED] System Administrator(407)771-8919 Convergys 285 International Parkway, Lake Mary, FL 32746-5007 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: localhost:8080 connection refused
Turner, John wrote: For the sake of the archives, what was the solution? John -Original Message- From: David Nelson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 4:30 PM To: Tomcat Users List Subject: Re: localhost:8080 connection refused This issue is resolved. Thanks for the help! . - Original Message - From: David Nelson [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, February 05, 2003 1:21 PM Subject: Re: localhost:8080 connection refused I apologize for taking a bit to get back to you. Below are the contents of Catalina.out java.util.zip.ZipException: error in opening zip file at java.util.zip.Zip.open(Native Method) at java.util.zip.ZipFile.init(ZipFile.java:112) at java.util.jar.JarFile.init(JarFile.java:117) at java.util.jar.JarFile.init(JarFile.java:55) at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar dClassLoader.java:1082) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.ja va:200) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java:202) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140) Bootstrap: Class loader creation threw exception java.lang.IllegalArgumentException: addRepositoryInternal: java.util.zip.ZipException: error in opening zip file at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar dClassLoader.java:1110) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.ja va:200) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java:202) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140) Additionally, I both were gzip from Apache.org. Thanks again for your help. - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, February 05, 2003 10:59 AM Subject: RE: localhost:8080 connection refused That's why you are getting connection refused. Tomcat isn't even starting. Can you post the entire contents of catalina.out for a full startup attempt, instead of just the error message? It might help in debugging if we can see exactly when in the sequence this error is thrown. Just null out catalina.out, then try and start Tomcat again. Also, how did you do the installs for Tomcat and Apache? RPM? Source? Binary? Do you have zip/unzip or gzip/gunzip on your system? The error message is calling a native method. John -Original Message- From: David Nelson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 11:23 AM To: Tomcat Users List Subject: Re: localhost:8080 connection refused After having a look at Catalina.out, here are a few errors: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(ZipFile.java:112) at java.util.jar.JarFile.init(JarFile.java:117) at java.util.jar.JarFile.init(JarFile.java:55) at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar dClassLoader.java:1082) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.ja va:200) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java:202) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140) Bootstrap: Class loader creation threw exception java.lang.IllegalArgumentException: addRepositoryInternal: java.util.zip.ZipException: error in opening zip file at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar dClassLoader.java:1110) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.ja va:200) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java:202) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140) The block above repeats for each time I start Tomcat. It doesn't look too promising. Original Message - From: Bill [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, February 05, 2003 10:30 AM Subject: Re: localhost:8080 connection refused David Default RH installations have a firewall, did you not install the firewall or adjust it to accept connections on port 8080? Just a thought... Also, you havent included any log entriesis there nothing in the logs? -b On Wed, 2003-02-05 at 10:22, David Nelson wrote: I have heard similar posts but after trying everything I can get my hands on, Tomcat is still refusing to work I get a connection refused. Here are a few system details and what I've done. OS RH 8.0 Tomcat 4.1.18 Apache 2.0.44 mod_jk-2.0.43.so java2 1.4 (tested manually and works) $JAVA_HOME and $CATALINA_HOME are set httpd.conf
localhost:8080 connection refused
I have heard similar posts but after trying everything I can get my hands on, Tomcat is still refusing to work I get a connection refused. Here are a few system details and what I've done. OS RH 8.0 Tomcat 4.1.18 Apache 2.0.44 mod_jk-2.0.43.so java2 1.4 (tested manually and works) $JAVA_HOME and $CATALINA_HOME are set httpd.conf has LoadModule jk_module modules/mod_jk-2.0.43.so Include /user/local/tomcat/conf/auto/mod_jk.conf incidentally, the mod_jk.conf is not being generated. Inside Tomcat's server.xml Server port=8005 shutdown=SHUTDOWN debug=0 Listener className=org.apache.ajp.Tomcat4.config.ApacheConfig modJk=/usr/local/apache2/modules/mod_jk-2.0.43.so / Host name=localhost debug=0 appBase=webapps unpackWARs=true autoDeploy=true Listener className=org.apache.ajp.Tomcat4.config.ApacheConfig append=true forwardAll=false modJk=/usr/local/apache2/modules/mod_jk-2.0.43.so / Any ideas what I'm missing? Thanks for any help. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
localhost:8080 connection refused
I have heard similar posts but after trying everything I can get my hands on, Tomcat is still refusing to work I get a connection refused. Here are a few system details and what I've done. OS RH 8.0 Tomcat 4.1.18 Apache 2.0.44 mod_jk-2.0.43.so java2 1.4 (tested manually and works) $JAVA_HOME and $CATALINA_HOME are set httpd.conf has LoadModule jk_module modules/mod_jk-2.0.43.so Include /user/local/tomcat/conf/auto/mod_jk.conf incidentally, the mod_jk.conf is not being generated. Inside Tomcat's server.xml Server port=8005 shutdown=SHUTDOWN debug=0 Listener className=org.apache.ajp.Tomcat4.config.ApacheConfig modJk=/usr/local/apache2/modules/mod_jk-2.0.43.so / Host name=localhost debug=0 appBase=webapps unpackWARs=true autoDeploy=true Listener className=org.apache.ajp.Tomcat4.config.ApacheConfig append=true forwardAll=false modJk=/usr/local/apache2/modules/mod_jk-2.0.43.so / Any ideas what I'm missing? Thanks for any help. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: localhost:8080 connection refused
David Default RH installations have a firewall, did you not install the firewall or adjust it to accept connections on port 8080? Just a thought... Also, you havent included any log entriesis there nothing in the logs? -b On Wed, 2003-02-05 at 10:22, David Nelson wrote: I have heard similar posts but after trying everything I can get my hands on, Tomcat is still refusing to work I get a connection refused. Here are a few system details and what I've done. OS RH 8.0 Tomcat 4.1.18 Apache 2.0.44 mod_jk-2.0.43.so java2 1.4 (tested manually and works) $JAVA_HOME and $CATALINA_HOME are set httpd.conf has LoadModule jk_module modules/mod_jk-2.0.43.so Include /user/local/tomcat/conf/auto/mod_jk.conf incidentally, the mod_jk.conf is not being generated. Inside Tomcat's server.xml Server port=8005 shutdown=SHUTDOWN debug=0 Listener className=org.apache.ajp.Tomcat4.config.ApacheConfig modJk=/usr/local/apache2/modules/mod_jk-2.0.43.so / Host name=localhost debug=0 appBase=webapps unpackWARs=true autoDeploy=true Listener className=org.apache.ajp.Tomcat4.config.ApacheConfig append=true forwardAll=false modJk=/usr/local/apache2/modules/mod_jk-2.0.43.so / Any ideas what I'm missing? Thanks for any help. - 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: localhost:8080 connection refused
Thanks for the reply Bill, I'm not too savvy regarding the firewall installation. I took the default settings on install. Additionally, whose logs should I be looking at and what should I look for? - Original Message - From: Bill [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, February 05, 2003 10:30 AM Subject: Re: localhost:8080 connection refused David Default RH installations have a firewall, did you not install the firewall or adjust it to accept connections on port 8080? Just a thought... Also, you havent included any log entriesis there nothing in the logs? -b On Wed, 2003-02-05 at 10:22, David Nelson wrote: I have heard similar posts but after trying everything I can get my hands on, Tomcat is still refusing to work I get a connection refused. Here are a few system details and what I've done. OS RH 8.0 Tomcat 4.1.18 Apache 2.0.44 mod_jk-2.0.43.so java2 1.4 (tested manually and works) $JAVA_HOME and $CATALINA_HOME are set httpd.conf has LoadModule jk_module modules/mod_jk-2.0.43.so Include /user/local/tomcat/conf/auto/mod_jk.conf incidentally, the mod_jk.conf is not being generated. Inside Tomcat's server.xml Server port=8005 shutdown=SHUTDOWN debug=0 Listener className=org.apache.ajp.Tomcat4.config.ApacheConfig modJk=/usr/local/apache2/modules/mod_jk-2.0.43.so / Host name=localhost debug=0 appBase=webapps unpackWARs=true autoDeploy=true Listener className=org.apache.ajp.Tomcat4.config.ApacheConfig append=true forwardAll=false modJk=/usr/local/apache2/modules/mod_jk-2.0.43.so / Any ideas what I'm missing? Thanks for any help. - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: localhost:8080 connection refused
After having a look at Catalina.out, here are a few errors: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(ZipFile.java:112) at java.util.jar.JarFile.init(JarFile.java:117) at java.util.jar.JarFile.init(JarFile.java:55) at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar dClassLoader.java:1082) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.ja va:200) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java:202) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140) Bootstrap: Class loader creation threw exception java.lang.IllegalArgumentException: addRepositoryInternal: java.util.zip.ZipException: error in opening zip file at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar dClassLoader.java:1110) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.ja va:200) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java:202) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140) The block above repeats for each time I start Tomcat. It doesn't look too promising. Original Message - From: Bill [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, February 05, 2003 10:30 AM Subject: Re: localhost:8080 connection refused David Default RH installations have a firewall, did you not install the firewall or adjust it to accept connections on port 8080? Just a thought... Also, you havent included any log entriesis there nothing in the logs? -b On Wed, 2003-02-05 at 10:22, David Nelson wrote: I have heard similar posts but after trying everything I can get my hands on, Tomcat is still refusing to work I get a connection refused. Here are a few system details and what I've done. OS RH 8.0 Tomcat 4.1.18 Apache 2.0.44 mod_jk-2.0.43.so java2 1.4 (tested manually and works) $JAVA_HOME and $CATALINA_HOME are set httpd.conf has LoadModule jk_module modules/mod_jk-2.0.43.so Include /user/local/tomcat/conf/auto/mod_jk.conf incidentally, the mod_jk.conf is not being generated. Inside Tomcat's server.xml Server port=8005 shutdown=SHUTDOWN debug=0 Listener className=org.apache.ajp.Tomcat4.config.ApacheConfig modJk=/usr/local/apache2/modules/mod_jk-2.0.43.so / Host name=localhost debug=0 appBase=webapps unpackWARs=true autoDeploy=true Listener className=org.apache.ajp.Tomcat4.config.ApacheConfig append=true forwardAll=false modJk=/usr/local/apache2/modules/mod_jk-2.0.43.so / Any ideas what I'm missing? Thanks for any help. - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: localhost:8080 connection refused
That's why you are getting connection refused. Tomcat isn't even starting. Can you post the entire contents of catalina.out for a full startup attempt, instead of just the error message? It might help in debugging if we can see exactly when in the sequence this error is thrown. Just null out catalina.out, then try and start Tomcat again. Also, how did you do the installs for Tomcat and Apache? RPM? Source? Binary? Do you have zip/unzip or gzip/gunzip on your system? The error message is calling a native method. John -Original Message- From: David Nelson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 11:23 AM To: Tomcat Users List Subject: Re: localhost:8080 connection refused After having a look at Catalina.out, here are a few errors: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(ZipFile.java:112) at java.util.jar.JarFile.init(JarFile.java:117) at java.util.jar.JarFile.init(JarFile.java:55) at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar dClassLoader.java:1082) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.ja va:200) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java:202) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140) Bootstrap: Class loader creation threw exception java.lang.IllegalArgumentException: addRepositoryInternal: java.util.zip.ZipException: error in opening zip file at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar dClassLoader.java:1110) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.ja va:200) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java:202) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140) The block above repeats for each time I start Tomcat. It doesn't look too promising. Original Message - From: Bill [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, February 05, 2003 10:30 AM Subject: Re: localhost:8080 connection refused David Default RH installations have a firewall, did you not install the firewall or adjust it to accept connections on port 8080? Just a thought... Also, you havent included any log entriesis there nothing in the logs? -b On Wed, 2003-02-05 at 10:22, David Nelson wrote: I have heard similar posts but after trying everything I can get my hands on, Tomcat is still refusing to work I get a connection refused. Here are a few system details and what I've done. OS RH 8.0 Tomcat 4.1.18 Apache 2.0.44 mod_jk-2.0.43.so java2 1.4 (tested manually and works) $JAVA_HOME and $CATALINA_HOME are set httpd.conf has LoadModule jk_module modules/mod_jk-2.0.43.so Include /user/local/tomcat/conf/auto/mod_jk.conf incidentally, the mod_jk.conf is not being generated. Inside Tomcat's server.xml Server port=8005 shutdown=SHUTDOWN debug=0 Listener className=org.apache.ajp.Tomcat4.config.ApacheConfig modJk=/usr/local/apache2/modules/mod_jk-2.0.43.so / Host name=localhost debug=0 appBase=webapps unpackWARs=true autoDeploy=true Listener className=org.apache.ajp.Tomcat4.config.ApacheConfig append=true forwardAll=false modJk=/usr/local/apache2/modules/mod_jk-2.0.43.so / Any ideas what I'm missing? Thanks for any help. - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003 --- Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: localhost:8080 connection refused
As far as I know, the medium firewall on RH allows any/any for to/from localhost. John -Original Message- From: Bill [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 11:30 AM To: Tomcat Users List Subject: Re: localhost:8080 connection refused David Default RH installations have a firewall, did you not install the firewall or adjust it to accept connections on port 8080? Just a thought... Also, you havent included any log entriesis there nothing in the logs? -b On Wed, 2003-02-05 at 10:22, David Nelson wrote: I have heard similar posts but after trying everything I can get my hands on, Tomcat is still refusing to work I get a connection refused. Here are a few system details and what I've done. OS RH 8.0 Tomcat 4.1.18 Apache 2.0.44 mod_jk-2.0.43.so java2 1.4 (tested manually and works) $JAVA_HOME and $CATALINA_HOME are set httpd.conf has LoadModule jk_module modules/mod_jk-2.0.43.so Include /user/local/tomcat/conf/auto/mod_jk.conf incidentally, the mod_jk.conf is not being generated. Inside Tomcat's server.xml Server port=8005 shutdown=SHUTDOWN debug=0 Listener className=org.apache.ajp.Tomcat4.config.ApacheConfig modJk=/usr/local/apache2/modules/mod_jk-2.0.43.so / Host name=localhost debug=0 appBase=webapps unpackWARs=true autoDeploy=true Listener className=org.apache.ajp.Tomcat4.config.ApacheConfig append=true forwardAll=false modJk=/usr/local/apache2/modules/mod_jk-2.0.43.so / Any ideas what I'm missing? Thanks for any help. - 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] --- Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003 --- Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: localhost:8080 connection refused
I remember an issue with Tomcat (circa 3.3) not being able to load an Oracle JDBC driver which was packaged in a .zip file. Our solution was to change the Oracle driver package extension from .zip to .jar. By the way, does anyone know if the class path case sensitive on Windows? Would foo.ZIP be different from foo.zip, for example? At 10:22 2003-02-05 -0600, you wrote: After having a look at Catalina.out, here are a few errors: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(ZipFile.java:112) at java.util.jar.JarFile.init(JarFile.java:117) at java.util.jar.JarFile.init(JarFile.java:55) at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar dClassLoader.java:1082) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.ja va:200) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java:202) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140) Bootstrap: Class loader creation threw exception java.lang.IllegalArgumentException: addRepositoryInternal: java.util.zip.ZipException: error in opening zip file at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar dClassLoader.java:1110) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.ja va:200) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java:202) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140) The block above repeats for each time I start Tomcat. It doesn't look too promising. Original Message - From: Bill [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, February 05, 2003 10:30 AM Subject: Re: localhost:8080 connection refused David Default RH installations have a firewall, did you not install the firewall or adjust it to accept connections on port 8080? Just a thought... Also, you havent included any log entriesis there nothing in the logs? -b On Wed, 2003-02-05 at 10:22, David Nelson wrote: I have heard similar posts but after trying everything I can get my hands on, Tomcat is still refusing to work I get a connection refused. Here are a few system details and what I've done. OS RH 8.0 Tomcat 4.1.18 Apache 2.0.44 mod_jk-2.0.43.so java2 1.4 (tested manually and works) $JAVA_HOME and $CATALINA_HOME are set httpd.conf has LoadModule jk_module modules/mod_jk-2.0.43.so Include /user/local/tomcat/conf/auto/mod_jk.conf incidentally, the mod_jk.conf is not being generated. Inside Tomcat's server.xml Server port=8005 shutdown=SHUTDOWN debug=0 Listener className=org.apache.ajp.Tomcat4.config.ApacheConfig modJk=/usr/local/apache2/modules/mod_jk-2.0.43.so / Host name=localhost debug=0 appBase=webapps unpackWARs=true autoDeploy=true Listener className=org.apache.ajp.Tomcat4.config.ApacheConfig append=true forwardAll=false modJk=/usr/local/apache2/modules/mod_jk-2.0.43.so / Any ideas what I'm missing? Thanks for any help. - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Sean Dockery [EMAIL PROTECTED] Certified Java Web Component Developer Certified Delphi Programmer SBD Consultants http://www.sbdconsultants.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: localhost:8080 connection refused
I apologize for taking a bit to get back to you. Below are the contents of Catalina.out java.util.zip.ZipException: error in opening zip file at java.util.zip.Zip.open(Native Method) at java.util.zip.ZipFile.init(ZipFile.java:112) at java.util.jar.JarFile.init(JarFile.java:117) at java.util.jar.JarFile.init(JarFile.java:55) at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar dClassLoader.java:1082) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.ja va:200) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java:202) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140) Bootstrap: Class loader creation threw exception java.lang.IllegalArgumentException: addRepositoryInternal: java.util.zip.ZipException: error in opening zip file at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar dClassLoader.java:1110) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.ja va:200) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java:202) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140) Additionally, I both were gzip from Apache.org. Thanks again for your help. - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, February 05, 2003 10:59 AM Subject: RE: localhost:8080 connection refused That's why you are getting connection refused. Tomcat isn't even starting. Can you post the entire contents of catalina.out for a full startup attempt, instead of just the error message? It might help in debugging if we can see exactly when in the sequence this error is thrown. Just null out catalina.out, then try and start Tomcat again. Also, how did you do the installs for Tomcat and Apache? RPM? Source? Binary? Do you have zip/unzip or gzip/gunzip on your system? The error message is calling a native method. John -Original Message- From: David Nelson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 11:23 AM To: Tomcat Users List Subject: Re: localhost:8080 connection refused After having a look at Catalina.out, here are a few errors: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(ZipFile.java:112) at java.util.jar.JarFile.init(JarFile.java:117) at java.util.jar.JarFile.init(JarFile.java:55) at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar dClassLoader.java:1082) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.ja va:200) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java:202) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140) Bootstrap: Class loader creation threw exception java.lang.IllegalArgumentException: addRepositoryInternal: java.util.zip.ZipException: error in opening zip file at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar dClassLoader.java:1110) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.ja va:200) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java:202) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140) The block above repeats for each time I start Tomcat. It doesn't look too promising. Original Message - From: Bill [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, February 05, 2003 10:30 AM Subject: Re: localhost:8080 connection refused David Default RH installations have a firewall, did you not install the firewall or adjust it to accept connections on port 8080? Just a thought... Also, you havent included any log entriesis there nothing in the logs? -b On Wed, 2003-02-05 at 10:22, David Nelson wrote: I have heard similar posts but after trying everything I can get my hands on, Tomcat is still refusing to work I get a connection refused. Here are a few system details and what I've done. OS RH 8.0 Tomcat 4.1.18 Apache 2.0.44 mod_jk-2.0.43.so java2 1.4 (tested manually and works) $JAVA_HOME and $CATALINA_HOME are set httpd.conf has LoadModule jk_module modules/mod_jk-2.0.43.so Include /user/local/tomcat/conf/auto/mod_jk.conf incidentally, the mod_jk.conf is not being generated. Inside Tomcat's server.xml Server port=8005 shutdown=SHUTDOWN debug=0 Listener className=org.apache.ajp.Tomcat4.config.ApacheConfig modJk=/usr/local/apache2/modules/mod_jk-2.0.43.so / Host name=localhost debug=0 appBase=webapps unpackWARs=true autoDeploy=true Listener className=org.apache.ajp.Tomcat4.config.ApacheConfig append=true forwardAll=false modJk=/usr
RE: localhost:8080 connection refused
Good point. I forgot about that thread. John -Original Message- From: Sean Dockery [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 12:14 PM To: Tomcat Users List Subject: Re: localhost:8080 connection refused I remember an issue with Tomcat (circa 3.3) not being able to load an Oracle JDBC driver which was packaged in a .zip file. Our solution was to change the Oracle driver package extension from .zip to .jar. By the way, does anyone know if the class path case sensitive on Windows? Would foo.ZIP be different from foo.zip, for example? At 10:22 2003-02-05 -0600, you wrote: After having a look at Catalina.out, here are a few errors: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(ZipFile.java:112) at java.util.jar.JarFile.init(JarFile.java:117) at java.util.jar.JarFile.init(JarFile.java:55) at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(St andar dClassLoader.java:1082) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.j a va:200) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoade r Factory.java:202) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140) Bootstrap: Class loader creation threw exception java.lang.IllegalArgumentException: addRepositoryInternal: java.util.zip.ZipException: error in opening zip file at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standa r dClassLoader.java:1110) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.j a va:200) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoade r Factory.java:202) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140) The block above repeats for each time I start Tomcat. It doesn't look too promising. Original Message - From: Bill [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, February 05, 2003 10:30 AM Subject: Re: localhost:8080 connection refused David Default RH installations have a firewall, did you not install the firewall or adjust it to accept connections on port 8080? Just a thought... Also, you havent included any log entriesis there nothing in the logs? -b On Wed, 2003-02-05 at 10:22, David Nelson wrote: I have heard similar posts but after trying everything I can get my hands on, Tomcat is still refusing to work I get a connection refused. Here are a few system details and what I've done. OS RH 8.0 Tomcat 4.1.18 Apache 2.0.44 mod_jk-2.0.43.so java2 1.4 (tested manually and works) $JAVA_HOME and $CATALINA_HOME are set httpd.conf has LoadModule jk_module modules/mod_jk-2.0.43.so Include /user/local/tomcat/conf/auto/mod_jk.conf incidentally, the mod_jk.conf is not being generated. Inside Tomcat's server.xml Server port=8005 shutdown=SHUTDOWN debug=0 Listener className=org.apache.ajp.Tomcat4.config.ApacheConfig modJk=/usr/local/apache2/modules/mod_jk-2.0.43.so / Host name=localhost debug=0 appBase=webapps unpackWARs=true autoDeploy=true Listener className=org.apache.ajp.Tomcat4.config.ApacheConfig append=true forwardAll=false modJk=/usr/local/apache2/modules/mod_jk-2.0.43.so / Any ideas what I'm missing? Thanks for any help. -- --- 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Sean Dockery [EMAIL PROTECTED] Certified Java Web Component Developer Certified Delphi Programmer SBD Consultants http://www.sbdconsultants.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003 --- Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: localhost:8080 connection refused
This issue is resolved. Thanks for the help! . - Original Message - From: David Nelson [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, February 05, 2003 1:21 PM Subject: Re: localhost:8080 connection refused I apologize for taking a bit to get back to you. Below are the contents of Catalina.out java.util.zip.ZipException: error in opening zip file at java.util.zip.Zip.open(Native Method) at java.util.zip.ZipFile.init(ZipFile.java:112) at java.util.jar.JarFile.init(JarFile.java:117) at java.util.jar.JarFile.init(JarFile.java:55) at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar dClassLoader.java:1082) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.ja va:200) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java:202) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140) Bootstrap: Class loader creation threw exception java.lang.IllegalArgumentException: addRepositoryInternal: java.util.zip.ZipException: error in opening zip file at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar dClassLoader.java:1110) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.ja va:200) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java:202) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140) Additionally, I both were gzip from Apache.org. Thanks again for your help. - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, February 05, 2003 10:59 AM Subject: RE: localhost:8080 connection refused That's why you are getting connection refused. Tomcat isn't even starting. Can you post the entire contents of catalina.out for a full startup attempt, instead of just the error message? It might help in debugging if we can see exactly when in the sequence this error is thrown. Just null out catalina.out, then try and start Tomcat again. Also, how did you do the installs for Tomcat and Apache? RPM? Source? Binary? Do you have zip/unzip or gzip/gunzip on your system? The error message is calling a native method. John -Original Message- From: David Nelson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 11:23 AM To: Tomcat Users List Subject: Re: localhost:8080 connection refused After having a look at Catalina.out, here are a few errors: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(ZipFile.java:112) at java.util.jar.JarFile.init(JarFile.java:117) at java.util.jar.JarFile.init(JarFile.java:55) at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar dClassLoader.java:1082) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.ja va:200) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java:202) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140) Bootstrap: Class loader creation threw exception java.lang.IllegalArgumentException: addRepositoryInternal: java.util.zip.ZipException: error in opening zip file at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar dClassLoader.java:1110) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.ja va:200) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java:202) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140) The block above repeats for each time I start Tomcat. It doesn't look too promising. Original Message - From: Bill [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, February 05, 2003 10:30 AM Subject: Re: localhost:8080 connection refused David Default RH installations have a firewall, did you not install the firewall or adjust it to accept connections on port 8080? Just a thought... Also, you havent included any log entriesis there nothing in the logs? -b On Wed, 2003-02-05 at 10:22, David Nelson wrote: I have heard similar posts but after trying everything I can get my hands on, Tomcat is still refusing to work I get a connection refused. Here are a few system details and what I've done. OS RH 8.0 Tomcat 4.1.18 Apache 2.0.44 mod_jk-2.0.43.so java2 1.4 (tested manually and works) $JAVA_HOME and $CATALINA_HOME are set httpd.conf has LoadModule jk_module modules/mod_jk-2.0.43.so Include /user/local/tomcat/conf/auto/mod_jk.conf incidentally, the mod_jk.conf is not being generated. Inside Tomcat's server.xml Server port
RE: localhost:8080 connection refused
For the sake of the archives, what was the solution? John -Original Message- From: David Nelson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 4:30 PM To: Tomcat Users List Subject: Re: localhost:8080 connection refused This issue is resolved. Thanks for the help! . - Original Message - From: David Nelson [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, February 05, 2003 1:21 PM Subject: Re: localhost:8080 connection refused I apologize for taking a bit to get back to you. Below are the contents of Catalina.out java.util.zip.ZipException: error in opening zip file at java.util.zip.Zip.open(Native Method) at java.util.zip.ZipFile.init(ZipFile.java:112) at java.util.jar.JarFile.init(JarFile.java:117) at java.util.jar.JarFile.init(JarFile.java:55) at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar dClassLoader.java:1082) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.ja va:200) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java:202) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140) Bootstrap: Class loader creation threw exception java.lang.IllegalArgumentException: addRepositoryInternal: java.util.zip.ZipException: error in opening zip file at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar dClassLoader.java:1110) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.ja va:200) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java:202) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140) Additionally, I both were gzip from Apache.org. Thanks again for your help. - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, February 05, 2003 10:59 AM Subject: RE: localhost:8080 connection refused That's why you are getting connection refused. Tomcat isn't even starting. Can you post the entire contents of catalina.out for a full startup attempt, instead of just the error message? It might help in debugging if we can see exactly when in the sequence this error is thrown. Just null out catalina.out, then try and start Tomcat again. Also, how did you do the installs for Tomcat and Apache? RPM? Source? Binary? Do you have zip/unzip or gzip/gunzip on your system? The error message is calling a native method. John -Original Message- From: David Nelson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 11:23 AM To: Tomcat Users List Subject: Re: localhost:8080 connection refused After having a look at Catalina.out, here are a few errors: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(ZipFile.java:112) at java.util.jar.JarFile.init(JarFile.java:117) at java.util.jar.JarFile.init(JarFile.java:55) at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar dClassLoader.java:1082) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.ja va:200) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java:202) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140) Bootstrap: Class loader creation threw exception java.lang.IllegalArgumentException: addRepositoryInternal: java.util.zip.ZipException: error in opening zip file at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar dClassLoader.java:1110) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.ja va:200) at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoader Factory.java:202) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140) The block above repeats for each time I start Tomcat. It doesn't look too promising. Original Message - From: Bill [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, February 05, 2003 10:30 AM Subject: Re: localhost:8080 connection refused David Default RH installations have a firewall, did you not install the firewall or adjust it to accept connections on port 8080? Just a thought... Also, you havent included any log entriesis there nothing in the logs? -b On Wed, 2003-02-05 at 10:22, David Nelson wrote: I have heard similar posts but after trying everything I can get my hands on, Tomcat is still refusing to work I get a connection refused. Here are a few system details and what I've done. OS RH 8.0 Tomcat 4.1.18 Apache 2.0.44 mod_jk-2.0.43.so java2 1.4 (tested manually and works
tomcat 4.1.12 :: connection refused :: missing ContextManager ...
Hi, I'm running tomcat 4.1.12 in FreeBSD 4.7. Looking inside server.xml I cannot find ContextManager neither a explicit bind to 8080. Since I installed I am not able to get http://localhost:8080. All I get is a connection refused message. Does anyone have any idea ? Thanks in advance, Macaíba. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: tomcat 4.1.12 :: connection refused :: missing ContextManager...
On Thu, 9 Jan 2003, João Luiz de Brito Macaíba wrote: Date: Thu, 9 Jan 2003 17:06:19 -0200 (EDT) From: João Luiz de Brito Macaíba [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: tomcat 4.1.12 :: connection refused :: missing ContextManager ... Hi, I'm running tomcat 4.1.12 in FreeBSD 4.7. Looking inside server.xml I cannot find ContextManager neither a explicit bind to 8080. ContextManager is a Tomcat 3.3 thing. Be sure that you're looking at the docs for integrating Tomcat 4.1 if that's what you're using. Since I installed I am not able to get http://localhost:8080. All I get is a connection refused message. That's what you would get if Tomcat were not started. Does anyone have any idea ? Thanks in advance, Macaíba. Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
FW: Tomcat -- JDBC --- SQL Server Connection refused
-Original Message- From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 01, 2002 9:15 AM To: Tuan H. Le Subject: RE: Tomcat -- JDBC --- SQL Server Connection refused This is a user question, use [EMAIL PROTECTED] instead.. Saludos , Ignacio J. Ortega -Mensaje original- De: Tuan H. Le [mailto:[EMAIL PROTECTED]] Enviado el: 1 de octubre de 2002 2:15 Para: [EMAIL PROTECTED] Asunto: Tomcat -- JDBC --- SQL Server Connection refused Hi, I'm having a problem of connecting to SQL Server db. I'm using Opta2000 v4.14 driver with SQL Server 2000 on XP with Tomcat 4.1.10. Context initCtx = new InitialContext(); Context envCtx = (Context)initCtx.lookup( java:comp/env ); DataSource ds = (DataSource)envCtx.lookup( jdbc/ezhr ); Connection conn = ds.getConnection(); --- connection refused happens here !! Here're my settings 1) SQL Server uses SQL Server authentication 2) SQL Server network protocol settings: both Named Pipes and TCP/IP 3) Tomcat settings server.xml - !-- Tomcat Context -- Context path=/ezhr docBase=ezhr debug=0 reloadable=true crossContext=true Logger className=org.apache.catalina.logger.FileLogger prefix=ezhrdb. suffix=.txt timestamp=true/ !-- Datasource -- Resource name=jdbc/ezhr auth=Container type=javax.sql.DataSource/ ResourceParams name=jdbc/ezhr parameter namemaxActive/name value10/value /parameter parameter namemaxIdle/name value10/value /parameter parameter namemaxWait/name value1/value /parameter parameter nameusername/name value/value /parameter parameter namepassword/name valuey/value /parameter parameter namedriverClassName/name valuecom.inet.tds.TdsDriver/value /parameter parameter nameurl/name valuejdbc:inetdae7://localhost:1433/value /parameter /ResourceParams /Context --- web.xml - resource-ref res-ref-namejdbc/ezhr/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth /resource-ref Exception - javax.servlet.ServletException: com.inet.tds.SQLException: Connection refused: connect at org.apache.struts.action.RequestProcessor.processException(Req uestProcessor.java:507) at org.apache.struts.action.RequestProcessor.processActionPerform (RequestProcessor.java:448) at org.apache.struts.action.RequestProcessor.process(RequestProce ssor.java:266) at org.apache.struts.action.ActionServlet.process(ActionServlet.j ava:1292) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilt er(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli cationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardW rapperValve.java:260) at org.apache.catalina.core.StandardPipeline$StandardPipelineValv eContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipel ine.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardC ontextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValv eContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipel ine.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContex t.java:2397) at org.apache.catalina.core.StandardHostValve.invoke(StandardHost Valve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValv eContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi spatcherValve.java:170) at org.apache.catalina.core.StandardPipeline$StandardPipelineValv eContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport Valve.java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValv eContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipel ine.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEn gineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValv eContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipel ine.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter. java:223) at org.apache.coyote.http11.Http11Processor.process
connection refused with jakarta-tomcat-4.0.3-LE-jdk14 on linux
hi, trying to get jakarta-tomcat-4.0.3-LE-jdk14 and j2sdk1.4.0 to work on linux. jakarta-tomcat-4.0.1 works fine. but when i try to start jakarta-tomcat-4.0.3-LE-jdk14 up, i get the following: thanks Script started on Tue Mar 12 18:33:29 2002 root@k6:/home/src/tools/tomcat/jakarta-tomcat-4.0.3-LE-jdk14/bin# tcup + cygwin=false ++ uname + PRG=/home/src/tools/tomcat/jakarta-tomcat-4.0.3-LE-jdk14/bin/catalina.sh + '[' -h /home/src/tools/tomcat/jakarta-tomcat-4.0.3-LE-jdk14/bin/catalina.sh ']' ++ dirname /home/src/tools/tomcat/jakarta-tomcat-4.0.3-LE-jdk14/bin/catalina.sh + PRGDIR=/home/src/tools/tomcat/jakarta-tomcat-4.0.3-LE-jdk14/bin ++ cd /home/src/tools/tomcat/jakarta-tomcat-4.0.3-LE-jdk14/bin/.. ++ pwd + CATALINA_HOME=/home/src/tools/tomcat/jakarta-tomcat-4.0.3-LE-jdk14 + '[' -r /home/src/tools/tomcat/jakarta-tomcat-4.0.3-LE-jdk14/bin/setenv.sh ']' + false + '[' -r /home/src/tools/tomcat/jakarta-tomcat-4.0.3-LE-jdk14/bin/setclasspath.sh ']' + BASEDIR=/home/src/tools/tomcat/jakarta-tomcat-4.0.3-LE-jdk14 + . /home/src/tools/tomcat/jakarta-tomcat-4.0.3-LE-jdk14/bin/setclasspath.sh ++ '[' -z /home/src/jdk/j2sdk1.4.0 ']' ++ '[' '!' -r /home/src/jdk/j2sdk1.4.0/bin/java ']' ++ '[' -z /home/src/tools/tomcat/jakarta-tomcat-4.0.3-LE-jdk14 ']' ++ '[' '!' -r /home/src/tools/tomcat/jakarta-tomcat-4.0.3-LE-jdk14/bin/setclasspath.sh ']' ++ JAVA_OPTS= ++ JAVA_ENDORSED_DIRS=/home/src/tools/tomcat/jakarta-tomcat-4.0.3-LE-jdk14/bin:/home/src/tools/tomcat/jakarta-tomcat-4.0.3-LE-jdk14/common/lib ++ CLASSPATH=/home/src/jdk/j2sdk1.4.0/lib/tools.jar ++ JIKESPATH= +++ uname -s ++ '[' Linux = Darwin ']' ++ _RUNJAVA=/home/src/jdk/j2sdk1.4.0/bin/java ++ _RUNJDB=/home/src/jdk/j2sdk1.4.0/bin/jdb + '[' -n '' ']' + CLASSPATH=/home/src/jdk/j2sdk1.4.0/lib/tools.jar:/home/src/tools/tomcat/jakarta-tomcat-4.0.3-LE-jdk14/bin/bootstrap.jar + '[' -z '' ']' + CATALINA_BASE=/home/src/tools/tomcat/jakarta-tomcat-4.0.3-LE-jdk14 + '[' -z '' ']' + CATALINA_TMPDIR=/home/src/tools/tomcat/jakarta-tomcat-4.0.3-LE-jdk14/temp + false + echo 'Using CATALINA_BASE: /home/src/tools/tomcat/jakarta-tomcat-4.0.3-LE-jdk14' Using CATALINA_BASE: /home/src/tools/tomcat/jakarta-tomcat-4.0.3-LE-jdk14 + echo 'Using CATALINA_HOME: /home/src/tools/tomcat/jakarta-tomcat-4.0.3-LE-jdk14' Using CATALINA_HOME: /home/src/tools/tomcat/jakarta-tomcat-4.0.3-LE-jdk14 + echo 'Using CATALINA_TMPDIR: /home/src/tools/tomcat/jakarta-tomcat-4.0.3-LE-jdk14/temp' Using CATALINA_TMPDIR: /home/src/tools/tomcat/jakarta-tomcat-4.0.3-LE-jdk14/temp + echo 'Using JAVA_HOME: /home/src/jdk/j2sdk1.4.0' Using JAVA_HOME: /home/src/jdk/j2sdk1.4.0 + '[' stop = jpda ']' + '[' stop = debug ']' + '[' stop = embedded ']' + '[' stop = run ']' + '[' stop = start ']' + '[' stop = stop ']' + shift + exec /home/src/jdk/j2sdk1.4.0/bin/java -Djava.endorsed.dirs=/home/src/tools/tomcat/jakarta-tomcat-4.0.3-LE-jdk14/bin:/home/src/tools/tomcat/jakarta-tomcat-4.0.3-LE-jdk14/common/lib -classpath /home/src/jdk/j2sdk1.4.0/lib/tools.jar:/home/src/tools/tomcat/jakarta-tomcat-4.0.3-LE-jdk14/bin/bootstrap.jar -Dcatalina.base=/home/src/tools/tomcat/jakarta-tomcat-4.0.3-LE-jdk14 -Dcatalina.home=/home/src/tools/tomcat/jakarta-tomcat-4.0.3-LE-jdk14 -Djava.io.tmpdir=/home/src/tools/tomcat/jakarta-tomcat-4.0.3-LE-jdk14/temp org.apache.catalina.startup.Bootstrap stop Catalina.stop: java.net.ConnectException: Connection refused java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:295) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:161) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:148) at java.net.Socket.connect(Socket.java:425) at java.net.Socket.connect(Socket.java:375) at java.net.Socket.init(Socket.java:290) at java.net.Socket.init(Socket.java:118) at org.apache.catalina.startup.Catalina.stop(Catalina.java:831) at org.apache.catalina.startup.Catalina.execute(Catalina.java:683) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) root@k6:/home/src/tools/tomcat/jakarta-tomcat-4.0.3-LE-jdk14/bin# Script done on Tue Mar 12 18:33:37 2002 --- ray tayek http://home.earthlink.net/~rtayek/ actively seeking telecommuting work orange county java users group http://www.ocjug.org/ hate spam? http://samspade.org/ssw/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL
Re: Tomcat 4 Problem - Connection refused
I have two instances of jakarta-tomcat v3.3.2 4.0.1. 1)Thus my tomcat 4.0.1 standalone connector listens at TCP port instead of the default as tomact3.3.2 is set default 8080. Thus at the URL http://localhost: when i try it out in my browser i get a error alert The connection was refused when attempting to contact localhost:. 2)The three jsse jar's are in my jdkjre/lib/ext and my JSSE_HOME environment variable points to my ABSOLUTE PATH jdk in Autoexec.bat. JSSE_HOME=C:\jdk1.3\jre\jsse1.0.2 3)Thus i beleive that tomcat4.0.1 isn't installed properly.I have only one instance of CATALINA_HOME. Any suggestions on what can be the problem. Chuck Amadi IT Systems Programmer -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Tomcat 4 Problem - Connection refused
Hi Chuck, Connection refused basically means: there is nothing on that port listening , so my guess is that TC 4.0.1 is not running (or at least, it not listening on port ) Try running TC4 without TC3.3, see if you connect to TC4 then. Eelco Chuck Amadi wrote: I have two instances of jakarta-tomcat v3.3.2 4.0.1. 1)Thus my tomcat 4.0.1 standalone connector listens at TCP port instead of the default as tomact3.3.2 is set default 8080. Thus at the URL http://localhost: when i try it out in my browser i get a error alert The connection was refused when attempting to contact localhost:. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
tomcat.sh stop = Connection refused?
When I attempt to shutdown Tomcat with the tomcat.sh script I get: java.net.ConnectionException Connection refused This is new since I started running RH7.1 and Java1.3.1 with Tomcat 3.1. Anyone know why? Of course I can kill it just fine. But, a nice clean stop would be preferable. Thanks, Richard -- Richard Draucker [EMAIL PROTECTED] Protected-Data.Com www.protected-data.com Remote Data Support For Web Developers
Re: tomcat.sh stop = Connection refused?
When I attempt to shutdown Tomcat with the tomcat.sh script I get: java.net.ConnectionException Connection refused This is new since I started running RH7.1 and Java1.3.1 with Tomcat 3.1. Anyone know why? Of course I can kill it just fine. But, a nice clean stop would be preferable. Are you shutting it down as the same user as you started it with? Pete
Re: tomcat.sh stop = Connection refused?
Logged in as root, starting as root, calling tomcat.sh stop as root. No su - from alternate login, its all root. And the scripts are owned by root. On Thursday 26 July 2001 09:38 am, you wrote: When I attempt to shutdown Tomcat with the tomcat.sh script I get: java.net.ConnectionException Connection refused This is new since I started running RH7.1 and Java1.3.1 with Tomcat 3.1. Anyone know why? Of course I can kill it just fine. But, a nice clean stop would be preferable. Are you shutting it down as the same user as you started it with? Pete -- Richard Draucker [EMAIL PROTECTED] Protected-Data.Com www.protected-data.com Remote Data Support For Web Developers
RE: tomcat.sh stop = Connection refused?
maybe the ajp12 connector is disabled, because tomcat needs it to be shutdown... -Original Message- From: Richard Draucker [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 26, 2001 3:52 PM To: Pete Cc: Tomcat List Subject: Re: tomcat.sh stop = Connection refused? Logged in as root, starting as root, calling tomcat.sh stop as root. No su - from alternate login, its all root. And the scripts are owned by root. On Thursday 26 July 2001 09:38 am, you wrote: When I attempt to shutdown Tomcat with the tomcat.sh script I get: java.net.ConnectionException Connection refused This is new since I started running RH7.1 and Java1.3.1 with Tomcat 3.1. Anyone know why? Of course I can kill it just fine. But, a nice clean stop would be preferable. Are you shutting it down as the same user as you started it with? Pete -- Richard Draucker [EMAIL PROTECTED] Protected-Data.Com www.protected-data.com Remote Data Support For Web Developers
java.net.ConnectException: Connection refused: connect - opening file
Hi I'm using tomcat 3.3 m3 on Windows 2000, Xerces-J 1.4.0. I've got a simple jsp which uses the servlet ServletContext to get the URL of an xml file contained in a subdirectory of the web application. The URL is correctly resolved, but it still fails when it tries to open a socket to read the file. The exception it gets is java.net.ConnectException: Connection refused: connect. Tony java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:320) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:133) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:120) at java.net.Socket.init(Socket.java:273) at java.net.Socket.init(Socket.java:100) at sun.net.NetworkClient.doConnect(NetworkClient.java:50) at sun.net.www.http.HttpClient.openServer(HttpClient.java:331) at sun.net.www.http.HttpClient.openServer(HttpClient.java:517) at sun.net.www.http.HttpClient.init(HttpClient.java:267) at sun.net.www.http.HttpClient.init(HttpClient.java:277) at sun.net.www.http.HttpClient.New(HttpClient.java:289) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:4 08) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection .java:501) at java.net.URL.openStream(URL.java:798) at org.apache.xerces.readers.DefaultReaderFactory.createReader(DefaultReaderFac tory.java:149) at org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalEntit y(DefaultEntityHandler.java:767) at org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalSubse t(DefaultEntityHandler.java:566) at org.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTDScanner.java :1139) at org.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(XMLDocumentSc anner.java:2201) at org.apache.xerces.framework.XMLDocumentScanner.access$0(XMLDocumentScanner.j ava:2156) at org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatch(XML DocumentScanner.java:887) at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner. java:381) at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1035) at com.synergy.xml.wrappers.NonValidatingDOMParser.parse(NonValidatingDOMParser .java:135) at com.synergy.xml.DocumentImpl.load(DocumentImpl.java:359) at com.synergy.service.PersistantDocumentService.load(PersistantDocumentService .java:509) at jsp.mmsystemrouting_2._jspService(mmsystemrouting_2.java:726) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) at javax.servlet.http.HttpServlet.service(HttpServlet.java)
Connection refused under hight load
Hi, I'm testing a servlet-application that is using Tomcat v 3.1 (standalone, without Apache) running on Win2K Workstation. The tool I'm using for testing starts a (configurable) number of threads, each of which connects to the server, sends a HTTP-request and waits for the response. It runs on the same machine as the server. When I start many threads simultaneously, the server sometimes refuses connections (I get a ConnectException on client side). The tomcat logfile shows nothing unusual. Does someone know a possible reason for this behaviour or even a solution ? (I suspect that the "connection request queue" (I don't know the correct term ) of the operating system is too short, but where can i adjust this ?) Thanks in advance, Markus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Connection refused under hight load
I'd say that you've started too many threads; when there are no more threads available in the thread pool, Tomcat refuses connections. You should increase the number of threads in the pool. Sadly, I don't know how to do that; and would like to know :) Cheers, Alex. Markus Ebersberger wrote: Hi, I'm testing a servlet-application that is using Tomcat v 3.1 (standalone, without Apache) running on Win2K Workstation. The tool I'm using for testing starts a (configurable) number of threads, each of which connects to the server, sends a HTTP-request and waits for the response. It runs on the same machine as the server. When I start many threads simultaneously, the server sometimes refuses connections (I get a ConnectException on client side). The tomcat logfile shows nothing unusual. Does someone know a possible reason for this behaviour or even a solution ? (I suspect that the "connection request queue" (I don't know the correct term ) of the operating system is too short, but where can i adjust this ?) Thanks in advance, Markus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Connection refused under hight load
Title: RE: Connection refused under hight load I know that NT4 Workstation only allows 10 concurrent network connections. I didn't think that limit had changed for Win2k Workstation. Even though your app is running on the same machine, it is still making tcpip requests which would count against the limit. This is to force people to buy NT Server. Charlie -Original Message- From: Markus Ebersberger [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 08, 2001 6:13 AM To: [EMAIL PROTECTED] Subject: Connection refused under hight load Hi, I'm testing a servlet-application that is using Tomcat v 3.1 (standalone, without Apache) running on Win2K Workstation. The tool I'm using for testing starts a (configurable) number of threads, each of which connects to the server, sends a HTTP-request and waits for the response. It runs on the same machine as the server. When I start many threads simultaneously, the server sometimes refuses connections (I get a ConnectException on client side). The tomcat logfile shows nothing unusual. Does someone know a possible reason for this behaviour or even a solution ? (I suspect that the connection request queue (I don't know the correct term ) of the operating system is too short, but where can i adjust this ?) Thanks in advance, Markus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Connection refused under hight load
AFAIK, this limit doesn't apply for TCP/IP connections, only netbios connections. Mark -Original Message- From: Cox, Charlie [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 08, 2001 8:17 AM To: '[EMAIL PROTECTED]' Subject: RE: Connection refused under hight load I know that NT4 Workstation only allows 10 concurrent network connections. I didn't think that limit had changed for Win2k Workstation. Even though your app is running on the same machine, it is still making tcpip requests which would count against the limit. This is to force people to buy NT Server. Charlie -Original Message- From: Markus Ebersberger [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 08, 2001 6:13 AM To: [EMAIL PROTECTED] Subject: Connection refused under hight load Hi, I'm testing a servlet-application that is using Tomcat v 3.1 (standalone, without Apache) running on Win2K Workstation. The tool I'm using for testing starts a (configurable) number of threads, each of which connects to the server, sends a HTTP-request and waits for the response. It runs on the same machine as the server. When I start many threads simultaneously, the server sometimes refuses connections (I get a ConnectException on client side). The tomcat logfile shows nothing unusual. Does someone know a possible reason for this behaviour or even a solution ? (I suspect that the "connection request queue" (I don't know the correct term ) of the operating system is too short, but where can i adjust this ?) Thanks in advance, Markus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Connection refused under hight load
-Original Message- From: Chris Janicki [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 08, 2001 3:32 PM To: [EMAIL PROTECTED] Subject: RE: Connection refused under hight load Are you using Java 1.3 by any chance? Yes, I'm using JDK 1.3. Bye, Markus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Connection refused under hight load
I believe there is a serious threading bug in 1.3 right now. Java Bug Parade bug# 4293268 may be related. I have also had an application (not Tomcat) hand under heavy load. That same application seems to be working fine on Java 1.2.2.5. Fyi, my experiences were on Solaris 7 OS, but I believe the problem is in HotSpot design, and may not be machine dependent. Bottom line: try Java 1.2.2.5 Original Message On 2/8/01, 11:13:15 AM, "Markus Ebersberger" [EMAIL PROTECTED] wrote regarding RE: Connection refused under hight load: -Original Message- From: Chris Janicki [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 08, 2001 3:32 PM To: [EMAIL PROTECTED] Subject: RE: Connection refused under hight load Are you using Java 1.3 by any chance? Yes, I'm using JDK 1.3. Bye, Markus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]