about tomcat default error page

2008-10-17 Thread 李征
i use apache with tomcat. i don't want tomcat to generate its default error page when a error happens. instead, i want to show my error page which i set in the apache conf file. i know that i can use to do this, but i don't want to do it twice -- both apache and tomcat. is there any configurati

Re: Memory leak from threadlocal for hot deployment

2008-10-17 Thread Ronald Klop
As far as I know the threads from the connector are shared between webapps. So how would Tomcat know which objects in the threadlocals are from which webapp? Or should Tomcat destroy all threadlocals of webapp A if I reload webapp B? Ronald. Op vrijdag, 17 oktober 2008 om 8:19 uur schreef Tom

Re: about tomcat default error page

2008-10-17 Thread André Warnier
Hi 李征, I don't know the answer to your question, but here is a recommendation : To avoid delays in answering your question, it is always helpful to specify : - on which platform this happens (Windows, Unix, Linux,..) - what version of Apache - what version of Tomcat - what connector you use between

Iterations in JSF using JSTL via forEach

2008-10-17 Thread Alexander Hartner
I am sure this is a very silly problem, however I have been struggling with this for a while now. I am trying to iterate over a collection using JSF and JSTL's forEach which is apparently supported in JSP2.1 (2.0) and Tomcat 6. I have the version number in web.xml set to 2.5 and the faces-config.x

Where to look for "connection refused" errors in Tomcat6.0.18 ?

2008-10-17 Thread Choudhury
Hi, We are suspecting that during load testing with Jmeter , Tomcat 6.0.18 in Java 1.6 in Windows is experiencing more requests than it can handle . I have seen the documentation for the HTTP connector element and it says that "If still more simultaneous requests are received, they are s

nested symbolic links

2008-10-17 Thread tomcatMoose
Hi All, I'm trying to work with symbolic links in Tomcat. I know you have to edit the context etc and it works perfectly: I have a webapp which is a symbolic link to a folder and I can successfully link to all the files in the folder, also to subfolders in that folder. e.g. http://localhost:8080/

Re: Iterations in JSF using JSTL via forEach

2008-10-17 Thread Alexander Hartner
I figured out what the problem was. I was using JSTL 1.1 rather then 1.2. I found a version of this here : https://maven-repository.dev.java.net/repository/jstl/jars/ I am wondering if there are any plans to include this release with Tomcat 6, or make it easier accessible. May this is already bei

RE: Where to look for "connection refused" errors in Tomcat6.0.18 ?

2008-10-17 Thread Peter Crowther
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > "If still more simultaneous requests are received, they are > stacked up inside the server socket created by the Connector, > up to the > configured maximum (the value of the acceptCount attribute. > Any further > simultaneous requests will rece

Tomcat service is terminated unexpectedly (tcnative-1.dll)

2008-10-17 Thread Marcin Zajaczkowski
Hi, I have o problem with Tomcat 5.5.26 using native DLL on Windows 2003. The service is terminated unexpectedly (regarding to the system logs). It happens very irregular (sometimes a few times in an hour, sometimes once per week). In the stack trace (attached) there is: # An unexpected err

JAVA_HOME is not found but tomcat is running. possible?

2008-10-17 Thread Thangavel Sankaranarayanan
Hi all , I have a tomcat 4.x version (Perhaps it is a old version ,it is in production and we cant upgrade as of now). It is running as a window service in Windows2000 server. in the service icon i can find the path to executable: C:\Products\Apache Tomcat 4.1\bin\tomcat.exe My doubt is ,does

Re: Not showing error during deployment

2008-10-17 Thread emerson cargnin
No one has ever got this issue? 2008/10/16 emerson cargnin <[EMAIL PROTECTED]>: > I found out this is because the errors might be happening inside spring: > http://forum.springframework.org/showthread.php?t=27967&page=2 > > Anyone know how to configure tomcat to show listeners errors? > > emerson

Re: Tomcat not using multiple cores

2008-10-17 Thread János Löbb
On Oct 16, 2008, at 9:05 PM, Matthew Laird wrote: Caldarale, Charles R wrote: "The only time I began to see the other cores actually start being used is when I enabled multi-threaded GC. But that doesn't give much improvement since the threads responding the web requests are still all

INFO: Retrying request

2008-10-17 Thread Frank Uccello
I have Windows 2003 SP2, tom cat 5.5 , jave 1.5 box I can reach my tomcat app using localhost:8050/IT/servlet but not localhost/IT/servlet I was getting an http error Http error 404 - File or directory localhost/IT/servlet on web page of not found I took a closer look at the tomcat logs and the

RE: JAVA_HOME is not found but tomcat is running. possible?

2008-10-17 Thread Martin Gainty
doesnt sound right ..here is an excerpt from setclasspath.sh # Make sure prerequisite environment variables are set if [ -z "$JAVA_HOME" -a -z "$JRE_HOME" ]; then # Bugzilla 37284 if $darwin && [ -d "/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home" ]; then export JAVA_HOME

Re: JAVA_HOME is not found but tomcat is running. possible?

2008-10-17 Thread Len Popp
When it's running as a service, Tomcat gets the location of Java from the registry, not from JAVA_HOME. You can change this and other settings using tomcat4w.exe. -- Len On Fri, Oct 17, 2008 at 09:28, Thangavel Sankaranarayanan <[EMAIL PROTECTED]> wrote: > Hi all , > > I have a tomcat 4.x versi

RE: INFO: Retrying request

2008-10-17 Thread Martin Gainty
frank- do you have any relevant entries in iptables? do you have redirectPort in your connector ? Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmis

Re: Tomcat not using multiple cores

2008-10-17 Thread Dan Armbrust
My guesses: Your application has bad sync locking between some threads, which is causing one thread to block the others. Your application has bad database access code, which allows one thread to block others while waiting on the DB. Your application is disk bound, and the single long process is

RE: INFO: Retrying request

2008-10-17 Thread Frank Uccello
Not 100$ sure what you mean but here are my configs Iaspi_redirector.porperty file located c:\program files\apache\Jk_redir\bin # Configuration file for the Jakarta ISAPI Redirector # The path to the ISAPI Redirector Extension, relative to the website # This must be in a virtual directory with e

RE: Classes in tomcat\server\lib folder sometimes are visible to web application

2008-10-17 Thread Gary Hirschhorn
Thank you for your quick reply. I think I understand the distinction you make between a class being available and a class being loaded, although it is a bit confusing. I suspect that if I understand this clearly, it will help me track down the cause of my problem. Given the Tomcat ClassLoader hie

Re: tomcat 5.5 How can I write my persitence session manager

2008-10-17 Thread Alexandre Bes
Hi, I'm confused, I did not see the option "maxIdleBackup." Thank you very much for your help ;) Mark Thomas a écrit : Alexandre Bes wrote: I don't know how to get the manager to start the backup in a struts action. You don't need to. Is it possible, I am curious? In the sess

mod_jk configuration woes

2008-10-17 Thread Virgil Green
I have the following configuration (config files below) and am encountering the error “ajp_connection_tcp_get_message::jk_ajp_common.c (1033): wrong message format 0x4854 from 127.0.0.1:8082” when attempting to access a URL that matches one of my JKMounted entries. My versions are listed below,

Re: mod_jk configuration woes

2008-10-17 Thread AFaller
> I have the following configuration (config files below) and am > encountering the error > “ajp_connection_tcp_get_message::jk_ajp_common.c (1033): wrong > message format 0x4854 from 127.0.0.1:8082” when attempting to access > a URL that matches one of my JKMounted entries. My versions are > li

Re: mod_jk configuration woes

2008-10-17 Thread Rainer Jung
[EMAIL PROTECTED] schrieb: >> I have the following configuration (config files below) and am >> encountering the error >> “ajp_connection_tcp_get_message::jk_ajp_common.c (1033): wrong >> message format 0x4854 from 127.0.0.1:8082” when attempting to access >> a URL that matches one of my JKMounte

Re: mod_jk configuration woes

2008-10-17 Thread vjg
>> I have the following configuration (config files below) and am >> encountering the error >> “ajp_connection_tcp_get_message::jk_ajp_common.c (1033): wrong >> message format 0x4854 from 127.0.0.1:8082” when attempting to access >> a URL that matches one of my JKMounted entries. My versions ar

RE: Classes in tomcat\server\lib folder sometimes are visible to web application

2008-10-17 Thread Caldarale, Charles R
> From: Gary Hirschhorn [mailto:[EMAIL PROTECTED] > Subject: RE: Classes in tomcat\server\lib folder sometimes > are visible to web application > > The Catalina ClassLoader in server/lib creates Webapp1 ClassLoader > specifically for webapp1. It's actually org.apache.catalina.loader.WebappLoader t

Re: JAVA_HOME is not found but tomcat is running. possible?

2008-10-17 Thread André Warnier
Thangavel Sankaranarayanan wrote: Hi all , I have a tomcat 4.x version (Perhaps it is a old version ,it is in production and we cant upgrade as of now). It is running as a window service in Windows2000 server. in the service icon i can find the path to executable: C:\Products\Apache Tomcat 4

RE: JAVA_HOME is not found but tomcat is running. possible?

2008-10-17 Thread Thangavel Sankaranarayanan
Hi Martin, This is my startup.bat. Here it is doing the job of setting the CATALINA_HOME if it is not defined and calling CATALINA.bat.. I can find JAVA_HOME ENV variable found in many places in CATALINA.bat. But i can find any JAVA_HOME variable in the list of environment variables or in any of t

Re: mod_proxy_http v. mod_jk, was Re: Data Truncated when proxied from Apache

2008-10-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert, Robert Koberg wrote: > On Oct 15, 2008, at 5:44 PM, Filip Hanik - Dev Lists wrote: > >> use mod_proxy_http or mod_jk, > > I have seen a few posts recommending mod_proxy_http a little bit over > mod_jk. Why is that? Note that mod_jk and mod_

Re: Programmatic instruct Tomcat to shutdown

2008-10-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Maxim, Maxim Veksler wrote: > I would like to forcefully cause my application server to fail once I > discover a situation I can't recover from. We have HA that should handle the > situation from there. > > The best way I can see this happening is by

Re: MySQL DBCP Connection Example?

2008-10-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David Smith wrote: > As an alternative to storing webapps in tomcat's webapps directory, you > could place a ... xml fragment in a file in > conf/Catalina/localhost with docBase and path properly set. docBase:yes path:no It is illegal to se

Re: Memory leak from threadlocal for hot deployment

2008-10-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Noble, Noble Paul നോബിള്‍ नोब्ळ् wrote: > While it is possible to do so (If I know it) wouldn't it be more > elegant if Tomcat handles it automatically. It is hard to educate the > users to cleanup their threadlocals. They must be educated. Un-cared-

RE: MySQL DBCP Connection Example?

2008-10-17 Thread Martin Gainty
getting tired ot correcting these emails..david i > From: [EMAIL PROTECTED] > To: users@tomcat.apache.org > Subject: Re: MySQL DBCP Connection Example? > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > David, > > David Smith wrote: > > As an alternative to storing webapps in tomcat's web

Re: MySQL DBCP Connection Example?

2008-10-17 Thread David Smith
Very true ... I've been working way too much lately. --David Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David Smith wrote: As an alternative to storing webapps in tomcat's webapps directory, you could place a ... xml fragment in a file in conf/Catali

Building Tomcat With IcedTea

2008-10-17 Thread Ole Ersoy
Hi, I'm trying to build tomcat with IcedTea. I get the following types of errors while DBCP is being built: [javac] /usr/share/java/tomcat6-deps/dbcp/src/java/org/apache/tomcat/dbcp/dbcp/cpdsadapter/PoolablePreparedStatementStub.java:34: isClosed() in org.apache.tomcat.dbcp.dbcp.Delegatin