Re: Unable to start tomcat

2020-02-25 Thread dkumar
Dear Jason, Thank you for link. As per below link. I have started our Window Server and problem has been resolved. We are able to start our tomcat. But my worry is, I am unable to find out Root Cause of problem. And how to handle it in future. Do we have any way to monitor buffer space or

Re: Unable to start tomcat

2020-02-25 Thread Jason Wee
have you try google? https://stackoverflow.com/questions/4415175/an-operation-on-a-socket-could-not-be-performed-because-the-system-lacked-suffi On Wed, Feb 26, 2020 at 2:47 PM wrote: > > Dear Jason, > > Thank for your reply. I am unable to understand below hint. Will you > please help me out.

Re: Unable to start tomcat

2020-02-25 Thread dkumar
Dear Jason, Thank for your reply. I am unable to understand below hint. Will you please help me out. What action should I take to start my tomcat. And how I can see my buffer space or queue size. -- This looks informative and should give u hint and where you should begin troubleshooting.

Re: Unable to start tomcat

2020-02-25 Thread Jason Wee
This looks informative and should give u hint and where you should begin troubleshooting. org.apache.tomcat.jni.Error: 730055: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full. On Wed, Feb 26, 2020 at 2:30 PM wrote: >

Unable to start tomcat

2020-02-25 Thread dkumar
Dear Team I have updated JRE from jre1.8.0_25 to jre1.8.0_211 on my window server 2012. and My tomcat version is apache-tomcat-8.0.41. It was running fine last 6 hours but now I am getting error while stating the tomcat 26-Feb-2020 11:22:23.600 SEVERE [main]

javax.servlet.ServletContainerInitializer defined in jar not loading on Tomcat 7.0.100

2020-02-25 Thread SS jong
We have an webapp that has been running fine on Tomcat 7.0.99, but failed to load properly on Tomcat 7.0.100, upon investigation, it looks like javax.servlet.ServletContainerInitializer that we defined in jar is not being loaded, and to make sure, we created a blank new webapp with a blank

Re: [OT] At wits end: Difficulties with IIS ISAPI connector andTomcat

2020-02-25 Thread Ellen Meiselman
Hi Chris, > Does this mean that incoming connections require SSL or aso outgoing > (e.g. proxy) connections? I'm super ignorant of IIS configuration. > Incoming connections require SSL or will be upgraded to SSL. So if you > type in http, it will change to https. Right now because I do not

Re: [OT] At wits end: Difficulties with IIS ISAPI connector andTomcat

2020-02-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ellen, Oops pressed SEND before I was done... On 2/25/20 16:47, Ellen Meiselman wrote: > So it turned out that the logs were mostly set at FINE already, so > Johann’s suggestion was already done. > > But I think I now know where the problem lies.

Re: [OT] At wits end: Difficulties with IIS ISAPI connector andTomcat

2020-02-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ellen, On 2/25/20 16:47, Ellen Meiselman wrote: > So it turned out that the logs were mostly set at FINE already, so > Johann’s suggestion was already done. > > But I think I now know where the problem lies. Secure IIS request > > to > non-secire

RE: [OT] At wits end: Difficulties with IIS ISAPI connector andTomcat

2020-02-25 Thread jonmcalexander
Good News! You can shut-off port 8080 by commenting out the HTTP Connector in the server.xml. Did you have the require SSL on the IIS Side? AJP doesn't use SSL, so it should work either way going thru IIS. Dream * Excel * Explore * Inspire Jon McAlexander Asst Vice President Middleware

Re: [OT] At wits end: Difficulties with IIS ISAPI connector andTomcat

2020-02-25 Thread Ellen Meiselman
So it turned out that the logs were mostly set at FINE already, so Johann’s suggestion was already done. But I think I now know where the problem lies. Secure IIS request > to > non-secire AJP. I don’t think this was a problem on the other servers before but the security has probably been

RE: [OT] At wits end: Difficulties with IIS ISAPI connector andTomcat

2020-02-25 Thread jonmcalexander
What is in your URIWorkermap.properties file? Dream * Excel * Explore * Inspire Jon McAlexander Asst Vice President Middleware Product Engineering Enterprise CIO | Platform Services | Middleware | Infrastructure Solutions Upcoming PTO: 11/8, 11/11, 11/15, 11/22, 11/28, 11/29, 12/2, 12/6,

Re: [OT] At wits end: Difficulties with IIS ISAPI connector andTomcat

2020-02-25 Thread Ellen Meiselman
Hi Johann, I’ve been trying both ways - with and without secret. Happy to have it set up any way it works that won’t arouse the ire of our security team. I’ll increase the log levels and see what else I can find. Thanks, Ellen > On Feb 25, 2020, at 4:07 PM, js84 wrote: > > Hello! > >

AW: [OT] At wits end: Difficulties with IIS ISAPI connector andTomcat

2020-02-25 Thread js84
Hello! What for are you using secret property when running tomcat locally using loopback interface? I suggest to increase loglevel to „debug“ temporary. (Don’t forget to reset it because performance will slow down dramatically if isapi_redirect logfile grows on a Windows machine.) Best

AW: [OT] At wits end: Difficulties with IIS ISAPI connector andTomcat

2020-02-25 Thread js84
Hello! What for are you using secret property when running tomcat locally using loopback interface? I suggest to increase loglevel to „debug“ temporary. (Don’t forget to reset it because performance will slow down dramatically if isapi_redirect logfile grows on a Windows machine.) Best

Re: [OT] At wits end: Difficulties with IIS ISAPI connector and Tomcat

2020-02-25 Thread Ellen Meiselman
Hi Chris, Thank you very much for the suggestion and all the help. Ellen > On Feb 25, 2020, at 3:42 PM, Christopher Schultz > wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Ellen, > > On 2/25/20 13:10, Ellen Meiselman wrote: >> No, just that I don't know how to set

Re: [OT] At wits end: Difficulties with IIS ISAPI connector and Tomcat

2020-02-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ellen, On 2/25/20 13:10, Ellen Meiselman wrote: > No, just that I don't know how to set this particular connector up > another way. I based this on the instructions on the > isapi_connector site >

Re: At wits end: Difficulties with IIS ISAPI connector and Tomcat

2020-02-25 Thread Ellen Meiselman
Hi, Requests directly to Tomcat on port 8080 to pages within the connector-exposed web application work fine. For example, both of these work: localhost:8080/exposedApplication/simple.html. (viewed on the server’s browser) my.servers.domain.com:8080/exposedApplication/simple.html

RE: At wits end: Difficulties with IIS ISAPI connector and Tomcat

2020-02-25 Thread jonmcalexander
-Original Message- > From: Ellen Meiselman > Sent: Tuesday, February 25, 2020 12:27 PM > To: Tomcat Users List > Subject: Re: At wits end: Difficulties with IIS ISAPI connector and Tomcat > Hi Jon, > The best information I have about the error is from the localhost log: > 10.00.00.00

Re: At wits end: Difficulties with IIS ISAPI connector and Tomcat

2020-02-25 Thread Ellen Meiselman
Hi Jon, The best information I have about the error is from the localhost log: 10.00.00.00 - - [25/Feb/2020:10:00:52 -0500] "GET /exposedApplication/simple.html HTTP/1.1" 403 618 10.00.00.00 - - [25/Feb/2020:10:00:52 -0500] "GET /exposedApplication/simple.html HTTP/1.1" 403 618 10.00.00.00 - -

RE: At wits end: Difficulties with IIS ISAPI connector and Tomcat

2020-02-25 Thread jonmcalexander
-Original Message- From: Ellen Meiselman Sent: Tuesday, February 25, 2020 12:04 PM To: Tomcat Users List Subject: Re: At wits end: Difficulties with IIS ISAPI connector and Tomcat The directory containing the dll is at $TomcatHome/isapi/ I opened that wide up for testing after more

Re: At wits end: Difficulties with IIS ISAPI connector and Tomcat

2020-02-25 Thread Ellen Meiselman
No, just that I don't know how to set this particular connector up another way. I based this on the instructions on the isapi_connector site http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html and on the 2 older servers we have which are working. I'm sort of thinking of suggesting

Re: At wits end: Difficulties with IIS ISAPI connector and Tomcat

2020-02-25 Thread Ellen Meiselman
The directory containing the dll is at $TomcatHome/isapi/ I opened that wide up for testing after more secure configurations did not work. Don't worry - this will absolutely NOT be used for production: IUSR, I_USRS, and USERS all have full control. DefaultAppPool has everything but full control -

Re: At wits end: Difficulties with IIS ISAPI connector and Tomcat

2020-02-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ellen, On 2/25/20 12:55, Ellen Meiselman wrote: > Sorry - no, the quotes were not there except for a 5 minute test of > a hopeless theory that they might be needed. Right now there is no > secret at all in the workers.properties, and in the > ajp

Re: At wits end: Difficulties with IIS ISAPI connector and Tomcat

2020-02-25 Thread Ellen Meiselman
Sorry - no, the quotes were not there except for a 5 minute test of a hopeless theory that they might be needed. Right now there is no secret at all in the workers.properties, and in the ajp connector, i have secretRequired ="false". Workers.properties: worker.worker1.type=ajp13

RE: At wits end: Difficulties with IIS ISAPI connector and Tomcat

2020-02-25 Thread jonmcalexander
What permissions are on the file containing the DLL, and Worker files? Dream * Excel * Explore * Inspire Jon McAlexander Asst Vice President Middleware Product Engineering Enterprise CIO | Platform Services | Middleware | Infrastructure Solutions Upcoming PTO: 11/8, 11/11, 11/15, 11/22, 11/28,

Re: At wits end: Difficulties with IIS ISAPI connector and Tomcat

2020-02-25 Thread Ellen Meiselman
Thank you - when I remove the secret line, save and restart Tomcat, it results in the same 403 error. On Tue, Feb 25, 2020 at 12:34 PM André Warnier (tomcat/perl) wrote: > The workers.properties below look good to me at first sight. > > Just to eliminate something, could you try the following

Re: At wits end: Difficulties with IIS ISAPI connector and Tomcat

2020-02-25 Thread Ellen Meiselman
I *think* that this would be covered by the workers.properties used by the isapi_redirect.dll, correct? On Tue, Feb 25, 2020 at 11:42 AM André Warnier (tomcat/perl) wrote: > On 25.02.2020 17:26, jonmcalexan...@wellsfargo.com.INVALID wrote: > > -Original Message- > > From: Ellen

Re: At wits end: Difficulties with IIS ISAPI connector and Tomcat

2020-02-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ellen, On 2/25/20 12:06, Ellen Meiselman wrote: > Yes, everything is on the same server. > > workers.properties: # Set properties for worker1 (ajp13) > worker.worker1.type=ajp13 worker.worker1.host=127.0.0.1 > worker.worker1.port=8009

Re: At wits end: Difficulties with IIS ISAPI connector and Tomcat

2020-02-25 Thread tomcat/perl
The workers.properties below look good to me at first sight. Just to eliminate something, could you try the following changes : 1) workers.properties : remove the line > worker.worker1.secret="mySecret". 2) AJP Connector in tomcat : then restart tomcat and IIS. What's happening then ? Note

Re: At wits end: Difficulties with IIS ISAPI connector and Tomcat

2020-02-25 Thread Ellen Meiselman
Yes, everything is on the same server. workers.properties: # Set properties for worker1 (ajp13) worker.worker1.type=ajp13 worker.worker1.host=127.0.0.1 worker.worker1.port=8009 worker.worker1.secret="mySecret". On Tue, Feb 25, 2020 at 11:27 AM wrote: > -Original Message- > From: Ellen

Re: At wits end: Difficulties with IIS ISAPI connector and Tomcat

2020-02-25 Thread tomcat/perl
On 25.02.2020 17:26, jonmcalexan...@wellsfargo.com.INVALID wrote: -Original Message- From: Ellen Meiselman Sent: Tuesday, February 25, 2020 10:01 AM To: Tomcat Users List Subject: Re: At wits end: Difficulties with IIS ISAPI connector and Tomcat Hi, I've been testing, and so far,

RE: At wits end: Difficulties with IIS ISAPI connector and Tomcat

2020-02-25 Thread jonmcalexander
-Original Message- From: Ellen Meiselman Sent: Tuesday, February 25, 2020 10:01 AM To: Tomcat Users List Subject: Re: At wits end: Difficulties with IIS ISAPI connector and Tomcat >Hi, >I've been testing, and so far, there is no change in the behavior. I am still >getting the same

Re: At wits end: Difficulties with IIS ISAPI connector and Tomcat

2020-02-25 Thread Ellen Meiselman
Hi, I've been testing, and so far, there is no change in the behavior. I am still getting the same tomcat-based 403 error. Based on what you said above... > > secretRequired="true" (which is the default, so it can be removed) > secret="xxx" ...I removed secretRequired="true" and left

Re: At wits end: Difficulties with IIS ISAPI connector and Tomcat

2020-02-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ellen, On 2/24/20 17:33, Ellen Meiselman wrote: > Wow, I think I’ve gotten more help in 10 minutes from this users > group than in 2 weeks from anywhere else I’ve tried. Welcome to the community :) There are tons of real people here who want