Re: Tomcat 7 applet session problem

2011-07-07 Thread Michael Heinen
It could be caused by the useHttpOnly attribute of the context to prevent cross-site scripting attacks. HttpOnly cookies are not allowed to be passed to any client side script or Plug-in - such as a java applet. see e.g.

Re: mod_jk restarting during uploads of large files

2011-07-07 Thread martin
Yeh, I've worked out what was happening, seems that tomcat was being killed by the system running out of memory, which was happening without any log messages on the system at all, which was rather unhelpful and left me completely stumped for a while. However adding extra swap space and

Re: Installing Tomcat as a Windows Service - JvmOptions semicolons

2011-07-07 Thread James Pretorius
Wrap the semicolon in single quotes Example below --JvmOptions=-Dcatalina.home=%CATALINA_HOME%;-Dcatalina.base=%CATALINA_BASE%;-Djava.library.path=C:\example\dir1';'C:\example\dir2 Peter Lombardo wrote: I'm having a bit of trouble configuring the jvm options as I'm installing Tomcat as

Re: mod_jk restarting during uploads of large files

2011-07-07 Thread Pid
Linux OOM killer? http://lwn.net/Articles/317814/ p On 07/07/2011 09:35, mar...@alt-v.co.uk wrote: Yeh, I've worked out what was happening, seems that tomcat was being killed by the system running out of memory, which was happening without any log messages on the system at all, which was

RE: [OT] webapps and TCP/UDP listening sockets

2011-07-07 Thread Jeffrey Janner
From: Christopher Schultz David, On 7/1/2011 11:03 AM, David kerber wrote: I don't know anything about x11, but if it's similar to Citrix or Microsoft RDP No, it's Citrix and RDP that are like X11 :) That might be true for Citrix, but I know of no way to run 5 apps, each from a

TOMCAT 64bit 32BIT differences - URGENT

2011-07-07 Thread saj-khan
Hi All, apologies if this question has been asked before. I need to know the main differences between 64 32bit tomcat for windows. Is the tomcat.exe and all associated files in the bin folder and lib folder trully compiled 64bit or is the installer solely 64bit for installing onto 64bit OS?

URI served from cache

2011-07-07 Thread Langer Arnaud
Hi there, My question is simple : is it possible to disable the cache of Tomcat ? I think I've browsed the entire web about that without finding my answer. As I'm developping a website under Eclipse, I would like to see modifications as they are developped but here, when I change an image, for

Re: TOMCAT 64bit 32BIT differences - URGENT

2011-07-07 Thread Mikolaj Rydzewski
On Thu, 7 Jul 2011 06:52:30 -0700 (PDT), saj-khan wrote: i have been asked to change a set of servers from 32bit to 64bit for tomcat and java if it turns out that the java is the only thing i need ot change it will save me tons of work if the tomcat needs to be installed that nots a biggy as

RE: TOMCAT 64bit 32BIT differences - URGENT

2011-07-07 Thread Jeffrey Janner
Saj-khan: You will need a 64-bit Java implementation, and the 64-bit version of the tomcat.exe wrapper program in the bin directory. Last I checked, the tomcatw.exe program is still 32-bit, as it only has to manipulate the registry. If you are also using the APR protocol for your connectors,

Re: URI served from cache

2011-07-07 Thread Pid
On 07/07/2011 14:54, Langer Arnaud wrote: Hi there, My question is simple : is it possible to disable the cache of Tomcat ? I think I've browsed the entire web about that without finding my answer. As I'm developping a website under Eclipse, I would like to see modifications as they are

Re: TOMCAT 64bit 32BIT differences - URGENT

2011-07-07 Thread Mark Thomas
On 07/07/2011 15:07, Jeffrey Janner wrote: Saj-khan: You will need a 64-bit Java implementation, and the 64-bit version of the tomcat.exe wrapper program in the bin directory. Last I checked, the tomcatw.exe program is still 32-bit, as it only has to manipulate the registry. If you

RE: SSL Certificate formats, requirements for import into existing keystore

2011-07-07 Thread Peterson, Tommy
Thanks, Felix. Yesterday after the Holiday weekend we downloaded the certificates (which were pfx) and I used openssl to convert them and keytool to import them. All seems to work ok now. -Original Message- From: Felix Schumacher [mailto:felix.schumac...@internetallee.de] Sent:

Re: TOMCAT 64bit 32BIT differences - URGENT

2011-07-07 Thread Konstantin Kolinko
2011/7/7 saj-khan saraj.k...@gmail.com: Hi All, apologies if this question has been asked before. I need to know the main differences between 64 32bit tomcat for windows. Is the tomcat.exe and all associated files in the bin folder and lib folder trully compiled 64bit If you compare

Re: mod_jk restarting during uploads of large files

2011-07-07 Thread André Warnier
Hi. Since this concerns large files upload, I wonder if something along these lines is happening : A file upload is a POST request, usually with an enctype=multipart/form-data format (similar to an email with attachments). Furthermore, for sending this file, the browser is going to encode the

Re: mod_jk restarting during uploads of large files

2011-07-07 Thread Thad Humphries
André, I believe the file upload you are talking about is the FileUpload project from the Apache Commons: http://commons.apache.org/fileupload/ This does indeed have a disk-based implementation of an upload file. The package is org.apache.commons.fileupload.disk and it implements the project's

Re: getAllClusterSessions gives OptionalDataException

2011-07-07 Thread Filip Hanik - Dev Lists
On 6/28/2011 2:31 AM, Konstantin Kolinko wrote: 2011/6/23 Ronald Klopronald-mailingl...@base.nl: Hi, I have an exception when one on my Tomcat nodes restarts. The session are not synced and user complain about being logged out. I was running 6.0.32 and had the problem. Now I'm running a custom

Re: NPE at StandardWrapperValve.invoke() in Tomcat 7.0.16

2011-07-07 Thread Pid
On 07/07/2011 01:31, eurotrans-Verlag wrote: Hi all, I’m using Tomcat 7.0.16 on a system with Java 1.6.0_26 on Windows Serer 2008 and wondered about a strange NPE I got shortly after deploying a webapp to Tomcat: SCHWERWIEGEND: An exception or error occurred in the container during the

RE: NPE at StandardWrapperValve.invoke() in Tomcat 7.0.16

2011-07-07 Thread eurotrans-Verlag
Hi Pid, -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Thursday, July 07, 2011 6:19 PM What is the request for and is the config of your Tomcat instance modified from the original download - if so, what has changed (config etc)? p I don't know which request

Re: NPE at StandardWrapperValve.invoke() in Tomcat 7.0.16

2011-07-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 7/6/2011 8:31 PM, eurotrans-Verlag wrote: I’m using Tomcat 7.0.16 on a system with Java 1.6.0_26 on Windows Serer 2008 and wondered about a strange NPE I got shortly after deploying a webapp to Tomcat: SCHWERWIEGEND: An exception

Re: mod_jk restarting during uploads of large files

2011-07-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André , On 7/7/2011 10:27 AM, André Warnier wrote: Since this concerns large files upload, I wonder if something along these lines is happening : A file upload is a POST request, usually with an enctype=multipart/form-data format (similar to

RE: NPE at StandardWrapperValve.invoke() in Tomcat 7.0.16

2011-07-07 Thread eurotrans-Verlag
Hi Christopher, -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Thursday, July 07, 2011 9:13 PM Looks like it. I would be very interested to know which of those objects is null: the container, the logger, the wrapper, or the context. -

Re: NPE at StandardWrapperValve.invoke() in Tomcat 7.0.16

2011-07-07 Thread Pid
On 07/07/2011 20:59, eurotrans-Verlag wrote: Hi Christopher, -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Thursday, July 07, 2011 9:13 PM Looks like it. I would be very interested to know which of those objects is null: the container,

Re: mod_jk restarting during uploads of large files

2011-07-07 Thread André Warnier
Christopher Schultz wrote: ... I don't think any browser does base64 encoding of files. Let's make a bet... - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail:

RE: NPE at StandardWrapperValve.invoke() in Tomcat 7.0.16

2011-07-07 Thread eurotrans-Verlag
Hi Pid, -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Thursday, July 07, 2011 10:24 PM Are you using parallel deployment or are you replacing the existing application when it's redeployed. Maybe the old context is the one throwing the error. p I don't use

RE: NPE at StandardWrapperValve.invoke() in Tomcat 7.0.16

2011-07-07 Thread eurotrans-Verlag
Maybe I can reproduce the NPE if I make a servlet that takes a long time to finish the request, to see what was the original exception that has been suppressed by the NPE. OK, I was able to reproduce a NPE in TC 7.0.16 with a Servlet that calls Thread.sleep(2), then make a request to

Re: mod_jk restarting during uploads of large files

2011-07-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 7/7/2011 4:57 PM, André Warnier wrote: Christopher Schultz wrote: ... I don't think any browser does base64 encoding of files. Let's make a bet... I'll buy you a nice American beer if I'm wrong and you come to ApacheCon NA in

Re: NPE at StandardWrapperValve.invoke() in Tomcat 7.0.16

2011-07-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 7/7/2011 3:59 PM, eurotrans-Verlag wrote: Hi Christopher, -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Thursday, July 07, 2011 9:13 PM Looks like it. I would be very

Re: NPE at StandardWrapperValve.invoke() in Tomcat 7.0.16

2011-07-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 7/7/2011 5:45 PM, eurotrans-Verlag wrote: The logs on redeploy were this: 07.07.2011 00:24:09 org.apache.catalina.startup.HostConfig checkResources INFO: Undeploying context [] Uhh... that can't be good. Why does the context have

Re: NPE at StandardWrapperValve.invoke() in Tomcat 7.0.16

2011-07-07 Thread Konstantin Kolinko
2011/7/8 Christopher Schultz ch...@christopherschultz.net: On 7/7/2011 5:45 PM, eurotrans-Verlag wrote: The logs on redeploy were this: 07.07.2011 00:24:09 org.apache.catalina.startup.HostConfig checkResources INFO: Undeploying context [] Uhh... that can't be good. Why does the context have