Re: Using Convert to handle NULL values for empty Strings

2008-10-20 Thread Mark Thomas
Alexander Hartner wrote: Setting the COERCE_TO_ZERO to false in 6.0.18 did the trick for me. Just a word of warning. Setting COERCE_TO_ZERO to false is not spec compliant. If you switch containers then you may see different behaviour. Mark Initially I only tested this on 6.0.16. Thanks

Another session replication question

2008-10-20 Thread Jess Holle
I somehow missed Filip Hanik's helpful response to my previous session replication question. I have one other: With DeltaManager and/or BackupManager, are multiple calls to setAttribute() and/or removeAttribute for the same attribute during the same request coalesced/collapsed? It is

Re: MySQL DBCP Connection Example?

2008-10-20 Thread Pid
Markus Schönhaber wrote: Martin Gainty: Im not baiting you but rebutting your wrong answer to davids right answer you pick fights with people and state what they say is wrong without doing any research Oh, please, this is ridiculous! You are wrong - as you are so often. And all the foot

RE: filter problem when starting tomcat

2008-10-20 Thread Chris van Es
Unfortunately/fortunately now the application is deploying correctly every time and I haven't been able to reproduce the situation where the system hangs so I can take some thread dumps. I'll keep trying. Does order matter in the web.xml filter definition, I mean could it be possible that the

Re: Another session replication question

2008-10-20 Thread Filip Hanik - Dev Lists
hi Jess, you're example is correct, replication doesn't happen until the request is complete and is done by the ReplicationValve. Filip Jess Holle wrote: I somehow missed Filip Hanik's helpful response to my previous session replication question. I have one other: With DeltaManager

environment variable

2008-10-20 Thread Melanie Pfefer
Hello I got this error in tomcat: Cannot run program htmldoc: error=2, No such file or directory Is it a good practice to include this command in PATH and put the variable PATH in startup.sh script? I am usin tomcat 6 with solaris 10 thank you Send instant messages to your online friends

Re: Another session replication question

2008-10-20 Thread Jess Holle
Thanks for the info. A little more reading of the code and I clearly see that -- sorry for the dumb question. Now for the hard part - determining if we really can and should start replicating a large application grown over the last decade -- given the limitations of

Re: Potential reuse of TagHandlers implementing JspIdConsumer?

2008-10-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jochen, I'd definitely like to know the answer to this, too. Replying to bump the topic. - -chris Jochen Wuttke wrote: Hi, for my research project I've been doing some ApsectJ magic with Tomcat and deployed WebApps. Among other things I'm

Re: environment variable

2008-10-20 Thread André Warnier
Melanie Pfefer wrote: Hello I got this error in tomcat: Cannot run program htmldoc: error=2, No such file or directory Is it a good practice to include this command in PATH and put the variable PATH in startup.sh script? I am usin tomcat 6 with solaris 10 Hi Melanie. The htmldoc program

Re: about tomcat default error page

2008-10-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 李征, 李征 wrote: 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 error-page to do this, but i

Re: environment variable

2008-10-20 Thread Melanie Pfefer
Hi Andre, yes I put this executable file under bin/ directory. I did not come with tomcat. I am using the command in a java code. tomcat gives this error in catalina.out java.io.IOException: Cannot run program htmldoc: error=2, No such file or directory I thought this can be fixed in

Re: Another session replication question

2008-10-20 Thread Filip Hanik - Dev Lists
what you could do, is to replace the replication valve logic, with your own, that would fit your own application Filip Jess Holle wrote: Thanks for the info. A little more reading of the code and I clearly see that -- sorry for the dumb question. Now for the hard part - determining if we

Re: environment variable

2008-10-20 Thread Mårten Svantesson
Melanie Pfefer skrev: Hi Andre, yes I put this executable file under bin/ directory. I did not come with tomcat. I am using the command in a java code. tomcat gives this error in catalina.out java.io.IOException: Cannot run program htmldoc: error=2, No such file or directory I

Change logs directory on Tomcat 5.5.26

2008-10-20 Thread Philippe Couas
Hi, I want change logs directory on Tomcat 5.5.26 ? I have tried without succes following command ? Where is my mistake Regards Philippe Context path=/test docBase=test debug=0 reloadable=true crossCont ext=true allowLinking=true caseSensitive=false Logger

RE: environment variable

2008-10-20 Thread Martin Gainty
the only reference I could find while grepping on htmldoc was htmldocs .. a html folder for CF MX war http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentationfile=0001.htm Could you tell us what htmldocs is .. a binary..shell

Re: Change logs directory on Tomcat 5.5.26

2008-10-20 Thread André Warnier
Philippe Couas wrote: Hi, I want change logs directory on Tomcat 5.5.26 ? I have tried without succes following command ? Where is my mistake Regards Philippe Context path=/test docBase=test debug=0 reloadable=true crossCont ext=true allowLinking=true caseSensitive=false Logger

Re: environment variable

2008-10-20 Thread André Warnier
Mårten Svantesson wrote: Melanie Pfefer skrev: Hi Andre, yes I put this executable file under bin/ directory. I did not come with tomcat. I am using the command in a java code. tomcat gives this error in catalina.out java.io.IOException: Cannot run program htmldoc: error=2, No such file or

RE: environment variable

2008-10-20 Thread Steve Ochani
Send reply to: Tomcat Users List users@tomcat.apache.org From: Martin Gainty [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Subject:RE: environment variable Date sent: Mon, 20 Oct 2008 11:09:37 -0400 the only reference I could find while grepping on htmldoc

RE: environment variable

2008-10-20 Thread Martin Gainty
I see a technology thats a few years old and has one maintainer support page located at http://www.htmldoc.org/newsgroups.php?ghtmldoc.general+T Personally I dont advocate spyware/viruses so I dont download binaries If you want GPL solution there are a number of different OpenSource solutions

Re: Disabling catalina.out log

2008-10-20 Thread emerson cargnin
Again the issue of the logs. According to: http://tomcat.apache.org/tomcat-5.5-doc/logging.html 1) I add log4j-1.2.15.jar and commons-logging-1.1.1.jar inside my common/lib 2) I create a log4j.properties inside common/classes with the following content: log4j.rootLogger=ERROR, R

Re: Not showing error during deployment

2008-10-20 Thread emerson cargnin
Hi I still couldn't make this work. Someone could please refer me to some guide on this matter? On my understanding is that the errors occurs inside the spring listener, and all the stacktrace from this error gets hidden. This is according this url:

naroow down my issue

2008-10-20 Thread Frank Uccello
Specs: Tomcat5.5, java 1.5, windows 2003 sp2 I still having an issue with connecting to my tomcat via iss (it connect to localhost:8060/IT/servlet but not localhost/IT/servlet After much digging and I maybe incorrect here but I think it has to with my server.xml file The basic error log now

Re: Tomcat Cluster Deployer

2008-10-20 Thread János Löbb
Paul, Do You have this documentation ready ?? I would rather look Your's one first, before the source code :) Thanks ahead, János On Sep 18, 2008, at 1:31 AM, Paul McGurn wrote: OK, I successfully deployed this in our test environment. Could you point me toward the general guidelines

RE: naroow down my issue

2008-10-20 Thread Caldarale, Charles R
From: Frank Uccello [mailto:[EMAIL PROTECTED] Subject: naroow down my issue I think it has to do with this line since I just copy the server.xml from a working tomcat 4 Fatal error. Go back to the default server.xml that came with your 5.5 version of Tomcat and update that with the changes

Slow jsps in tomcat

2008-10-20 Thread emerson cargnin
Hi I'm using tomcat 5.5.26 and JDK 1.5. After we upgraded standard and jstl version to 1.1.2, the pages started to take more than 30 seconds to render. In this discussion: http://marc.info/?l=taglibs-devm=119820558711402w=2 they have the same problem, the context is the same and they end up

tomcat doesn't stop when shutdown

2008-10-20 Thread Mohit Anchlia
When I run shutdown.sh tomcat doesn't stop. I then manually kill -9. I am not sure what the problem is. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: tomcat doesn't stop when shutdown

2008-10-20 Thread Mark Thomas
Mohit Anchlia wrote: When I run shutdown.sh tomcat doesn't stop. I then manually kill -9. I am not sure what the problem is. A thread dump is usually a good place to start with this sort of issue. Mark - To start a new

RE: tomcat 6 and subdirectories

2008-10-20 Thread Caldarale, Charles R
From: Angelov, Rossen [mailto:[EMAIL PROTECTED] Subject: RE: tomcat 6 and subdirectories I have the feeling it's not the pattern, but something else that's causing this problem. Are you still specifying an empty docBase? That's illegal. Where is your Context element located? It should not

Re: Disabling catalina.out log

2008-10-20 Thread emerson cargnin
I just did some more tests. What happens is: - Whatever you put in your app log4j property files is what will go to the catalina.out. There is no such thing as getting a catalina.out clean. - You can have a rotateable tomcat.log. But that will be deplicated from what is already in catalina.out

Log messages

2008-10-20 Thread Mohit Anchlia
I have 2 questions: 1. Can I use JMX console to enable or disable LOGLEVEL to debug? 2. I am using log4j, and I am seeing that the logs from my application are being written to both catalina.out and the one specified in log4j.xml

Re: Appeal to Tomcat developers

2008-10-20 Thread emerson cargnin
Hi Chris Configuring Tomcat logging is usually easy: if you accept the default configuration, you get catalina.out (stdout), plus some daily-rolled files that are all defined in logging.properties. The logging.properties file contains configuration and documentation that are helpful if

Re: tomcat doesn't stop when shutdown

2008-10-20 Thread Mohit Anchlia
This is what I see in logs, I am starting and stopping as root: INFO: Stopping service Catalina Oct 20, 2008 2:22:47 PM org.apache.coyote.http11.Http11Protocol destroy INFO: Stopping Coyote HTTP/1.1 on http-8080 On Mon, Oct 20, 2008 at 11:39 AM, Mike Duncan [EMAIL PROTECTED] wrote: -BEGIN

RE: tomcat doesn't stop when shutdown

2008-10-20 Thread Caldarale, Charles R
From: Mohit Anchlia [mailto:[EMAIL PROTECTED] Subject: Re: tomcat doesn't stop when shutdown This is what I see in logs, I am starting and stopping as root: INFO: Stopping service Catalina Oct 20, 2008 2:22:47 PM org.apache.coyote.http11.Http11Protocol destroy INFO: Stopping Coyote

SSL Client Certificates and web appliactions

2008-10-20 Thread Steffen Heil
Hi I need to setup tomcat to use https certificates for client authentication. Does anyone have a working example for this? Which certificates does tomcat accept in that case? Which way can be used by the appliaction to detect which certificate was used? Regards, Steffen

Embedded Tomcat again

2008-10-20 Thread Steffen Heil
Hi Once a year I spend some days trying to figure out, how to used embedded tomcat. I didn't find a working (real live) example so far. Can anyone help? Regards, Steffen smime.p7s Description: S/MIME cryptographic signature

Re: Committing sendRedirect()

2008-10-20 Thread Tore Eriksson
Hello everybody, As I found a solution to my problem, I thought I would share it in case someone else comes up against the same issue. The reason for the client not acting on the redirect is that sendRedirect does not send any Content-length header, and the client will then wait for an eventual

回复: about tomcat default error page

2008-10-20 Thread 李征
you are right and thank you for your advice OS: centos4.6 APACHE-MOD_SSL: 1.3.37-2.8.28 TOMCAT: 4.1.29 MOD_JK: 1.2.15 i will look at mod_jk document again. maybe i can find something i need 发件人: André Warnier [EMAIL PROTECTED] 收件人: Tomcat Users List

Re: Not showing error during deployment

2008-10-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Emerson, emerson cargnin wrote: What is the right approach to show the deployment errors? This error: SEVERE: Context [/search] startup failed due to previous errors Indicates that the original error is /before/ this message in the log file. So,

Re: Committing sendRedirect()

2008-10-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tore, Tore Eriksson wrote: The reason for the client not acting on the redirect is that sendRedirect does not send any Content-length header, and the client will then wait for an eventual Content body until the servlet finishes. This could be