Re: compile failed: Tomcat-6.0.16 with jdk-1.6.0_06 - bcp/BasicDataSource.java:44 error

2008-10-20 Thread Filip Hanik - Dev Lists
https://issues.apache.org/bugzilla/show_bug.cgi?id=46038 Filip Poor Yorick wrote: compiling tomcat-6.0.16 on LInux kernel 2.4.21-50.ELhugemem with jdk-1.6.0_06, I run into the following error: build-tomcat-dbcp: [copy] Copying 63 files to /path/to/apa che-tomcat-6.0.16/tomcat6-deps/dbcp

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

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

回复: 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 已发送: 200

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 Co

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

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 smim

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 Coyot

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

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

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 element located? It should not be

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 top

RE: tomcat 6 and subdirectories

2008-10-20 Thread Angelov, Rossen
Kewl, Thanks for the reply, but I already tried that pattern and it didn't work for me. I have the feeling it's not the pattern, but something else that's causing this problem. Any other ideas? Thanks, Ross -Original Message- From: Johnny Kewl [mailto:[EMAIL PROTECTED] Sent: Thursday,

Re: tomcat doesn't stop when shutdown

2008-10-20 Thread Mike Duncan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Are you running startup.sh as ro0t and then trying to stop it as another user? Sometimes it can be a permission thing or it could be a database/socket connection in an application which is hanging. A lot could be going on there, so more information is

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, e-m

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-dev&m=119820558711402&w=2 they have the same problem, the context is the same and they end up fin

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 cha

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 fo

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 t

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: http://forum.springframework.org/showthread.php?

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 log4j.append

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 i

RE: environment variable

2008-10-20 Thread Steve Ochani
Send reply to: Tomcat Users List From: Martin Gainty <[EMAIL PROTECTED]> To: Tomcat Users List Subject:RE: environment variable Date sent: Mon, 20 Oct 2008 11:09:37 -0400 > > the only reference I could find while grepping on htmldoc was htmldocs Use a search engine instead.

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: 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 ext="true" allowLinking="true" caseSensitive="false"> Hi Philippe. I am sorry to say, the element does not exist anymore in

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_Documentation&file=0001.htm Could you tell us what htmldocs is .. a binary..shell sc

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

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

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 r

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 startup

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 to do this, but i don't

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

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 setAttribute/removeAttrib

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 h

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 and/o

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 al

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 filt

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