tomcat url rewrite

2009-09-11 Thread WILLIAMer
I get a problem with the URL. My application has url rewrite for SEO. I use this format http://mydomain/item.html for display. There is an error that if the item name like LF/123, then the url become http://mydomain/LF/123.html. Because of the name include / character. I got the error like

Re: tomcat url rewrite

2009-09-11 Thread André Warnier
WILLIAMer wrote: I get a problem with the URL. My application has url rewrite for SEO. I use this format http://mydomain/item.html for display. There is an error that if the item name like LF/123, then the url become http://mydomain/LF/123.html. Because of the name include / character. I got

Re: tomcat url rewrite

2009-09-11 Thread Pid
On 11/09/2009 08:07, André Warnier wrote: WILLIAMer wrote: I get a problem with the URL. My application has url rewrite for SEO. I use this format http://mydomain/item.html for display. There is an error that if the item name like LF/123, then the url become http://mydomain/LF/123.html.

3 question for the form

2009-09-11 Thread Karthik Nanjangude
Hi 3 question for the form 1) Under What condition the MaxThreads should be increased in server.xml? maxThreads=150 when SSL is Configured with APACHE2x / Tomcat 6.0.2.0 setup 2) Is there a Process / Command to constantly monitor maxThreads this thread activity?

Re: 3 question for the form

2009-09-11 Thread André Warnier
Karthik Nanjangude wrote: Hi 3 question for the form 1) Under What condition the MaxThreads should be increased in server.xml? maxThreads=150 when SSL is Configured with APACHE2x / Tomcat 6.0.2.0 setup 2) Is there a Process / Command to constantly monitor

Re: Does CVE-2007-0450 (Directory Traversal) affect standalone Tomcat

2009-09-11 Thread Mark Thomas
Tadelkar, Gauravsagar (Gaurav) wrote: Thanks for the reply, Mark. If possible, can you please point to any references/docs which would help me convince others about the directory traversal vulnerability not impacting a standalone tomcat? Even an explanation would help. I would have

RE: 3 question for the form

2009-09-11 Thread Karthik Nanjangude
Hi Thx for the quick reply Googled / yahooed :( But need some satisfying answers Please do the need full With regards Karthik -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Friday, September 11, 2009 1:28 PM To: Tomcat Users List Subject: Re: 3

Re: Shared jars

2009-09-11 Thread Mark Thomas
Tim Berglund wrote: I'm trying to enable the shared classloader on Tomcat 6.0.20 (Java 1.6.0_15 on Mac OSX 10.6). I've put this line in conf/catalina.properties: shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar I've dumped a few dozen jars in the shared/lib

Re: 3 question for the form

2009-09-11 Thread Mark Thomas
Karthik Nanjangude wrote: Hi 3 question for the form 1) Under What condition the MaxThreads should be increased in server.xml? When the current load utilises all threads and you want to handle a higher load. 2) Is there a Process / Command to constantly monitor maxThreads this

Tomcat fail to start : Socket bind failed: [22] Invalid argument

2009-09-11 Thread Thomas Manson
Hi, I've a tomcat (6.0.18) running on an ubuntu 9.04 (64bit) that run a Jira and a personnal webapp that somehow stop to works. I didn't change anything to the tomcat configuration or webapps. Tomcat was using APR and is linked to Apache 2 with modjk. One day I noticed that tomcat was

Re: Tomcat fail to start : Socket bind failed: [22] Invalid argument

2009-09-11 Thread Mark Thomas
Thomas Manson wrote: any ideas? You are still using APR (references to org.apache.coyote.http11.Http11AprProtocol in the logs) and hitting the ipv6 bug. You need to do one of the following: - disable APR - disable ipv6 - use 6.0.20 with tc native 1.1.16 Mark

Re: How to configure Tomcat 6.0 with JAAS?

2009-09-11 Thread radhika PA
Hi , Can you give me details of configuring Custom LoginModule in Tomcat6.0.18. Where exactly did you place the custom LoginModuleImpl and principle classes? I tried to configure it but i am getting the following exception. javax.security.auth.login.LoginException: unable to find LoginModule

Re: tomcat url rewrite

2009-09-11 Thread WILLIAMer
Thanks for replies. To awarnier: Change the item name will lost the SEO for this item. To Pid-6: It is dynamic page and item data are from database. I use url rewrite for looking like static page. So the tomcat is right. I must think another way. Thanks all. -- View this message in context:

RE: 3 question for the form

2009-09-11 Thread Karthik Nanjangude
Hi Thx for the quick reply When the current load utilizes all threads and you want to handle a higher load Does this mean the Container Complaint's via some logged o/p during the max load ? If yes What would the be the exception typos. With regards Karthik -Original Message-

reply_timeout

2009-09-11 Thread Vyv
Hi there, I have a webservice running in Apache-Tomcat (6.0.16) on a Windows 2003 server. It's running fine for quite a while now. The WS is a process that generates PDF documents. Today we experienced a reply timeout, because the process of generating the PDF took more time than usual. The PDF

Re: tomcat url rewrite

2009-09-11 Thread Pid
On 11/09/2009 11:18, WILLIAMer wrote: Thanks for replies. To awarnier: Change the item name will lost the SEO for this item. To Pid-6: It is dynamic page and item data are from database. I use url rewrite for looking like static page. Why not just make the URLs in such a way that you can

Problem Servlets (again?)

2009-09-11 Thread Charles Gillan
How do I get servlets to work on tomcat 6.0.20 ? HTML and JSPs are working for me. Ok, I know it seems that this question turns up a lot (for previous releases), having Googled and read many sites over the last week. But none of the advice works for me. So, I am turning to the list. Detaisl fo

Re: 3 question for the form

2009-09-11 Thread Mark Thomas
Karthik Nanjangude wrote: Hi Thx for the quick reply When the current load utilizes all threads and you want to handle a higher load Does this mean the Container Complaint's via some logged o/p during the max load ? Yes. If yes What would the be the exception typos. Off the top of

Re: reply_timeout

2009-09-11 Thread Mark Thomas
Vyv wrote: Hi there, I have a webservice running in Apache-Tomcat (6.0.16) on a Windows 2003 server. It's running fine for quite a while now. The WS is a process that generates PDF documents. Today we experienced a reply timeout, because the process of generating the PDF took more time

Re: Problem Servlets (again?)

2009-09-11 Thread Mark Thomas
Charles Gillan wrote: Ok, I know it seems that this question turns up a lot (for previous releases) Only when folks ignore the Servlet specification and/or the Tomcat documentation. Followed a tutorial on the javaboutique web site; actually seems to be for tomcat 4, but I did not believe

RE: reply_timeout

2009-09-11 Thread Martin Gainty
//assume you have releaseNotes2document.xsl stylesheet ?xml version=1.0? !-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF

Inconsistent Horizontal Tomcat Cluster with Apache Load-Balancing (Windows)

2009-09-11 Thread Alexander Bacon
Environment: Windows Server 2003 Tomcat 6.0.20 Apache HTTP Server 2.2.11 JK 1.2.28 Connector The goal is to have horizontal clustering with load balancing and failover (session persistence). The load balancing aspect works as expected. The issue I've been having is that when ServerA crashes, it

Re: reply_timeout

2009-09-11 Thread Pid
On 11/09/2009 15:28, Martin Gainty wrote: //assume you have releaseNotes2document.xsl stylesheet ?xml version=1.0? !-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional

Re: tomcat url rewrite

2009-09-11 Thread Hassan Schroeder
On Fri, Sep 11, 2009 at 4:01 AM, Pid p...@pidster.com wrote: Why not just make the URLs in such a way that you can look them up in the database?  A servlet Filter could perform the same task in one go that your rewrite db lookup is doing. Exactly -- your URL is only a problem if you're

404 Error troubleshooting

2009-09-11 Thread Mike Baranski
I have a webapp, which shows up in the manager, but gives a 404 error every time I try to access it. Can someone let me know how to turn on debugging and see what exactly is going on? It's an XMLRPC app (not that it makes a difference), and I have my web.xml servlet filter setup properly

RE: 404 Error troubleshooting

2009-09-11 Thread Martin Gainty
you can see the posted request and response as well as the entire DOM tree with firebug plugin for firefox http://getfirebug.com hth Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist

RE: 404 Error troubleshooting

2009-09-11 Thread Caldarale, Charles R
From: Mike Baranski [mailto:list-subscripti...@secmgmt.com] Subject: 404 Error troubleshooting I have a webapp, which shows up in the manager, but gives a 404 error every time I try to access it. When posting questions, provide some real information: 1) Tomcat version? 2) Any front end on

Installing Servlets

2009-09-11 Thread Charles Gillan
Thanks to Mark for the response to my initial e-mail on my problem with servlets. I have now followed the TomCat manual and have created a build environment using ant. The problem I now have is that I get an exception thown at ant install nd this is associated with HTTP response

tomcat and access valve

2009-09-11 Thread daniel steel
All, i have a question regarding the access valve component and following pattern code. %D - Time taken to process the request, in millis we are troubleshooting performance issue and hence have enabled access log with above pattern code. in one of the server, a test jsp was logged with 1224

Re: tomcat and access valve

2009-09-11 Thread Mark Thomas
daniel steel wrote: All, i have a question regarding the access valve component and following pattern code. %D - Time taken to process the request, in millis we are troubleshooting performance issue and hence have enabled access log with above pattern code. in one of the server, a

Re: Placement of custom resource factories

2009-09-11 Thread Kirill Vasiliev
We have a custom factory that derive from org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory. We have it inside our war, we're plug it in inside application's context.xml as Resource name=jdbc/db auth=Container type=javax.sql.DataSource dsProps=properties.file

Re: Placement of custom resource factories

2009-09-11 Thread Kirill Vasiliev
Sorry, previous message was incomplete. We have a custom factory that derive from org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory. We have it inside our war, we're plug it in inside application's context.xml as Resource name=jdbc/db auth=Container type=javax.sql.DataSource

RE: 404 Error troubleshooting

2009-09-11 Thread Mike Baranski
-Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Friday, September 11, 2009 11:49 AM To: Tomcat Users List Subject: RE: 404 Error troubleshooting From: Mike Baranski [mailto:list-subscripti...@secmgmt.com] Subject: 404 Error troubleshooting I

RE: 404 Error troubleshooting

2009-09-11 Thread Caldarale, Charles R
From: Mike Baranski [mailto:list-subscripti...@secmgmt.com] Subject: RE: 404 Error troubleshooting url-pattern/xmlrpc-status/url-pattern Access Log: 127.0.0.1 - - [11/Sep/2009:12:41:25 -0400] POST /xmlrpc-status/ HTTP/1.0 Your url-pattern doesn't match the submitted URL; change

RE: 404 Error troubleshooting

2009-09-11 Thread Mike Baranski
127.0.0.1 - - [11/Sep/2009:12:50:19 -0400] POST /xmlrpc-status/ HTTP/1.0 404 997 ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app display-nameSecurity Managment

RE: 404 Error troubleshooting

2009-09-11 Thread Caldarale, Charles R
From: Mike Baranski [mailto:list-subscripti...@secmgmt.com] Subject: RE: 404 Error troubleshooting 127.0.0.1 - - [11/Sep/2009:12:50:19 -0400] POST /xmlrpc-status/ HTTP/1.0 404 997 Did you reload the webapp or restart Tomcat after making the change? Also, check the logs for deployment

RE: 404 Error troubleshooting

2009-09-11 Thread Mike Baranski
Yes, restarted Tomcat (I also opened the war and opened the web.xml inside of it to make sure it was what I thought it was). No deploy errors, either. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Friday, September 11, 2009 12:54 PM To: Tomcat

RE: 404 Error troubleshooting

2009-09-11 Thread Caldarale, Charles R
From: Mike Baranski [mailto:list-subscripti...@secmgmt.com] Subject: RE: 404 Error troubleshooting Yes, restarted Tomcat (I also opened the war and opened the web.xml inside of it to make sure it was what I thought it was). What is the name of the .war file? Where is it located? The URL

Re: 404 Error troubleshooting

2009-09-11 Thread Kris Schneider
On Fri, Sep 11, 2009 at 12:59 PM, Mike Baranski list-subscripti...@secmgmt.com wrote: Yes, restarted Tomcat (I also opened the war and opened the web.xml inside of it to make sure it was what I thought it was). No deploy errors, either. make sure you include the app's context (Path value in

Re: 404 Error troubleshooting

2009-09-11 Thread Kris Schneider
On Fri, Sep 11, 2009 at 1:06 PM, Kris Schneider kschnei...@gmail.com wrote: On Fri, Sep 11, 2009 at 12:59 PM, Mike Baranski list-subscripti...@secmgmt.com wrote: Yes, restarted Tomcat (I also opened the war and opened the web.xml inside of it to make sure it was what I thought it was). No

RE: Installing Servlets

2009-09-11 Thread Caldarale, Charles R
From: Charles Gillan [mailto:c.gil...@ecit.qub.ac.uk] Subject: Installing Servlets I have now followed the TomCat manual It's Tomcat, not TomCat. The problem I now have is that I get an exception thown at ant install Is your ant script something home-grown, or did you borrow

Re: tomcat and access valve

2009-09-11 Thread daniel steel
thanks mark. that was helpful. From: Mark Thomas ma...@apache.org To: Tomcat Users List users@tomcat.apache.org Sent: Friday, September 11, 2009 12:23:48 PM Subject: Re: tomcat and access valve daniel steel wrote: All, i have a question regarding the access

CometProcessor sending duplicate END events in Tomcat 6.0.20

2009-09-11 Thread Brian Morris
I've noticed that after upgrading from Tomcat 6.0.18 to Tomcat 6.0.20 my comet servlet is now receiving two EventType.END events in a row when a client disconnects. I can duplicate with a simple test case (attached below) and I've verified that it happens in the svn repository under

RE: Installing Servlets

2009-09-11 Thread Charles Gillan
The build script came from the basic one to which the Tomcat documentation refers. I just really changed the name to that of my app Hello. I have now used an alternative deployment method. I copied the build directory created in my application's directory by the ant script. cp -rv build

Re: Shared jars

2009-09-11 Thread Tim Berglund
I explored that suggestion. The class failing to load is org.hibernate.SessionFactory, and the class attempting to load it is HibernateGrailsPlugin. The former class is confirmed in a jar in WEB-INF/lib, and the latter is a .class file in WEB-INF/classes. It seems like this should work. The

RE: Shared jars

2009-09-11 Thread Caldarale, Charles R
From: Tim Berglund [mailto:tlbergl...@gmail.com] Subject: Re: Shared jars The class failing to load is org.hibernate.SessionFactory Any chance the above class is in more than one place in this branch of the classloader tree? An NCDFE can result from that condition as well as the class