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

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 details

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 buil

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 tc6.0.x/trun

Re: tomcat and access valve

2009-09-11 Thread daniel steel
thanks mark. that was helpful. From: Mark Thomas To: Tomcat Users List 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 valve component and following pattern

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 bor

Re: 404 Error troubleshooting

2009-09-11 Thread Kris Schneider
On Fri, Sep 11, 2009 at 1:06 PM, Kris Schneider wrote: > On Fri, Sep 11, 2009 at 12:59 PM, Mike Baranski > 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 in

Re: 404 Error troubleshooting

2009-09-11 Thread Kris Schneider
On Fri, Sep 11, 2009 at 12:59 PM, Mike Baranski 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 manager) in the request...

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 U

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 > > 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 deployme

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 http://java.sun.com/dtd/web-app_2_3.dtd";> Security Managment Consulting XmlRpcServlet org.apache.xmlrpc.webserver.XmlRpcServlet XmlRpcServlet /xmlrpc-status/*

RE: 404 Error troubleshooting

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

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 troubleshootin

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 So when we're trying to get jdbc/db by calling DataSource dataSource = ( DataSo

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 On Fri, Sep 11, 2009 at 6:57 PM, Mark Thomas wrote: > Kirill Vasiliev wrote: > > Tomcat-5.5.27 > > Java 1.5.17 > > Win

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 s

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 m

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 co

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 en

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 vert

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 (accordi

Re: Placement of custom resource factories

2009-09-11 Thread Mark Thomas
Kirill Vasiliev wrote: > Tomcat-5.5.27 > Java 1.5.17 > Win XP SP2 > > In the documentation about custom resource factories ( > http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html) I read > following: When you are through, place the factory class (and the > corresponding bean class) u

Re: reply_timeout

2009-09-11 Thread Pid
On 11/09/2009 15:28, Martin Gainty wrote: //assume you have releaseNotes2document.xsl stylesheet http://www.w3.org/1999/XSL/Transform"; version="1.0"> http://issues.apache.org/bugzilla/buglist.cgi?bug_id='"/>

Re: tomcat & url rewrite

2009-09-11 Thread Hassan Schroeder
On Fri, Sep 11, 2009 at 4:01 AM, Pid 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 passing the reques

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 w

RE: reply_timeout

2009-09-11 Thread Martin Gainty
//assume you have releaseNotes2document.xsl stylesheet http://www.w3.org/1999/XSL/Transform"; version="1.0"> http://issues.apache.org/bugzilla/buglist.cgi?bug_id='"/> Release Notes for Ap

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 believ

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

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 t

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 w

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 loo

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: 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-

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: 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 clas

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

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: 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"

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 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 questio

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 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 "maxThre

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: 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. Because

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 t