Re: HTTP 404 error when trying to run a Hello World Java Servlet while using Eclipse and Tomcat

2012-11-02 Thread Albert Kam
Perhaps you would like to share : - Whether you started the tomcat successfully (as seen from the logs/catalina.out) - Whether you can access the tomcat with http://localhost:8080 (assuming you didnt change the tomcat's port) - Whether you mapped the servlet in web.xml ? - What URL did you use to a

RemoteIpValve lacking default 172.16/12

2012-11-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I was looking at the Javadoc for RemoteIpValve's internalProxies attribute and I saw this comment: " 172.16/12 has not been enabled by default because it is complex to describe with regular expressions. " I'm not sure that is true. This regex o

Re: Comma related bug in org.apache.catalina.valves.RemoteIpValve

2012-11-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Simon, On 11/2/12 12:27 PM, Simon Dean wrote: >> -Original Message- From: Caldarale, Charles R >> [mailto:chuck.caldar...@unisys.com] Sent: 31 October 2012 20:35 >> To: Tomcat Users List Subject: RE: Comma related bug in >> org.apache.catali

Re: Mystery migrating from tomcat 6 to 7

2012-11-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Fred, On 11/2/12 4:25 PM, Fred Toth wrote: > Well, let me post at least the last bit (the whole thing is noisy > and long). See below for the indication of a normal startup. In > particular, my app finishes startup with "initialized Struts-Spring > in

Re: Handling requests when under load - ACCEPT and RST vs non-ACCEPT

2012-11-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 11/2/12 3:51 PM, Mark Thomas wrote: > On 02/11/2012 19:13, Asankha C. Perera wrote: >> Hi Esmond >> >> You are correct. As I recently found out Tomcat and Java is not >> causing this explicitly, as I first thought. So there is no 'bug' >> to

Re: Confused: IllegalStateException

2012-11-02 Thread Daniel Mikusa
On Nov 2, 2012, at 3:10 PM, Jonathan Rosenberg wrote: > On Fri, Nov 2, 2012 at 3:03 PM, Daniel Mikusa wrote: >> On Nov 2, 2012, at 2:36 PM, Jonathan Rosenberg wrote: >> >>> Basics: Apache Tomcat/7.0.22 1.6.0_22-b04 >>> >>> I have a Grails app that I'm deploying to this Tomcat. >> >> How are y

Re: Mystery migrating from tomcat 6 to 7

2012-11-02 Thread Fred Toth
Hi, Well, let me post at least the last bit (the whole thing is noisy and long). See below for the indication of a normal startup. In particular, my app finishes startup with "initialized Struts-Spring integration successfully" and tomcat indicates it's done with "Server startup in 7487 ms".

Re: Handling requests when under load - ACCEPT and RST vs non-ACCEPT

2012-11-02 Thread Mark Thomas
On 02/11/2012 19:13, Asankha C. Perera wrote: > Hi Esmond > > You are correct. As I recently found out Tomcat and Java is not causing > this explicitly, as I first thought. So there is no 'bug' to be fixed. > > But I believe there is an elegant way to refuse further connections when > under load

Re: Mystery migrating from tomcat 6 to 7

2012-11-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Fred, On 11/2/12 3:27 PM, Fred Toth wrote: > I've got a struts2/spring app that's been running under tomcat 6 > with no problems. > > I migrated it to 7 and I've hit a strange brick wall. On startup, > the logs show the app deploying, absolutely norm

Mystery migrating from tomcat 6 to 7

2012-11-02 Thread Fred Toth
Hi, I've got a struts2/spring app that's been running under tomcat 6 with no problems. I migrated it to 7 and I've hit a strange brick wall. On startup, the logs show the app deploying, absolutely normally with no errors at all. However, when I try to hit any URL within the app's context, I

Re: Handling requests when under load - ACCEPT and RST vs non-ACCEPT

2012-11-02 Thread Asankha C. Perera
Hi Esmond You are correct. As I recently found out Tomcat and Java is not causing this explicitly, as I first thought. So there is no 'bug' to be fixed. But I believe there is an elegant way to refuse further connections when under load by turning off just the 'accepting' of new connections,

Re: Confused: IllegalStateException

2012-11-02 Thread Jonathan Rosenberg
On Fri, Nov 2, 2012 at 3:03 PM, Daniel Mikusa wrote: > On Nov 2, 2012, at 2:36 PM, Jonathan Rosenberg wrote: > >> Basics: Apache Tomcat/7.0.22 1.6.0_22-b04 >> >> I have a Grails app that I'm deploying to this Tomcat. > > How are you deploying the application? What are the exact steps that you

Re: Confused: IllegalStateException

2012-11-02 Thread Daniel Mikusa
On Nov 2, 2012, at 2:36 PM, Jonathan Rosenberg wrote: > Basics: Apache Tomcat/7.0.22 1.6.0_22-b04 > > I have a Grails app that I'm deploying to this Tomcat. How are you deploying the application? What are the exact steps that you are taking? Dan > During the > deployment, I see the follo

Confused: IllegalStateException

2012-11-02 Thread Jonathan Rosenberg
Basics: Apache Tomcat/7.0.221.6.0_22-b04 I have a Grails app that I'm deploying to this Tomcat. During the deployment, I see the following in catalina.out: Nov 2, 2012 2:25:18 PM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive Catalog##0025.war log4j:

Re: Tomcat 6 query

2012-11-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vicky, On 11/2/12 4:40 AM, vicky007aggar...@yahoo.co.in wrote: > Thanks mark. > > I concern why the minSpareThreads" & "maxSpareThreads" attributes > dont exist at the below URL anymore > >> http://tomcat.apache.org/tomcat-6.0-doc/config/http.html

Re: Redirecting from unprotected resource to a protected one

2012-11-02 Thread Lyallex
On 2 November 2012 16:21, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Lyallex, > > On 11/2/12 9:43 AM, Lyallex wrote: > > When I have validated the data I want to forward to a protected > > resource like this > > > > forwardTarget = "/account/accountView.jsp";

RE: Comma related bug in org.apache.catalina.valves.RemoteIpValve

2012-11-02 Thread Simon Dean
> -Original Message- > From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] > Sent: 31 October 2012 20:35 > To: Tomcat Users List > Subject: RE: Comma related bug in > org.apache.catalina.valves.RemoteIpValve > > > From: André Warnier [mailto:a...@ice-sa.com] > > Subject: Re: Com

Re: Redirecting from unprotected resource to a protected one

2012-11-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lyallex, On 11/2/12 9:43 AM, Lyallex wrote: > When I have validated the data I want to forward to a protected > resource like this > > forwardTarget = "/account/accountView.jsp"; > > RequestDispatcher rd = > getServletContext().getRequestDispatcher

Re: Comma related bug in org.apache.catalina.valves.RemoteIpValve

2012-11-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 10/31/12 4:25 PM, André Warnier wrote: > We'll probably end up with something like > "regex1","regex2", Or a single regex, with "|" > between the alternatives (which could be a workaround for you now, > I guess). A single regex with mul

CSRF on multiple tomcat instances

2012-11-02 Thread Wilfred Duizers
Hello, I am running 2 Tomcat instances on 1 server. So far nothing special :-) Both: Apache Tomcat/7.0.25 JVM 1.6.0_20-b02 When a user clicks a link in the webapplication running on Tomcat instance 1 (portal) an application running on Tomcat instance 2 is opened. Is it possible to send the nonc

Re: Tomcat 6 query

2012-11-02 Thread vicky007aggarwal
Thanks mark. I concern why the minSpareThreads" & "maxSpareThreads" attributes dont exist at the below URL anymore > http://tomcat.apache.org/tomcat-6.0-doc/config/http.html As in tomcat 5 , i am able to locate http connector Thanks, Vicky Sent from my iPhone On Nov 2, 2012, at 1:22 PM, Mar

Re: Tomcat 6 query

2012-11-02 Thread Mark Eggers
On 11/2/2012 12:25 AM, vicky007aggar...@yahoo.co.in wrote: Team, In tomcat 6.0 documentation , i didnt see any details for "minSpareThreads" & "maxSpareThreads" Does these 2 tags are not supported in tomcat 6.0 Thanks, Vicky Sent from my iPhone ---

Tomcat 6 query

2012-11-02 Thread vicky007aggarwal
Team, In tomcat 6.0 documentation , i didnt see any details for "minSpareThreads" & "maxSpareThreads" Does these 2 tags are not supported in tomcat 6.0 Thanks, Vicky Sent from my iPhone - To unsubscribe, e-mail: users-unsubscr