Re: Tomcat 6 And SSL Configuration

2009-11-02 Thread Peter Crowther
2009/11/2 Nilesh Patil nileshpatil2...@gmail.com The apache tomcat service on local computer started and then stopped . Some services stopped automaticaly if they are not in use by other services or programs There should be more details of what went wrong in one of Tomcat's log files (it

Re: Tomcat 6 And SSL Configuration

2009-11-02 Thread Nilesh Patil
Hi Peter First of All Thnaks for replay. Now the Tomcat service is started but I am not able to access the Urk through HTTPs.. The log file contains are given below Nov 2, 2009 2:21:38 PM org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http- Nov 2,

Re: Will tomcat allow me to configur access to a single folder?

2009-11-02 Thread André Warnier
Josh Gooding wrote: Unlike Apache HTTPD, can Tomcat be configured to allow access to a single directory? Huh ? Which Apache http documentation have you been reading ? Not this one : http://httpd.apache.org/docs/2.2/howto/auth.html

Re: starting tomcat from ant not working

2009-11-02 Thread André Warnier
Dean Hiller wrote: I have tried from ant and programmed up a main class to start tomcat via catalina.bat start and tried catalina.bat start from ant as well. Lastly, I finally tried directly running the exact command that catalina.bat start tries to run and then ended up with classnotfound which

Re: ConnectionPool question

2009-11-02 Thread Elli Albek
Here is some idea for you: First, you have two static methods to get and return the connection inside a listener class. Those methods do not have anything to do with the listener (which is an instance), and also and also do not need synchronization. Synchronizing on getConnection can be a big

Re: ConnectionPool question

2009-11-02 Thread Elli Albek
Oops, I had a copy paste error. Version 2 has the filter method twice. Ignore the first, use the second. Notice this code was written in an email client, not an IDE :) E

Re: starting tomcat from ant not working

2009-11-02 Thread Elli Albek
Hi, This is how we start tomcat from ant. ${server} is your tomcat installation directory. Then we have a condition on a URL, so we know tomcat actually starts and handling HTTP requests. java jar=${server}/bin/bootstrap.jar fork=true spawn=true dir=${server}/bin jvmarg

Re: ConnectionPool question

2009-11-02 Thread Konstantin Kolinko
2009/10/31 Josh Gooding josh.good...@gmail.com: (...)  and I am getting a tomcat startup exception: WARNING: Unexpected exception resolving reference java.lang.IllegalArgumentException    at java.util.concurrent.ArrayBlockingQueue.init(Unknown Source)    at

Re: [OT] Hammers and nails (was Re: A question about log-rotation on catalina.out)

2009-11-02 Thread Elli Albek
How did this make it into the tomcat users list? :) CPAN: Driven by users. Java (JCP) Driven by vendors.

Re: Tomcat 6 And SSL Configuration

2009-11-02 Thread Nilesh Patil
I got the solutions ... the path of keystore file was wrong.. and I done changes in Connector. On Mon, Nov 2, 2009 at 2:26 PM, Nilesh Patil nileshpatil2...@gmail.comwrote: Hi Peter First of All Thnaks for replay. Now the Tomcat service is started but I am not able to access the Urk

Want to customise the tomcat's session logic

2009-11-02 Thread S Arvind
Hi Tomcat developers, Bascially my requirement is ability to control the session sharing in browser. Till now we maintained each application as differnet context but pointing to same doc-base. So different web application will be running on a same code to control the session sharing

Re: [OT] Hammers and nails (was Re: A question about log-rotation on catalina.out)

2009-11-02 Thread André Warnier
Elli Albek wrote: How did this make it into the tomcat users list? :) CPAN: Driven by users. Java (JCP) Driven by vendors. Tomcat logging: driven by Java Hammer (tm) manufacturers. - To unsubscribe, e-mail:

Re: Occasional NoClassDefFoundError, but disappears after couple of restarts

2009-11-02 Thread A. Rothman
To anyone who may stumble upon this thread looking for solutions - this bug has been investigated and fixed by Konstantin Kolinko (https://issues.apache.org/bugzilla/show_bug.cgi?id=48097). The fix should be available in Tomcat 6.0.21 and later. mailto:knst.koli...@gmail.com A. Rothman

Re: Bizarre NoClassDefFoundError

2009-11-02 Thread A. Rothman
To anyone who may stumble upon this thread looking for solutions - this bug has been recreated in 6.0.20 with a consistent recipe, and investigated and fixed by Konstantin Kolinko (https://issues.apache.org/bugzilla/show_bug.cgi?id=48097). The fix should be available in Tomcat 6.0.21 and

How to make tomcat persistant ?

2009-11-02 Thread daulat khan
Hi, I am developing servlet to run in tomcat 6.0.20. I need to store a java class object in \ session. The class is not serialized. I got error message: SEVERE: IOException while loading persisted sessions: java.io.WriteAbortedException: \ writing aborted; java.io.NotSerializableException: (class

Re: starting tomcat from ant not working

2009-11-02 Thread Konstantin Kolinko
2009/11/2 Dean Hiller d...@alvazan.com:     [java] java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina Probably your conf/catalina.properties file is broken. Maybe you copied it from an earlier TC 5.5 installation.

Re: How to make tomcat persistant ?

2009-11-02 Thread Markus Schönhaber
daulat khan: I know that tomcat use session manager to persist sessions and reload them when \ server starts up. But I can not find where to configure it. How can I turn it off so \ that I don't get the error message? Take a look at conf/context.xml. -- Regards mks

Understanding context.xml

2009-11-02 Thread Carsten Pohl
Hi! I created a mainly empty dynamic web project in eclipse. It has - no servlets - no jsp files The web.xml is ?xml version=1.0 encoding=UTF-8? web-app xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns=http://java.sun.com/xml/ns/javaee;

Re: Understanding context.xml

2009-11-02 Thread Markus Schönhaber
Carsten Pohl: When I deploy the project to a local tomcat (Apache Tomcat/6.0.20) Everything works as expected. Meaning, the context.xml is copied to /conf/Catalina/localhost and renamed to testprojekt.xml. When I edit the testprojekt.xml to: ?xml version=1.0 encoding=UTF-8? Context

Re: Want to customise the tomcat's session logic

2009-11-02 Thread Pid
On 02/11/2009 10:06, S Arvind wrote: Hi Tomcat developers, Bascially my requirement is ability to control the session sharing in browser. Till now we maintained each application as differnet context but pointing to same doc-base. So different web application will be running on a

Re: How to make tomcat persistant ?

2009-11-02 Thread daulat khan
Thanks a lot mark. It is fixed... --Daulatkhan 2009/11/2 Markus Schönhaber tomcat-us...@list-post.mks-mail.de: daulat khan: I know that tomcat use session manager to persist sessions and reload them when \ server starts up. But I can not find where to configure it. How can I turn it off

How do I setup Tomcat ro refresh a directory faster than the default 5 seconds?

2009-11-02 Thread ed2003
I tried adding variations of the following to server.xml but it still takes 5 seconds for a newly modified file to appear. Anybody know what I am doing wrong? (If the file is new, it appears within a second or so. But if it exists and is rewritten, it takes 5 sec) Context

Re: Understanding context.xml

2009-11-02 Thread Carsten Pohl
Oh, Thanks a lot, I would have never guessed that it is a bug in tomcat. But I would like to ask a follow up question. If I change the testprojekt.xml in conf/Catalina/localhost/testprojekt.xml my webapplication will be redeployed (assuming the bug is fixed), and it would get the new values.

Re: loading a CharsetProvider via WebappClassLoader

2009-11-02 Thread Ronald Klop
Kris, Thanks a lot for these pointers. It makes a lot very clear and we will do the dirty workaround now and vote for the bugs at the Sun website. Ronald. Op donderdag, 29 oktober 2009 16:48 schreef Kris Schneider kschnei...@gmail.com: I guess this bug will be of interest since it

valve.invoke() called twice in request

2009-11-02 Thread Johan Thorselius
Why is my valve.invoke() called twice ? I have developed my own valve like in the code below. I see that the invoke() method is called twice in the same request - does anyone know why ? Note that my trace in listValves() shows that it is only one instance of my valve AuthValve and one of

Re: ConnectionPool question

2009-11-02 Thread Josh Gooding
It seems as though you cannot set the maxActive to -1 as you can in the javax.sql.ConnectionPool for unlimited. On Mon, Nov 2, 2009 at 4:36 AM, Konstantin Kolinko knst.koli...@gmail.comwrote: 2009/10/31 Josh Gooding josh.good...@gmail.com: (...) and I am getting a tomcat startup exception:

RE: valve.invoke() called twice in request

2009-11-02 Thread Caldarale, Charles R
From: Johan Thorselius [mailto:johan.thorsel...@gmail.com] Subject: valve.invoke() called twice in request Why is my valve.invoke() called twice ? Are you sure it's called twice in the same request? Or is the browser making multiple requests for separate resources on the same page? You

Debian Linux and JAVA - _OPTS and _HOME

2009-11-02 Thread Massan
Hi, What file I should modify to get these JAVA commands to work. I have tried catalina.sh and almost all files in bin folder. Should it be like: export JAVA_OPTS ... And yes OS is Debian Linux. Thanks buddys ! -- View this message in context:

Re: Debian Linux and JAVA - _OPTS and _HOME

2009-11-02 Thread Carsten Pohl
Have you tried JRE_HOME=/usr/lib/jvm/java-6-sun/jre/ ./catalina.sh run or in your case JAVA-OPTS=-Dsth ./catalina.sh run .. Regards, Carsten - Original Message - From: Massan grant.mas...@gmail.com To: users@tomcat.apache.org Sent: Monday, 2 November, 2009 15:27:31 GMT +01:00

Re: Understanding context.xml

2009-11-02 Thread Markus Schönhaber
Carsten Pohl: If I change the testprojekt.xml in conf/Catalina/localhost/testprojekt.xml my webapplication will be redeployed (assuming the bug is fixed), and it would get the new values. If I change the conf/context.xml all my webapps will be RELOADED, but new values and changes to values

Re: valve.invoke() called twice in request

2009-11-02 Thread Johan Thorselius
Are you sure it's called twice in the same request? Or is the browser making multiple requests for separate resources on the same page? Yes, sorry - they are multiple requests. A stack trace showed two reqeusts. I was confused. It's part of a bigger issue where 'I cannot get rid of the

Re: Debian Linux and JAVA - _OPTS and _HOME

2009-11-02 Thread André Warnier
Massan wrote: Hi, What file I should modify to get these JAVA commands to work. I have tried catalina.sh and almost all files in bin folder. Should it be like: export JAVA_OPTS ... And yes OS is Debian Linux. To answer your question directly, and in general : You should create the file

Re: Tomcat Manager sees distribution directories as applications

2009-11-02 Thread Jonathan Mast
You're right, I totally forgot to put appBase attributes in my Host declarations. However, httpd only lets *.jsp and *.do requests pass on to Tomcat so I don't have to worry about the security issue. I'm gonna put appBase attributes into my config and see if that fixes it. thanks On Fri, Oct

Tomcat service stops frequently after MS09-061 patch

2009-11-02 Thread chetan khadye
Hi, We are facing an issue with the microsoft patch. We applied the patch MS09-061 on our production and development environment which is running on Windows server 2003. After the patch applied the tomcat server stops responding the http requests after every 15 20 minutes. The restarting of

Re: MISC; After one Tomcat Cluster node shutdown Session Replication working but a Hashmap object is getting empty

2009-11-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Imad, On 11/1/2009 1:41 AM, Imad Hachem wrote: After setting a Tomcat Cluster of 2 nodes on separate machine, Session replication is working very fine except one library objects (QueryCrypt.jar included in this Web Project) having a Hashmap where

Re: Tomcat service stops frequently after MS09-061 patch

2009-11-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chetan, On 11/2/2009 10:14 AM, chetan khadye wrote: We are facing an issue with the microsoft patch. We applied the patch MS09-061 on our production and development environment which is running on Windows server 2003. This patch is for the .NET

Re: Tomcat service stops frequently after MS09-061 patch

2009-11-02 Thread Peter Crowther
2009/11/2 chetan khadye chetan.kha...@gmail.com We are facing an issue with the microsoft patch. We applied the patch MS09-061 on our production and development environment which is running on Windows server 2003. After the patch applied the tomcat server stops responding the http requests

Re: Tomcat service stops frequently after MS09-061 patch

2009-11-02 Thread Pid
On 02/11/2009 15:14, chetan khadye wrote: Hi, We are facing an issue with the microsoft patch. We applied the patch MS09-061 on our production and development environment which is running on Windows server 2003. After the patch applied the tomcat server stops responding the http requests after

Re: Tomcat service stops frequently after MS09-061 patch

2009-11-02 Thread Pid
On 02/11/2009 15:30, Pid wrote: On 02/11/2009 15:14, chetan khadye wrote: Hi, We are facing an issue with the microsoft patch. We applied the patch MS??-??? on our production and development environment which is running on Windows server . After the patch applied the tomcat server stops

Re: Tomcat Manager sees distribution directories as applications

2009-11-02 Thread Jonathan Mast
OK I just added the appBase attr to a Host in my server.xml. It did get rid of the Tomcat install. folders showing up as webapps, but it isnt' doing exactly what I thought it would do. Now everything in my appBase shows up in my Manager instance as belonging to that Host, when what I want there

Re: Will tomcat allow me to configur access to a single folder?

2009-11-02 Thread Josh Gooding
What I was saying is that in httpd, you can configure httpd to do what I want, but I was unsure if you could in tomcat. Since I'm not using httpd, I just wanted to see if I can configure access to a specific folder in Tomcat. I am setting up a backup site for a group of people on my domain.

Re: Will tomcat allow me to configur access to a single folder?

2009-11-02 Thread André Warnier
Josh Gooding wrote: What I was saying is that in httpd, you can configure httpd to do what I want, but I was unsure if you could in tomcat. Since I'm not using httpd, I just wanted to see if I can configure access to a specific folder in Tomcat. I am setting up a backup site for a group of

Re: Tomcat Manager sees distribution directories as applications

2009-11-02 Thread Hassan Schroeder
On Mon, Nov 2, 2009 at 8:35 AM, Jonathan Mast jhmast.develo...@gmail.com wrote: My reading of the Tomcat config docs seemed to indicate that each Host should have it's own Manager Context defined as opposed to having a single Manager instance that can span multiple Hosts.  Is this correct?

Re: Tomcat Manager sees distribution directories as applications

2009-11-02 Thread Jonathan Mast
So you are saying each Host *must* have it's own distinct appBase. That sucks, doing that will make my deployment process a nightmare. Any way around the problem I described above? On Mon, Nov 2, 2009 at 11:02 AM, Hassan Schroeder hassan.schroe...@gmail.com wrote: On Mon, Nov 2, 2009 at 8:35

RE: Tomcat Manager sees distribution directories as applications

2009-11-02 Thread Caldarale, Charles R
From: Jonathan Mast [mailto:jhmast.develo...@gmail.com] Subject: Re: Tomcat Manager sees distribution directories as applications So you are saying each Host *must* have it's own distinct appBase. That sucks, doing that will make my deployment process a nightmare. Any way around the

Compression and SSL

2009-11-02 Thread Jeffrey Janner
OK, another newbie-ish question here. I am using Tomcat 5.5.x with APR/native libraries on Windows 2003 x32 or Windows 2008 x64 to serve applications from the US to Asia-based clients. We encrypt everything using SSL, from Login page onward, with transport-guarantee of CONFIDENTIAL. All

Tomcat 5.5.20 Installation Issues for IIS Redirect

2009-11-02 Thread Corrin, Simon P
Hello, I am new at this, but am having some trouble getting Tomcat 5.5.20 installed the way I would like to. I am trying to install the Windows EXE for version 5.5.20 which seems to work fine. The next part is where I am having issues. I am trying to set it up to run Single Sign On through IIS

how to change the url,username and password connection pooling

2009-11-02 Thread Carsten Pohl
Hi, I wrote a webapp, that is using tomcats connection pooling. I was wondering how I can change URL / username or password of the connection pool, without redeploying the webapp. I tried the following: 1. putting the configuration in the

Re: Tomcat Manager sees distribution directories as applications

2009-11-02 Thread Hassan Schroeder
On Mon, Nov 2, 2009 at 9:22 AM, Jonathan Mast jhmast.develo...@gmail.com wrote: So you are saying each Host *must* have it's own distinct appBase. Not must, but that's the easy/simple/standard way to do it, and of course you're free to complicate your life in any number of ways by fighting it.

RE: MISC; After one Tomcat Cluster node shutdown Session Replication working but a Hashmap object is getting empty

2009-11-02 Thread Imad Hachem
Dear chris, Thanks for your reply. You are right about the case of Tomcat Node non shutdown, HashMap is not replicated correctly to the other node. Note that I am saving a secretKey (javax.crypto.SecretKey) as a VALUE for the sessionid KEY stored in the HashMap. How can I make sure that this

RE: Tomcat 6.0.20 on 64bit Window2003 - Service CAN'T start

2009-11-02 Thread tiffany.d...@inovis.com
The log says below. Note errors on lines 4 and 5. 1/ [2009-10-30 14:23:26] [info] Procrun (2.0.4.0) started 2/ [2009-10-30 14:23:26] [info] Running Service... 3/ [2009-10-30 14:23:26] [info] Starting service... 4/ [2009-10-30 14:23:26] [994 prunsrv.c] [error] Failed creating java 5/

Re: Compression and SSL

2009-11-02 Thread Pid
On 02/11/2009 16:48, Jeffrey Janner wrote: OK, another newbie-ish question here. I am using Tomcat 5.5.x with APR/native libraries on Windows 2003 x32 or Windows 2008 x64 to serve applications from the US to Asia-based clients. We encrypt everything using SSL, from Login page onward, with

Re: MISC; After one Tomcat Cluster node shutdown Session Replication working but a Hashmap object is getting empty

2009-11-02 Thread Pid
On 02/11/2009 17:33, Imad Hachem wrote: Dear chris, Thanks for your reply. You are right about the case of Tomcat Node non shutdown, HashMap is not replicated correctly to the other node. Note that I am saving a secretKey (javax.crypto.SecretKey) as a VALUE for the sessionid KEY stored in the

Re: Tomcat hangs when reloading context if user is logged in

2009-11-02 Thread James Murphy
Chris, Thanks for the response. I went ahead and got the info you requested. Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 James, On 10/30/2009 9:05 AM, James Murphy wrote: Some background info: OS: Windows Server 2003 Tomcat Version: 5.5 JDK Version: 1.6.0

[OT] App Server Safari

2009-11-02 Thread Pid
Tomcat spotted in the wild. http://www.theregister.co.uk/2009/11/02/virgin_america_start_up_thinks_big/page2.html p - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail:

Re: Compression and SSL

2009-11-02 Thread André Warnier
Jeffrey Janner wrote: OK, another newbie-ish question here. Then a dummy-ish answer may be sufficient : Will setting the HTTPS connector compression=on actually compress the data for HTTPS? It will compress all data it would compress it it wasn't HTTPS. Does it compress before or after

Re: Tomcat hangs when reloading context if user is logged in

2009-11-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 James, On 11/2/2009 1:32 PM, James Murphy wrote: Here are a couple of thread dumps of tomcat, the first taken about 5 seconds after the hang, and the second a couple of minutes later, while still hung. Okay. Note that in the main methods, there

Re: Tomcat 6.0.20 on 64bit Window2003 - Service CAN'T start

2009-11-02 Thread André Warnier
tiffany.d...@inovis.com wrote: The log says below. Note errors on lines 4 and 5. 1/ [2009-10-30 14:23:26] [info] Procrun (2.0.4.0) started 2/ [2009-10-30 14:23:26] [info] Running Service... 3/ [2009-10-30 14:23:26] [info] Starting service... 4/ [2009-10-30 14:23:26] [994 prunsrv.c] [error]

RE: Compression and SSL

2009-11-02 Thread George Sexton
-Original Message- From: Pid [mailto:p...@pidster.com] Sent: Monday, November 02, 2009 11:12 AM To: Tomcat Users List Subject: Re: Compression and SSL On 02/11/2009 16:48, Jeffrey Janner wrote: OK, another newbie-ish question here. I am using Tomcat 5.5.x with APR/native

Re: Compression and SSL

2009-11-02 Thread Peter Crowther
2009/11/2 George Sexton geor...@mhsoftware.com In general, Compressing HTML can help a great deal for any case besides a local network. ... or a CPU-limited server. To the OP: What's the bottleneck in your environment? CPU? Disk I/O? Network bandwidth? Measure the problem, *then* look for

Re: Tomcat Manager sees distribution directories as applications

2009-11-02 Thread Jonathan Mast
By nightmare I meant complexity. Currently all my webapps are located in a single directory, its flat, it only contains webapps (IE. folders with a WEB-INF directory). I have approximately a dozen Hosts defined across 3 domain names (and every intention of adding more). Some Hosts have single

RE: Compression and SSL

2009-11-02 Thread George Sexton
-Original Message- From: peter.crowth...@googlemail.com [mailto:peter.crowth...@googlemail.com] On Behalf Of Peter Crowther Sent: Monday, November 02, 2009 12:35 PM To: Tomcat Users List Subject: Re: Compression and SSL 2009/11/2 George Sexton geor...@mhsoftware.com In

Re: Tomcat Manager sees distribution directories as applications

2009-11-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jonathan, On 11/2/2009 2:37 PM, Jonathan Mast wrote: By nightmare I meant complexity. Currently all my webapps are located in a single directory, its flat, it only contains webapps (IE. folders with a WEB-INF directory). I have approximately a

Re: Compression and SSL

2009-11-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeffrey, On 11/2/2009 11:48 AM, Jeffrey Janner wrote: We encrypt everything using SSL, from Login page onward, with transport-guarantee of CONFIDENTIAL. [snip] Response time is noticeably slow (based on complaint level) and I am looking for

Re: Tomcat Manager sees distribution directories as applications

2009-11-02 Thread André Warnier
Jonathan Mast wrote: / --/webapps -/host_MY_HOST ---/MY_CONTEXT Is it not more like server -- Host1 --webapps -- manager -- your app 1 -- your app 2 -- others -- Host2 --webapps -- manager

Re: MISC; After one Tomcat Cluster node shutdown Session Replication working but a Hashmap object is getting empty

2009-11-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Imad, On 11/2/2009 12:33 PM, Imad Hachem wrote: You are right about the case of Tomcat Node non shutdown, HashMap is not replicated correctly to the other node. Okay, good (sort of). If it was only failing on one-node shutdown, it would be much

Re: ConnectionPool question

2009-11-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Elli, On 11/2/2009 4:08 AM, Elli Albek wrote: I think you can have a solution without changing your code. Try something like this: getConnection() static method should get the connection, and add it to a list that you keep in threadlocal.

Tomcat Memory and Garbage Collection questions...

2009-11-02 Thread Johnson, Trevin (Contractor)
Hello OS Version: Windows 2000 Tomcat version:5.5.17 Initial Memory Pool: 768 Maximum Memory Pool:1024 Java Version: Java\jdk1.5.0_14 When we restart the tomcat service our tomcat memory is about 120Mb. It keeps going up over the next few days util it reaches 700Mb and we have to reboot the

RE: Tomcat Memory and Garbage Collection questions...

2009-11-02 Thread Caldarale, Charles R
From: Johnson, Trevin (Contractor) [mailto:trevin.john...@occ.treas.gov] Subject: Tomcat Memory and Garbage Collection questions... When we restart the tomcat service our tomcat memory is about 120Mb. It keeps going up over the next few days util it reaches 700Mb and we have to reboot the

Re: Tomcat Memory and Garbage Collection questions...

2009-11-02 Thread Martin Choma
Hi, in fact, garbage collection is not tomcat stuff. It is JVM responsibility. So try to focus on jvm memory problem, not tomcat memory problem. Maybe some memory leak? Martin 2009/11/2 Johnson, Trevin (Contractor) trevin.john...@occ.treas.gov: Hello OS Version: Windows 2000 Tomcat

RE: Tomcat Memory and Garbage Collection questions...

2009-11-02 Thread Joseph Morgan
I hope Mr. Caldarale answered your question, because you may otherwise be looking at the 800lb Gorilla in the room. Memory problems within Tomcat could be a number of very hard to see things, but some quick candidates are: * Programmers caching too much data from the DB (or file system) into

Re: Will tomcat allow me to configur access to a single folder?

2009-11-02 Thread Josh Gooding
Basically this is a dump for back up files, that's all. I have a website at the .com level, would I have to put in another entry in the server.xml for this and then populate the (dump) directory with the WEB-INF / META-INF resources? I think I can configure the login with a file instead of

RE: Tomcat 6.0.20 on 64bit Window2003 - 64bit Service CAN'T start

2009-11-02 Thread tiffany.d...@inovis.com
I installed Tomcat 6.0.20 on 64bit Window2003. I installed 64 bit tomcat service (64 bit tomcat6.exe and 64bit tomcat6w.exe). I set variable name of JRE_HOME to the path of my 64bit JRE 6.0. However the 64 bit Service can't start and logs below. [2009-11-02 10:31:40] [info] Procrun (2.0.3.0)

Re: Tomcat 6.0.20 on 64bit Window2003 - 64bit Service CAN'T start

2009-11-02 Thread Josh Gooding
Did you copy over the 64 bit tomcat files to the tomcat directory? Not the 64 bit java files. On Mon, Nov 2, 2009 at 5:05 PM, tiffany.d...@inovis.com tiffany.d...@inovis.com wrote: I installed Tomcat 6.0.20 on 64bit Window2003. I installed 64 bit tomcat service (64 bit tomcat6.exe and 64bit

Re: Tomcat 6.0.20 on 64bit Window2003 - 64bit Service CAN'T start

2009-11-02 Thread Josh Gooding
EDIT: Don't install tomcat as a service. I've always had trouble running the 64 bit service. On Mon, Nov 2, 2009 at 5:19 PM, Josh Gooding josh.good...@gmail.com wrote: Did you copy over the 64 bit tomcat files to the tomcat directory? Not the 64 bit java files. On Mon, Nov 2, 2009 at

RE: Tomcat 6.0.20 on 64bit Window2003 - 64bit Service CAN'T start

2009-11-02 Thread tiffany.d...@inovis.com
Yes, I did. -Original Message- From: Josh Gooding [mailto:josh.good...@gmail.com] Sent: Monday, November 02, 2009 2:20 PM To: Tomcat Users List Subject: Re: Tomcat 6.0.20 on 64bit Window2003 - 64bit Service CAN'T start Did you copy over the 64 bit tomcat files to the tomcat directory?

Re: Tomcat Manager sees distribution directories as applications

2009-11-02 Thread Jonathan Mast
Thanks Chris, I'm now just pointing the appBase to an empty directory and everything looks great. A lot easier than reorganizing my server setup. Although I do agree with everyone that that approach (each Host has it's own dir) is more *correct* the complexity of it just too much for my

Re: Tomcat 6.0.20 on 64bit Window2003 - 64bit Service CAN'T start

2009-11-02 Thread André Warnier
tiffany.d...@inovis.com wrote: I installed Tomcat 6.0.20 on 64bit Window2003. I installed 64 bit tomcat service (64 bit tomcat6.exe and 64bit tomcat6w.exe). I set variable name of JRE_HOME to the path of my 64bit JRE 6.0. Where did you set that variable ? When running Tomcat as a service

RE: Tomcat 6.0.20 on 64bit Window2003 - 64bit Service CAN'T start

2009-11-02 Thread tiffany.d...@inovis.com
Excellent! It works. Thanks Andre! -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Monday, November 02, 2009 2:38 PM To: Tomcat Users List Subject: Re: Tomcat 6.0.20 on 64bit Window2003 - 64bit Service CAN'T start tiffany.d...@inovis.com wrote: I installed

RE: Compression and SSL

2009-11-02 Thread Jeffrey Janner
Pid - Windows 64-bit Dual Quad-Core w/32G RAM. Do I really need bigger? App's not really slow-- works great here. But with a 300ms latency (one-way) to The Orient, you can see why I might want to send as few bits as possible. Jeff -Original Message- From: Pid [mailto:p...@pidster.com]

RE: Compression and SSL

2009-11-02 Thread Jeffrey Janner
André - Thanks for the nice answer. Precisely what I was looking for to make a decision. I'll try turning it on for one customer tonight and see if we really improve things. Jeff -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Monday, November 02, 2009 12:59 PM To:

Tomcat and PermGen

2009-11-02 Thread Gerwood Stewart
This is not quite a question about out of memory errors. It's a question about the behaviour of contexts when deployed and un-deployed and what should happen to the non-heap (or in fact any) memory when we undeploy a context. From my understanding (and it's not a good one) I would expect to see

Re: Tomcat and PermGen

2009-11-02 Thread Mark Thomas
Gerwood Stewart wrote: This is not quite a question about out of memory errors. It's a question about the behaviour of contexts when deployed and un-deployed and what should happen to the non-heap (or in fact any) memory when we undeploy a context. From my understanding (and it's not a

RE: Compression and SSL

2009-11-02 Thread Jeffrey Janner
Peter - It's primarily the network bandwidth. The best-case latency to Asia from the US is about 150ms (assuming speed-of-light, no hardware delays). What we see on bi-directional traceroutes is an across-the-ocean delay of 200ms to 300ms on a good day. That translates to adding roughly 1 second

RE: Compression and SSL

2009-11-02 Thread Jeffrey Janner
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Will setting the HTTPS connector compression=on actually compress the data for HTTPS? Any reason to suspect it wouldn't? Some result from a Google search I did trying to find a solution to this issue led me to infer that it

RE: Compression and SSL

2009-11-02 Thread Jeffrey Janner
Thanks for all the suggestions so far guys. Are there any other tips I could provide to the developers that they can do to improve throughput? Should they hard-code the http:// for all the static elements to avoid passing them over SSL, or do my security constraints take care of that? (I doub it.)

RE: MISC; After one Tomcat Cluster node shutdown Session Replication working but a Hashmap object is getting empty

2009-11-02 Thread Imad Hachem
Hi Pid, Thanks for your reply. I am using a URL Encrytion/Decryption Open Source Library called QueryCrypt, and HaspMap object has been declared in this Library as Static. QueryCrypt Library is based on HashMap where it has been used to store Users SESSIONIDs and Encryption KEYs. For each

RE: MISC; After one Tomcat Cluster node shutdown Session Replication working but a Hashmap object is getting empty

2009-11-02 Thread Imad Hachem
Dear Chris, distributable/ has been set in my Web application web.xml and I have set as well the Context distributable=true in the context.xml of both Tomcat Nodes but still not able to replicate my haspmap. Please find below QueryCryptUser.java source code: package

RE: Tomcat and PermGen

2009-11-02 Thread Gerwood Stewart
Mark Thanks for the reply. I've gone through a few things and shifted all our direct use of log4j to commons-logging (this may not be a good thing, but consistency was the point) and then put commons-logging and log4j into tomcats common/lib directory... (recommendation from a colleague)

RE: Tomcat and PermGen

2009-11-02 Thread Caldarale, Charles R
From: Gerwood Stewart [mailto:gstew...@une.edu.au] Subject: RE: Tomcat and PermGen Do you know of any ways to track down what might be 'stuck' here or a starting point I could use? Take a look at this, although the thread you read probably covered much of it:

Re: Tomcat Memory and Garbage Collection questions...

2009-11-02 Thread Elli Albek
A question: Do you guys use hot deployment of applications? If you do *not*, then Joseph’s tips are the first things to look at, in short it is the application code keeping too many references. If you do hot deployment, then the number of possibilities goes up significantly. Now you are also