Re: Jre upgrade Issue with Tomcat 5.5 :java.util.zip.ZipException: error in opening zip file

2009-10-27 Thread Konstantin Kolinko
2009/10/28 selvakumar.V : > > drwxrwxrwx   2 casuser  casusers    1024 Oct 27 07:35 lib Do you have a reason why WEB-INF/lib folder is world-writable (rwxrwxrwx)? Why classes folder and some other files are world-readable? - To

Re: Jre upgrade Issue with Tomcat 5.5 :java.util.zip.ZipException: error in opening zip file

2009-10-27 Thread selvakumar.V
Hi, The commands list out the file directories as following, ls -la /opt/CSCOpx/MDC/tomcat/webapps/ipm/WEB-INF total 790 drwxrwxr-x 8 casuser casusers1024 Jun 2 03:53 . drwxr-x--- 14 casuser casusers1024 Jul 9 06:40 .. -rw-r- 1 casuser casusers 24629 Feb 10 2009 IPMACSH

Re: DBCP woes (running out of cursors).

2009-10-27 Thread Elli Albek
Thanks for your replies. I agree that Tomcat should be responsible for all objects that are configured in Tomcat, and the web app should be responsible for objects that are created by the webapp. Currently it does not happen properly in tomcat. This is not related to DBCP code, it is all Tomcat cod

Re: Tomcat monitoring

2009-10-27 Thread Anurag Kapur
I have found Lamda Probe to be quite useful and easy to use for monitoring the Tomcat container. http://www.lambdaprobe.org/ Simply deploy the probe war file to the container you want to monitor! You can detect requests that have large processing times by monitoring the connector status tab. This

Re: SessionID cookie not secure over SSL

2009-10-27 Thread Rainer Jung
On 27.10.2009 22:10, André Warnier wrote: > Joe Wallace wrote: >> >> -Original Message- >> From: André Warnier [mailto:a...@ice-sa.com] >> Sent: Tuesday, October 27, 2009 4:48 PM >> To: Tomcat Users List >> Subject: Re: SessionID cookie not secure over SSL >> >> >>> Joe Wallace wrote:

RE: SessionID cookie not secure over SSL

2009-10-27 Thread Joe Wallace
André Warnier wrote: >Am I mistaken then to think that since the connection B from IIS to >Tomcat is not over HTTPS but over AJP, Tomcat has no idea that HTTPS is >being used ? >Whatever consequences this has in the context (and which are beyond my >expertise). Andre, I guess that is the quest

Re: Expecting "jsp:param" - Porting resin jsp pages to tomcat, dreamweaver editable sections / comments

2009-10-27 Thread Konstantin Kolinko
2009/10/27 Pete McNeil : > > IMO allowing for the XML comments _seems_ like a good idea. > 2009/10/26 Christopher Schultz : > On the other hand, shouldn't the JSP compiler pass-through everything > except for directives? HTML is a common enough use case for JSP that > SGML comments ought to be tol

Re: SessionID cookie not secure over SSL

2009-10-27 Thread André Warnier
Joe Wallace wrote: -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Tuesday, October 27, 2009 4:48 PM To: Tomcat Users List Subject: Re: SessionID cookie not secure over SSL Joe Wallace wrote: I am using session cookies to track sessions. I am used to Jrun where

RE: SessionID cookie not secure over SSL

2009-10-27 Thread Joe Wallace
-Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Tuesday, October 27, 2009 4:48 PM To: Tomcat Users List Subject: Re: SessionID cookie not secure over SSL >Joe Wallace wrote: >> I am using session cookies to track sessions. I am used to Jrun where you >> would spe

Re: Expecting "jsp:param" - Porting resin jsp pages to tomcat, dreamweaver editable sections / comments

2009-10-27 Thread Pete McNeil
Christopher Schultz wrote: I think the JSP specification has a little multiple-personality disorder when it comes to XML-looking-syntax versus actual XML syntax. It's unfortunate, since it can really confuse people. My $0.03 "be strict in what you produce, be forgiving in what you receiv

Re: SessionID cookie not secure over SSL

2009-10-27 Thread André Warnier
Joe Wallace wrote: I am using session cookies to track sessions. I am used to Jrun where you would specifically set the cookie to be sent only over SSL or https. This was not the default setting. I want users to connect to my web site using https then they might click a link on one of my we

Re: Tomcat monitoring

2009-10-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohamedin, On 10/24/2009 4:47 AM, Mohamedin wrote: > Please recommend a monitoring tool for tomcat. I am interested in > knowing the response time of each request and finding requests that > take a lot of time. In short I need to figure out the bottle

RE: SessionID cookie not secure over SSL

2009-10-27 Thread Joe Wallace
Hi Chris, You wrote: >Tomcat will create its JSESSIONID cookie like this in all cases: >Cookie cookie = new Cookie("JSESSIONID", sessionId); >if(request.isSecure()) > cookie.setSecure(true); My filter calls HttpServletRequest.isSecure() which returns true It then calls Cookie.getSecure() for the

Re: Expecting "jsp:param" - Porting resin jsp pages to tomcat, dreamweaver editable sections / comments

2009-10-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill, On 10/26/2009 9:44 PM, Bill Barker wrote: > "Christopher Schultz" wrote in message >> On the other hand, shouldn't the JSP compiler pass-through everything >> except for directives? HTML is a common enough use case for JSP that >> SGML comment

Re: SessionID cookie not secure over SSL

2009-10-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe, On 10/27/2009 5:00 PM, Joe Wallace wrote: > I am using session cookies to track sessions. I am used to Jrun > where you would specifically set the cookie to be sent only over SSL > or https. This was not the default setting. I want users to co

Re: So many timeout values

2009-10-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohit, On 10/26/2009 6:40 PM, Mohit Anchlia wrote: > Christopher in one of his earlier replies mentioned that we don't have > failover set. I am not sure why he said that because we have > worker.list and also we have loadbalancer set in our > worker.

RE: SessionID cookie not secure over SSL

2009-10-27 Thread Joe Wallace
I am using session cookies to track sessions. I am used to Jrun where you would specifically set the cookie to be sent only over SSL or https. This was not the default setting. I want users to connect to my web site using https then they might click a link on one of my web pages whose protoca

Re: How do I debug dispatching errors?

2009-10-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Josh, On 10/20/2009 12:50 PM, Josh wrote: > I have a debug statement set on the first line in the constructor of > com.mycorp.referral.servlets.CreateRelationshipServlet. However, when I > call the servlet with this URL: > http://localhost:8081/MyAp

Re: sessions on tomcat restart in cluster

2009-10-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tsirkin, On 10/27/2009 9:48 AM, Tsirkin Evgeny wrote: > Actually your solution is pretty fine. Just that there is no need in > "controller" backup - in case that the controller goes down another > node should take other (that;s for example how master/

Re: Force Connection Close

2009-10-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexander, On 10/27/2009 1:29 PM, Alexander Pirsig wrote: > I'm using tomcat 6.0.20 with APR as a connector when I switch back to > non apr connector everything works as expected. Sounds like a bug in the connector to me. Could you log a bug in bugzi

Re: SessionID cookie not secure over SSL

2009-10-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe, (Can you fix your emailer to include thread-ids when replying to the list? Your replies are not properly threaded, here.) On 10/27/2009 4:12 PM, Joe Wallace wrote: > I have a filter that calls > Cookie.getName and > Cookie.getSecure > JSESSIONI

Re: DBCP woes (running out of cursors).

2009-10-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Elli, On 10/26/2009 10:59 PM, Elli Albek wrote: > To disable caching in DBCP, use configuration option: > poolPreparedStatements=false Note that this is the default. Presumably, if you don't know if your prepared statements are being cached, then the

Re: DBCP woes (running out of cursors).

2009-10-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Elli, On 10/26/2009 9:01 PM, Elli Albek wrote: > 2. If your JDBC driver supports caching of prepared statements and > metadata, do it in the driver and disable this in DBCP. IMO DBCP > does a poor job at best in caching. We use mysql and its JDBC dri

RE: SessionID cookie not secure over SSL

2009-10-27 Thread Joe Wallace
I have a filter that calls Cookie.getName and Cookie.getSecure JSESSIONID returns false even when the connection is always https. Tomcat version is 6.0.20. JW -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Tuesday, October 27, 2009 3:04 PM To:

Re: DBCP woes (running out of cursors).

2009-10-27 Thread Bill Davidson
Elli Albek wrote: >2. If your JDBC driver supports caching of prepared statements and >metadata, do it in the driver and disable this in DBCP. IMO DBCP does >a poor job at best in caching. We use mysql and its JDBC driver is >doing an excellent job. It didn't occur to me that that was available.

RE: SessionID cookie not secure over SSL

2009-10-27 Thread Caldarale, Charles R
> From: Joe Wallace [mailto:j...@andar360.com] > Subject: SessionID cookie not secure over SSL > > Is there a setting in Tomcat 6.0.2 Are you really using a version of Tomcat that old (Nov 2006)? > to make the SessionID cookie secure > when created over https when using > AJP 1.3 connector for I

SessionID cookie not secure over SSL

2009-10-27 Thread Joe Wallace
Is there a setting in Tomcat 6.0.2 to make the SessionID cookie secure when created over https when using AJP 1.3 connector for IIS? JW

Re: What is the difference between running Tomcat 6 as a Windows Service vs. running from the command line?

2009-10-27 Thread Earl Tom
Markus Schönhaber-10 wrote: > > Alan Kennedy: > >> I need to find out what is the difference between running Tomcat 6 as >> a Windows Service and running it from the command line. >> >> The reason is that I'm getting a bizarre bug when a jython based >> servlet is run under Tomcat6-as-Service.

RE: Error Listener start tomcat

2009-10-27 Thread vkpandit
Hi Chuck, I fixed it. I just recreated the demo app, and this time kept the lib directory empty. Hope somebody else gets something out of this. There are a lot of postings on error listenerstart but not a good solution. THanks, Sonia Caldarale, Charles R wrote: > >> From: vkpandit [mailto:v

Re: Force Connection Close

2009-10-27 Thread Alexander Pirsig
Okay, I found the solution but I'm not quite sure why this is happening: I'm using tomcat 6.0.20 with APR as a connector when I switch back to non apr connector everything works as aspected. scripts# time telnet 192.168.0.65 8080 Trying 192.168.0.65... Connected to 192.168.0.65. Escape charact

RE: Error Listener start tomcat

2009-10-27 Thread Caldarale, Charles R
> From: vkpandit [mailto:v.kri...@gmail.com] > Subject: Error Listener start tomcat > > When I deploy a war file of my jsf application to tomcat webapps > directory I get an error listenerstart in my tomcat logs and when > I point my browser to the location of the web page I get a runtime > except

Re: Updating Apache and mod_jk

2009-10-27 Thread Rainer Jung
On 27.10.2009 14:50, Andre Hübner wrote: > Hello, > > have an older system apache 1.3, tomcat 4.1, mod_jk 1.2.2 > > updated to apache 2.2.10, mod_jk 1.2.28. tomcat should stay installed > unchanged. > > restart fails with: > > [Tue Oct 27 08:50:19.526 2009] [14905:16384] [error] > jk_map_valida

RE: Force Connection Close

2009-10-27 Thread George Sexton
My mistake. You're right. The doc says millis. I remember pointing out a bug in 5.5 that disabled the timeout for connections. Perhaps the same issue exists in 6.0. I tried searching in BugZilla but I couldn't find it. George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 95

Re: Jre upgrade Issue with Tomcat 5.5 :java.util.zip.ZipException: error in opening zip file

2009-10-27 Thread Tobias Crefeld
Am Tue, 27 Oct 2009 03:47:23 -0700 (PDT) schrieb "selvakumar.V" : > WARNING: Could not get dir listing for > /opt/CSCOpx/MDC/tomcat/webapps/ipm/WEB-INF What do you get if you type at the shell prompt: ls -la /opt/CSCOpx/MDC/tomcat/webapps/ipm/WEB-INF and ls -la /opt/CSCOpx/MDC/tomcat/ ? Reg

Re: Force Connection Close

2009-10-27 Thread Alexander Pirsig
Hi George, thanks for the reply, I thought 6sec == 6000ms. Is the Documentation wrong because I found the following in http://tomcat.apache.org/tomcat-6.0-doc/config/http.html| |connectionTimeout -> The number of milliseconds this *Connector* will wait, after accepting a connection, for the r

RE: Force Connection Close

2009-10-27 Thread George Sexton
So, you have your connection timeout set to 6000 seconds. Did you wait that long? 1 Hour 40 minutes? George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 > -Original Message- > From: Alexander Pirsig [mailto:a...@pirsig.net] > Sent: Tuesday, October 27, 2009 9:

Error Listener start tomcat

2009-10-27 Thread vkpandit
When I deploy a war file of my jsf application to tomcat webapps directory I get an error listenerstart in my tomcat logs and when I point my browser to the location of the web page I get a runtime exception facesContext not found. Anyone seen this and can help me Sonia -- View this message in

Force Connection Close

2009-10-27 Thread Alexander Pirsig
Hi, I have have a question regarding the connectionTimeout. If I start a telnet session on our http-connector telnet localhost 8080 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. < Connections never get reset. Is there a problem with the timeout value? Enclosed is

RE: Jre upgrade Issue with Tomcat 5.5:java.util.zip.ZipException:error in opening zip file

2009-10-27 Thread Caldarale, Charles R
> From: selvakumar.V [mailto:selvakumar.velmuruge...@gmail.com] > Subject: RE: Jre upgrade Issue with Tomcat > 5.5:java.util.zip.ZipException:error in opening zip file > > And we are facing that issue in 2 application only.Rest of the > applications are working fine. In that case, you may have co

Updating Apache and mod_jk

2009-10-27 Thread Andre Hübner
Hello, have an older system apache 1.3, tomcat 4.1, mod_jk 1.2.2 updated to apache 2.2.10, mod_jk 1.2.28. tomcat should stay installed unchanged. restart fails with: [Tue Oct 27 08:50:19.526 2009] [14905:16384] [error] jk_map_validate_property::jk_map.c (404): The attribute 'worker.ajp14.crede

Re: sessions on tomcat restart in cluster

2009-10-27 Thread Tsirkin Evgeny
First of all please note that i really appreciate the tomcat developers work and thank them for it. However see my notes below: On Mon, Oct 26, 2009 at 9:21 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Tsirkin, > > On 10/25/

RE: Tomcat 6 Context, docBase and path

2009-10-27 Thread Caldarale, Charles R
> From: Nils Weinander [mailto:nils.weinan...@mogul.com] > Subject: Re: [SPAM] - RE: Tomcat 6 Context, docBase and path - Found > word(s)if you received this in error in the Text body > > I know, but as I read the docs, that's primarily if you > need to modify contexts without restarting Tomcat an

RE: Jre upgrade Issue with Tomcat 5.5 :java.util.zip.ZipException:error in opening zip file

2009-10-27 Thread selvakumar.V
Hi, Thanks for the update. And one more quick question to you. Actually our application consists of 4 web app like webapp1,webapp2. For all the above web apps, we are using 2 jres.(jre1.5) Now what we have done is just replaced the older jre with the newer jre 1.6 version folder. And we

Re: [SPAM] - RE: Tomcat 6 Context, docBase and path - Found word(s) if you received this in error in the Text body

2009-10-27 Thread Nils Weinander
Caldarale, Charles R wrote: From: Nils Weinander [mailto:nils.weinan...@mogul.com] Subject: Tomcat 6 Context, docBase and path Sorry if this is a common question, I didn't find anything like it by Google. Reading the actual Tomcat doc and FAQ is probably more productive. Tried that too...

Re: How do I debug dispatching errors?

2009-10-27 Thread Pid
On 26/10/2009 19:48, Josh wrote: This is Tomcat 5.5.26 under Windows XP, Java version as follows: java version "1.6.0_16" Java(TM) SE Runtime Environment (build 1.6.0_16-b01) Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, sharing) Pid wrote: Which dispatcher? Which dispatcher... can y

RE: Multiple driver load in tomcat

2009-10-27 Thread Caldarale, Charles R
> From: unabble [mailto:sushi...@yahoo.com] > Subject: Multiple driver load in tomcat > > I want to use multiple drivers in server.xml > How can i use? Just declare whatever you need; you can have as many elements as you want as long as the name attributes are unique. - Chuck THIS COMMUNICA

RE: Tomcat 6 Context, docBase and path

2009-10-27 Thread Caldarale, Charles R
> From: Nils Weinander [mailto:nils.weinan...@mogul.com] > Subject: Tomcat 6 Context, docBase and path > > Sorry if this is a common question, I didn't find anything > like it by Google. Reading the actual Tomcat doc and FAQ is probably more productive. > In a Tomcat 6, I have a Context declarat

RE: Jre upgrade Issue with Tomcat 5.5 :java.util.zip.ZipException:error in opening zip file

2009-10-27 Thread Caldarale, Charles R
> From: selvakumar.V [mailto:selvakumar.velmuruge...@gmail.com] > Subject: Jre upgrade Issue with Tomcat 5.5 > :java.util.zip.ZipException:error in opening zip file > > And Exception had been thrown for all jar files but here I will paste a > part of Exception stack trace. A common cause is a per

Apache Close-Wait issue

2009-10-27 Thread Darren Kukulka
Hi All Got an interesting problem which has occurred several times now.. Painting a brief picture ; Several applications running on Tomcat 6.0.19 (64-bit) - several cluster groups Backend SQL Server 2005 clustered DBs (several) Front end Apache Web servers, load balanced via secure ne

Tomcat 6 Context, docBase and path

2009-10-27 Thread Nils Weinander
Sorry if this is a common question, I didn't find anything like it by Google. In a Tomcat 6, I have a Context declaration in server.xml with a path and a docBase to a war file with a different name than the path: ... When the webapp is deployed, two directories are created under webapps: web

Jre upgrade Issue with Tomcat 5.5 :java.util.zip.ZipException: error in opening zip file

2009-10-27 Thread selvakumar.V
Actually we got the Exception like below after the JRE 1.5 to JRE "1.6.0_16" migration. We have a list of jar files under WEB-INF/lib directory. And Exception had been thrown for all jar files but here I will paste a part of Exception stack trace. Can anyone help us to debug this issue. Actua

Multiple driver load in tomcat

2009-10-27 Thread unabble
I'm using tomcat5.5 I want to use multiple drivers in server.xml How can i use? Here is the resource entry i'm using Can any body help? Thanks In advance -- View this message in context: http://www.nabble.com/Multiple-driver-load-in-tomcat-tp26075413p26075413.html Sent from the Tomcat - Use

RE: tomcat6.exe tomcat6w.exe 64-bit binaries link - how to download

2009-10-27 Thread Terekhov Artyom (ADV)
Oh, thanks a lot. Regards, Artyom Terekhov -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Tuesday, October 27, 2009 1:16 PM To: Tomcat Users List Subject: Re: tomcat6.exe tomcat6w.exe 64-bit binaries link - how to download Terekhov Artyom (ADV) wrote: > Thanks, but

Re: tomcat6.exe tomcat6w.exe 64-bit binaries link - how to download

2009-10-27 Thread Mark Thomas
Terekhov Artyom (ADV) wrote: > Thanks, but I did not find any words there about special binaries for 64-bit > Windows. > Are those binaries equal for 32-bit and 64-bit JRE? tomcat6w is for 32-bit and 64-bit tomcat6 you need 32-bit if using a 32-bit JVM and 64-bit if using a 64-bit JVM There have

Re: So many timeout values

2009-10-27 Thread Rainer Jung
On 26.10.2009 23:40, Mohit Anchlia wrote: > I read about timeouts but I still have following questions: > > 1. From 1.2.28 onwards, if I don't set the ping_mode then the request > will still be sent to the BE node from workers.list even if that node > is down? Forwarding http requests to a node o

RE: tomcat6.exe tomcat6w.exe 64-bit binaries link - how to download

2009-10-27 Thread Terekhov Artyom (ADV)
Thanks, but I did not find any words there about special binaries for 64-bit Windows. Are those binaries equal for 32-bit and 64-bit JRE? Regards, Artyom Terekhov -Original Message- From: Tobias Crefeld [mailto:t...@cataneo.eu] Sent: Tuesday, October 27, 2009 12:54 PM To: users@tomcat.a

Re: tomcat6.exe tomcat6w.exe 64-bit binaries link - how to download

2009-10-27 Thread Tobias Crefeld
Am Tue, 27 Oct 2009 12:25:18 +0300 schrieb "Terekhov Artyom (ADV)" : > Hello, I wonder how to get tomcat 64-bit binaries from this link. > Does not seem to work. > > http://svn.apache.org/viewvc/tomcat/tc6.0.x/tags/TOMCAT_6_0_16/res/procrun/ The link works well but "svn" is for developers inform

tomcat6.exe tomcat6w.exe 64-bit binaries link - how to download

2009-10-27 Thread Terekhov Artyom (ADV)
Hello, I wonder how to get tomcat 64-bit binaries from this link. Does not seem to work. http://svn.apache.org/viewvc/tomcat/tc6.0.x/tags/TOMCAT_6_0_16/res/procrun/ Regards, Artyom Terekhov

RE: Newbie-question: Adding directory to localhost-tomcat

2009-10-27 Thread Kai Behncke
>Did you put anything in that directory? If not, then a 404 status is appropriate. If you did put something >in little_test, what is it? You should have at least a welcome file (such as index.html) with some valid >content. Hello Chuck, Hello Awarnier, thank you for your responses. I creat

RE: Tomcat 6.0 x64

2009-10-27 Thread Wagenaar, R.J.T. (Ronald)
We have the 64-bit JVM. But probably not the 64-bit service runner. When starting the Tomcat service, the following error is written in the log file: [174 javajni.c] [error] %1 is not a valid Win32 application [994 prunsrv.c] [error] Failed creating java C:\Program Files\Java\jre1.5.0_20\bin\se