Re: Problems with tomcat-connectors-1.2.41 on 32bit linux

2015-08-25 Thread Falco Schwarz
On Tue, Aug 25, 2015 at 5:13 PM, Rainer Jung wrote: > Am 25.08.2015 um 14:58 schrieb Falco Schwarz: > >> If I try to startup httpd though the following error occurs: >> >> httpd: Syntax error on line 88 of /opt/apache/conf/alles/httpd.conf: >> Cannot >> load /opt/apache/modules/mod_jk.so into ser

How to set Session Values with Form Based Authentication

2015-08-25 Thread Thusitha Thilina Dayaratne
Hi, I'm using form based authentication with j_security_check. I want to set some session values upon the user login. I can set them in the index page. But when user directly put some other url then it will redirect to login page and then back to the actual requested page. Therefore my logic on in

Tomcat 7 - Organizing web applications into sub directories

2015-08-25 Thread Srikanth Challa
I am trying to organize my applications (multiple) into a specific hierarchy under the webapps folder. Something like this - webapps dev app1 app2 test app1 app3 When deploying (without WAR), I am getting a 404 error for servlets. Tried changing th

Re: [ANN] Apache Tomcat Connectors 1.2.41 released

2015-08-25 Thread Rainer Jung
Am 25.08.2015 um 23:59 schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Rainer, On 8/25/15 5:53 PM, Rainer Jung wrote: Am 25.08.2015 um 20:41 schrieb Christopher Schultz: On 8/25/15 11:49 AM, Rainer Jung wrote: I just tried the isapi_redirector build using VC 2

Re: [ANN] Apache Tomcat Connectors 1.2.41 released

2015-08-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Rainer, On 8/25/15 5:53 PM, Rainer Jung wrote: > Am 25.08.2015 um 20:41 schrieb Christopher Schultz: > >> On 8/25/15 11:49 AM, Rainer Jung wrote: > >>> I just tried the isapi_redirector build using VC 2010 and the >>> Makefile.amd64. No additiona

Re: [ANN] Apache Tomcat Connectors 1.2.41 released

2015-08-25 Thread Rainer Jung
Am 25.08.2015 um 20:41 schrieb Christopher Schultz: On 8/25/15 11:49 AM, Rainer Jung wrote: I just tried the isapi_redirector build using VC 2010 and the Makefile.amd64. No additional flags, just setting up the compiler with "setenv /Release /x64" (as usual for MSVC) before running it. Then c

Re: API requests overloading Tomcat?

2015-08-25 Thread Mark Thomas
On 25/08/2015 19:42, Matthew Madey wrote: > I use an application called Spacewalk to manage RHEL systems in an > enterprise environment. The application provides an API that I use for > automation purposes. While load starts to increase on the application > server, we reach a breaking point where t

Re: Connection resets without timeout

2015-08-25 Thread Mark Thomas
On 25/08/2015 17:34, Gregory Gerard wrote: > I'm curious as well -- I ran into this too and the only work around I had was > to send a heartbeat which, if the client was gone, would complete the > lifecycle (server sent events in my particular case). > > This was ugly and felt wrong so I'd love

Re: Exception using Async Servlet

2015-08-25 Thread Mark Thomas
On 25/08/2015 17:05, Steffen Heil (Mailinglisten) wrote: > Hi > > > I am using servlets with startAsync to be able to read and write > asynchronously. > However from time to time the following is logged: > > Aug 25, 2015 5:52:32 PM org.apache.catalina.connector.CoyoteAdapter > asyncDispatch >

Re: AW: Asynchronous writes (Servlet and WebSocket)

2015-08-25 Thread Mark Thomas
On 25/08/2015 17:02, Steffen Heil (Mailinglisten) wrote: >>> Where is that implemented? >> The detail varies between versions due to the refactoring that has gone on >> over time in the connectors but in trunk that is all handled >> by SocketWrapperBase.writeNonBlocking() > > I am using 8.0.24.

API requests overloading Tomcat?

2015-08-25 Thread Matthew Madey
I use an application called Spacewalk to manage RHEL systems in an enterprise environment. The application provides an API that I use for automation purposes. While load starts to increase on the application server, we reach a breaking point where the application becomes unresponsive, and throws 50

Re: [ANN] Apache Tomcat Connectors 1.2.41 released

2015-08-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Rainer, On 8/25/15 11:49 AM, Rainer Jung wrote: > Am 24.08.2015 um 21:23 schrieb Mark Thomas: >> On 24/08/2015 16:40, Alten, Jessica-Aileen wrote: > We'd love to provide Windows binaries for mod_jk, but they are a real pain in the neck to

Re: Connection resets without timeout

2015-08-25 Thread Gregory Gerard
I'm curious as well -- I ran into this too and the only work around I had was to send a heartbeat which, if the client was gone, would complete the lifecycle (server sent events in my particular case). This was ugly and felt wrong so I'd love to know the right thing to do. > On Aug 25, 2015, at

Re: [ANN] Apache Tomcat Connectors 1.2.41 released

2015-08-25 Thread chris derham
All, I still don't quite understand how I ended up in this position, but when Stephen from the Apache Lounge builds a new tomcat native build of something, he asks me to inform the tomcat mailing list. I consider it the very least I can do for the community, but struggle to see how I am adding val

Connection resets without timeout

2015-08-25 Thread Steffen Heil (Mailinglisten)
Hi When using async servlets with timeout set to 0, tomcat seems not to detect, if the client closes the connection. At least the servlet listener is not notified. I expected "AsyncListener.onComplete" or "AsyncListener.onError" or "AsyncListener.onTimeout", but none of these are called. The o

Exception using Async Servlet

2015-08-25 Thread Steffen Heil (Mailinglisten)
Hi I am using servlets with startAsync to be able to read and write asynchronously. However from time to time the following is logged: Aug 25, 2015 5:52:32 PM org.apache.catalina.connector.CoyoteAdapter asyncDispatch SCHWERWIEGEND: Exception while processing an asynchronous request java.lang.Il

AW: Asynchronous writes (Servlet and WebSocket)

2015-08-25 Thread Steffen Heil (Mailinglisten)
Hi Thanks for assuring me, that it really is asynchronous. That was a blocker for us. > archive? I'm guessing you mean achieve. Yes, I did. Sorry, not a native English speaker... > No, it will buffer it all in the SocketWrapper. You won't get another > notification until the buffered data

Re: [ANN] Apache Tomcat Connectors 1.2.41 released

2015-08-25 Thread Rainer Jung
Am 24.08.2015 um 21:23 schrieb Mark Thomas: On 24/08/2015 16:40, Alten, Jessica-Aileen wrote: We'd love to provide Windows binaries for mod_jk, but they are a real pain in the neck to actually build: they require very specific build environment, and the library must be built in such a way that

Re: Problems with tomcat-connectors-1.2.41 on 32bit linux

2015-08-25 Thread Rainer Jung
Am 25.08.2015 um 14:58 schrieb Falco Schwarz: Hi there, I tried to update the connectors to the most recent update but I am stuck with error messages. Just a few background information on the infrastructure used: httpd: 2.2.31 OpenSSL: 1.0.2.d mod_jk: 1.2.41 Kernel: 3.0.101-0.47.52-pae OS: SLE

[ANN] Apache Tomcat 8.0.26 available

2015-08-25 Thread Mark Thomas
The Apache Tomcat team announces the immediate availability of Apache Tomcat 8.0.26. Apache Tomcat 8 is an open source software implementation of the Java Servlet, JavaServer Pages, Java Unified Expression Language and Java WebSocket technologies. Apache Tomcat 8.0.26 includes numerous fixes for

Re: Asynchronous writes (Servlet and WebSocket)

2015-08-25 Thread Mark Thomas
On 25/08/2015 13:15, Steffen Heil (Mailinglisten) wrote: > Hi > > I am investigating, how I can archive asynchronous writes with tomcat. archive? I'm guessing you mean achieve. > For servlets I came up with code like this: > final AsyncContext context = request.startAsync(); > final

Problems with tomcat-connectors-1.2.41 on 32bit linux

2015-08-25 Thread Falco Schwarz
Hi there, I tried to update the connectors to the most recent update but I am stuck with error messages. Just a few background information on the infrastructure used: httpd: 2.2.31 OpenSSL: 1.0.2.d mod_jk: 1.2.41 Kernel: 3.0.101-0.47.52-pae OS: SLES 11 SP3 (32bit) gcc: (SUSE Linux) 4.3.4 [gcc-4_

RE: Tomcat 8.0.23, Apache Commons 2.2: Object pool shared across Tomcat servers/clusters?

2015-08-25 Thread Caldarale, Charles R
> From: Prarthana Agwania [mailto:prarthana.agwa...@gmail.com] > Subject: Tomcat 8.0.23, Apache Commons 2.2: Object pool shared across Tomcat > servers/clusters? > Currently in our project, we have multiple Tomcat servers running on a > single physical server each having its own connection pool.

Asynchronous writes (Servlet and WebSocket)

2015-08-25 Thread Steffen Heil (Mailinglisten)
Hi I am investigating, how I can archive asynchronous writes with tomcat. For servlets I came up with code like this: final AsyncContext context = request.startAsync(); final ServletInputStream input = request.getInputStream(); final ServletOutputStream output = response.

Tomcat 8.0.23, Apache Commons 2.2: Object pool shared across Tomcat servers/clusters?

2015-08-25 Thread Prarthana Agwania
Hi, Currently in our project, we have multiple Tomcat servers running on a single physical server each having its own connection pool. We have a requirement where in, we could have a shared connection pool across multiple Tomcat servers. Hence, would like to know if any of the below is possible an