Re: Restricting IP address and redirecting

2008-12-12 Thread Bill Barker
"Flemion Shafeeq" wrote in message news:5.2.1.1.2.2008123217.02090...@hulmail.harvard.edu... > Hi, > We restrict IP addresses to our application using RemoteAddressValve. > But we have a requirement of redirecting the request to a customized html > static page when we get request from such d

Re: mod_jk: Expected behaviour for ajp-pool currentThreadCount

2008-12-12 Thread Bill Barker
"Michael Echerer" wrote in message news:49426119.3060...@tngtech.com... > Hello, > > I'm currently analysing issues with a quite old Tomcat 5.5.17, mod_jk > 1.2.15 and Apache 2.0.55 loadbalanced setup with 4 Apaches (worker.c) > and 4 Tomcats. > > Questions are: > * Can anyone explain why Apache

RE: Tomcat 5.5 manager deploy context descriptor

2008-12-12 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Tomcat 5.5 manager deploy context descriptor > > > Is there a way to see, if my context.xml is actually loaded > > anywhere? > > You might want to try loading LambdaProbe > (http://www.lambdaprobe.org/). You can also

Tomcat 6 Cluster Setup- Server1 simply hangs sometimes - won't start...

2008-12-12 Thread jsandhu2204
We installed.tomcat6 in production on three high ended machines Tomcat Version JVM Version JVM Vendor OS Name OS Version OS Architecture Apache Tomcat/6.0.18 1.6.0_07-b06 Sun Microsystems Inc. Windows 2003 5.2 amd64 1) Cluster is setup correctly in the server.xml as follows 2) web.xml has

Re: Tomcat 5.5 manager deploy context descriptor

2008-12-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Anni, Anni Ahonen-Bishopp wrote: > Is there a way to see, if my context.xml is actually loaded anywhere? You might want to try loading LambdaProbe (http://www.lambdaprobe.org/). You can view tons of information in there, including connection pools, e

RE: service.bat install failure (Windows, v 6.0.18)

2008-12-12 Thread Caldarale, Charles R
> From: andrew [mailto:ad...@ecpcorp.net] > Subject: Re: service.bat install failure (Windows, v 6.0.18) > > The fact that the .tar.gz version is so close to correct > on Windows, makes me hope to eventually track down the > precise cause of failure; it might be interesting. I'd also like to know

Re: service.bat install failure (Windows, v 6.0.18)

2008-12-12 Thread andrew
OK, I have a *procedural* resolution to my issue, however I do not yet understand the underlying functional mechanism to my satisfaction. For those who only care about the bottom line, here it is: * If you want to use Tomcat as a Windows service, use the .zip Tomcat * distribution, not the .ta

Re: Tomcat 4 Maintenance & Security Patches

2008-12-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew, Andrew Feller wrote: > QUESTION: > How often is the Tomcat 4 branch updated with security & bug fixes? As > often as issues are uncovered in newer versions? - From the front page of tomcat.apache.org: "The current status of all Tomcat versi

Re: HttpServletRequest#getSession(false) says the session is good, but session is still invalid!

2008-12-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, Martin B. Smith wrote: > Actually, looking at it in the pastebin -- could it be that I'm setting > an attribute FOR the error about a missing session? > > Hmm did I just solve my own problem? Yup! Look at your "error handling" code: >

Re: HttpServletRequest#getSession(false) says the session is good, but session is still invalid!

2008-12-12 Thread Martin B. Smith
Hi Chris, Thanks for your response. I actually don't invalidate the current session there. That's what is so frustrating -- the code snippet I provided is at the very top of the method, and there's no more reference to the session or request until using setAttribute. I don't mind providing the co

Re: HttpServletRequest#getSession(false) says the session is good, but session is still invalid!

2008-12-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, Martin B. Smith wrote: > With Tomcat 5.5 , I'm using the (what I assume to be typical) pattern: > > -- > if(!request.isRequestedSessionIdValid() || request.getSession(false) == > null) > { > // some code to bail out and return an error > }

Tomcat 4 Maintenance & Security Patches

2008-12-12 Thread Andrew Feller
QUESTION: How often is the Tomcat 4 branch updated with security & bug fixes? As often as issues are uncovered in newer versions? CONTEXT: We are looking into some commercial software that supports WebSphere, WebLogic, or Tomcat 4. Our primary concern of going the Tomcat 4 route is whether patch

HttpServletRequest#getSession(false) says the session is good, but session is still invalid!

2008-12-12 Thread Martin B. Smith
Hi there, With Tomcat 5.5 , I'm using the (what I assume to be typical) pattern: -- if(!request.isRequestedSessionIdValid() || request.getSession(false) == null) { // some code to bail out and return an error } HttpSession session = request.getSession(); -- and yet, later on in my code, a cal

mod_jk: Expected behaviour for ajp-pool currentThreadCount

2008-12-12 Thread Michael Echerer
Hello, I'm currently analysing issues with a quite old Tomcat 5.5.17, mod_jk 1.2.15 and Apache 2.0.55 loadbalanced setup with 4 Apaches (worker.c) and 4 Tomcats. Questions are: * Can anyone explain why Apache SYN requests to Tomcat don't get answered (probably this happens only if maxClients exce

DeltaManager + Session beans: Do they like eachother?

2008-12-12 Thread Pieter Temmerman
Hello everybody, First of all, to avoid any misunderstandings, below problems relate to applications that I did not write, neither do I exactly know the implementation of them. Although, if required, I can ask the programmer for more information. That being said, the problem that I am seeing is t

RE: Web.xml entries

2008-12-12 Thread paul.ockleford
Ok thanks for the quick response! -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: 12 December 2008 11:50 To: Tomcat Users List Subject: Re: Web.xml entries paul.ocklef...@nhs.net wrote: > Hi, > > I have a basic question about the tomcat server start-up. If there ar

Re: Web.xml entries

2008-12-12 Thread Mark Thomas
paul.ocklef...@nhs.net wrote: > Hi, > > I have a basic question about the tomcat server start-up. If there are > classes missing that are referenced as servlet entries in the web.xml should > this render the server unuseable? No. But it should, and I believe it does, render that web application u

Web.xml entries

2008-12-12 Thread paul.ockleford
Hi, I have a basic question about the tomcat server start-up. If there are classes missing that are referenced as servlet entries in the web.xml should this render the server unuseable? I did a little test today with a web app, and when tomcat started it reported class not found exceptions for th

Re: Potential reuse of TagHandlers implementing JspIdConsumer?

2008-12-12 Thread Mark Thomas
Jochen Wuttke wrote: > Hi, > > I finally found the time to build a test case for this issue. > I attach the WAR, The users list won't accept attachments. You;ll need to open a bugzilla entry and attach your test case there. Mark but you still need to put the runtime library of > AspectJ (aspe

Re: Potential reuse of TagHandlers implementing JspIdConsumer?

2008-12-12 Thread Jochen Wuttke
Hi, I finally found the time to build a test case for this issue. I attach the WAR, but you still need to put the runtime library of AspectJ (aspectjrt.jar) on the classpath when running Tomcat. The behavior I observe is that whenever I load/reload the page, the JspIdConsumer objects get allo

Re: bad content type mod_jk 1.2.27

2008-12-12 Thread marcobalc
Hi, I attach the ajp log for two cases: one ok and one ko. http://www.nabble.com/file/p20971586/headers_ok_and_ko.txt headers_ok_and_ko.txt I'm going crazy in order to understand when tomcat lost headers... :( Many thanks, regards Marco marcobalc wrote: > > Hi, > > an other strange behav