Parameter handling on forward

2016-01-11 Thread Mark Olsson
I'm getting unexpected parameter handling with a request.getRequestDispatcher().forward(). Not sure if this is a bug or I'm using gRD.f wrong, but here's the situation: A POST is made with form data to a servlet (didn't try with a multipart content, just regular) and the servlet decides to

Re: Parameter handling on forward

2016-01-11 Thread Andreas Junius
Did you try: "/page2?foo==123" Normally parameters come as key/value pairs, separated by an equal sign. On 12/01/16 09:21, Mark Olsson wrote: I'm getting unexpected parameter handling with a request.getRequestDispatcher().forward(). Not sure if this is a bug or I'm using gRD.f wrong, but

From where org.apache.naming get added to java.naming.factory.url.pkgs in Tomcat 7.x

2016-01-11 Thread Thusitha Thilina Dayaratne
Hi, I checked the tomcat7 source to find out how tomee set the *org.apache.naming *to* java.naming.factory.url.pkgs *system property which uses for JNDI stuffs. But I couldn't find the place. Could someone point the location from where tomcat set that property? Thanks Thusitha --

Re: Tomcat 8.0.30 Session lost

2016-01-11 Thread Thomas Scheffler
Am 08.01.16 um 17:02 schrieb Christopher Schultz: Tomcat will change the session identifier when the user authenticates. If you are creating a session before login, you'll see that the session id changes when authentication is successful. This is to protect against session-fixation attacks. I

SSL client cert selection dialog not showing up on cloned deployment of tomcat 7 for windows x64

2016-01-11 Thread Gael Abadin
A colleague was having trouble setting up client cert auth on this web app we are developing. He tried the latest tomcat 6 and 7 win32 installs using java 6 and 7 SDKs. He was able to bring up the app on HTTPS, launching it from eclipse, but even though the SSL connector had clientAuth="want"

Re: From where org.apache.naming get added to java.naming.factory.url.pkgs in Tomcat 7.x

2016-01-11 Thread Thusitha Thilina Dayaratne
Sorry for the trouble. I found that enableNaming() method sets this Thanks Thusitha 2016-01-11 14:34 GMT+05:30 Thusitha Thilina Dayaratne < thusithathil...@gmail.com>: > Hi, > > I checked the tomcat7 source to find out how tomee set the > *org.apache.naming *to* java.naming.factory.url.pkgs

Re: Upload big file for data

2016-01-11 Thread Kyohei Nakamura
Hi Edwin First, you don't provide the information about your apps. If you want to get a better answer, you should provide your Tomcat version, configuration and apps infomation. If you use the multipart/form-data in order to uploading a file, you can use the following settings. * web.xml

File size >= 2GB not uploaded in application [Tomcat 7.0.54 Struts: 2.3.24 JAVA: openJDK 1.7.79]

2016-01-11 Thread Rahul Singh
Hello Apache Tomcat team, File upload in my application(Tomcat 7.0.54 Struts: 2.3.24 JAVA: openJDK 1.7.79) is not successful for greater than 2 gb. After previous discussion here on previous thread, I migrated my application to struts 2.3.24 as the only possible solution in form of

Re: File size >= 2GB not uploaded in application [Tomcat 7.0.54 Struts: 2.3.24 JAVA: openJDK 1.7.79]

2016-01-11 Thread Rahul Singh
Hello Apache Tomcat team, Sending again with some corrections, File upload in my application(Tomcat 7.0.54 Struts: 2.3.24 JAVA: openJDK 1.7.79) is not successful for greater than 2 gb. After previous discussion here on previous thread, I migrated my application to struts 2.3.24 as the only

Re: Parameter handling on forward

2016-01-11 Thread Mark Olsson
Adding = to a parameter does cause it to be available to the destination servlet, but that doesn't seem like a particularly good solution. A parameter without a value is technically a keyless value, not the other way around. But I'll stick to the servlet terminology of calling them parameter

Re: Tomcat 8.0.30 Session lost

2016-01-11 Thread Mark Thomas
On 11/01/2016 20:52, Thomas Scheffler wrote: > Am 11.01.16 um 12:21 schrieb André Warnier (tomcat): >> So the solution in your case, is to make sure, in your application >> logic, that the first unauthenticated request would be totally processed >> by the server, and the response processed by the

Re: Tomcat 8.0.30 Session lost

2016-01-11 Thread Olaf Kock
Well, at least you do a bit of protection instead of just disabling the session fixation security filter. However, be aware that potentially many people might come from the same IP address - either because it's a NATing home router or a big company's proxy server. Especially if you want to attack

Re: Tomcat 8.0.30 Session lost

2016-01-11 Thread Thomas Scheffler
Am 11.01.16 um 12:21 schrieb André Warnier (tomcat): So the solution in your case, is to make sure, in your application logic, that the first unauthenticated request would be totally processed by the server, and the response processed by the client, before the client sends a second request. If

Loadbalancing and failover not working.

2016-01-11 Thread Weare Borg
Hello Friends, 1 month back I had asked a question about loadbalancing and failover using apache2 and Tomcat. I was on holidays after that and unfortunately I cannot find the email anymore. I created a new configuration by remembering what Christopher had told me. Now I have no holidays, so will

RE: close_wait in Tomcat 7.0.63

2016-01-11 Thread Prashant Kaujalgi
Hi Team, Please let me know if any solution is present. This issue is hampering the application up time. Please let me know if any other details are required. Best Regards, Prashant Kaujalgi -Original Message- From: Prashant Kaujalgi [mailto:prashant.kauja...@e-nxt.com] Sent:

Re: Tomcat 8.0.30 Session lost

2016-01-11 Thread tomcat
Thomas, On 11.01.2016 11:30, Thomas Scheffler wrote: Am 08.01.16 um 17:02 schrieb Christopher Schultz: Tomcat will change the session identifier when the user authenticates. If you are creating a session before login, you'll see that the session id changes when authentication is successful.

Re: SSL client cert selection dialog not showing up on cloned deployment of tomcat 7 for windows x64

2016-01-11 Thread Gael Abadin
The server certificate is self signed. Appart from the typical warning we see no errors when we check it. His system (windows) clock is synchronized using microsoft's NTP server, same as mine. This is really weird because I have already delopoyed the same app and config in two other systems,

Upload big file for data

2016-01-11 Thread Edwin Quijada
Hi! I am newbie using Tomcat and I have a problem uploadind a Big file. I wanna upload a big file CSV, 140 mb, but when this begins doesnt happen anything . There is any setting to change for allowing to upload this file. This file has record will be procesed into my app. Thks in Advance

RE: SSL client cert selection dialog not showing up on cloned deployment of tomcat 7 for windows x64

2016-01-11 Thread David Balažic
Wrong system clock? What does the client say? (about the server certificate. Is it valid? Expired?) Regards, David Balažic Software Engineer www.comtrade.com > -Original Message- > From: Gael Abadin [mailto:gael.aba...@imatia.com] > Sent: 11. January 2016 10:16 > To: Tomcat Users List >