networkaddress.cache.ttl and networkaddress.cache.negative.ttl

2009-01-20 Thread Kees Jan Koster
Dear All, Do any of you guys tune networkaddress.cache.ttl or networkaddress.cache.negative.ttl? If so, what values do you use? -- Kees Jan http://www.kjkoster.org/ kjkos...@gmail.com 06-51838192 - To unsubscribe, e-mail:

mod_jk and IPV_6

2009-01-20 Thread Dominik Pospisil
Hello, are there any plans to incorporate fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=43968 ? Seems that the issue was not fixed in jk-1.2.27. Thanks, Dominik - To unsubscribe, e-mail:

Re: mod_jk and IPV_6

2009-01-20 Thread Mladen Turk
Dominik Pospisil wrote: Hello, are there any plans to incorporate fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=43968 ? Yes. Seems that the issue was not fixed in jk-1.2.27. Nope, but that's a good reason to go for 1.2.28 :) Regards -- ^(TM)

RE: Servlet silently dropped

2009-01-20 Thread D. Barnhoorn
Chuck, One of those servlets stops handling or maybe even getting requests that it has a mapping for. What does a thread dump show in this situation? I will see if I can get access - the machine is more or less a black box for me I'm afraid, and on an internal network that I cannot access

Re: networkaddress.cache.ttl and networkaddress.cache.negative.ttl

2009-01-20 Thread Ronald Klop
Hi, I use -Dsun.net.inetaddr.ttl=3600 and left the negative.ttl as default (10?). Our network runs its own caching dns server. Never had any trouble with it. Ronald. Op dinsdag, 20 januari 2009 om 10:46 uur schreef Tomcat Users List users@tomcat.apache.org: Dear All, Do any of you

Re: Random Connection Closed Exceptions - Question to the code example

2009-01-20 Thread Flavio Crispim
Hi Stefan I would try this one: Connection conn = null; Statement stmt = null; // Or PreparedStatement if needed try { conn = ... get connection from connection pool ... stmt = conn.createStatement(select ...); ResultSet rs =

problem regarding installation of APR -- make command shows fatal error ..

2009-01-20 Thread Pswami Vivekananda
hey everybody, i am trying to install tomcat-native-1.1.13 on my apache-tomcat-6.0.16 server. the configure file seemed to work alright. but when i started make i got the following error #./configure --with-apr=/usr/local/apr --with-java-home=/usr/jdk/jdk1.5.0_14 it worked fine #make ld: fatal:

RE: Servlet silently dropped

2009-01-20 Thread Caldarale, Charles R
From: D. Barnhoorn [mailto:d.barnho...@tfe.nl] Subject: RE: Servlet silently dropped Main servlet grabs /** I don't think /** is a valid mapping, if I'm interpreting the servlet spec properly. You should be using just / for your default (main) servlet. A hanging servlet would mean

RE: problem regarding installation of APR -- make command shows fatal error ..

2009-01-20 Thread Peter Crowther
From: Pswami Vivekananda [mailto:pswami.vivekana...@tcs.com] i am trying to install tomcat-native-1.1.13 on my apache-tomcat-6.0.16 server. What OS? ld: fatal: relocations remain against allocatable but non-writable sections collect2: ld returned 1 exit status Nice error! It's going to

Re: problem regarding installation of APR -- make command shows fatal error ..

2009-01-20 Thread Gregor Schneider
Sun Sparc with Solaris 10 - Pswami postet the problem already few hrs ago: http://www.nabble.com/Problem-in-APR-installation.-td21557473.html Howver, got no clue about Solaris. Cheers Gregor-- just because your paranoid, doesn't mean they're not after you... gpgp-fp:

RE: Servlet silently dropped

2009-01-20 Thread Martin Gainty
We could diagnose this situation better if you could display/attach the most recent log from $TOMCAT_HOME/log Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender.

Re: PostgreSQL vs MySQL with Tomcat

2009-01-20 Thread Chris Wareham
Wow, this almost reads like a direct quote from MySQL marketing literature. Like marketing literature, it's not necessarily untruthful, but it does describe things selectively. Terence M. Bandoian wrote: I don't have a great deal of experience with Postgres but I have been using MySQL since the

Re: root context path - war file not unwar'd

2009-01-20 Thread AD
Thanks charles, i thought there was an easier way to make a default webapp other than naming it ROOT.war. I will give that a shot to see if it works. Adam On Mon, Jan 19, 2009 at 10:36 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: AD [mailto:straightfl...@gmail.com]

enable-access-log-in-tomcat

2009-01-20 Thread Kaushal Shriyan
Hi I am using tomcat-5.5.26, sun-jdk-1.5.0.15 on gentoo linux, I have enabled the below in server.xml Valve className=org.apache.catalina.valves.FastCommonAccessLogValve directory=logs prefix=localhost_access_log. suffix=.txt pattern=%h %l %u %t %r %s %b %D %T

encodeRedirectURL URL rewrite not working

2009-01-20 Thread Greg Burrow
Hello, I have two web applications in different context, one servlet will forward the request to a servlet in the other application using encodeRedirectURL and sendRedirect. The receiving servlet creates a new session and session attributes are lost. Running Tomcat 5.5.17. Here is the flow: GET

Re: enable-access-log-in-tomcat

2009-01-20 Thread Konstantin Kolinko
2009/1/20 Kaushal Shriyan kaushalshri...@gmail.com: I am using tomcat-5.5.26, sun-jdk-1.5.0.15 on gentoo linux, I have enabled the below in server.xml Valve className=org.apache.catalina.valves.FastCommonAccessLogValve directory=logs prefix=localhost_access_log. suffix=.txt

UnsatisfiedLinkError in Windows Service (tomcat6w/5w.exe)

2009-01-20 Thread Michael Ludwig
A primitive web app sketch involving Java extensions to a native library (JNI) used up front in a ServletContextListener works when started via bin\startup.bat but doesn't work when installed as a Windows service and started via bin\tomcat6w.exe in the case of 6.0.18 or bin\tomcat5w.exe in the

RE: UnsatisfiedLinkError in Windows Service (tomcat6w/5w.exe)

2009-01-20 Thread Caldarale, Charles R
From: Michael Ludwig [mailto:mil...@gmx.de] Subject: UnsatisfiedLinkError in Windows Service (tomcat6w/5w.exe) The directory containing these libraries *is* included in PATH. Environment variables are not used by services, so it doesn't really matter what's in PATH. Likewise, it is

RE: Upgrading Tomcat from 6.0.14 to 6.0.18 - classpath issue

2009-01-20 Thread Caldarale, Charles R
From: matyg [mailto:ma...@expand.com] Subject: Re: Upgrading Tomcat from 6.0.14 to 6.0.18 - classpath issue 1) (and as far as I know...) the javax/servlet/http/HttpServlet class is located in servlet-api.jar, which located under under tomcat_home/lib. Make sure that's the *only* place

Re: Random Connection Closed Exceptions - Question to the code example

2009-01-20 Thread Stefan Riegel
Hello Alan, unfortunately I'm not very experienced in thread programming. But as I understand does the proposed solution in the docs avoid the problem of closing the connection object of the second thread. Yes, I find the solution somewhat ugly and not very intuitive. But the code below

Re: Random Connection Closed Exceptions - Question to the code example

2009-01-20 Thread Stefan Riegel
Hello Flavio, thank You for your answer but isn't Your code the same as my code below? I don't see any significant difference. Regards Stefan Flavio Crispim schrieb: Hi Stefan I would try this one: Connection conn = null; Statement stmt = null; // Or PreparedStatement if

RE: Random Connection Closed Exceptions - Question to the code example

2009-01-20 Thread Caldarale, Charles R
From: Stefan Riegel [mailto:stefan.rie...@telig.de] Subject: Re: Random Connection Closed Exceptions - Question to the code example Yes, I find the solution somewhat ugly and not very intuitive. Which solution are you referring to? If it's the one in the Tomcat docs, that so far still

Monitor Tomcat

2009-01-20 Thread Zaki Akhmad
Hello, I am deploying my web application on Tomcat. How do I monitor the tomcat performance? 1. If I am using GNU/Linux environment 2. If I am using Windows XP environment What F/OSS package/software I should install? -- Zaki Akhmad

RE: problem regarding installation of APR -- make command shows fatal error ..

2009-01-20 Thread Pswami Vivekananda
hey, its solaris 10 sparc on a m5000 box.. any suggestions .. thanks and regards, P. Swami Vivekananda =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended

Re: Random Connection Closed Exceptions - Question to the code example

2009-01-20 Thread Stefan Riegel
Thanks for the explanation. This makes things clearer. So both code examples are correct, but the one in the docs minimizes resource usage? All db related code I have written so far looked like this: try { // db related code with result set loops and more // db related code done, first

RE: Random Connection Closed Exceptions - Question to the code example

2009-01-20 Thread Caldarale, Charles R
From: Stefan Riegel [mailto:stefan.rie...@telig.de] Subject: Re: Random Connection Closed Exceptions - Question to the code example So both code examples are correct, but the one in the docs minimizes resource usage? Yes - but really only if there is additional processing necessary after

Re: UnsatisfiedLinkError in Windows Service (tomcat6w/5w.exe)

2009-01-20 Thread Tommy Pham
- Original Message From: Michael Ludwig mil...@gmx.de To: Tomcat Users List users@tomcat.apache.org Sent: Tuesday, January 20, 2009 4:55:16 PM Subject: UnsatisfiedLinkError in Windows Service (tomcat6w/5w.exe) A primitive web app sketch involving Java extensions to a native library

RE: Upgrading Tomcat from 6.0.14 to 6.0.18 - classpath issue

2009-01-20 Thread matyg
1) Running with -verbose:class, this is what I get (C:/Work/ExpandView/apache-tomcat-6.0.18 is the tomcat home): Loaded javax.servlet.http.HttpServlet from file:/C:/Work/ExpandView/apache-tomcat-6.0.18/lib/servlet-api.jar 2) This is the content of MyWebApp.xml: Context