latest mod_jk version compatible with Apache 1.3.26

2008-03-16 Thread swullb
Hi, where can I download older versions of JK, e.g. JK 1.2.19 ? Thanks Stephanie -- Psst! Geheimtipp: Online Games kostenlos spielen bei den GMX Free Games! http://games.entertainment.gmx.net/de/entertainment/games/free - To

where to get older versions of JK, e.g. JK 1.2.19 ?

2008-03-16 Thread swullb
Hi, where can I download older versions of JK, e.g. JK 1.2.19 ? Thanks Stephanie -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer - To start

getInputStream problem

2008-03-16 Thread Ofer Kalisky
I have a JSP that looks like this: % byte[] bytes = new byte[100]; int n = request.getInputStream().read(bytes); System.out.println(Bytes len: + n); % and a python script that looks like this: import httplib h1 = httplib.HTTPConnection('localhost', 8080) h1.putrequest('POST',

tomcat hangs when connetion pooling used

2008-03-16 Thread Mahesh Viraktamath
Hi, I am using connection pooling for all the database transactions. I am using the following: MySql: 5.0.22 tomcat : 5.5.X Now the problem is when I run the application, it can't get the connnection from the connection pool. I tried everything like dumping all the waiting threads, killing all

Re: where to get older versions of JK, e.g. JK 1.2.19 ?

2008-03-16 Thread Konstantin Kolinko
Download Tomcat Connectors Archive That is http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/source/ http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/ 2008/3/16, [EMAIL PROTECTED] [EMAIL PROTECTED]: where can I download older versions of JK, e.g. JK 1.2.19 ?

Re: tomcat hangs when connetion pooling used

2008-03-16 Thread ib solution
hai, is there any an error page that you can share ?, i am using Mysql 5.0.22 and tomcat 5.5.17 and i am always get a connection -- Salam, Andy Susanto,S.Kom == for better search http://www.slashmysearch.com/earn/id/24828 HP : 081513039998

Re: tomcat hangs when connetion pooling used

2008-03-16 Thread Mahesh Viraktamath
Thats the problem. It doesn't get any error page, it just hangs at the point of getting connection. Can you explain your contex and the datasource resource configuration? On 3/16/08, ib solution [EMAIL PROTECTED] wrote: hai, is there any an error page that you can share ?, i am using Mysql

Re: latest mod_jk version compatible with Apache 1.3.26

2008-03-16 Thread Mark Thomas
[EMAIL PROTECTED] wrote: Hi, where can I download older versions of JK, e.g. JK 1.2.19 ? http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/source/ with some pre-built binaries from http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/ Mark

Re: API call to reload Tomcat web application

2008-03-16 Thread Pid
jamieb wrote: Hi there I am busy implementing an auto update facility for a Tomcat web application. As part of the auto update process, the auto update code needs to unpack the changed class files and reload the Tomcat web application. I am aware that you can configure Tomcat to

Re: Tomcat on Leopard

2008-03-16 Thread Pid
Alan Chaney wrote: I'd guess that you copied the text in the tutorial using an editor which converted it to an RTF (Rich Text Format). The text you show in your email is rtf markup. The startup_tomcat file is a shell script which is setting the following environment variables JAVA_HOME -

Re: getInputStream problem

2008-03-16 Thread Ofer Kalisky
No answer yet, so I thought I'd send you this link: http://archives.java.sun.com/cgi-bin/wa?A2=ind0106L=jsp-interestF=S=P=49196 which talks about doing something of the sort, but notice, I am _not_ calling getParameter before the getInputStream, so why am I still not getting anything from it?

Re: tomcat hangs when connetion pooling used

2008-03-16 Thread Martin Gainty
.A quick DBCP example from DBCP 1.21 from http://commons.apache.org/dbcp/ public class Pool { private static DataSource ds; static { DriverAdapterCPDS cpds = new DriverAdapterCPDS(); cpds.setDriver(org.gjt.mm.mysql.Driver);

Re: tomcat hangs when connetion pooling used

2008-03-16 Thread Cattapan
Probably you are not closing connections somewhere and the maxWait property of DBCP is not set. The default is to wait indefinitely. So the tomcat is not hang, it's just waiting for a connection, but all of them are used at the moment and it keeps waiting. I believe that if you set a maxWait

Re: getInputStream problem

2008-03-16 Thread Yuval Perlov
I am not sure this will encourage you but I've got the same setup and it works. Is that the whole jsp and nothing but? is there any servlet that does something before it? To isolate, you might want to use curl or some other tool to issue the post command. Yuval Perlov www.r-u-on.com On

Any way to make tomcat send the disable caching headers on all responses?

2008-03-16 Thread Karr, David
When I'm debugging javavascript code, it's really annoying when Firefox caches the javascript file (even when I've modified it). I'm familiar with the headers for disabling caching, but it's a little more annoying to emit those headers on javascript files. Unless I'm missing something, is there

Re: Any way to make tomcat send the disable caching headers on all responses?

2008-03-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, Karr, David wrote: | When I'm debugging javavascript code, it's really annoying when Firefox | caches the javascript file (even when I've modified it). I'm familiar | with the headers for disabling caching, but it's a little more annoying |

Re: Having Tomcat log through syslog

2008-03-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew, Andrew R Feller wrote: | Is it possible to configure Tomcat (preferably through the jsvc daemon) | to log through syslog? If so, how can it be done? The only way I can | conceive of this working is to configure Tomcat to use Log4j and |

Re: getInputStream problem

2008-03-16 Thread Mark Thomas
Ofer Kalisky wrote: No answer yet, so I thought I'd send you this link: http://archives.java.sun.com/cgi-bin/wa?A2=ind0106L=jsp-interestF=S=P=49196 which talks about doing something of the sort, but notice, I am _not_ calling getParameter before the getInputStream, so why am I still not

Re: DBCP: Threads sitting forever in getConnection()?

2008-03-16 Thread rohitmp
HI All, I too am facing the same issue. But in contrast i have my resource setup in context.xml only But still tomcat is waiting indefinitely to to get a connection. My context file is as below ?xml version=1.0 encoding=UTF-8? Context path=/mycontextpath Resource name=jdbc/connPool

Re: Tomcat on Leopard

2008-03-16 Thread David Smith
I can't speak for the OP, but as a long time Mac user, I know TextEdit's default output is richtext. It's a really annoying behavior of TextEdit. The OP should use either vi (if they're brave or have experience in it) or a developer IDE like NetBeans or Eclipse to write the initial file.

Re: DBCP: Threads sitting forever in getConnection()?

2008-03-16 Thread David Smith
Hi. 1. Please post this in a separate thread as it's a separate issue. 2. Is this happening immediately (in the first request) after start or does it take a few requests to make it wait for a connection? If it takes a few requests, your code is not closing connection as it should. They

What is the best way to stop the tomcat daemon?

2008-03-16 Thread jarrod
Hi. I'm working on getting the Tomcat daemon running using jsvc. I've got it basically running (thanks, Rainer). Now I'm not sure what is the best way to stop it and to restart it. If I call # ps aux | grep tomcat this is what I get: [EMAIL PROTECTED] bin]# ps aux | grep tomcat root 4305

Re: Trouble building jsvc

2008-03-16 Thread jarrod
Thanks again, Rainer. I got it working on a different machine, not generating the configure file. I don't know why the docs say to do that when it's better not to. Ethan - ebdb http://aeondust.com -- View this message in context:

Re: Tomcat on Leopard

2008-03-16 Thread jarrod
David Smith-2 wrote: I can't speak for the OP, but as a long time Mac user, I know TextEdit's default output is richtext. It's a really annoying behavior of TextEdit. The OP should use either vi (if they're brave or have experience in it) or a developer IDE like NetBeans or Eclipse

Re: What is the best way to stop the tomcat daemon?

2008-03-16 Thread David Smith
You should have gotten a sample service shell script in you jsvc source. Mine has this in the stop portion: jsvc -stop -pidfile $PID_FILE org.apache.catalina.startup.Bootstrap $PID_FILE is a shell variable containing the path of a file with the process id of the running jsvc. I customized