mod_jk 1.2.13 logging - bug in mod_jk?

2005-06-15 Thread Ryszard Lach
Hi. After upgrading mod_jk to 1.2.13 I'm observing a strange change in my mo_jk.log. I'm almost sure, that not all entries appear in my log, there is an extra empty line between every log line and dates displayed in log entries are not ordered, as they were before upgrade, e.g.: [Wed Jun 15

Turning cookie JSESSIONID off (selectively)

2003-10-24 Thread Ryszard Lach
Hi. Is there possible to turn off cookie JSESSIONID? I would like to use squid in reverse-proxy mode with a Java application (Tomcat 4.1), but squid does not cache pages with this cookie set. I can not turn it off at all, because a part o my application uses cookies for session management. Any

Debugging tomcat cluster performance (Apache1.3+mod_jk+Tomcat4.1.18)

2003-03-16 Thread Ryszard Lach
Hi! Is there any way to debug performance/load of particular node in tomcat cluster? I remember that it was possible with JServ to configure log file so, that it contained information about how many requests are served by each node. I tried to configure JkRequestLogFormat to do the same thing,

Access control in Apache+tomcat (mod_jk)

2002-11-18 Thread Ryszard Lach
Hi! How does work access control with apache 'Location' directive? I'm using apache+mod_jk+tomcat with JkMount /servlet/* ajp13 and Location /servlet/some.servlet.* .. require user someuser /Location and apache seems to ignore this access control restriction when I'm entering the url

How to disable autoloading all directories in 'appBase'?

2002-11-16 Thread Ryszard Lach
Hi! Does anybody now how to prevent tomcat (4.0.5) from loading all directories created in directory defined in 'app base' as applications? Look at this setting: Engine name=Inst-6-Engine defaultHost=myhost debug=0 Host name=myhost debug=0 appBase=webapps unpackWARs=false

Balancer and sessions

2002-11-06 Thread Ryszard Lach
Hi! I'm trying to get work apache + tomcat4.0.5 with load balancer worker (mod_jk), but it seems it doesn't forward all requests of one session to the same worker. I've been used balancing with jserv and that wasn't a problem - if servicing of the session was started with jserv1, then the whole

Re: Balancer and sessions

2002-11-06 Thread Ryszard Lach
On Wed, Nov 06, 2002 at 11:44:07AM +0100, Juan Fco. Herrera Utande wrote: Hi, Make sure that you have the following in the server.xml files: - server.xml in Localhost: jvmroute=ajp13 - server.xml in 192.168.130.9: jvmroute=ajp13s In which section should it be? R. -- First they

Re: Balancer and sessions

2002-11-06 Thread Ryszard Lach
On Wed, Nov 06, 2002 at 11:56:51AM +0100, Juan Fco. Herrera Utande wrote: In the Engine section. You have more details in the documentation. Yes, indeed. Now it works just great. Thanks a lot. Richard. -- First they ignore you. Then they laugh at you. Then they fight you. Then you win.

Re: Response encoding problem

2002-10-16 Thread Ryszard Lach
On Wed, Oct 16, 2002 at 05:41:58PM +0200, Dragomir Denev wrote: Hi all, I have a simple servlet that retrieves a string from the database via jdbc. The database is sybase and its default encoding is utf-8. I run tomcat with -Dfile.encoding=iso-8859-7 option. In the servlet I do a

Re: Response encoding problem

2002-10-16 Thread Ryszard Lach
On Wed, Oct 16, 2002 at 06:06:02PM +0200, Ryszard Lach wrote: On Wed, Oct 16, 2002 at 05:41:58PM +0200, Dragomir Denev wrote: Hi all, I have a simple servlet that retrieves a string from the database via jdbc. The database is sybase and its default encoding is utf-8. I run tomcat

Tomcat 4.0.5 threads are not closing

2002-10-16 Thread Ryszard Lach
Hi! I have tomcat-4.0.5 running on JDK 1.3.1_05 (SUN) on. I see that tomcat threads are not closing and it's only a matter of time when it runs out of processors even if I set maxProcessors to pretty high value. Do you have any idea what can cause such a behaviour? Richard. -- First they

Re: Tomcat 4.0.5 threads are not closing

2002-10-16 Thread Ryszard Lach
On Thu, Oct 17, 2002 at 07:02:23AM +0200, Ryszard Lach wrote: Hi! I have tomcat-4.0.5 running on JDK 1.3.1_05 (SUN) on. I see that tomcat threads are not closing and it's only a matter of time when it runs out of processors even if I set maxProcessors to pretty high value. Do you have any

What does tomcat with character encoding?

2002-10-15 Thread Ryszard Lach
Hi! Problem of non-US characters in Tomcat is returning again and again... My setup is: 1. Tomcat 4.0.5, SUN JDK 1.3.1, JSP page with %@ page contentType=text/html;CHARSET=ISO-8859-2 % 2. String variable 's' with some LATIN2 characters in JSP code 3. out.printlin(s) displays correctly all

Closing Tomcat processors (ajp13 connector)

2002-10-03 Thread Ryszard Lach
Hello, Is there any parameter defining how many idle processors will Tomcat keep running (Tomcat 4.x)? I have a pretty loaded server, wich from time to time spawns even more tomcat threads to number defined in maxProcessor (now it is 400!) and I did not observe closing of them unless I stop

Re: Running multiple tomcat instances ?????

2002-09-25 Thread Ryszard Lach
On Mon, Sep 23, 2002 at 05:31:45PM +0200, Ralph Einfeldt wrote: We install different versions of tomcat like this: /usr/local/java/tomcat-4.0.3 /usr/local/java/tomcat-4.1.10 For each site we have something like this: /www/online/site Could you tell me how many instances do you have

Cannot allocate servlet instance

2002-08-09 Thread Ryszard Lach
Hi! Since yesterday I receive an error while calling one servlet, which allways has run properly. What is wrong with it ? My configuration: Tomcat 4.0.4, JDK1.3.1. 2002-08-09 08:51:38 StandardWrapper[:org.apache.catalina.INVOKER.]: Marking servlet org.apache.catalina.INVOKER. as unavailable

Re: Connection between TOMCAT and DB2 ???

2002-08-01 Thread Ryszard Lach
On Wed, Jul 31, 2002 at 03:11:03PM -0400, [EMAIL PROTECTED] wrote: Thanks Richard for your help, Yes, just now I managed to connect DB2 to Tomcat and using simple java file able to retrieve the values from sample database. But I have a question for you. while defining my Connection URL

Re: Tomcat 4.0.3 and non-asci characters (JSP pages)

2002-07-31 Thread Ryszard Lach
On Tue, Jul 30, 2002 at 12:53:58AM -0700, Daniel Bruce Lynes wrote: On Tuesday 23 July 2002 04:03, Ryszard Lach wrote: Could anyone explain how are non-ascii characters processed by Tomcat ? I have the following configuraton: Tomcat 4.0.3 running with apache (mod_webapp), environment

Re: Connection between TOMCAT and DB2 ???

2002-07-31 Thread Ryszard Lach
On Wed, Jul 31, 2002 at 09:21:59AM -0400, [EMAIL PROTECTED] wrote: Hello everyone... thanks for showing interest in the list and to make it grow... I have a situation here. I am using tomcat 4.0.3 and jdk 1.3.1_04. I want to write a soap service which will bring the resultset from IBM DB2

Re: AW: Connection between TOMCAT and DB2 (RESOLVED)

2002-07-31 Thread Ryszard Lach
On Wed, Jul 31, 2002 at 01:26:07PM -0400, [EMAIL PROTECTED] wrote: Hello all, I finally resolved the problem... Problem lied in the as everyone mentioned Connection URL Earlier I was using url = jdbc:db2:sample Then I changed it to follwing and everything worked fine... String url =

warp connector and number of connecionst

2002-07-28 Thread Ryszard Lach
Hi! What does maxProcessors attribute in warp connector mean ? I thought it is the total number of connections between apache and the engine the connector was defined in, but I see there is many times more established tcp connections between my apache and tomcat then defined in maxProcessors.

Re: Best practice for virtual host configuration

2002-07-25 Thread Ryszard Lach
On Wed, Jul 24, 2002 at 09:46:28AM -0400, Cox, Charlie wrote: if your context is under the appBase, then it will autoload it. If your context is not under the appBase(shared contexts), then you have to provide the path to it. I've never tried leaving docBase empty for a context, so I

Re: Best practice for virtual host configuration

2002-07-24 Thread Ryszard Lach
On Wed, Jul 24, 2002 at 08:37:50AM -0400, Cox, Charlie wrote: if you change the appBase, then you need to change the docBase to be the absolute path. Charlie Are you sure ? I tried to leave docBase empty and it worked too. R. -- ** Internet Designers S.A., ul. Przedmiejska 6-10,

Tomcat 4.0.3 and non-asci characters (JSP pages)

2002-07-23 Thread Ryszard Lach
Hi! Could anyone explain how are non-ascii characters processed by Tomcat ? I have the following configuraton: Tomcat 4.0.3 running with apache (mod_webapp), environment: LANG=pl_PL, JDK1.4.0 with command-line parameter -Djavax.servlet.request.encoding=ISO-8859-2 JSP page with '%@ page

Any info about charset encodings in Tomcat needed

2002-07-23 Thread Ryszard Lach
Hi! Do you know any documents about strings/encodings processing in Tomcat ? TIA Richard. -- ** Internet Designers S.A., ul. Przedmiejska 6-10, 54-201 Wrocaw ** tel. (071) 35 00 445 w. 25; fax (071) 37 35 946; http://www.id.pl/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

Problem with Postgresql JDBC driver

2001-06-18 Thread Ryszard Lach
Hi! I have serious problem with JDBC driver for postgresql. I'm using tomcat 3.2.2 with jdk1.3.1 (I've tried 1.2.2 too). I've tried to put jdbc7.0-1.2.jar into: $TOMCAT_HOME/lib $TOMCAT_HOME/webapp/my_app/WEB-INF/lib and unpacked jdbc7.0-1.2.jar into $TOMCAT_HOME/classes

Re: Problem with Postgresql JDBC driver

2001-06-18 Thread Ryszard Lach
On Mon, Jun 18, 2001 at 12:52:56PM +0200, Tim Stoop wrote: Ryszard Lach wrote: and I still receive an error (included at bottom of the message) while calling Class.forName("postgresql.Driver") in a .jsp file located in .../webapp/my_app directory. Try not using the Dri

Re: Problem with Postgresql JDBC driver

2001-06-18 Thread Ryszard Lach
On Mon, Jun 18, 2001 at 10:05:16AM -0400, Jeff Waugh wrote: Sorry, I hadn't read your error message closely enough. 'No suitable driver' usually means a problem with the database URL to which you are trying to connect. That should look something like: db =