Re: tomcat9 - Connection refused/closed and parse error

2025-04-28 Thread Christopher Schultz
Ramesh, On 4/28/25 7:00 AM, Ramesh B R wrote: The application hosted on tomcat9 exposes soap api which is consumed by SAP. On a daily basis we are getting 200 thousands transactions and out of that we could see around 1000 to 2000 failed transactions due to CONNECTION REFUSED, CONNECTION CLOSED

tomcat9 - Connection refused/closed and parse error

2025-04-28 Thread Ramesh B R
Hell all, The application hosted on tomcat9 exposes soap api which is consumed by SAP. On a daily basis we are getting 200 thousands transactions and out of that we could see around 1000 to 2000 failed transactions due to CONNECTION REFUSED, CONNECTION CLOSED and PARSE ERROR. The application is

Re: Isolating the Root Cause of "Connection Refused"

2024-06-27 Thread Christopher Schultz
essed concurrently, while acceptCount improves performance by preventing connections from being refused, which requires requests to be reissued by the client, and that is an expensive process. I would argue the opposite: clients receiving "connection refused" go away quickly and cheaply. I

Re: Isolating the Root Cause of "Connection Refused"

2024-06-27 Thread Christopher Schultz
xThreads to something "high". But of course your CPU(s) can only do so much work at once, so at some point setting maxThreads too high will just make things worse. Do you have any reverse-proxy or similar out in front of any/all of these services? If so, you could turn "connection r

Re: Isolating the Root Cause of "Connection Refused"

2024-06-27 Thread Christopher Schultz
Eric, On 6/25/24 14:22, Chuck Caldarale wrote: On Jun 25, 2024, at 13:12, Eric Robinson wrote: I'm obviously not getting something. If I understand correctly, the purpose of the acceptCount param is to allow tomcat to reject connections even after the TCP stack has passed them to the java

RE: Isolating the Root Cause of "Connection Refused"

2024-06-25 Thread Eric Robinson
> What is impact on memory utilization if we increase the acceptCount value? > There are 100 tomcat instances on the server. And would maxThreads have to > be increased to accommodate the extra connections? After reading more, I guess that's a dumb question. I'm trying to prevent connections from

RE: Isolating the Root Cause of "Connection Refused"

2024-06-25 Thread Eric Robinson
> > No - Tomcat passes the acceptCount value to the TCP/IP stack of the OS as > part of listener socket initialization. I thought of that after I sent my previous message. > the OS won't log this, since it's considered to be an application error. Assuming the problem is the acceptCount value, th

Re: Isolating the Root Cause of "Connection Refused"

2024-06-25 Thread Chuck Caldarale
> On Jun 25, 2024, at 13:12, Eric Robinson wrote: > > I'm obviously not getting something. If I understand correctly, the purpose > of the acceptCount param is to allow tomcat to reject connections even after > the TCP stack has passed them to the java process. At that point, the request > ha

RE: Isolating the Root Cause of "Connection Refused"

2024-06-25 Thread Eric Robinson
> -Original Message- > From: Chuck Caldarale > Sent: Tuesday, June 25, 2024 11:01 AM > To: Tomcat Users List > Subject: Re: Isolating the Root Cause of "Connection Refused" > > > > On Jun 25, 2024, at 12:55, Eric Robinson > wrote: > > > &

Re: Isolating the Root Cause of "Connection Refused"

2024-06-25 Thread Chuck Caldarale
> On Jun 25, 2024, at 12:55, Eric Robinson wrote: > >> You might still be running into the acceptCount limit on the . The >> default value is 100, so if more connection requests arrive in between the >> TCP/IP stack passing them on to the listening process, some could still be >> getting rejecte

RE: Isolating the Root Cause of "Connection Refused"

2024-06-25 Thread Eric Robinson
> -Original Message- > From: Chuck Caldarale > Sent: Monday, June 24, 2024 2:51 PM > To: Tomcat Users List > Subject: Re: Isolating the Root Cause of "Connection Refused" > > > > On Jun 24, 2024, at 16:40, Eric Robinson > wrote: > > >

Re: Isolating the Root Cause of "Connection Refused"

2024-06-24 Thread Chuck Caldarale
> On Jun 24, 2024, at 16:40, Eric Robinson wrote: > > I wrote a script that checks the FD counts for every java pid on the server. > Just looking at these results, I don't think we're hitting an FD limit at the > moment, but I'll try it again tomorrow while the problem is presenting. Quite

RE: Isolating the Root Cause of "Connection Refused"

2024-06-24 Thread Eric Robinson
ist > Subject: Re: Isolating the Root Cause of "Connection Refused" > > > > On Jun 24, 2024, at 15:47, Eric Robinson wrote: > > > >> -Original Message- > >> From: Chuck Caldarale > >> Sent: Monday, June 24, 2024 1:40 PM > >> T

Re: Isolating the Root Cause of "Connection Refused"

2024-06-24 Thread Chuck Caldarale
> On Jun 24, 2024, at 15:47, Eric Robinson wrote: > >> -Original Message- >> From: Chuck Caldarale >> Sent: Monday, June 24, 2024 1:40 PM >> To: Tomcat Users List >> Subject: Re: Isolating the Root Cause of "Connection Refused" >&g

RE: Isolating the Root Cause of "Connection Refused"

2024-06-24 Thread Thomas Meyer
inson : >> -Original Message- >> From: Chuck Caldarale >> Sent: Monday, June 24, 2024 1:40 PM >> To: Tomcat Users List >> Subject: Re: Isolating the Root Cause of "Connection Refused" >> >> >> > On Jun 24, 2024, at 15:36, Eric Robins

RE: Isolating the Root Cause of "Connection Refused"

2024-06-24 Thread Eric Robinson
> -Original Message- > From: Chuck Caldarale > Sent: Monday, June 24, 2024 1:40 PM > To: Tomcat Users List > Subject: Re: Isolating the Root Cause of "Connection Refused" > > > > On Jun 24, 2024, at 15:36, Eric Robinson wrote: > > >

Re: Isolating the Root Cause of "Connection Refused"

2024-06-24 Thread Chuck Caldarale
> On Jun 24, 2024, at 15:36, Eric Robinson wrote: > >> -Original Message- >> From: Chuck Caldarale >> Sent: Monday, June 24, 2024 1:29 PM >> To: Tomcat Users List >> Subject: Re: Isolating the Root Cause of "Connection Refused" >&g

RE: Isolating the Root Cause of "Connection Refused"

2024-06-24 Thread Eric Robinson
> -Original Message- > From: Chuck Caldarale > Sent: Monday, June 24, 2024 1:29 PM > To: Tomcat Users List > Subject: Re: Isolating the Root Cause of "Connection Refused" > > > > On Jun 24, 2024, at 15:19, Eric Robinson wrote: > > > >

Re: Isolating the Root Cause of "Connection Refused"

2024-06-24 Thread Chuck Caldarale
> On Jun 24, 2024, at 15:19, Eric Robinson wrote: > > We have a tomcat server that is not that busy. It has 100 tomcat instances > running, but it handles a few hundred connections per second total, across > all of them. It intermittently rejects connection attempts to listening > tomcats. T

Isolating the Root Cause of "Connection Refused"

2024-06-24 Thread Eric Robinson
We have a tomcat server that is not that busy. It has 100 tomcat instances running, but it handles a few hundred connections per second total, across all of them. It intermittently rejects connection attempts to listening tomcats. The server is running Rocky 8, has 48 cores (about 15-40% utilize

RE: Can't stop tomcat - connection refused

2022-02-16 Thread Neil Aggarwal
Glad you figured it out! Thank you, Neil -- Neil Aggarwal, (972) 834-1565, http://www.propfinancing.com We offer 30 year loans on single family houses! - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For addition

Re: Can't stop tomcat - connection refused

2022-02-16 Thread Konstantin Kolinko
ср, 16 февр. 2022 г. в 13:51, Blake McBride : > > Problem solved! > > I am quite embarrassed because I've had this problem before, solved it > (with the help of this list), and documented it. Here are my notes: > > tomcat slow startup > > The secure random calls may be blocking as there is not eno

Re: Can't stop tomcat - connection refused

2022-02-16 Thread Blake McBride
Problem solved! I am quite embarrassed because I've had this problem before, solved it (with the help of this list), and documented it. Here are my notes: tomcat slow startup The secure random calls may be blocking as there is not enough entropy to feed them in /dev/random. Change /etc/java-8-

Re: Can't stop tomcat - connection refused

2022-02-15 Thread Blake McBride
I have been using this config on a few VPS vendors for more than 10 years without anything like this. I tried the exact same setup on AWS today and it worked right away. I feel pretty sure that the VPS vendor I am trying has some sort of problem. I am working with them to solve it. Thanks! Bla

Re: Can't stop tomcat - connection refused

2022-02-15 Thread Christopher Schultz
time the curl command just hung and ./shutdown.sh gave me "Connection refused" error. catalina.out shows no errors. Linux oom killler? -chris - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additiona

RE: Can't stop tomcat - connection refused

2022-02-15 Thread Neil Aggarwal
Looks like tomcat is dying or getting killed. That is strange. I am running tomcat on a VPS with no problems. Thank you, Neil -- Neil Aggarwal, (972) 834-1565, http://www.propfinancing.com We offer 30 year loans on single family houses!

Re: Can't stop tomcat - connection refused

2022-02-15 Thread Blake McBride
his time the curl command just hung and ./shutdown.sh gave me "Connection > refused" error. > > catalina.out shows no errors. > > Thanks! > > Blake > > > On Tue, Feb 15, 2022 at 3:42 PM Neil Aggarwal > wrote: > >> Use something like lynx or curl fr

Re: Can't stop tomcat - connection refused

2022-02-15 Thread Blake McBride
Thanks, Neil, I started up tomcat and ran: curl http://localhost:8080 It returned the page. Great. I then ran: ./shutdown.sh It stopped just fine. I checked with ps. I then did ./startup.sh again. This time the curl command just hung and ./shutdown.sh gave me "Connection refused&q

RE: Can't stop tomcat - connection refused

2022-02-15 Thread Neil Aggarwal
Use something like lynx or curl from the command line to try to connect to the Tomcat instance. Thank you, Neil -- Neil Aggarwal, (972) 834-1565, http://www.propfinancing.com We offer 30 year loans on single family houses! - T

Re: Can't stop tomcat - connection refused

2022-02-15 Thread Blake McBride
o GUI. The fact that I get "Connection refused" locally when I try to shutdown is about the only indication I have that something is wrong. Thanks! Blake On Tue, Feb 15, 2022 at 3:12 PM Neil Aggarwal wrote: > Maybe better to back up one more step: > > Are you sure Tomcat s

RE: Can't stop tomcat - connection refused

2022-02-15 Thread Neil Aggarwal
Maybe better to back up one more step: Are you sure Tomcat started up correctly? Thank you, Neil -- Neil Aggarwal, (972) 834-1565, http://www.propfinancing.com We offer 30 year loans on single family houses! - To unsubscribe,

RE: Can't stop tomcat - connection refused

2022-02-15 Thread Neil Aggarwal
> I cannot connect to tomcat (port 8080) externally Can you connect to it from the local machine? If that is the case, it may be only listening for local connections. Thank you, Neil -- Neil Aggarwal, (972) 834-1565, http://www.propfinancing.com We offer 30 year loans on single family houses!

Can't stop tomcat - connection refused

2022-02-15 Thread Blake McBride
can ssh into the machine. I cannot connect to tomcat (port 8080) externally. And, when I attempt to shutdown tomcat via ./shutdown.sh I get "Connection refused". I tried the exact same sequence on my old VPS provider. It worked first time. The new provider is one of the top-tier pro

Re: Understanding issues with connection refused when redirecting internally

2021-04-12 Thread Peter Chamberlain
; it is always less efficient. (remm) > > > > And if it is hitting some sort of accept thread starvation case when it > is > > fully loaded. In tomcat 9.0.13 I can hit a maxTheads=200 nio2 connector > > with 5000 jmeter threads and not experience a connection refused, b

Re: Understanding issues with connection refused when redirecting internally

2021-04-12 Thread Mark Thomas
hit a maxTheads=200 nio2 connector with 5000 jmeter threads and not experience a connection refused, but in 9.0.14 I can't reach 1000 without refused connections. It doesn't seem to be related to forwards or redirects either. If I just sleep for 1500 milliseconds for every servlet run and

Re: Understanding issues with connection refused when redirecting internally

2021-04-11 Thread Peter Chamberlain
rtant at this point. It pretty much comes down to API usage at >> this point. >> >> Hope that helps, >> -chris >> > > I think I'm much clearer on this in general now. Just wanted to check > there wasn't some magic setting I was missing, but it sounds l

Re: Understanding issues with connection refused when redirecting internally

2021-04-09 Thread Peter Chamberlain
On Fri, 9 Apr 2021, 14:10 Christopher Schultz, wrote: > Peter, > > On 4/9/21 06:53, Peter Chamberlain wrote: > > Hello, > > I've been trying to understand the behaviour of tomcat when handling > > internal redirects. I'm testing using tomcat 9.0.38. I'm testing using > > jdk8 1.8.0_265. My main t

Re: Understanding issues with connection refused when redirecting internally

2021-04-09 Thread Peter Chamberlain
On Fri, 9 Apr 2021, 14:29 Mark Thomas, wrote: > On 09/04/2021 11:53, Peter Chamberlain wrote: > > Hello, > > I've been trying to understand the behaviour of tomcat when handling > > internal redirects. I'm testing using tomcat 9.0.38. I'm testing using > > jdk8 1.8.0_265. My main test cases have

Re: Understanding issues with connection refused when redirecting internally

2021-04-09 Thread Mark Thomas
On 09/04/2021 11:53, Peter Chamberlain wrote: Hello, I've been trying to understand the behaviour of tomcat when handling internal redirects. I'm testing using tomcat 9.0.38. I'm testing using jdk8 1.8.0_265. My main test cases have been 2 forwards to the same servlet, and then a response. Or 2 r

Re: Understanding issues with connection refused when redirecting internally

2021-04-09 Thread Christopher Schultz
Peter, On 4/9/21 06:53, Peter Chamberlain wrote: Hello, I've been trying to understand the behaviour of tomcat when handling internal redirects. I'm testing using tomcat 9.0.38. I'm testing using jdk8 1.8.0_265. My main test cases have been 2 forwards to the same servlet, and then a response. Or

Understanding issues with connection refused when redirecting internally

2021-04-09 Thread Peter Chamberlain
Hello, I've been trying to understand the behaviour of tomcat when handling internal redirects. I'm testing using tomcat 9.0.38. I'm testing using jdk8 1.8.0_265. My main test cases have been 2 forwards to the same servlet, and then a response. Or 2 redirects to the same servlet and then a response

Re: Getting more information on connection refused error

2019-11-13 Thread Saurav Sarkar
: > > Hi All, > > > > We invoke one service which runs on a OSGI Virgo based embeddable > > tomcat servlet container. > > org.eclipse.gemini.web.tomcat_2.2.6.RELEASE.jar is the version we > > use. > > > > After sending some load to the service, it star

Re: Getting more information on connection refused error

2019-11-13 Thread Christopher Schultz
t; use. > > After sending some load to the service, it starts giving > "connection refused error". > > errno: 111 (Connection refused), error: Connection refused (local > port to address (), remote port > 8443 to address ). > > I assume this is due to fact that

Getting more information on connection refused error

2019-11-13 Thread Saurav Sarkar
Hi All, We invoke one service which runs on a OSGI Virgo based embeddable tomcat servlet container. org.eclipse.gemini.web.tomcat_2.2.6.RELEASE.jar is the version we use. After sending some load to the service, it starts giving "connection refused error". errno: 111 (Connection refus

Re: Connection refused: connect

2018-09-26 Thread Guang Chao
On Fri, Sep 21, 2018 at 4:54 PM Karen Goh wrote: > Hi, > > I am repeatedly getting the following exceptions and am stuck here like > forever. > > Hope someone can tell me what's wrong with my tomcat server version: > 8.5.24 with Eclipse > > > java.net.C

Re: Connection refused: connect

2018-09-26 Thread Luis Rodríguez Fernández
>>> > >>> I am repeatedly getting the following exceptions and am stuck here > >>> like forever. > >>> > >>> Hope someone can tell me what's wrong with my tomcat server version: > >>>

Re: Connection refused: connect

2018-09-21 Thread Igal Sapir
ope someone can tell me what's wrong with my tomcat server version: 8.5.24 with Eclipse java.net.ConnectException: Connection refused: connect     at java.net.DualStackPlainSocketImpl.connect0(Native Method)     at java.net.DualStackPlainSocketImpl.socketConnect(Un

Re: Connection refused: connect

2018-09-21 Thread tomcat
ver version: 8.5.24 with Eclipse java.net.ConnectException: Connection refused: connect at java.net.DualStackPlainSocketImpl.connect0(Native Method) at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.doConnect(Un

Re: Connection refused: connect

2018-09-21 Thread tomcat
On 21.09.2018 10:54, Karen Goh wrote: Hi, I am repeatedly getting the following exceptions and am stuck here like forever. Hope someone can tell me what's wrong with my tomcat server version: 8.5.24 with Eclipse java.net.ConnectException: Connection refused: connect

Connection refused: connect

2018-09-21 Thread Karen Goh
Hi, I am repeatedly getting the following exceptions and am stuck here like forever. Hope someone can tell me what's wrong with my tomcat server version: 8.5.24 with Eclipse java.net.ConnectException: Connection refused: connect at java.net.DualStackPlainSocketImpl.connect0(N

Re: BIO: Async servlet with it's own thread pool; but get connection refused!

2017-09-12 Thread Yasser Zamani
Ouch! maxConnections! You're right. I failed to take account of it correctly. Actually I was confused connections like threads (because of maxThreads/Connections) and thought they release when their thread releases :[ while a connection keeps alive until response and thread pool is shared betwe

Re: BIO: Async servlet with it's own thread pool; but get connection refused!

2017-09-12 Thread Mark Thomas
On 12/09/17 10:00, Yasser Zamani wrote: > > > On 9/12/2017 1:17 AM, Mark Thomas wrote: >> On 07/09/17 23:30, Yasser Zamani wrote: >>> Thanks for your attention. >>> >>> Now I downloaded a fresh apache-tomcat-7.0.81-windows-x64 and chenged >>> it's connector in same way (BIO,20,20,10). I get same

Re: BIO: Async servlet with it's own thread pool; but get connection refused!

2017-09-12 Thread Yasser Zamani
On 9/12/2017 1:17 AM, Mark Thomas wrote: > On 07/09/17 23:30, Yasser Zamani wrote: >> Thanks for your attention. >> >> Now I downloaded a fresh apache-tomcat-7.0.81-windows-x64 and chenged >> it's connector in same way (BIO,20,20,10). I get same result, fortunately :) >> >> OUTPUT: >> >> Using CA

Re: BIO: Async servlet with it's own thread pool; but get connection refused!

2017-09-11 Thread Mark Thomas
On 07/09/17 23:30, Yasser Zamani wrote: > Thanks for your attention. > > Now I downloaded a fresh apache-tomcat-7.0.81-windows-x64 and chenged > it's connector in same way (BIO,20,20,10). I get same result, fortunately :) > > OUTPUT: > > Using CATALINA_BASE: > "C:\Users\user\.IntelliJIdea2016.

Re: BIO: Async servlet with it's own thread pool; but get connection refused!

2017-09-07 Thread Yasser Zamani
On 9/7/2017 12:15 PM, Guang Chao wrote: > On Thu, Sep 7, 2017 at 3:59 AM, Yasser Zamani > wrote: > >> Hi there, >> >> I'm studying Servlet 3's async API using tomcat. I see following strange >> behavior from tomcat in a very simple test app! >> >> I have following JMeter test plan: >> Number of

Re: BIO: Async servlet with it's own thread pool; but get connection refused!

2017-09-07 Thread Yasser Zamani
Thanks for your attention. Now I downloaded a fresh apache-tomcat-7.0.81-windows-x64 and chenged it's connector in same way (BIO,20,20,10). I get same result, fortunately :) OUTPUT: Using CATALINA_BASE: "C:\Users\user\.IntelliJIdea2016.3\system\tomcat\Unnamed_Async-Servlet-Example_2" Using CAT

Re: BIO: Async servlet with it's own thread pool; but get connection refused!

2017-09-07 Thread Mark Thomas
On 07/09/17 22:22, Yasser Zamani wrote: > At first thanks a lot for your reply! > > On 9/7/2017 1:43 PM, Mark Thomas wrote: >> On 06/09/17 20:59, Yasser Zamani wrote: >>> Hi there, >>> >>> I'm studying Servlet 3's async API using tomcat. I see following strange >>> behavior from tomcat in a very s

Re: BIO: Async servlet with it's own thread pool; but get connection refused!

2017-09-07 Thread Yasser Zamani
At first thanks a lot for your reply! On 9/7/2017 1:43 PM, Mark Thomas wrote: > On 06/09/17 20:59, Yasser Zamani wrote: >> Hi there, >> >> I'm studying Servlet 3's async API using tomcat. I see following strange >> behavior from tomcat in a very simple test app! > > You are also using the BIO conn

Re: BIO: Async servlet with it's own thread pool; but get connection refused!

2017-09-07 Thread Mark Thomas
On 06/09/17 20:59, Yasser Zamani wrote: > Hi there, > > I'm studying Servlet 3's async API using tomcat. I see following strange > behavior from tomcat in a very simple test app! You are also using the BIO connector which, since it is blocking, doesn't offer any benefits when using async. You'd

Re: BIO: Async servlet with it's own thread pool; but get connection refused!

2017-09-07 Thread Guang Chao
On Thu, Sep 7, 2017 at 3:59 AM, Yasser Zamani wrote: > Hi there, > > I'm studying Servlet 3's async API using tomcat. I see following strange > behavior from tomcat in a very simple test app! > > I have following JMeter test plan: > Number of threads (users): 700 > Ramp-Up period (in seconds): 23

BIO: Async servlet with it's own thread pool; but get connection refused!

2017-09-06 Thread Yasser Zamani
Hi there, I'm studying Servlet 3's async API using tomcat. I see following strange behavior from tomcat in a very simple test app! I have following JMeter test plan: Number of threads (users): 700 Ramp-Up period (in seconds): 23 Loop count: 1 So JMeter generates 30.43 requests per second and 30

RE: Increasing maxThreads results in more "Connection refused" errors?

2017-02-13 Thread John.E.Gregg
Chris > -Original Message- > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: Friday, February 03, 2017 11:08 AM > To: Tomcat Users List > Subject: Re: Increasing maxThreads results in more "Connection refused" > errors? >

Re: Increasing maxThreads results in more "Connection refused" errors?

2017-02-03 Thread Christopher Schultz
more connection reuse (more requests per connection,) and response > times didn't deteriorate as much. > > Great, right? > > Then I noticed a large increase in "Connection refused" errors on > the load generator. In other words, a higher maxThreads also > results in a h

Increasing maxThreads results in more "Connection refused" errors?

2017-02-03 Thread John.E.Gregg
uch, there was more connection reuse (more requests per connection,) and response times didn't deteriorate as much. Great, right? Then I noticed a large increase in "Connection refused" errors on the load generator. In other words, a higher maxThreads also results in a high error rate.

Re: org.apache.axis2.AxisFault: [was class java.net.ConnectException] Connection refused: connect

2012-09-24 Thread Christopher Schultz
n I suspect that "connection refused" is not the real error. We can't help you without any more information. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla

Re: org.apache.axis2.AxisFault: [was class java.net.ConnectException] Connection refused: connect

2012-09-24 Thread Tom Anthony
Hi Chris, On the server side there is no error, I can even see the system.outs I put in the server class (skeleton). Thanks very much for your help! -- View this message in context: http://tomcat.10.n6.nabble.com/org-apache-axis2-AxisFault-was-class-java-net-ConnectException-Connection

Re: org.apache.axis2.AxisFault: [was class java.net.ConnectException] Connection refused: connect

2012-09-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Denise, On 9/24/12 12:05 PM, Denise Wu wrote: > I developed a simple webservice to return a string based on an > input string sent by the client. I configured my apache tomcat and > axis2 for https on port 8443. > > When I send a query, it got receiv

org.apache.axis2.AxisFault: [was class java.net.ConnectException] Connection refused: connect

2012-09-24 Thread Denise Wu
log. However the client didn't receive any response but rather throws the following error: Any idea? Thanks, problem running EchoString: org.apache.axis2.AxisFault: [was class java.net.ConnectException] Connection refused: connect org.apache.axis2.AxisFault: [was class java.net.ConnectExce

Re: Tomcat 5.5.30 - connection refused with APR

2010-09-28 Thread Mike Gardiner
zing Coyote AJP/1.3 on ajp-8009 >> [2010-09-28 13:00:49,059] INFO main org.apache.catalina.startup.Catalina - >> Initialization processed in 1892 ms >> >> >> So it looks as if APR is loaded and ports 8080/8443 are opened. >> >> When I run netstat I see >> tcp 0

RE: Tomcat 5.5.30 - connection refused with APR

2010-09-28 Thread Caldarale, Charles R
> From: Mike Gardiner [mailto:gardin...@gmail.com] > Subject: Tomcat 5.5.30 - connection refused with APR > I've set up Tomcat 5.5.30 and am using the native interface > but the ports don't seem be be opening. Clearly they're open, as your netstat shows. >

Re: Tomcat 5.5.30 - connection refused with APR

2010-09-28 Thread André Warnier
ks as if APR is loaded and ports 8080/8443 are opened. When I run netstat I see tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 9668/java tcp 0 0 0.0.0.0:8443 0.0.0.0:* LISTEN 9668/java So the ports have been opened, and I've completely disabled the firewall but I still get connection refused messages. A

Re: Tomcat 5.5.30 - connection refused with APR

2010-09-28 Thread André Warnier
ks as if APR is loaded and ports 8080/8443 are opened. When I run netstat I see tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 9668/java tcp 0 0 0.0.0.0:8443 0.0.0.0:* LISTEN 9668/java So the ports have been opened, and I've completely disabled the firewall but I still get connection refused messages. A

Tomcat 5.5.30 - connection refused with APR

2010-09-28 Thread Mike Gardiner
ports 8080/8443 are opened. When I run netstat I see tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 9668/java tcp 0 0 0.0.0.0:8443 0.0.0.0:* LISTEN 9668/java So the ports have been opened, and I've completely disabled the firewall but I still get connection refused messages. Any ideas on where to loo

RE: Connection Refused On Tomcat Server Shutdowns if...

2010-07-22 Thread John A Parker
22, 2010 11:27 AM To: Tomcat Users List Subject: Re: Connection Refused On Tomcat Server Shutdowns if... On 22.07.2010 17:02, John A Parker wrote: > Using apache-tomcat-6.0.28... > > We are encountering issue with "catalina.sh stop"s IF we use a variable to > set the

Re: Connection Refused On Tomcat Server Shutdowns if...

2010-07-22 Thread Rainer Jung
On 22.07.2010 17:24, David Fisher wrote: If you look at catalina.sh you will see that stop does not include CATALINA_OPTS: "$_RUNJAVA" $JAVA_OPTS \ -Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" -classpath "$CLASSPATH" \ -Dcatalina.base="$CATALINA_BASE" \ -Dcatalina.home="$CATALIN

Re: Connection Refused On Tomcat Server Shutdowns if...

2010-07-22 Thread Rainer Jung
..." server.xml ="... --> ..." After startup we see... ... java 24389 tcowner 42u IPv6 8406404 TCP localhost.localdomain:8104 (LISTEN) But on shutdown we get... SEVERE: Catalina.stop: java.net.ConnectExceptio

Re: Connection Refused On Tomcat Server Shutdowns if...

2010-07-22 Thread David Fisher
> > --> > > ..." > > > After startup we see... > > ... > java 24389 tcowner 42u IPv6 8406404 TCP > localhost.localdomain:8104 (LISTEN) > > >

Connection Refused On Tomcat Server Shutdowns if...

2010-07-22 Thread John A Parker
..." After startup we see... ... java 24389 tcowner 42u IPv6 8406404 TCP localhost.localdomain:8104 (LISTEN) But on shutdown we get... SEVERE: Catalina.stop: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socket

RE: Where to look for "connection refused" errors in Tomcat6.0.18 ?

2008-10-18 Thread Martin Gainty
nsmission. > To: users@tomcat.apache.org > Subject: RE: Where to look for "connection refused" errors in Tomcat6.0.18 ? > From: [EMAIL PROTECTED] > Date: Sat, 18 Oct 2008 15:54:38 +0530 > > Thanks Peter for your answer . you said : > > You *can never* see these er

Re: Where to look for "connection refused" errors in Tomcat6.0.18 ?

2008-10-18 Thread André Warnier
[EMAIL PROTECTED] wrote: Thanks Peter for your answer . you said : You *can never* see these errors in Tomcat, because Tomcat is never aware that the connection was received. The operating system's TCP/IP stack has received the incoming SYN, tried to queue the connection request on Tomcat's a

RE: Where to look for "connection refused" errors in Tomcat6.0.18 ?

2008-10-18 Thread Choudhury
to the > > configured maximum (the value of the acceptCount attribute. > > Any further > > simultaneous requests will receive "connection refused" errors, until > > resources are available to process them. " So where can we > > expect to see those errors in Tomc

RE: Where to look for "connection refused" errors in Tomcat6.0.18 ?

2008-10-17 Thread Peter Crowther
simultaneous requests will receive "connection refused" errors, until > resources are available to process them. " So where can we > expect to see those errors in Tomcat? You *can never* see these errors in Tomcat, because Tomcat is never aware that the connection was rec

Where to look for "connection refused" errors in Tomcat6.0.18 ?

2008-10-17 Thread Choudhury
y are stacked up inside the server socket created by the Connector, up to the configured maximum (the value of the acceptCount attribute. Any further simultaneous requests will receive "connection refused" errors, until resources are available to process them. " So where can we

Re: problem in running Jconsole remotely --"Connection refused"

2008-10-02 Thread Kees Jan Koster
: When I execute the batch file Tomcat is starting okay. But when I am trying to run Jconsole to connect to the Tomcat , I am always getting a "connection refused " error. I think I have set up the parameters correctly here ? Apart from this all the .bat files that comses bundled with To

Re: problem in running Jconsole remotely --"Connection refused"

2008-09-30 Thread Choudhury
utions - Results Count Mark Thomas <[EMAIL PROTECTED]> 09/30/2008 06:12 PM Please respond to "Tomcat Users List" To Tomcat Users List cc Subject Re: problem in running Jconsole remotely --"Connection refused" [EMAIL PROTECTED] wrote: > Have a look at

Re: problem in running Jconsole remotely --"Connection refused"

2008-09-30 Thread Mark Thomas
[EMAIL PROTECTED] wrote: > Have a look at this thread: > http://markmail.org/message/r4lwb4ipa6ssaawy > > The second port is probably blocked by a firewall. >>> I am not a system guy and have no idea about firewalls..It is a default > Windows 2003 Server set up .So I am assuming that whatever is

Re: problem in running Jconsole remotely --"Connection refused"

2008-09-30 Thread Choudhury
rs List" To Tomcat Users List cc Subject Re: problem in running Jconsole remotely --"Connection refused" [EMAIL PROTECTED] wrote: > Guys, >I am facing problem in running Jconsole remotely . In my > machine from where I am running Jconsole I have jdk1.

Re: problem in running Jconsole remotely --"Connection refused"

2008-09-30 Thread Mark Thomas
h file with the following contents : When I execute > the batch file Tomcat is starting okay. But when I am trying to run > Jconsole to connect to the Tomcat , I am always getting a "connection > refused " error. I think I have set up the parameters correctly here ? > Apart fro

problem in running Jconsole remotely --"Connection refused"

2008-09-30 Thread Choudhury
the batch file Tomcat is starting okay. But when I am trying to run Jconsole to connect to the Tomcat , I am always getting a "connection refused " error. I think I have set up the parameters correctly here ? Apart from this all the .bat files that comses bundled with Tomcat6.0.18 are

java.net.ConnectException: Connection refused

2008-05-01 Thread Andrew Hole
Hello! When I shutdown tomcat i get the following error and the process remains active. Do you know what could be the problem? SEVERE: Catalina.stop: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at

RE: getting SEVERE: Catalina.stop: java.net.ConnectException: Connection refused error

2008-01-30 Thread Meir Yanovich
Thanks .. working -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wesley Schwengle Sent: Wednesday, January 30, 2008 3:03 PM To: Tomcat Users List Subject: RE: getting SEVERE: Catalina.stop: java.net.ConnectException: Connection refused error On 30.01.08

RE: getting SEVERE: Catalina.stop: java.net.ConnectException: Connection refused error

2008-01-30 Thread Meir Yanovich
st > Subject: Re: getting SEVERE: Catalina.stop: java.net.ConnectException: > Connection refused error > > This is ps from HP-UX/linux, other version might use a different flag :) > There are tons of flags, as long as you can get detailed command line, > or working directory or

RE: getting SEVERE: Catalina.stop: java.net.ConnectException: Connection refused error

2008-01-30 Thread Wesley Schwengle
On 30.01.08 14:50 Meir Yanovich wrote: Yes I can see it has x in hp -x Shows the command line in extended format. Someone knows what is the equivalent in sunOs? /usr/ucb/ps -auxww :) Cheers, Wesley - To start a

Re: getting SEVERE: Catalina.stop: java.net.ConnectException: Connection refused error

2008-01-30 Thread David Delbecq
tException: Connection refused error This is ps from HP-UX/linux, other version might use a different flag :) There are tons of flags, as long as you can get detailed command line, or working directory or perhaps environment variables, you should have enough to limit selection to one process. En

RE: getting SEVERE: Catalina.stop: java.net.ConnectException: Connection refused error

2008-01-30 Thread Meir Yanovich
: getting SEVERE: Catalina.stop: java.net.ConnectException: Connection refused error This is ps from HP-UX/linux, other version might use a different flag :) There are tons of flags, as long as you can get detailed command line, or working directory or perhaps environment variables, you should have

Re: getting SEVERE: Catalina.stop: java.net.ConnectException: Connection refused error

2008-01-30 Thread David Delbecq
ist Subject: Re: getting SEVERE: Catalina.stop: java.net.ConnectException: Connection refused error ps -aex | grep tomcat | grep java first part limit to tomcat processes, second part strip non java processes that are related to tomcat (like the grep tomcat of previous line ;) If you need more exp

RE: getting SEVERE: Catalina.stop: java.net.ConnectException: Connection refused error

2008-01-30 Thread Meir Yanovich
.stop: java.net.ConnectException: Connection refused error ps -aex | grep tomcat | grep java first part limit to tomcat processes, second part strip non java processes that are related to tomcat (like the grep tomcat of previous line ;) If you need more explicit selection, include the home directory of tomcat i

Re: getting SEVERE: Catalina.stop: java.net.ConnectException: Connection refused error

2008-01-30 Thread David Delbecq
al Message- From: David Delbecq [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 30, 2008 12:47 PM To: Tomcat Users List Subject: Re: getting SEVERE: Catalina.stop: java.net.ConnectException: Connection refused error under linux, a combinaision of ps, grep and wc could tell you how much

RE: getting SEVERE: Catalina.stop: java.net.ConnectException: Connection refused error

2008-01-30 Thread Meir Yanovich
? -Original Message- From: David Delbecq [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 30, 2008 12:47 PM To: Tomcat Users List Subject: Re: getting SEVERE: Catalina.stop: java.net.ConnectException: Connection refused error under linux, a combinaision of ps, grep and wc could tell you how

Re: getting SEVERE: Catalina.stop: java.net.ConnectException: Connection refused error

2008-01-30 Thread David Delbecq
tException: Connection refused error Looks like you are trying, for whatever reason, to stop tomcat prior to starting it. This exception occurs cause there is no tomcat running that could answer that stop request. En l'instant précis du 30/01/08 09:25, Meir Yanovich s'exprimait en ces term

  1   2   >