Re: Tomcat losing request parameters

2015-06-04 Thread Ravi Kiran
Christopher, All the parameters are lost when this issue occurs. Code in the filter: MapString, String[] paramMap = httpRequest.getParameterMap(); StringBuilder sb = new StringBuilder(); if(paramMap != null) { sb.append(System.lineSeparator()); sb.append(Request URI:

systemd tomcat script for Linux EL7

2015-06-04 Thread Dale Ogilvie
Hi all, I am trying to put together a systemd script for an install of the current binary release tomcat7. Follows my current best effort, cobbled together from the (RH)EL7 packaged version and some googling... I am trying to use the unadulterated tomcat up/down scripts from the binary

Re: [OT] jar files - where - please explain

2015-06-04 Thread Mark Thomas
On 04/06/2015 17:31, Christopher Schultz wrote: snip/ We probably have a lot of places where we resolve filenames but I'm guessing we don't have a single utility method to do the work; Wrong :) probably just new File(new File(file).getCanonicalPath()) or something like that wherever

Re: Tomcat losing request parameters

2015-06-04 Thread Mark Thomas
On 04/06/2015 16:40, Ravi Kiran wrote: Hi, I am writing to get some pointers on a strange issue which are facing in tomcat in one of our client environments. Setup: 4 Webservers connecting to 2 tomcat using mod_jk (load balanced) Issue: Request parameters GET/POST are coming as null to

Tomcat losing request parameters

2015-06-04 Thread Ravi Kiran
Hi, I am writing to get some pointers on a strange issue which are facing in tomcat in one of our client environments. Setup: 4 Webservers connecting to 2 tomcat using mod_jk (load balanced) Issue: Request parameters GET/POST are coming as null to the application intermittently i.e, filter in

Re: Undefined symbol with native 1.1.33 and RHEL5

2015-06-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jesse, On 6/4/15 12:49 PM, Christopher Schultz wrote: Jesse, On 6/4/15 11:43 AM, Jesse Defer wrote: I am getting the following error from native on Tomcat startup: /usr/local/java/latest7/bin/java: symbol lookup error:

Re: [OT] jar files - where - please explain

2015-06-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 6/4/15 3:15 AM, Mark Thomas wrote: On 03/06/2015 21:57, Christopher Schultz wrote: Mark, On 6/3/15 3:53 PM, Mark Thomas wrote: On 03/06/2015 20:48, Christopher Schultz wrote: snip/ I don't understand the underlying reasons why

Undefined symbol with native 1.1.33 and RHEL5

2015-06-04 Thread Jesse Defer
I am getting the following error from native on Tomcat startup: /usr/local/java/latest7/bin/java: symbol lookup error: /usr/local/apr/lib/libtcnative-1.so.0.1.33: undefined symbol: SSL_CTX_clear_extra_chain_certs SSL_CTX_clear_extra_chain_certs does not appear to be part of the RHEL5

RE: [OT] jar files - where - please explain

2015-06-04 Thread Caldarale, Charles R
From: Ray Holme [mailto:rayho...@yahoo.com.INVALID] Subject: Re: [OT] jar files - where - please explain I may be off base here, but IMHO Windoze does not support symbolic links Yes, you're off base. Windows symlinks have been available since Vista. GIYF. For example:

Re: Tomcat losing request parameters

2015-06-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ravi, On 6/4/15 11:40 AM, Ravi Kiran wrote: Hi, I am writing to get some pointers on a strange issue which are facing in tomcat in one of our client environments. Setup: 4 Webservers connecting to 2 tomcat using mod_jk (load balanced)

Re: jar files - where - please explain

2015-06-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ray, On 6/4/15 8:01 AM, Ray Holme wrote: Inside the WAR or having the WAR as a symlnk? OK, I did a test and YES inside a WAR file ${CATALINA_HOME}/webapps/Application/WEB-INF/lib/*.jarfiles ARE expanded if they are symbolic links to real

Re: Undefined symbol with native 1.1.33 and RHEL5

2015-06-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jesse, On 6/4/15 11:43 AM, Jesse Defer wrote: I am getting the following error from native on Tomcat startup: /usr/local/java/latest7/bin/java: symbol lookup error: /usr/local/apr/lib/libtcnative-1.so.0.1.33: undefined symbol:

Re: [OT] jar files - where - please explain

2015-06-04 Thread Ray Holme
For instance, most UNIX filesystems have symlinks and case-sensitive filesystems, and these checks would not be necessary. Plus, users in those environments are quite used to using symlinks in place of real files. Using Unix and Linux for a LONG time, love symlinks as they work across file

Re: Tomcat JDBC vs DBCP2?

2015-06-04 Thread Bjørn T Johansen
On 03.06.2015 21:57, Mark Thomas wrote: On 03/06/2015 20:50, Christopher Schultz wrote: Bjørn, On 6/3/15 2:52 PM, Bjørn T Johansen wrote: Just saw a discussion about Tomcat DBCP 8.0.18 issue, where Tomcat JDBC pooling vs Commons DBCP 2 pooling was briefly discussed.. So now I am a bit

Re: [OT] jar files - where - please explain

2015-06-04 Thread Mark Thomas
On 03/06/2015 21:57, Christopher Schultz wrote: Mark, On 6/3/15 3:53 PM, Mark Thomas wrote: On 03/06/2015 20:48, Christopher Schultz wrote: snip/ I don't understand the underlying reasons why Tomcat treats symlinks specially... snip/ It is to do with case sensitivity on non case

Re: FormAuthenticator, Tomcat restart

2015-06-04 Thread Leonid Rozenblyum
On Fri, May 29, 2015 at 9:47 AM, André Warnier a...@ice-sa.com wrote: 20-odd Well the development team uses Tomcat via Eclipse and after changing some code they do Tomcat restart because more often than not, hot redeploy doesn't give good results. That's why Tomcat restart is a RATHER often

Re: [OT] jar files - where - please explain

2015-06-04 Thread Ray Holme
Inside the WAR or having the WAR as a symlnk? OK, I did a test and YES inside a WAR file  ${CATALINA_HOME}/webapps/Application/WEB-INF/lib/*.jarfiles ARE expanded if they are symbolic links to real files. (My bad for not testing before).Now I am really in trouble. I have an application which