RE: [tomcat 7 migartion] cannot load images with jsession id in url

2011-06-23 Thread Guy Katz
Thanks you were correct. It was my code. Though my code did work in tomcat 6 which I very surprising... Found the bug in my code... -Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Thursday, June 23, 2011 2:54 AM To: Tomcat Users List Subject: Re: [tomcat

Re: Slower start with Tomcat 7.0.14 and higher

2011-06-23 Thread Rainer Jung
On 22.06.2011 19:20, Jess Holle wrote: On 6/22/2011 10:16 AM, Jess Holle wrote: The only issue I found at this level is that both tomcat-juli-adapters.jar and tomcat-juli-adapters.jar are scanned. I'd think that all the Tomcat extras jars should be in Tomcat's out-of-the-box list of jars to

Re: Tomcat Logging level change

2011-06-23 Thread Roshni Basu
Do i need to make any chnages in the logging.properties file? I tried making everything from FINE to WARNING and also i tried adding org.apache.catalina.level=WARNING in the logging.properties, it somehow worked. But Is this the way it should behave or we need to make changes in my java code as

Re: Tomcat Logging level change

2011-06-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Roshni, On 6/23/2011 4:49 AM, Roshni Basu wrote: Do i need to make any changes in the logging.properties file? That's typically how logging is configured. I tried making everything from FINE to WARNING and also i tried adding

Re: crlFile and SunX509 algorithm in Tomcat 7.0.16

2011-06-23 Thread Martin Dubuc
Can you confirm that the patches to apply to solve this issue are the following ones: r1138550 and r1138555? Martin On Wed, Jun 22, 2011 at 5:16 PM, Mark Thomas ma...@apache.org wrote: On 22/06/2011 20:03, Martin Dubuc wrote: Mark, Thanks for looking into this and working to get the

Re: crlFile and SunX509 algorithm in Tomcat 7.0.16

2011-06-23 Thread Mark Thomas
On 23/06/2011 16:30, Martin Dubuc wrote: Can you confirm that the patches to apply to solve this issue are the following ones: r1138550 and r1138555? r1138550 is purely cosmetic. r1138555 is the patch that should fix this. Mark Martin On Wed, Jun 22, 2011 at 5:16 PM, Mark Thomas

Re: Servlet input/output streams

2011-06-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ronald, On 6/22/2011 11:23 AM, Ronald Albury wrote: My understanding is that I should *not* close the servlet input/output streams (if you don't open them - you shouldn't close them) That seems like good advice. But what if I have wrapped those

SSL received a record that exceeded the maximum permissible length

2011-06-23 Thread Mikael Hakman
I'm trying to set up Tomcat6 for SSL. I created keystore and edited server.xml. When I try to access a page such as https://localhost:8443 I get following response in browser: SSL received a record that exceeded the maximum permissible length. Using Wireshark I can see that Tomcat responds

getAllClusterSessions gives OptionalDataException

2011-06-23 Thread Ronald Klop
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 build of 6.0.33 from yesterday. I added a little code which prints ' SEVERE: name=user'. The

Re: Apache/Tomcat_means...?

2011-06-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dennis, On 6/22/2011 12:26 PM, Dennis de Champeaux wrote: And someone else please explains better - at a high level: - the functionality where they overlap Both are high-performance HTTP servers. - the functionality where they differ Tomcat can

Dreaded No Java compiler available

2011-06-23 Thread Jesse Farinacci
Greetings, I am launching an embedded Apache Tomcat 7.0.14, everything except JSPs are working fine (static resources, servlets, filters, etc). I have set JAVA_HOME to a location which does have bin/javac and lib/tools.jar, and otherwise does appear to be a fully working JDK. However, I take the

Re: Fw: Re: Apache/Tomcat_means...?

2011-06-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dennis, On 6/23/2011 3:32 PM, Dennis de Champeaux wrote: Dear Christopher Schultz That happens to be my real name: no air quotes necessary :) I did not asked this for myself. Rather on behalf of the original poster which was 'send in the

RE: Dreaded No Java compiler available

2011-06-23 Thread Caldarale, Charles R
From: Jesse Farinacci [mailto:jie...@gmail.com] Subject: Dreaded No Java compiler available I am launching an embedded Apache Tomcat 7.0.14 JDK version? Platform? (Probably not relevant in this case, but it helps to know the full environment.) I have set JAVA_HOME to a location which

Re: Dreaded No Java compiler available

2011-06-23 Thread Konstantin Kolinko
2011/6/23 Jesse Farinacci jie...@gmail.com: Greetings, I am launching an embedded Apache Tomcat 7.0.14, everything except JSPs are working fine (static resources, servlets, filters, etc). I have set JAVA_HOME to a location which does have bin/javac and lib/tools.jar, and otherwise does

Re: Fw: Re: Apache/Tomcat_means...?

2011-06-23 Thread Hassan Schroeder
On Thu, Jun 23, 2011 at 12:54 PM, Christopher Schultz ch...@christopherschultz.net wrote: - an illustration what is wrong with the TC documentation   using what it advices about virtual hosts True, most of the documentation has been written by the authors of the code, not by the end users.

Re: Dreaded No Java compiler available

2011-06-23 Thread Jesse Farinacci
Greetings, On Thu, Jun 23, 2011 at 4:37 PM, Konstantin Kolinko knst.koli...@gmail.com wrote: Latest Tomcat 6 and Tomcat 7 do use the ecj compiler from Eclipse IDE project directly, without repacking it. If you are struggling with maven, some discussion of troubles with downloading ecj is

Re: JULI prefix not recognized?

2011-06-23 Thread throwsCode
Hi Konstantin: I added the following argument to the Apache Tomcat Server Run Configuration: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager It worked just as you suggested it would; however, it requires the argument be placed in the VM arguments section. I have many small

Tomcat failed to accept SSL connection in jvm mode

2011-06-23 Thread daniel.yeung.biz
Hi, I start tomcat in jvm mode by 'Monitor Tomcat' UI,google chrome gets error: 107 (net::ERR_SSL_PROTOCOL_ERROR), IE 9.0 cannot open SSL connection too. In 'Startup' tab of 'Monitor Tomcat' UI, there are 2 different results: 1. when field 'mode' is set to 'jvm', browser cannot open SSL

Re: JULI prefix not recognized?

2011-06-23 Thread Konstantin Kolinko
2011/6/24 throwsCode donmillho...@yahoo.com: Hi Konstantin: I added the following argument to the Apache Tomcat Server Run Configuration: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager It worked just as you suggested it would; however, it requires the argument be

Re: Tomcat failed to accept SSL connection in jvm mode

2011-06-23 Thread Konstantin Kolinko
2011/6/24 daniel.yeung.biz daniel.yeung@gmail.com: Hi, I start tomcat in jvm mode by 'Monitor Tomcat' UI,google chrome gets error: 107 (net::ERR_SSL_PROTOCOL_ERROR), IE 9.0 cannot open SSL connection too. Please read here, starting with When asking questions on the list, please ...:

回复: Re: Tomcat failed to accept SSL connection in jvm mode

2011-06-23 Thread daniel.yeung.biz
Hi, Version: Tomcat 5.5.33, O/S: Windows 7. 2011-06-24 daniel.yeung.biz From: Konstantin Kolinko knst.koli...@gmail.com Time: 2011-06-24 07:55 Subject: Re: Tomcat failed to accept SSL connection in jvm mode To: Tomcat Users List users@tomcat.apache.org 2011/6/24 daniel.yeung.biz

TC 7.0.16 IllegalStateException thrown by pageContext.include

2011-06-23 Thread David Wall
This was working under TC 6, but I have a tag that extends BodyTagSupport, and in my doStartTag() method I get my JspWRiter 'out' using pageContext.getOut(). I have a bunch of out.write() statements that all work fine. Then I have these: out.write(style type=\text/css\\n/* platform esf.css

Re: getAllClusterSessions gives OptionalDataException

2011-06-23 Thread Filip Hanik - Dev Lists
are there other versions of Apache Tomcat running in the same cluster? Check the logs for what members are joining the cluster, then check what version they are best Filip On 6/23/2011 10:14 AM, Ronald Klop wrote: Hi, I have an exception when one on my Tomcat nodes restarts. The session are

Re: TC 7.0.16 IllegalStateException thrown by pageContext.include

2011-06-23 Thread David Wall
out.write(script type=\text/javascript\\n); pageContext.include(/static/esf/esf.js,true); out.write(/script\n); But the exception IllegalStateException is thrown on the include of the esf.js file. The reason is null, so there's no more details. I find it odd in that the two prior includes

Re: TC 7.0.16 IllegalStateException thrown by pageContext.include

2011-06-23 Thread David Wall
out.write(script type=\text/javascript\\n); pageContext.include(/static/esf/esf.js,true); out.write(/script\n); But the exception IllegalStateException is thrown on the include of the esf.js file. The reason is null, so there's no more details. I find it odd in that the two prior

Re: JULI prefix not recognized?

2011-06-23 Thread throwsCode
Thanks Konstantin: I appreciate all the great information. I'm going to look into log4j while I'm involved with logging. Hopefully by the end there will be a clear winner between java.util.logging, JULI, and log4j, based on our needs. Much Thanks. TC Konstantin Kolinko wrote:

Re: TC 7.0.16 IllegalStateException thrown by pageContext.include

2011-06-23 Thread Rainer Jung
On 24.06.2011 03:47, David Wall wrote: out.write(script type=\text/javascript\\n); pageContext.include(/static/esf/esf.js,true); out.write(/script\n); But the exception IllegalStateException is thrown on the include of the esf.js file. The reason is null, so there's no more details. I

Re: crlFile and SunX509 algorithm in Tomcat 7.0.16

2011-06-23 Thread Martin Dubuc
I can confirm that the patch works. We were able to get Tomcat up and running with the crlFile and the SunX509 algorithm configuration and were able to test that the CRL functionality was working as expected in a patched 7.0.16 version. Thanks, Martin On Thu, Jun 23, 2011 at 11:42 AM, Mark