Re: workers.properties load balancing

2005-09-10 Thread Rainer Jung
Hi Steve, not a bug in 1.2.6 either: You have used the attribute balance_workers: worker.router.balance_workers=worker1,worker2 Version 1.2.6 only knew about balanced_workers. See the tiny difference? In 1.2.14 you can use either of both and balance_workers take precendence. Steve Dodge

How to prevent pages from being loaded by SSL?

2005-09-10 Thread Augmentin
Hi, My tomcat server is setup with SSL and the problem is I want visitors generally being unable to connect to any urls by https except those I explicitly want them to see in secure mode. I tried the following in web.xml but it does not stop (or redirect to non-secure mode) someone who

Re: tomcat 5.0.24 crashes silently when clustering turned on

2005-09-10 Thread Rainer Jung
Which platform/OS? I've no experience on Win, but I never experienced a tomcat crash on unix/linux. Nevertheless five comments: 0) jk2 is no longer under development. The only active connector development for apache is mod_jk and mod_proxy (for the upcoming apache 2.1/2.2). 1) If you really want

Re: NoSuchElementException in DeltaRequest

2005-09-10 Thread Rainer Jung
Hi, that should be fixed in 5.0.30 and in 5.5. Compare http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/session/DeltaRequest.java?r1=1.7r2=1.7.2.1diff_format=h and http://issues.apache.org/bugzilla/show_bug.cgi?id=31328. We use a

Re: Trying to connect tomcat5 with postgresql database

2005-09-10 Thread Edoardo Panfili
This is my configuration server.xml Resource name=jdbc/guidebook auth=Container type=javax.sql.DataSource/ ResourceParams name=jdbc/lisy parameter namefactory/namevalueorg.apache.commons.dbcp.BasicDataSourceFactory/value /parameter

Re: workers.properties load balancing

2005-09-10 Thread Steve Dodge
Thanks for the answer. In the future, I'm wondering if you know where I could find some debug output that will tell me my workers.properties was misconfigured. The only output I was getting was through the mod_jk.log which told me JkMount was handling the request but could not find the

Disabling empty-element tag generation in jsp (pre)compilation

2005-09-10 Thread Taimo Peelo
Hi, i am using Jasper coming with tomcat 4.1.31 for precompilation of some jsps. It generates empty-element tags where generation of start-tag followed by immediate end-tag would be needed/preferred. For example there are includes like: jsp:include page=includes/scripts.jsp/ where scripts.jsp

JSP: empty lines in HTML output

2005-09-10 Thread Eugeny N Dzhurinsky
Hello! Is there any way to suppress the empty lines in JSPs at the scriplet positions/JSP tags? -- Eugene N Dzhurinsky - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Disabling empty-element tag generation in jsp (pre)compilation

2005-09-10 Thread Robert Koberg
Hi, You could do: script ...///script So the parser won't see an empty element. (and you will see your XHTML rendered in the browser) best, -Rob Taimo Peelo wrote: Hi, i am using Jasper coming with tomcat 4.1.31 for precompilation of some jsps. It generates empty-element tags where

Re: empty lines in HTML output

2005-09-10 Thread Leon Rosenberg
Check for trimSpaces parameter in to the jsp servlet in conf/web.xml But beware, combined with genStrAsCharArray option it can crash your tomcat (at least it does with mine, at 5.0.25) !-- trimSpaces Should white spaces in template text between -- !--

Re: Suspected memory leak in Tomcat or JVM?

2005-09-10 Thread Bill Barker
There are some memory leaks in the AJP/1.3 Connector (e.g. http://issues.apache.org/bugzilla/show_bug.cgi?id=32141), but the CVS logs say that these were introduced after 4.1.27. Jochen Wiedmann [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, we have an elder application running

Re: connecting tomcat-5-5-9 to apache server 2-0-54

2005-09-10 Thread Bill Barker
If you have MSVC 6+ installed, just use the mod_jk2.dsp file in native2\server\apache2. Otherwise, you'll probably have to roll your own Makefile. Thomas Clery [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I would like to connect Apache Tomcat and Apache Server using mod_jk2

AJP connector maxthreads problem

2005-09-10 Thread Malcolm Warren
I've got Tomcat 4.1.30 and Apache 1.3 on Linux and I've been using the jk2 connector for a year and a half without any problems. Now I've suddenly got Tomcat stopping with the following message: All threads (75) are currently busy, waiting. Increase maxThreads (75) or check the servlet status.

Re: AJP connector maxthreads problem

2005-09-10 Thread David Wall
1) We have only a moderately busy site with about 500 new visitors entering from outside every day, so it would have thought it would be fairly difficult for them to use up all the 75 connections at the same time, but I do have some programmes that create their own threads, though in a

Re: AJP connector maxthreads problem

2005-09-10 Thread Wade Chandler
--- David Wall [EMAIL PROTECTED] wrote: 1) We have only a moderately busy site with about 500 new visitors entering from outside every day, so it would have thought it would be fairly difficult for them to use up all the 75 connections at the same time, but I do have some