RE: tomcat session problem

2012-01-11 Thread Caldarale, Charles R
> From: Igor Cicimov [mailto:icici...@gmail.com] > Subject: Re: tomcat session problem > But you said you are using Apache as front end right? Actually, he didn't, but that's because it appears Selvakumar Subramanian didn't even bother to read the subject line, let alone stick to his unrelated

Re: tomcat session problem

2012-01-11 Thread Igor Cicimov
But you said you are using Apache as front end right? And here you are using mod_proxy_balancer to reverse-proxy right? > ProxyPass / balancer://cluster/ stickysession=JSESSIONID nofailover=On > ProxyPassReverse / balancer://cluster/ > You use sticky sessions on your proxy based on the JSESSION

Re: tomcat session problem

2012-01-11 Thread Selvakumar Subramanian
Hi Igor, Thanks for your reply...We are using apache tomact not the http serverHope the below parameter is to be used for apache http server right? Pls correct me, if i am wrong in understanding Thanks Selva On Wed, Jan 11, 2012 at 6:34 PM, Igor Cicimov wrote: > And have you set jvmRoute p

Re: tomcat session problem

2012-01-11 Thread Igor Cicimov
And have you set jvmRoute parameter in the server.xml file on the tomcats to match the route value you use in the balancer? Maybe read the following section of the mod_proxy_balancer carefully to make sure all the dependencies are meat: http://httpd.apache.org/docs/2.2/mod/mod_proxy_balancer.html

Re: Tomcat version 6 - SSL Implementation - TLS in IE settings

2012-01-11 Thread Selvakumar Subramanian
> > Hi, > > We have reporting web application running with tomcat version 6. Recently, > we implement SSL by converting http to https...I made below changes in > server.xml and web.xml. > Everything works fine.. but the issue is that all end users need to enable > TLS in IE settings for https to wo

Re: OT: Breadcrumbs Tomcat 7.0.11

2012-01-11 Thread Kiran Badi
In fact i was trying to see if base url can be of any help here as I lot of links in my pages,but it seems it is giving me more work. I think I should be good without base tag now. On 1/11/2012 10:08 PM, Hassan Schroeder wrote: On Tue, Jan 10, 2012 at 7:18 PM, Kiran Badi wrote: I am using b

Re: OT: Breadcrumbs Tomcat 7.0.11

2012-01-11 Thread Kiran Badi
Yes Terence, IE adds the trailing slash, but other browsers dont, thats one of the reason it fails in other browser other than IE. On 1/11/2012 9:58 PM, Terence M. Bandoian wrote: On 1:59 PM, Kiran Badi wrote: Sorry I need some more help, have one more weird issue at my plate now, I am using

Re: OT: Breadcrumbs Tomcat 7.0.11

2012-01-11 Thread Kiran Badi
Yes Andre you are correct here,it did exactly the same way you mentioned. It seems like fault lies with IE, as per specs it should not work,but it works in IE and fails in other browsers. Good learning experience for me. On 1/11/2012 2:00 PM, André Warnier wrote: Kiran Badi wrote: Sorry I

Excessive CPU w/APR Connectors on tomcat-native 1.1.22

2012-01-11 Thread Marvin Addison
We are seeing excessive CPU burn (top > 300% on multicore machine) in multiple versions of Tomcat that use APR connectors exclusively. The problem does not correlate with load. We initially saw it on 6.0.35 and subsequently on 7.0.23 as we attempted to upgrade around the problem. We have determi

Tomcat 7 (64 bit) does not seem to honor session timeout?

2012-01-11 Thread Paul Joseph
Hi there, I am running the Cocoon (2.11) servlet in Tomcat 7.0.23 (64 bit version) on Windows 2008 R2 (and also in 32 bit on Redhat linux). I am using the Java 1.6 JRE. I have my session timeout set in web.xml to 60 minutes. However I find that with about 44 minutes of inactivity that my se

Re: tomcat session problem

2012-01-11 Thread Daniel Mikusa
On Wed, 2012-01-11 at 10:21 -0800, Weffen Cheung wrote: > Hello, > > First Thanks for your reply, Dan. > > 1. Yes, I am using apache2+mod_proxy in front of the two tomcats, here are > the configuration in httpd.conf: > > ProxyPass /images/ ! > ProxyPass /css/ ! > ProxyPa

Re: Error: Unable to compile class for JSP

2012-01-11 Thread Justin Larose
ma...@apache.org wrote on 01/11/2012 01:19:17 PM: > From: ma...@apache.org > To: Tomcat Users List > Date: 01/11/2012 01:20 PM > Subject: Re: Error: Unable to compile class for JSP > > Justin Larose wrote: > >> > An error occurred at line: 230 in the jsp file: /object_table.jsp > >> > The type

Re: Tomcat 7 service not starting

2012-01-11 Thread André Warnier
Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Tomcat 7 service not starting what caused it to try to start again repeatedly by itself ? Pretty much any Windows service can be configured to automatically restart when it terminates. Right, I see that

RE: Tomcat 7 service not starting

2012-01-11 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: Tomcat 7 service not starting > what caused it to try to start again repeatedly by itself ? Pretty much any Windows service can be configured to automatically restart when it terminates. You have to use the real service console, not

Re: Tomcat 7 service not starting

2012-01-11 Thread André Warnier
Debbie Shapiro wrote: I'm not sure what the logs are supposed to look like in other implementations as I've only ever used Tomcat with Inetsoft. About the multiple restart issue : I was merely curious on that one. It has nothing to do with the InetSoft application, nor (I think) with Tomcat.

Re: Servlet Mapping w/ Error Page

2012-01-11 Thread George Sexton
On 12/31/11 2:04 PM, Konstantin Kolinko wrote: 2011/12/31 George Sexton: I have a servlet mapping for a page named /403.html I can invoke that URL and get a page as expected. In my deployment descriptor, I have an error mapping: 403 /403.html in my code I have if (someCondition) {

Re: tomcat session problem

2012-01-11 Thread Weffen Cheung
Hello, First Thanks for your reply, Dan. 1. Yes, I am using apache2+mod_proxy in front of the two tomcats, here are the configuration in httpd.conf: ProxyPass /images/ ! ProxyPass /css/ ! ProxyPass /js/ ! ProxyPass /photo/ ! ProxyPass /icon/ ! P

Re: Error: Unable to compile class for JSP

2012-01-11 Thread markt
Justin Larose wrote: >> > An error occurred at line: 230 in the jsp file: /object_table.jsp >> > The type Part is ambiguous >> > 227:{ >> > 228: //do nothing here - we don't want the filter to be >displayed >> > for lifecycles >> > 229: } >> > 230: else if (objType.eq

RE: Tomcat 7 service not starting

2012-01-11 Thread Debbie Shapiro
I'm not sure what the logs are supposed to look like in other implementations as I've only ever used Tomcat with Inetsoft. Could you specify what looked off? Maybe I can ask them what it is doing. I don't think we have any special settings in our Windows OS that would cause unusual behavior. Ye

RE: Tomcat 7 service not starting

2012-01-11 Thread Debbie Shapiro
I suspect installing the 32-bit Java after the 64-bit Java installation may have had something to do with it, but my Tomcat configuration was pointing to the Program Files and not Program Files (x86), so I don't know if there's some registry setting that was off or something. InetSoft calls the

Re: Error: Unable to compile class for JSP

2012-01-11 Thread Pid
On 11/01/2012 16:56, Justin Larose wrote: >>> An error occurred at line: 230 in the jsp file: /object_table.jsp >>> The type Part is ambiguous >>> 227:{ >>> 228: //do nothing here - we don't want the filter to be > displayed >>> for lifecycles >>> 229: } >>> 230: else i

Re: Error: Unable to compile class for JSP

2012-01-11 Thread Justin Larose
> > An error occurred at line: 230 in the jsp file: /object_table.jsp > > The type Part is ambiguous > > 227:{ > > 228: //do nothing here - we don't want the filter to be displayed > > for lifecycles > > 229: } > > 230: else if (objType.equals(Part.class)) > > 231:

Re: OT: Breadcrumbs Tomcat 7.0.11

2012-01-11 Thread Hassan Schroeder
On Tue, Jan 10, 2012 at 7:18 PM, Kiran Badi wrote: > I am using base tag Why? I've been developing web apps since 1993 and can't recall ever finding a compelling reason to use BASE (experimented, didn't inhale). You're probably better off just removing it :-) FWIW, -- Hassan Schroeder --

Re: [OT-ish] Apache Tomcat FTW

2012-01-11 Thread Terence M. Bandoian
On 1:59 PM, Pid wrote: All, A work colleague shared this: http://blog.newrelic.com/2012/01/10/infographic-oss-java-wins-in-the-cloud-era/ p I'm not entirely sure what it means but a 54% share by Tomcat is impressive. Thanks for the info. -Terence Bandoian -

Re: OT: Breadcrumbs Tomcat 7.0.11

2012-01-11 Thread Terence M. Bandoian
On 1:59 PM, Kiran Badi wrote: Sorry I need some more help, have one more weird issue at my plate now, I am using base tag and pulling out the webapplication context path to it like this so that all links in the page becomes relative to this path,i am doing something like below, which reso

Re: Error: Unable to compile class for JSP

2012-01-11 Thread Pid
On 11/01/2012 13:53, Justin Larose wrote: > An error occurred at line: 230 in the jsp file: /object_table.jsp > The type Part is ambiguous > 227:{ > 228: //do nothing here - we don't want the filter to be displayed > for lifecycles > 229: } > 230: else if (objType.equal

Re: Tomcat 7 service not starting

2012-01-11 Thread Pid
On 11/01/2012 07:43, André Warnier wrote: >>> Writing log to C:\Program Files\Apache Software Foundation\Tomcat > 7.0.6\webapps\sree\WEB-INF\classes/sree.log >>> The logging properties is: sree.properties > > That is quite a bizarre place for a logfile (in the same location as the > application's

Re: capturing total number of active sessions

2012-01-11 Thread Pid
On 11/01/2012 15:45, Kari Scott wrote: > > We are in the process of migrating a number of servers to Tomcat 7.0.23 and > we're looking for the best way to write the total number of active sessions > to a text file. Can someone point me to the documentation or sample code that > explains/can do

Re: Context configuration file

2012-01-11 Thread Pid
On 11/01/2012 15:53, Thom Hehl wrote: > 7.0.8 > > This is the configuration file in conf/Catalina/localhost and shares the > name of my webapp. Please don't top-post. > -Original Message- > From: Pid [mailto:p...@pidster.com] > Sent: Wednesday, January 11, 2012 10:52 AM > To: Tomcat Use

RE: Context configuration file

2012-01-11 Thread Thom Hehl
7.0.8 This is the configuration file in conf/Catalina/localhost and shares the name of my webapp. -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Wednesday, January 11, 2012 10:52 AM To: Tomcat Users List Subject: Re: Context configuration file On 11/01/2012 13:01, Thom Heh

Re: Context configuration file

2012-01-11 Thread Pid
On 11/01/2012 13:01, Thom Hehl wrote: > We are using a context configuration file to provide our database > connectivity through a JNDI entry to our application so that the file > can change without the purchasers of our software having to tinker about > with it internally. Here is our file: Which

capturing total number of active sessions

2012-01-11 Thread Kari Scott
We are in the process of migrating a number of servers to Tomcat 7.0.23 and we're looking for the best way to write the total number of active sessions to a text file. Can someone point me to the documentation or sample code that explains/can do this? As a side note, is the manager safe to run

RE: Context configuration file

2012-01-11 Thread Daniel Mikusa
On Wed, 2012-01-11 at 05:54 -0800, Thom Hehl wrote: > This has been very helpful, thank you. I had been unable to find this: > > One other question, my spring configuration for this looks like this: > >class="org.springframework.mail.javamail.JavaMailSenderImpl"> > > > >

Re: Problem running my webapp with Tomcat 7.0.22.0 Security Manager enabled (Windows Vista)

2012-01-11 Thread Tim Watts
On Tue, 2012-01-10 at 22:06 +, ja...@mobilewebexpert.co.uk wrote: > Basically, I've created a webapp which runs fine on my development machine, > but our actual hosting is shared (and uses a Security Manager) and some new > libraries we're using throws up loads of exceptions which we need to

RE: Context configuration file

2012-01-11 Thread Thom Hehl
This has been very helpful, thank you. I had been unable to find this: One other question, my spring configuration for this looks like this: nore...@.com nore...@.com true true

Error: Unable to compile class for JSP

2012-01-11 Thread Justin Larose
Well now that I got the certificate setup and users login to the application they are not seeing all content... When they login to the application (Tomcat version 7.0.23) they get the error below in the initial splash window. (there should be a menu instead) If I switch back to the Tomcat 6.0 ve

Re: tomcat session problem

2012-01-11 Thread Daniel Mikusa
On Wed, 2012-01-11 at 02:29 -0800, Weffen Cheung wrote: > Hello, > > I am using 2 tomcat(7.0.11) on my server, with clustering and session > duplication. All the things are running smoothy except the session problem > sometimes: > > 1. userA login, userB login Are userA and userB on the same T

Re: Context configuration file

2012-01-11 Thread Daniel Mikusa
On Wed, 2012-01-11 at 05:01 -0800, Thom Hehl wrote: > We are using a context configuration file to provide our database > connectivity through a JNDI entry to our application so that the file > can change without the purchasers of our software having to tinker about > with it internally. Here is ou

Re: Really block a directory

2012-01-11 Thread Luciano Andress Martini
Humm thank you the urlrewriterfilter sounds very good, i will try it. Thank you from Brazil. 2012/1/11, Mikolaj Rydzewski : > On Wed, 11 Jan 2012 13:04:24 +, Mark Thomas wrote: >> On 11/01/2012 13:00, Luciano Andress Martini wrote: >>> I need to block a directory in Tomcat, with all the fi

Re: Really block a directory

2012-01-11 Thread Mikolaj Rydzewski
On Wed, 11 Jan 2012 13:04:24 +, Mark Thomas wrote: On 11/01/2012 13:00, Luciano Andress Martini wrote: I need to block a directory in Tomcat, with all the files and sub-dirs, i cant change the path of this directory. =[ Like we do in Apache2, and without changing files permission. Its poss

Re: Really block a directory

2012-01-11 Thread Luciano Andress Martini
humm thank you so much =[ But how can i make a servlet, i never worked with tomcat before... Thank you very much and sorry, but i dont have a good english to understand all the documentation, maybe if you indicate a page of the doc... 2012/1/11, Mark Thomas : > On 11/01/2012 13:00, Luciano Andre

Re: Really block a directory

2012-01-11 Thread Mark Thomas
On 11/01/2012 13:00, Luciano Andress Martini wrote: > I need to block a directory in Tomcat, with all the files and > sub-dirs, i cant change the path of this directory. =[ > Like we do in Apache2, and without changing files permission. > > Its possible? Yes. Write a Servlet. Hard code it to re

Context configuration file

2012-01-11 Thread Thom Hehl
We are using a context configuration file to provide our database connectivity through a JNDI entry to our application so that the file can change without the purchasers of our software having to tinker about with it internally. Here is our file: I picked this trick up from a pred

Really block a directory

2012-01-11 Thread Luciano Andress Martini
I need to block a directory in Tomcat, with all the files and sub-dirs, i cant change the path of this directory. =[ Like we do in Apache2, and without changing files permission. Its possible? - To unsubscribe, e-mail: users-uns

tomcat session problem

2012-01-11 Thread Weffen Cheung
Hello, I am using 2 tomcat(7.0.11) on my server, with clustering and session duplication. All the things are running smoothy except the session problem sometimes: 1. userA login, userB login 2. Sometimes when userB load a page, he found that he has became userA, it means that userB's login ses

[OT-ish] Apache Tomcat FTW

2012-01-11 Thread Pid
All, A work colleague shared this: http://blog.newrelic.com/2012/01/10/infographic-oss-java-wins-in-the-cloud-era/ p -- [key:62590808] signature.asc Description: OpenPGP digital signature

Re: periodic (60 sec) problem from Vysper bosh servlet embedded in Tomcat 7.0.23

2012-01-11 Thread Pid
On 10/01/2012 21:04, Bob DeRemer wrote: > Tomcat Community, > > > > I’m not sure if this should be posted here or on the Mina/Vysper list, > but since the problem seems to be around Jetty Servlet3 continuation > functionality within the context of Tomcat, I thought I’d post here first. Which v

Re: OT: Breadcrumbs Tomcat 7.0.11

2012-01-11 Thread André Warnier
Kiran Badi wrote: Sorry I need some more help, have one more weird issue at my plate now, I am using base tag and pulling out the webapplication context path to it like this so that all links in the page becomes relative to this path,i am doing something like below, which resolves to " /m

Re: Problem running my webapp with Tomcat 7.0.22.0 Security Manager enabled (Windows Vista)

2012-01-11 Thread André Warnier
ja...@mobilewebexpert.co.uk wrote: Basically, I've created a webapp which runs fine on my development machine, but our actual hosting is shared (and uses a Security Manager) and some new libraries we're using throws up loads of exceptions which we need to replicate locally, hence the need for m