Re: All threads are currently busy

2007-10-17 Thread Peter Bauer
Am Mittwoch 17 Oktober 2007 schrieb Johnny Kewl: > --- > HARBOR: http://coolharbor.100free.com/index.htm > Now Tomcat is also a cool application server > -

Re: custom web.xml digester call

2007-10-17 Thread Johnny Kewl
--- HARBOR: http://coolharbor.100free.com/index.htm Now Tomcat is also a cool application server --- - Original Message - From: "Auke Noppe" <[E

Re: custom web.xml digester call

2007-10-17 Thread Bill Barker
"Auke Noppe" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > > > Is it possible to call the digester of the web.xml by hand? > > Like you can override the createstartdigester method in catalina.java? > As the other posters have said, it is difficult to see a use case for th

Re: AJP port - How to stop Tomcat from incrementing the AJP port number

2007-10-17 Thread Bill Barker
Well, it should be possible to do channelSocket.maxPort="0" on the . However, if the port attribute gets processed after the maxPort, it will reset it back (yes, it's a bug :). If you are using the default 8009 port, then it should be possible to omit the port option on the and it should wor

AJP port - How to stop Tomcat from incrementing the AJP port number

2007-10-17 Thread Shaji Thomas
When Tomcat 6 finds that the specified AJP port is already in use, it increments the port number and try to bind to the next available port. When this happens, on the web server side apache is not able to connect to the AJP port on Tomcat side, because Tomcat is listening on a different AJP port

Re: UTF-8 Properties File

2007-10-17 Thread Billy Ng
Ah, this is the problem. How could you force the translators not to use notepad? Billy Ng - Original Message - From: <[EMAIL PROTECTED]> To: Cc: <[EMAIL PROTECTED]> Sent: Wednesday, October 17, 2007 4:03 PM Subject: RE: UTF-8 Properties File Hi, Are you sure that the original UTF

RE: UTF-8 Properties File

2007-10-17 Thread ehawkes
Hi, Are you sure that the original UTF-8 source file doesn't have a BOM in it? native2ascii will not strip that BOM from the input file. Also, if you edit either file with an editor such as Notepad, it will include a BOM. Thanks, Eric -Original Message- From: Billy Ng [mail

Re: UTF-8 Properties File

2007-10-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Billy, (Note that this isn't a Tomcat problem; it's a Java problem.) Billy Ng wrote: > Don't know why? It happens to me. If you google "native2ascii BOM", > you will see what other people were complaining. They are complaining that native2ascii is

Re: UTF-8 Properties File

2007-10-17 Thread Billy Ng
Don't know why It happens to me. If you google "native2ascii BOM", you will see what other people were complaining. Billy Ng - Original Message - From: "Christopher Schultz" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Wednesday, October 17, 2007 1:26 PM Subject: Re: UTF-8

Re: custom web.xml digester call

2007-10-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Auke, Auke Noppe wrote: > Is it possible to call the digester of the web.xml by hand? > > Like you can override the createstartdigester method in catalina.java? If you need information from web.xml, you could always parse it yourself by hand or usin

Re: UTF-8 Properties File

2007-10-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Konstantin Kolinko wrote: > You may try some tools to edit those files. I am a native English speaker, and we use Attesoro (http://attesoro.org/) to create localized properties files. It allows you to use natural text, but saves to ISO-8859-1 tr

Re: custom web.xml digester call

2007-10-17 Thread Konstantin Kolinko
> Is it possible to call the digester of the web.xml by hand? Hmm, I can imagine a couple of ways how I am able to call it, thus it is theoretically possible. Why do you need it? Do you need to go that way? See, that 1. You have not said about your reasons. 2. You have not said about your const

Re: jndi.properties in Tomcat 5.5.23 ??

2007-10-17 Thread Konstantin Kolinko
I do not have recent experience with JNDI, so the following are just my guesses, trying to help. May be someone will provide a better answer, or You will be able to find it by yourself. Thus said, it looks to me that what you are trying is not possible. As seen from [1], Tomcat 5.5 already has s

Re: Native Library Not found

2007-10-17 Thread Martin Gainty
+1 agree with chris (I boosted to 4GB and I dont see any OOM's so getting more RAM always helps) If you run JConsole you will see your java memory allocation over time (so you can determine at what time which process is launched and consumes the most memory) M-- > Ok, > I have taken all the pos

Re: Advice about Tomcat on x86_64 architecture..

2007-10-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Swapnil, Swapnil.Kale wrote: > I tried installing tomcat 32 bit on a 64 bit JVM but it didnt work. What OS? Sounds like Windows. It's possible that you lack the 32-bit support libraries required by the 32-bit JVM. Is there a 32-bit support package t

Re: UTF-8 Properties File

2007-10-17 Thread Konstantin Kolinko
You may try some tools to edit those files. E.g., I am using this one as a plugin for Eclipse, but it may run separately: http://propedit.sourceforge.jp/index_en.html 2007/10/17, Billy Ng <[EMAIL PROTECTED]>: > This is the major problem for the people to localize context. \u > unicode forma

Re: UTF-8 Properties File

2007-10-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Billy, Billy Ng wrote: > This is the major problem for the people to localize context. \u > unicode format is not readable to them. That's why most people use native2ascii as part of their deployment procedure, and don't bother developers with t

RE: PROBLEM POSTING LARGE DATA - TOMCAT6 SSL

2007-10-17 Thread Jyothishree Honnavalli
Thanks! I changed the connector and it worked great. Thank you soo much. Once .15 is ready, do you recommend I put back the Nio class? Jyothi -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 17, 2007 3:49 PM To: Tomcat Users List Subj

Re: UTF-8 Properties File

2007-10-17 Thread Billy Ng
This is the major problem for the people to localize context. \u unicode format is not readable to them. The native2ascii will add the BOM to the beginning to fail ResourceBundle. Billy Ng - Original Message - From: "Tim Funk" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: W

Re: Please help with APR configuration

2007-10-17 Thread alla winter
thanks for your prompt response On 10/17/07, alla winter <[EMAIL PROTECTED]> wrote: > > I am trying to set up Tomcat 5.0.28 with APR 1.1.9 on the Windows 2000 > workstation > I downloaded openssl.exe and tcnative-1.dll and put them in the tomcat's > bin directory > I put an existing signed certifi

Re: PROBLEM POSTING LARGE DATA - TOMCAT6 SSL

2007-10-17 Thread Filip Hanik - Dev Lists
the issue is only present in the NIO connector, ie, Http11NioProtocol Filip Jyothishree Honnavalli wrote: We have decided to wait till .15 realease. Another set of people want to use the 5.5.x . Do you know if the 5.5.x has this issue? Also, can you pls. let me the know if using this class

Re: Native Library Not found

2007-10-17 Thread Arun
Ok, I have taken all the posts seriously. I have not ran into a solution. Let me work on the suggestions you provided. I resolved the OOME , but I am worried about scaling users in my server, if tomcat consumes this much memory. As you said since tomcat is not taking the memory I will further i

RE: PROBLEM POSTING LARGE DATA - TOMCAT6 SSL

2007-10-17 Thread Jyothishree Honnavalli
We have decided to wait till .15 realease. Another set of people want to use the 5.5.x . Do you know if the 5.5.x has this issue? Also, can you pls. let me the know if using this class for ssl connector org.apache.coyote.http11.Http11Protocol will solve this. Thanks. Jyothi -Original Mes

Re: Please help with APR configuration

2007-10-17 Thread Filip Hanik - Dev Lists
APR is not available on Tomcat 5.0 you need Tomcat 5.5 or 6.0 Filip alla winter wrote: I am trying to set up Tomcat 5.0.28 with APR 1.1.9 on the Windows 2000 workstation I downloaded openssl.exe and tcnative-1.dll and put them in the tomcat's bin directory I put an existing signed certificate

Please help with APR configuration

2007-10-17 Thread alla winter
I am trying to set up Tomcat 5.0.28 with APR 1.1.9 on the Windows 2000 workstation I downloaded openssl.exe and tcnative-1.dll and put them in the tomcat's bin directory I put an existing signed certificate and the key that works in production with APACHE web server into TOMCAT conf directory and u

RE: Connector Compression

2007-10-17 Thread Mike Cronin
Great responses guys! Thanks very much! Mike Fax.com "The New Way To Fax!" www.fax.com Confidential: This electronic message and all contents contain information from Fax.com, Inc. which may be privileged, confidential or otherwise protected from disclosure. The information is intended to be f

TOmcat Engine Issue with netscaler

2007-10-17 Thread Vivek Singh
Hi I have an issue with running netscaler with HTTP connetor on 8080. Before the netscaler arrived, I had an apache setup with mod _jk to talk to the two tomcat below 10.7.0.62 and 10.7.0.63 using 8009 connector( Listed is the server.xml of the tomcat box with 10.7.0.61 as primary interface), the

Re: PROBLEM POSTING LARGE DATA - TOMCAT6 SSL

2007-10-17 Thread Filip Hanik - Dev Lists
The 6.0.x branch is very stable, ie, there are very few changes going in at the moment. you can build it yourself, by doing: Requirements: a) JDK 1.5 b) ANT 1.6.5+ svn co http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk trunk cd trunk ant download ant The bug has been present in both 6.0.

RE: PROBLEM POSTING LARGE DATA - TOMCAT6 SSL

2007-10-17 Thread Jyothishree Honnavalli
Thank you. Can you please recommend an version of tomcat that is also very stable and does not have this issue?. Thanks. Jyothi -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 17, 2007 1:46 PM To: Tomcat Users List Subject: Re: P

Re: PROBLEM POSTING LARGE DATA - TOMCAT6 SSL

2007-10-17 Thread Filip Hanik - Dev Lists
there was a bug fix, that will come out in 6.0.15 to take care of this problem Filip Jyothishree Honnavalli wrote: Hi, We are having problems posting large chunks of data via tomcat ssl. We are seeing that there is a limitation on how many characters can be submitted depending where the re

Re: Tomcat 5.5 Cluster Without session replication

2007-10-17 Thread Filip Hanik - Dev Lists
there are other tools that do that better, like www.hyperic.org Filip bajistaman wrote: Filip Hanik - Dev Lists wrote: yes, that is the most common setup, just add as many Tomcat's as you need and front them with a load balancer with fail over capabilities minimum amount of tomcat to form

Re: How to increase Tomcat webserver speed?

2007-10-17 Thread Oliver Schoett
keglius wrote: I performed tests on members area and found that in most cases all pages are loaded within 4-10 seconds. The slowest pages (e.g. reports to view longer period time data) sometimes takes 20-180 seconds to load. How can I increase this speed? The obvious approach is to find out

Re: Tomcat 5.5 Cluster Without session replication

2007-10-17 Thread bajistaman
Filip Hanik - Dev Lists wrote: > > yes, that is the most common setup, just add as many Tomcat's as you > need and front them with a load balancer with fail over capabilities > minimum amount of tomcat to form a cluster, is 2 :) > > Filip > :-), I'm trying to centrally manage resources and de

Re: All threads are currently busy

2007-10-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, Peter Bauer wrote: >> This version of TC is quite old ..not sure if its supported anymore > > Yes, i know about that. If there is a major bug in this version, i could > argue to upgrade > (at least to the last 4.1.x version) but i would need

Re: UTF-8 Properties File

2007-10-17 Thread Greg Johnson
> Besides using native2ascii, would someone please recommend me how to make > tocmat to work with UTF-8 properties files, thanks! After using native2ascii on your property files, put the following tag in your JSP files: <%@ page contentType="text/html;charset=UTF-8" language="java" %>

PROBLEM POSTING LARGE DATA - TOMCAT6 SSL

2007-10-17 Thread Jyothishree Honnavalli
Hi, We are having problems posting large chunks of data via tomcat ssl. We are seeing that there is a limitation on how many characters can be submitted depending where the request is coming from. This is happening only when Tomcat is accessed over HTTPS. Problem does not occur when accessing Tom

RE: Advice about Tomcat on x86_64 architecture..

2007-10-17 Thread Swapnil.Kale
Thanks a ton Peter, The picture is pretty clear now. Yes i did install the exe and not the zip file. which was creating a problem. Now i uninstalled it and using the zip file, , the tomcat runs smoothly. One thing i'm still wondering is the uninstall did not clear the registry entries under Wow

Re: All threads are currently busy

2007-10-17 Thread Johnny Kewl
--- HARBOR: http://coolharbor.100free.com/index.htm Now Tomcat is also a cool application server --- - Original Message - From: "Peter Bauer" <[

Re: java.library.path / Unsatisfied Link Error problem with Linux Tomcat 5.5

2007-10-17 Thread David Marshall
Solved! I found the source of the problem after following your links below. Not only do you need to place the jar file in the tomcat/shared/lib folder, you need to place the .so there and then adjust the java.library.path on JAVA_OPTS to point there. My .so was originally living in a direc

Re: Problem: stasrtup Tomcat in Mac os X 10.4.2

2007-10-17 Thread Antonio Rodríguez Anaya
Yes, the problem was in the JAVA_HOME. Thanks, Toni. El 15/10/2007, a las 19:26, Steve Ochani escribió: Date sent: Mon, 15 Oct 2007 18:46:30 +0200 From: Antonio Rodríguez Anaya <[EMAIL PROTECTED]> Subject:Problem: stasrtup Tomcat in Mac os X 10.4.2 To: users@tomcat.apache.o

RE: Advice about Tomcat on x86_64 architecture..

2007-10-17 Thread Peter Crowther
> From: Swapnil.Kale [mailto:[EMAIL PROTECTED] > I tried installing tomcat 32 bit on a 64 bit JVM but it didnt work. That is very unexpected. *Tomcat* is pure Java. I can do a file copy of my entire Tomcat installation and my apps from my 32-bit development box to my 64-bit staging box (and bac

LogConfigurationException headache

2007-10-17 Thread Thorsten Scherler
Hi all, I am having major headaches lately with tomcat 5 and 6 regarding logging. It started when deploying some cocoon application to tomcat 5 and 6. You can find an extended background summary (from me and others) here: https://issues.apache.org/jira/browse/FOR-1049 The problem is that tomcat

Re: All threads are currently busy

2007-10-17 Thread Johnny Kewl
--- HARBOR: http://coolharbor.100free.com/index.htm Now Tomcat is also a cool application server --- - Original Message - From: "Peter Bauer" <[

Re: All threads are currently busy

2007-10-17 Thread Peter Bauer
Good afternoon Martin :-) On Wednesday 18 October 2000 16:08:34 you wrote: > Good Morning Peter > > I assume you have built glibc for debian following the specific build > instructions for debian..following this example > http://www.linux-m32r.org/eng/download.html#debpackage I did not build the

RE: Advice about Tomcat on x86_64 architecture..

2007-10-17 Thread Swapnil.Kale
Hi, I'm not sure about my thoughts here. Please correct if my understanding is wrong. I tried installing tomcat 32 bit on a 64 bit JVM but it didnt work. I tried following on the mini how to install tomcat on 64 bit OS but didnt succeed. What i found on internet is we need 64 bit executable fo

Re: Tomcat 5.5 Cluster Without session replication

2007-10-17 Thread Filip Hanik - Dev Lists
yes, that is the most common setup, just add as many Tomcat's as you need and front them with a load balancer with fail over capabilities minimum amount of tomcat to form a cluster, is 2 :) Filip bajistaman wrote: Is there a way to set up a Tomcat cluster without session replication? How many

Re: tomcat/java process strangeness

2007-10-17 Thread David Delbecq
For you xmx: i guess bad default values that are too small regarding to heap size. This is probably due to your OS ocnfiguration at some point. Did you install java using distribution provided packages or sun packages? For you Processes, this comes from old kernel. At some point in the past, in li

Re: tomcat/java process strangeness

2007-10-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 BS, thebugslayer wrote: > First strange case: > I installed jdk6, but I must run with -Xmx options or else it fails. > $ java -version > Error occurred during initialization of VM > Could not reserve enough space for object heap > Could not create the

RE: tomcat/java process strangeness

2007-10-17 Thread Peter Crowther
> From: thebugslayer [mailto:[EMAIL PROTECTED] > When I start tomcat using /opt/tomcat/bin/catalina.sh start, I get 21 > processes that running the same command(different PIDs). Tomcat uses Java threads. Java threads are implemented as Linux threads on Linux. Each Linux thread appears to be a p

Re: Native Library Not found

2007-10-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arun, Arun wrote: > I am replying once again, as I thought I need more help on these. > > top - 15:49:32 up 2 days, 21:33, 1 user, load average: 0.26, 0.28, 0.20 > Tasks: 57 total, 2 running, 55 sleeping, 0 stopped, 0 zombie > Cpu(s): 4.5%

Re: Isolation between multiple TC instances

2007-10-17 Thread David kerber
Peter Crowther wrote: From: David kerber [mailto:[EMAIL PROTECTED] Running TC 5.5.15 on Windows Server 2003, JRE 1.5.0_12. My understanding is that if I'm running the same (or different, for that matter) webapp on separate tomcat instances (different ports, context roots, etc), they will eac

tomcat/java process strangeness

2007-10-17 Thread thebugslayer
Hi, This might be more of java/linux related question, but since it happens with Tomcat server, and with a knowledgeable user list like this one, I thought I might give a shot for a explanation. I have a dedicated host server running: $ uname -a Linux batcomputer.com 2.6.9-023stab033.7-enterprise

custom web.xml digester call

2007-10-17 Thread Auke Noppe
Hi, Is it possible to call the digester of the web.xml by hand? Like you can override the createstartdigester method in catalina.java? Regards, Auke Noppe No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.14.13/1074 - Releas

RE: Isolation between multiple TC instances

2007-10-17 Thread Peter Crowther
> From: David kerber [mailto:[EMAIL PROTECTED] > Running TC 5.5.15 on Windows Server 2003, JRE 1.5.0_12. > > My understanding is that if I'm running the same (or > different, for that > matter) webapp on separate tomcat instances (different ports, context > roots, etc), they will each have the

Isolation between multiple TC instances

2007-10-17 Thread David kerber
Running TC 5.5.15 on Windows Server 2003, JRE 1.5.0_12. My understanding is that if I'm running the same (or different, for that matter) webapp on separate tomcat instances (different ports, context roots, etc), they will each have their own copies of all their internal objects and data, and c

Re: Native Library Not found

2007-10-17 Thread Arun
I am replying once again, as I thought I need more help on these. top - 15:49:32 up 2 days, 21:33, 1 user, load average: 0.26, 0.28, 0.20 Tasks: 57 total, 2 running, 55 sleeping, 0 stopped, 0 zombie Cpu(s): 4.5%us, 0.5%sy, 0.0%ni, 94.5%id, 0.0%wa, 0.0%hi, 0.5%si, 0.0%st Mem: 2074

Tomcat 5.5 Cluster Without session replication

2007-10-17 Thread bajistaman
Is there a way to set up a Tomcat cluster without session replication? How many Tomcat instances is recommended to define by cluster? Thanks, Johann -- View this message in context: http://www.nabble.com/Tomcat-5.5-Cluster-Without-session-replication-tf4640120.html#a13252267 Sent from the Tomc

Re: More number of connections got created than maxActive

2007-10-17 Thread David Smith
These questions may be better answered on a DBCP user list since they are very specific to DBCP and commons-pool. --David Bhaskar wrote: I tried with dbcp1.2.2 today and found same issue. With maxActive=30, maxIdle=30 and minIdle=30, connecitons went upto 120. And it didn't comeback after 3

RE: More number of connections got created than maxActive

2007-10-17 Thread Bhaskar
I tried with dbcp1.2.2 today and found same issue. With maxActive=30, maxIdle=30 and minIdle=30, connecitons went upto 120. And it didn't comeback after 3-4 hrs. After changing minIdle=0, number of connections were stayed at 30. Is it a issue related to common pool (I am using common pool 1.3)?

Re: UTF-8 Properties File

2007-10-17 Thread Tim Funk
There is no such thing as UTF-8 properties files. Tomcat follows the same rules as java when reading properties files. Properties file must be ISO8859-1 and if you have characters outside of that character set - then you use native2ascii to encode those other characters. -Tim Billy Ng wrote

Re: How to Suppress Server Header in the HTTP Response

2007-10-17 Thread David Smith
Take a look at http://tomcat.apache.org/tomcat-5.5-doc/config/http.html Specifically your interested in the server attribute in the standard implementation section. --David Jatinder Kaur wrote: Hi, I am looking for a way to suppress the server header in the HTTP Response. I am using Tomcat

All threads are currently busy

2007-10-17 Thread Peter Bauer
Hi all, System: Tomcat 4.1.30 on Debian sarge java version "1.5.0_11" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03) Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing) in situations with high load, tomcat sometimes stops responding and is not able to reco

Re: java.library.path / Unsatisfied Link Error problem with Linux Tomcat 5.5

2007-10-17 Thread Konstantin Kolinko
I understand that if the .so library fails to load, it will also be UnsatisfiedLinkError. I do not know (haven't tested), whether the error text will be the same. If some required system libraries cannot be found, the library does not load. Those system libraries are loaded from LD_LIBRARY_PATH.

Connector http, ajp and Context availability

2007-10-17 Thread setecastronomy
I'm using Tomcat 6.0 with both http and ajp connectors. They work fine and all the available contexts can be reached with those connectors. What I would like to do is to allow to access a limited number of contexts only via ajp connector. In the connector configuration I don't have anything to fil

Re: Catalina message

2007-10-17 Thread David Delbecq
This message does not come from Tomcat but from a thrid party library (struts) you installed in one of your webapplications. This is just part of struts startup messages. If you have any question regarding struts, i suggest you contact the struts mailing list. En l'instant précis du 17/10/07 09:

Catalina message

2007-10-17 Thread Pamarthi, Ramakrishna
Hi All, We are getting the following message in catalina.out file. Oct 17, 2007 11:56:08 AM org.apache.struts.util.PropertyMessageResources INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true Any idea? Why? Best Regards, RK ---