Re: JSP compile limitation 7.0.16 - 7.0.19

2011-07-25 Thread Mark Thomas
On 24/07/2011 15:40, Dan Checkoway wrote: Did some sort of jasper or compiler option change in 7.0.19? Yes. See the Jasper section of the change log. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For

Re: Apache Tomcat v5.5.25 end-of-life date [SEC=UNCLASSIFIED]

2011-07-25 Thread Mark Thomas
On 25/07/2011 04:26, Yu, Albert wrote: Hello, I am wondering what is the end-of-life date for Apache Tomcat v5.5.25? 4th February 2008. To resolve bugs and security issues, the Tomcat project does not produces patches for old versions, it releases a new version. Therefore 5.5.25 was

Re: Upgrading from Tomcat 7.0.8 to 7.0.10 and higher causes Old Generation memory problems

2011-07-25 Thread Ian Marsh
Good morning and thanks for the replies! Unfortunately, as far as I am aware, our bank determines who we must use as the PCI Auditor so our hands are tied with that one, but it does seem like they're just covering their backs by choosing the latest available version rather than actually

Strange behaviour (or bug) with realm + browser tabs in Tomcat 7

2011-07-25 Thread Chema
Hi: I'm having a strange behaviour when using realm in Tomcat 7 ( 7.0.16) with browser tabs My web app has some protected resources ( with security-constraint tag in web.xml ) by a realm. I'm using FORM method in auth-method tag. So, i've got my own login page : html form method='post'

Re: Strange behaviour (or bug) with realm + browser tabs in Tomcat 7

2011-07-25 Thread Mark Thomas
On 25/07/2011 11:17, Chema wrote: Hi: I'm having a strange behaviour when using realm in Tomcat 7 ( 7.0.16) with browser tabs My web app has some protected resources ( with security-constraint tag in web.xml ) by a realm. I'm using FORM method in auth-method tag. So, i've got my own login

Re: Strange behaviour (or bug) with realm + browser tabs in Tomcat 7

2011-07-25 Thread Chema
The behaviour is correct. You can't stop it. Mark Thanks for you answer. But, is it right according to specs or according to Tomcat ? I can understand step 3 behaviour because is returned the last resource request by session ( althought user doesn't understand that two tabs are same session )

Re: JSP compile limitation 7.0.16 - 7.0.19

2011-07-25 Thread Dan Checkoway
Mark, I don't see anything mentioned in there about compiler options changing. I only see the note about the JSP compile *strategy* (forward/backward dependency checks). You can toss RTFM (or RTFChangelog) at me, but something that's not listed in the changelog did change from 7.0.16 to 7.0.19

Re: JSP compile limitation 7.0.16 - 7.0.19

2011-07-25 Thread Mark Thomas
On 25/07/2011 13:56, Dan Checkoway wrote: Mark, I don't see anything mentioned in there about compiler options changing. I only see the note about the JSP compile *strategy* (forward/backward dependency checks). You missed this entry: Update to Eclipse JDT Compiler 3.7 You can toss RTFM

Re: JSP compile limitation 7.0.16 - 7.0.19

2011-07-25 Thread Konstantin Kolinko
2011/7/24 Dan Checkoway dchecko...@gmail.com: I recently upgraded from 7.0.16 to 7.0.19, and having made no other changes whatsoever, I've bumped into a new problem compiling long JSPs: java.lang.Error: Unresolved compilation problem: Didn't you forget to clear all compiled jsps from

Re: APR connector pollTime defaults are strange in tomcat6/7

2011-07-25 Thread Marvin Addison
Does Tomcat APR really needs pollTime set so low by default? Anyone care to comment on this point? I'm interested in this discussion as a user of Linux+APR connectors. While we don't yet run on a tickless kernel, I'm considering trying to measure the impact on our systems as well, but some

[Tomcat 6.0.29] Why do I have to configure the datasource in the context.xml of the server and in the context.xml of the application?

2011-07-25 Thread AN
Hello, I've following the examples in http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.htmlyo configure a data-source for an Oracle 10g database. In the context configuration section it mention that the resource element must be placed in the Context and the section

Re: [Tomcat 6.0.29] Why do I have to configure the datasource in the context.xml of the server and in the context.xml of the application?

2011-07-25 Thread Ognjen Blagojevic
On 25.7.2011 16:57, AN wrote: I don't understand why do I have to place the Resource element in both files. You don't. It seems that you misconfigured something. Resource auth=Container driverClassName=oracle.jdbc.OracleDriver Could be the source of the problem? If you deploy as

Re: URL/ URI/ TC(?) puzzle -- wrong non-error?

2011-07-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dennis, On 7/22/2011 12:22 PM, Dennis de Champeaux wrote: The fragment of server.xml for this virtual host: Host name=www.testzzz.com appBase=/home/ddc/test unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false Context

Re: Strange behaviour (or bug) with realm + browser tabs in Tomcat 7

2011-07-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chema, On 7/25/2011 6:41 AM, Chema wrote: The behaviour is correct. You can't stop it. Mark Thanks for you answer. But, is it right according to specs or according to Tomcat ? I don't believe the spec covers this particular case. If you

Re: Fwd: Re: Invalid command 'SHUTDOW' received

2011-07-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Frederick, On 7/23/2011 1:00 PM, Frederick Ouimet wrote: As a last resort, I decided to completely uninstall Avast. Guess what, Tomcat now shuts down properly on the 1st try! Must be something with Avast and Windows 7 or corrupted installation.

Re: html meta http-equiv content-type not work ?

2011-07-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 7/23/2011 8:34 AM, Marvin Addison wrote: If you want to set the charset in the HTTP header, you'll need to set it explicitly using a JSP, a filter or similar. It's wise to do both, http://wiki.apache.org/tomcat/FAQ/CharacterEncoding#Q8.

Re: [OT] Tomcat 7 parallel deployment and PermGen Heap Space

2011-07-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 7/20/2011 4:59 PM, Mark Thomas wrote: On 20/07/2011 21:46, Christopher Schultz wrote: Mark, On 7/20/2011 4:25 AM, Mark Thomas wrote: You need to de-register the driver you registered. However, that won't be causing the leak since

Tomcat Failed to start.

2011-07-25 Thread Gaurav Pruthi
Hi, I recently installed Tomcat version 6.0.18 (Windows Installer) and installed as a service.I tried running Tomcat6.exe. But got the following error : 2011-07-25 22:21:37 Commons Daemon procrun stderr initialized java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory at

RE: AJP-APR failures on Tomcat 7.0.16 with ISAPI Redirector 1.2.32

2011-07-25 Thread eurotrans-Verlag
Hi all, An alternative that I could imagine, would be to create a class (that has a boolean flag) which extends OutputStream, and decorates another OutputStream that is given to the class in the constructor (that would be the OutputStream from the servlet's response). This class would pass

Re: Tomcat Failed to start.

2011-07-25 Thread Konstantin Kolinko
2011/7/25 Gaurav Pruthi gaurav.pru...@tcs.com: Classpath was set correctly for /(root) , /bin , /lib directories of tomcat since in earlier posts I read that bootstrap.jar , tomcat-juli.jar may not be accessible since classpath is not set for them, but that thing should not be there since

Comet: How to send *Chunked* response

2011-07-25 Thread Sudeep Pradhan
Hi, I am using CometProcessor to stream event notifications from server to client. The events are generated at random. I want to send the notification with Transfer Encoding as chunked so that I can use Apache's ChunkedInputStream to parse the output. I get the PrintWriter from the

Re: Cocoon 2.1.11 in Tomcat 7.0.12: cocoon welcome page will not display

2011-07-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rob, On 7/23/2011 6:21 PM, Rob Stevens wrote: Every web page that I have read says that this is all that is required to deploy cocoon under tomcat. You should be ready to go at this point. However, when I browse to the cocoon welcome page:

Re: APR connector pollTime defaults are strange in tomcat6/7

2011-07-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Darius, On 7/18/2011 2:23 PM, Darius D. wrote: Does Tomcat APR really needs pollTime set so low by default? I thought timeout is meant for some sort of book keeping, where is all connections in FD set are idle, no events come for timeout period -

Re: Comet: How to send *Chunked* response

2011-07-25 Thread Mark Thomas
On 25/07/2011 19:23, Sudeep Pradhan wrote: Hi, I am using CometProcessor to stream event notifications from server to client. The events are generated at random. I want to send the notification with Transfer Encoding as chunked so that I can use Apache's ChunkedInputStream to parse the

Tomcat 6 not working with JDBC driver for MySQL

2011-07-25 Thread A Df
Dear All: I have read numerous posts and documentation and now I really need help. I am using the following: Product Version: NetBeans IDE 7.0 (Build 20110408) Java: 1.6.0_26; Java HotSpot(TM) Client VM 20.1-b02 System: Windows 7 version 6.1 running on x86; Apache Tomcat 6.0.26 MySQL

RE: Comet: How to send *Chunked* response

2011-07-25 Thread Sudeep Pradhan
Mark, I tried just writing to the PrintWriter. I do not see the chunking in the response. Can you spot any obvious mistake here? private HttpServletResponse connection; // Set in constructor PrintWriter writer = connection.getWriter();

Re: Cocoon 2.1.11 in Tomcat 7.0.12: cocoon welcome page will not display

2011-07-25 Thread Rob Stevens
Chris Thank you for taking the time to respond to my email. I am sure it must take quite a bit of your time and I am most grateful. I cannot find a web.xml file in META-INF, but here is what I see in the servlet-mapping sections in tomcat-top-level/webapps/cocoon/WEB-INF/web.xml (should