Re: How to avoid infinite loop during filter processing?

2007-05-07 Thread webzo
Thanks for the response. First off, it is fixed. I will just describe the issue so that it may help others. Its not a problem with the logic. I was trying- if (authentication required) filterConfig.doFilter(...) //next filter in chain does the actual authentication. So pass on the request. e

Re: jsp:include no longer working in 5.5.23

2007-05-07 Thread Scott Dunbar
Thanks, I checked that and my I don't set a docBase in my context: ... This exact same server.xml works fine under 5.5.15 which I've been running for about 16 months. I'll keep digging but after being bit by a bug in 5.5.16 I need to be much more careful with upgrading to new T

Re: Handling SSL Client Auth abort

2007-05-07 Thread Bill Barker
"Subscriber" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > >>> ...unfortunately I never get that far where I can catch the exception. >>> The exception is thrown within Tomcat and in my application code. > > >> (I'll assume there's a rather critical "not" missing from the l

Re: Cookie's value and double quotes with tomcat 6.0.10

2007-05-07 Thread Bill Barker
Yes, that is the correct BZ issue. It was decided that TC would quote cookie values containing special characters, even for v0 cookies. The thought was that browsers would likely understand the quoted value and handle it correctly. It seems that Entrust thought the same thing, and they came

Re: How to avoid infinite loop during filter processing?

2007-05-07 Thread Hassan Schroeder
On 5/7/07, webzo <[EMAIL PROTECTED]> wrote: Basically, I use a filter that intercepts access to ALL jsp pages, determines whether the user needs to be authenticated. If authentication is required, the filter passes it on to the next filter (filterchain.doFilter( ) ), else continues on to to orig

Re: jsp:include no longer working in 5.5.23

2007-05-07 Thread Mark Thomas
Scott Dunbar wrote: > I've been using the same code for years since the Tomcat 3.x days and an > upgrade to 5.5.23 has now broken my site. Check your config for appBase in a host element being set to the same directory as the docBase for a context. Most likely this will be in a ROOT context for th

RE: How to avoid infinite loop during filter processing?

2007-05-07 Thread Tim Lucia
Sounds like this is a logic problem in your filter; hard to know exactly what w/o seeing your code & filter definition. You could change your logic, possibly by adding a trail of breadcrumbs so the next time through you don't redirect. Or, you could consider changing the filter url match pattern

Re: "Error allocating a servlet instance" after editing web.xml.

2007-05-07 Thread Riyaz Shaikh
Here it is... It seems like a component of our application uses the eclipse OSGI framework (org.eclipse.birt.core.framework.osgi.OSGILauncher) during its startup. I'm looking into how it might result in this issue. But I'm curious as to how such an error can cause the whole Tomcat to go down. Th

Re: jsp:include no longer working in 5.5.23

2007-05-07 Thread Rashmi Rubdi
On 5/7/07, Scott Dunbar <[EMAIL PROTECTED]> wrote: I've been using the same code for years since the Tomcat 3.x days and an upgrade to 5.5.23 has now broken my site. I would safely assume there have been significant changes between 3.x and 5.5.23, if I were you I would start fresh, also the ins

How to avoid infinite loop during filter processing?

2007-05-07 Thread webzo
Hello, I am trying to something fairly simple and have a problem- Basically, I use a filter that intercepts access to ALL jsp pages, determines whether the user needs to be authenticated. If authentication is required, the filter passes it on to the next filter (filterchain.doFilter( ) ), else cont

Re: "Error allocating a servlet instance" after editing web.xml.

2007-05-07 Thread Martin Gainty
Please display the web.xml for the webapp M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by t

"Error allocating a servlet instance" after editing web.xml.

2007-05-07 Thread Riyaz Shaikh
Problem: If I make any change to my application's web.xml (even as small as a single space), I can't access any of Tomcat's pages/servlets. Info to narrow things down (hopefully): - I think Tomcat reloads things whenever a change is made to web.xml. But I haven't been able to find some good infor

Re: static fields suddenly started sharing]

2007-05-07 Thread Johnny Kewl
I've never played with tomcats class loaders but I was wondering why you want to place a "distinct" class so high in the Tomcat classloader tree. See the http://tomcat.apache.org/tomcat-4.1-doc/class-loader-howto.html I think the only reason it could have behaved at all as distinct classes in

jsp:include no longer working in 5.5.23

2007-05-07 Thread Scott Dunbar
I've been using the same code for years since the Tomcat 3.x days and an upgrade to 5.5.23 has now broken my site. If I do a: I get: The requested resource (/some/path/to/some.html) is not available. It is available and this particular file hasn't been modified for a very long time. If I

Re: Tomcat randomly cannot connect to SMTP host

2007-05-07 Thread Raymond Holguin
Dear all, Yes you have all given me great advice and I appreciate it. Like I mentioned this is a random issue that occurs, and currently it is working fine. So when it goes down again I will try out some of your suggestions. As for the code its a basic spring bean setup for the mailer c

Re: [Fwd: static fields suddenly started sharing]

2007-05-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Roger, Roger Parkinson wrote: > I have two different applications and they both make use of a common > jar library. The common library has several static fields. [snip] > I am trying to figure out what I changed to make this happen because > it is c

getting user info in a HTTP Server / Tomcat proxy configuration

2007-05-07 Thread Bill Higgins
We currently have a proxy server that has both Apache HTTP Server and Tomcat installed, with httpd acting as both a proxy for the local Tomcat installation, and also for a number of downstream servers. Currently we use httpd Basic Auth on the proxy box and send the Basic Auth header downstream to

Re: Apache Tomcat Native library

2007-05-07 Thread axetroll
At installation of Tomcat, when you need to choose what components will be installed, click + Tomcat and check the option NATIVE :D Paul Robinshaw-2 wrote: > > Hi > > Can somebody please tell me what this means on startup of Tomcat "The > Apache > Tomcat Native library which allows optimal

Re: (newbie) Why tomcat needs network on startup?

2007-05-07 Thread Leon Rosenberg
it may be a late answer but some applications (struts for example) define an external dtd which is downloaded on startup from apache.org. regards Leon On 4/25/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > From: David Smith [mailto:[EMAIL PROTECTED] > Subject: Re: (newbie) Why tomcat nee

Re: Tomcat5 on Mac OS X, problem with book or installation?

2007-05-07 Thread Martin Gainty
apologies for he late reply but I wanted to ask if the servlet-name and servlet-mapping and welcome-file-list from web.xml for entry jspbook have been entered here is an example that may help (sub in jspbook) jspbook package.jspbook jspbook.properties jspb

RE: Tomcat randomly cannot connect to SMTP host

2007-05-07 Thread Fargusson.Alan
I see you got a number of good suggestions. If you still have this problem you could try doing a netstat command to see if your server is holding the connections to the SMTP server. I have seen this type of thing cause some weird problems. If your server is holding several connections to the

Re: [Fwd: static fields suddenly started sharing]

2007-05-07 Thread Filip Hanik - Dev Lists
Roger Parkinson wrote: I have two different applications and they both make use of a common jar library. The common library has several static fields. Up until last week the static fields in one application never saw the static fields in the other but I changed something and suddenly they do. Al

Re: Multiple instances when starting Tomcat

2007-05-07 Thread Enrico Donelli
I think that you have many processes because each tomcat thread is mapped on a system process. I think this depends on the java vm/kernel, but I don't know the details. But it shouldn't be a problem, as long as I know. Also on my debian system, with kernel 2.4, I have the same behaviuor. Hope th

[Fwd: static fields suddenly started sharing]

2007-05-07 Thread Roger Parkinson
I have two different applications and they both make use of a common jar library. The common library has several static fields. Up until last week the static fields in one application never saw the static fields in the other but I changed something and suddenly they do. All the advice I've found

RE: Handling SSL Client Auth abort

2007-05-07 Thread Caldarale, Charles R
> From: Subscriber [mailto:[EMAIL PROTECTED] > Subject: Re: Handling SSL Client Auth abort > > This is OK - but how do I put custom code into the Tomcat? Download and modify the source. > I've already coded a custom realm for the purpose of > verifying the certificate - could I use this realm

Cookie's value and double quotes with tomcat 6.0.10

2007-05-07 Thread valery.brinnel
Hi everyone! First, thanks for reading this. Here is the situation: Entrust (a provider of security solutions) offers Java-based security applications for enterprises. Their installer installs an own Java virtual machine for each application as well as an own Tomcat (v 5.5.17) As we are al

Re: tomcat 6 and system property

2007-05-07 Thread Mikolaj Rydzewski
Manca Davide wrote: I have various webapp under various hosts under one Tomcat. I'm trying to set system-properties for every webapps, I mean that every single webapp should have one or more system-property. In resin 2 or 3 it is possible setting them in the webapp web.xml like that:

tomcat 6 and system property

2007-05-07 Thread Manca Davide
Hello to everyone in the List, I have a problem with system property with Tomcat 6. I have various webapp under various hosts under one Tomcat. I'm trying to set system-properties for every webapps, I mean that every single webapp should have one or more system-property. In resin 2 or 3 it

Multiple instances when starting Tomcat

2007-05-07 Thread Moley Harey
Hi folks, I am having problems using Tomcat 5.5.20 with Java jdk1.5.0_08 in a Debien machine. The problem is that every time I start Tomcat then 15 instances are started instead of one single process as I am used to in other Tomcat environments I have used before. As so many processes are runni

Re: Handling SSL Client Auth abort

2007-05-07 Thread Subscriber
Hi, ...unfortunately I never get that far where I can catch the exception. The exception is thrown within Tomcat and in my application code. > (I'll assume there's a rather critical "not" missing from the last clause in the above sentence.) Of course - NOT in my application code :-) If the

tomcat crash

2007-05-07 Thread Sunder Ravadi
hi, While implementing ejb apps,My tomcat 4.1 server is crashing bcos of the jboss-j2ee.jar file in the lib(copied from the JBOSS/client dir) directory.But without it the client application(jsp in this case) is not able to access the EJBHome and EJBObject class.Is there anyway

Re: nullpointerexception with standard manager

2007-05-07 Thread David Delbecq
The standardmanager persist sessions across reload using serialization. That mean all object in session must be serializable. An object is serializable if 1) it implements the Serializable interface (see also the externalizable interface which give more control on serialization) 2) it has an no-par

nullpointerexception with standard manager

2007-05-07 Thread mélanie langlois
Hello, We are running tomcat 5.0.28, and we have a problem with the standardManager when restarting our application. We have a NullPointerException when the StandardManager loads a session object.This object has static fields calling another class method (to obtain the bundles key for some pag