Re: Error starting Tomcat

2011-09-14 Thread NaveenShan
Can anyone please help in this.. I am also facing the same error.. Regards Naveen Pratibha S wrote: Hi, I'm a newbie. I'm unable to start Tomcat from Eclipse Indigo and getting the error below. I checked forums and found that I need to remove servlet.api from CLASSPATH. I removed the

Re: Error starting Tomcat

2011-09-14 Thread NaveenShan
Can anyone please help in this.. I am also facing the same error.. Regards Naveen Pratibha S wrote: Hi, I'm a newbie. I'm unable to start Tomcat from Eclipse Indigo and getting the error below. I checked forums and found that I need to remove servlet.api from CLASSPATH. I removed the

Re: Tomcat Redirect Issue - Extra / after hostname - Help Please

2011-09-14 Thread André Warnier
Shanti Suresh wrote: All, We are running into a peculiar issue. We have Tomcat 6.0.24 front-ended by Apache2.2.3. We have a VirtuslHost serving port 80 where Apache simply hands off / to Tomcat's load-balancer. VirtualHost *:80 ServerName wwwprod.lsa.umich.edu ServerAlias wwwprod www

Request params randomly null in servlet(s)

2011-09-14 Thread Darius D.
Hi, we have a problem of request params beeing null in servlets where it shouldn't be ( post or get, in get we can even see that request.getQueryString() is fine, but params are null). It is more pronounced when using dedicated thread executor, moving to threads provided by connector itself

Re: Tomcat and MS LDAP Configuration Problem

2011-09-14 Thread Pid
On 13/09/2011 23:35, Rudy Gireyev wrote: If I change the url-pattern to /* then the user is authenticated each and every time the application is accessed and the request.getRemoteUser() is then set to that user name. But then I cannot store anything in the session of the application. When I do

Re: Request params randomly null in servlet(s)

2011-09-14 Thread Pid
On 14/09/2011 08:34, Darius D. wrote: Hi, we have a problem of request params beeing null in servlets where it shouldn't be ( post or get, in get we can even see that request.getQueryString() is fine, but params are null). It is more pronounced when using dedicated thread executor,

Re: Request params randomly null in servlet(s)

2011-09-14 Thread Darius D.
Pid * wrote: doProcess(req, res) is not a Servlet API method. What other method(s) call it? Usually this type of thing occurs because the request (or response) is being held as an instance field somewhere in a thread-unsafe way. It is called from: public void

Re: Tomcat Redirect Issue - Extra / after hostname - Help Please

2011-09-14 Thread Shanti Suresh
Hi Andre, Thanks so much for the observation. Yes, The Redirect is redundant. I will leave it in there for now though as this is not a recent change. I would like to isolate what's causing //. I wanted to crank up logging in Tomcat side to catch the Request and Response processing. I tried

Re: Request params randomly null in servlet(s)

2011-09-14 Thread Pid
On 14/09/2011 11:55, Darius D. wrote: Pid * wrote: doProcess(req, res) is not a Servlet API method. What other method(s) call it? Usually this type of thing occurs because the request (or response) is being held as an instance field somewhere in a thread-unsafe way. It is called

tomcat 7.0.21: bug in RemoteAddrValve?

2011-09-14 Thread Francis GALIEGUE
Hello, I have a base Tomcat install with only the manager webapp in it at startup (I deploy other webapps using it in text mode) but since I upgraded from 7.0.16 to 7.0.21, the manager no longer works with the RemoteAddrValve. The context.xml is: Context

Re: Tomcat Redirect Issue - Extra / after hostname - Help Please

2011-09-14 Thread André Warnier
Shanti Suresh wrote: Hi Andre, Thanks so much for the observation. Yes, The Redirect is redundant. I will leave it in there for now though as this is not a recent change. I would like to isolate what's causing //. Understood. But what I am wondering about, is if this redundant (and

Re: Tomcat Redirect Issue - Extra / after hostname - Help Please

2011-09-14 Thread Shanti Suresh
Hi Andre, Oh sure :-) I forgot to mention that I did try commenting out and testing but left it back on as it did not make a difference. Thanks, and sorry about the ommission. -Shanti On Sep 14, 2011, at 11:20 AM, André Warnier wrote: Shanti Suresh wrote: Hi Andre,

HTTP errors Logging

2011-09-14 Thread Michael Gesundheit
Hi, I could not find anything in the archive so here is my question:Is there any way to get DEBUG or any log regarding HTTP error messages? I currently get a 403 but, so far, can't find the root cause. Thanks,-Michael

Re: tomcat 7.0.21: bug in RemoteAddrValve?

2011-09-14 Thread André Warnier
Francis GALIEGUE wrote: Hello, I have a base Tomcat install with only the manager webapp in it at startup (I deploy other webapps using it in text mode) but since I upgraded from 7.0.16 to 7.0.21, the manager no longer works with the RemoteAddrValve. The context.xml is: Context

Strange networking trace

2011-09-14 Thread David kerber
I don't really think this issue is related to Tomcat, but I'm not sure, so I'm starting here. Running: TC 7.0.20 64-bit on 64-bit Windows server 2008 Standard SP2, with 64-bit JRE 6.0_27 in server mode. The server is a single physical machine, not virtual and not clustered, and has no

Re: Request params randomly null in servlet(s)

2011-09-14 Thread Darius D.
Pid * wrote: On 14/09/2011 11:55, Darius D. wrote: They are in *that* thread. It is possible to expose either request or response object outside of the scope of the thread, so a second request sees a modified version of the same object. E.g. public class SomeServlet extends

Re: tomcat 7.0.21: bug in RemoteAddrValve?

2011-09-14 Thread Francis GALIEGUE
On Wed, Sep 14, 2011 at 17:28, André Warnier a...@ice-sa.com wrote: Francis GALIEGUE wrote: [...]    Valve className=org.apache.catalina.valves.RemoteAddrValve        allow=127\.0\.0\.1|::1/ [...] Maybe try to modify that regexp somewhat, like to allow=(127\.0\.0\.1)|(::1) or

RE: Strange networking trace

2011-09-14 Thread Caldarale, Charles R
From: David kerber [mailto:dcker...@verizon.net] Subject: Strange networking trace - 58 Response and ACK - 58 Duplicate response and ACK - 54 ACK - 54 Duplicate ACK - 191 HTTP response - 191 Duplicate HTTP response - 54 ACK and FIN - 54 Duplicate ACK and FIN - 54

Tomcat 7.0.21: BufferOverflowException in AjpAprProcessor.output()

2011-09-14 Thread verlag.preis...@t-online.de
Hi, I'm using Tomcat 7.0.21 with Native 1.1.22 and AJP-APR connector on Windows Server 2008 (32 bit) with Java 1.7.0, using ISAPI Connector 1.2.32 for IIS 7. When I looked into the log today, I found two occurrencies of a BufferOverflowException: Sep 14, 2011 1:55:20 PM

Re: HTTP errors Logging

2011-09-14 Thread Rudy Gireyev
Hi Michael. Not sure if this is what you're asking, but there's a logs directory in your Tomcat installation directory. In it there should be several log files that may contain a clue. Rudy On Wed, Sep 14, 2011 at 8:26 AM, Michael Gesundheit mi...@rocketmail.com wrote: Hi, I could not find

Using calendar .ics files over Tomcat 5.5

2011-09-14 Thread Dean Hoover
Hello, I am running Tomcat 5.5 in support of a internal-use only JSPWiki site. To consolidate, I decided to move our internal calendars (using the iCal .ics extension) from our very old Win2k server to the root directory of Tomcat as well. The problem I am having is that we are unable to modify

Re: Strange networking trace

2011-09-14 Thread David kerber
On 9/14/2011 11:48 AM, Caldarale, Charles R wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: Strange networking trace - 58 Response and ACK - 58 Duplicate response and ACK - 54 ACK - 54 Duplicate ACK - 191 HTTP response - 191 Duplicate HTTP response - 54

Re: Error starting Tomcat

2011-09-14 Thread Rudy Gireyev
In Eclipse, you do not run Tomcat on its own. It is configured as a Server within Eclipse and then all of your programs that use Tomcat will run within that Server. 1. To create a Server. Click File - New - Other and then expand the Server category and select Server. Go through the wizard which

Re: HTTP errors Logging

2011-09-14 Thread Michael Gesundheit
Thanks,I know about them but to see anything specific you need to turn on logging for the specificmodule. I could not find in the docs how to do it. -Michael --- On Wed, 9/14/11, Rudy Gireyev rgire...@gmail.com wrote: From: Rudy Gireyev rgire...@gmail.com Subject: Re: HTTP errors Logging To:

Re: HTTP errors Logging

2011-09-14 Thread Rudy Gireyev
Sorry. I don't understand at all what you are asking. What does module mean? By module do you mean some part of Tomcat itself? Or some application that you have written that runs within Tomcat? If the latter then you have to configure the logging within that Servlet system, which will depend on

Re: Tomcat and MS LDAP Configuration Problem

2011-09-14 Thread Rudy Gireyev
Thank you P for the response. I admit I don't 100% understand what you mean by Sounds like the session isn't being maintained in between requests. Is this something that I'm doing wrong? Or is this something outside of my control? The strange thing is that this very same code works just fine and

Re: tomcat 7.0.21: bug in RemoteAddrValve?

2011-09-14 Thread Mark Eggers
- Original Message - From: Francis GALIEGUE f...@one2team.com To: Tomcat Users List users@tomcat.apache.org Cc: Sent: Wednesday, September 14, 2011 8:42 AM Subject: Re: tomcat 7.0.21: bug in RemoteAddrValve? On Wed, Sep 14, 2011 at 17:28, André Warnier a...@ice-sa.com wrote:

Re: tomcat 7.0.21: bug in RemoteAddrValve?

2011-09-14 Thread André Warnier
Francis GALIEGUE wrote: On Wed, Sep 14, 2011 at 17:28, André Warnier a...@ice-sa.com wrote: Francis GALIEGUE wrote: [...] Valve className=org.apache.catalina.valves.RemoteAddrValve allow=127\.0\.0\.1|::1/ [...] Maybe try to modify that regexp somewhat, like to

Re: tomcat 7.0.21: bug in RemoteAddrValve?

2011-09-14 Thread André Warnier
Mark Eggers wrote: ... Try using 127\\.0\\.0\\.1|::1 and see if that fixes your problem. Of course ! I missed that one. I have no idea why it would work in previous versions (have not checked the change log). neither have I.

Re: Tomcat and MS LDAP Configuration Problem

2011-09-14 Thread Konstantin Kolinko
2011/9/14 Rudy Gireyev rgire...@gmail.com: Thank you P for the response. I admit I don't 100% understand what you mean by Sounds like the session isn't being maintained in between requests. Is this something that I'm doing wrong? Or is this something outside of my control? The strange thing

501 error not going to location

2011-09-14 Thread kkrikor
Hey guys, I have set up an error page for the 501 error code. But it seems that it is not going to the error.html page when a 501 happens. Testing with Tomcat 7. error-page error-code501/error-code location/error.html/location /error-page Here's how i'm testing - $ telnet

Re: Tomcat Redirect Issue - Extra / after hostname - Help Please

2011-09-14 Thread Konstantin Kolinko
2011/9/14 Shanti Suresh sha...@umich.edu: All, We are running into a peculiar issue.   We have Tomcat 6.0.24 front-ended by Apache2.2.3.  We have a VirtuslHost serving port 80 where Apache simply hands off / to Tomcat's load-balancer. VirtualHost *:80  ServerName wwwprod.lsa.umich.edu  

RE: 501 error not going to location

2011-09-14 Thread Caldarale, Charles R
From: kkrikor [mailto:krikor.kruml...@gmail.com] Subject: 501 error not going to location I have set up an error page for the 501 error code. Where did you configure the error-page? (Be precise.) Testing with Tomcat 7. Tomcat 7.what.what? (Be precise.) Since error pages are specific

Re: Using calendar .ics files over Tomcat 5.5

2011-09-14 Thread Pid
On 14/09/2011 18:14, Dean Hoover wrote: The problem I am having is that we are unable to modify (add/remove calendar entries) after the move. How are you trying to update them? p signature.asc Description: OpenPGP digital signature

Re: Tomcat 7.0.21: BufferOverflowException in AjpAprProcessor.output()

2011-09-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 9/14/2011 12:53 PM, verlag.preis...@t-online.de wrote: I'm using Tomcat 7.0.21 with Native 1.1.22 and AJP-APR connector on Windows Server 2008 (32 bit) with Java 1.7.0, using ISAPI Connector 1.2.32 for IIS 7. When I looked into

Re: Tomcat and MS LDAP Configuration Problem

2011-09-14 Thread Rudy Gireyev
Thank you for your reply Konstantin. In short: 1. When session cookie is created in recent versions of Tomcat,  the Path parameter in it is set to   webappName + /. 2. Requests to webappName are usually automatically redirected to webappName + / (Tomcat sends response code 302), but in

Re: Using calendar .ics files over Tomcat 5.5

2011-09-14 Thread Dean Hoover
We're using Lightning (add-on from Thunderbird email client). The error we get is MODIFICATION_FAILED, which from some review points to permissions to the .ics file. On Wed, Sep 14, 2011 at 4:34 PM, Pid p...@pidster.com wrote: On 14/09/2011 18:14, Dean Hoover wrote: The problem I am having

Re: Tomcat Redirect Issue - Extra / after hostname - Help Please

2011-09-14 Thread Shanti Suresh
Hi Konstantin, Our Balancer is setup as follows: Proxy balancer://dsmdelivery BalancerMember http://lsa-cmsproddlv1.lsa.umich.edu:8080 retry=2 BalancerMember http://lsa-cmsproddlv2.lsa.umich.edu:8080 retry=2 status=+H ProxySet stickysession=JSESSIONID|jsessionid /Proxy Yes, it worked

Re: Tomcat Redirect Issue - Extra / after hostname - Help Please

2011-09-14 Thread Shanti Suresh
Hi all, I traced the problem to a missing ProxyPreserveHost On directive on the LSA and the II VirtualHosts. I added the missing directive, and things are working fine. Apache documentation says: When enabled, this option will pass the Host: line from the incoming request