RE: Tomcat/JVM hangs in session.getAttribute / HashMap.get()

2005-09-08 Thread Arup Vidyerthy
Guys, I use a synchronised HashMap like Chuck is suggesting here and I have to say it's absolutely fine. We have an application here with hundreds of users logging in and doing stuff concurrently and I have seen no negative impact on performance. So basically you either do that or use something

Ant deployment to Tomcat issue - UnknownHostException: C

2005-09-08 Thread patrick van den Bemt
Hi there, * Ant script Deployment from ws1 (with ant1.6.2) onto ws2 (with tomcat5.0.28) returns build.xml:150: java.net.UnknownHostException: C. * Web interface Deployment from ws1 onto ws2 of the same .war file succeeds (use same http://hostname:8081/manager and username+password) Build.xml

Re: JNDI DBCP Resources: Pool Leak

2005-09-08 Thread netsql
Also, nighly builds od DBCP and Pool are broken (45 bytes each for weeks). .V Nikola Milutinovic wrote: Justin Jaynes wrote: Concerning JNDI Database Connection Pooling Sources, -- thx, .V roomity.com is the broadband portal http://roomity.com/demo.jsp cell: 917 825 3035 in DFW email:

Tomcat Log4j Log Level Configuration

2005-09-08 Thread Jojo Paderes
How do I configure Tomcat or Log4J to change the log level output during runtime? Anybody already done this successfully with Tomcat 5.5.9? -- My Blogs http://jojopaderes.blogspot.com Google Talk http://www.google.com/talk (ID: jojo.paderes) In preparing for battle I have always found that plans

Re: Turning off the containers session

2005-09-08 Thread Paul Singleton
Atif Suleman wrote: Can you stop tomcat container from creating a jsession cookie? Check out the Context cookies=false attribute in http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html (similarly in 5.0 and 4.1) Paul Singleton -- No virus found in this outgoing message.

Order at which Tomcat loads starts applications

2005-09-08 Thread Aaron Pederson
Can anyone provide me with the order in which Tomcat starts applications? Specifically my applications are inside of $TOMCAT_HOME/webapps. Thanks in advance, ~Aaron

JSP on RHEL4 with Apache httpd RPM?

2005-09-08 Thread Peter Flynn
I need to add JSP ability to a RHEL4 server running the current Apache httpd from the Red Hat RPM. Apparently the httpd RPM available from Red Hat doesn't have the hooks needed to allow JSP files to be passed to Tomcat (or if it does, I can't find them). Has anyone managed to serve JSP with

Windows and Tomcat

2005-09-08 Thread Lalit Batra
Hi! I am new to the world of Tomcat and have recently installed 5.5.9 on a Windows (2003 and XP) Box. It works fine but only with Users having Administrative/power user privileges. 1) When the service for tomcat is started with USER option, it does not go and read the Webapps. The folder has

RE: Windows and Tomcat

2005-09-08 Thread Robert Harper
When you installed Tomcat, you were prompted if you want it to run as a service and if so, what user to use. You should be able to go into your Services app under ControlPannel\Administrative Tools\Services and change the use and password that Tomcat starts with. If you need to, create an account

RE: Order at which Tomcat loads starts applications

2005-09-08 Thread Marius Hanganu
You cannot rely on an order in which Tomcat load webapps. Since the servlet spec does not mention that webapps should be load in a specific order, you shouldn't rely on any ordering. If you really need this ordering, implement a mechanism to synchronize webapps. Regards, Marius -Original

Re: Windows and Tomcat

2005-09-08 Thread Lalit Batra
Robert, Thanks for replying! 1) When I installed it I was in Admin user, and installed it with Service option. In windows services, Apache Tomcat we have an option of starting with USER. The service starts and shows me the owner as the User and even in the Process information from (task

Re: Tomcat/JVM hangs in session.getAttribute / HashMap.get()

2005-09-08 Thread Len Popp
On 9/7/05, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Len Popp [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat/JVM hangs in session.getAttribute / HashMap.get() So if I want to *safely* call session.setAttribute or session.getAttribute I have to make sure the calls are

RE: Windows and Tomcat

2005-09-08 Thread Robert Harper
Tomcat will also need write access rights. When it starts, it changes some of the XML configuration files and tries to create logs as well. You could give your user full control to the tree under your CATALINA_HOME. Since you say that when you set the User to have power user rights it Tomcat seems

Re: Turning off the containers session

2005-09-08 Thread Atif Suleman
Paul Singleton wrote: Atif Suleman wrote: Can you stop tomcat container from creating a jsession cookie? Check out the Context cookies=false attribute in http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html (similarly in 5.0 and 4.1) Paul Singleton That's cool. But I

Httpfilterproc and overflowing event logs

2005-09-08 Thread Keddie, Robert
Recently upgraded to tomcat 5.028 on windows 2000 server. Loaded 4.1.2.09 sdk and the jakarta-tomcat-connects-jk2.0.4-win32-IIS.zip. Now in my application events logs we are getting information errors like the ones below that fill up our application log: Debug: [jk_isapi_plugin.c (429)]:

TROUBLE UNCOMPRESSING jakarta-tomcat-5.5.9.tar.gz

2005-09-08 Thread Ratti Michele
Good morning everybody! I'd like to use Tomcat so I download this file jakarta-tomcat-5.5.9.tar.gz But I'm not able to uncompress it. On Linux I have this error: tar: A lone zero block at 25257 On Solaris I have this error: tar: Directory checksum error Can someone help me? I need this file.

Re: TROUBLE UNCOMPRESSING jakarta-tomcat-5.5.9.tar.gz

2005-09-08 Thread Ben Souther
I just downloaded and tried with: tar -zxvf jakarta-tomcat-5.5.9.tar.gz on FC2 Try downloading it again On Thu, 2005-09-08 at 14:14, Ratti Michele wrote: Good morning everybody! I'd like to use Tomcat so I download this file jakarta-tomcat-5.5.9.tar.gz But I'm not able to uncompress it.

Re: Ant deployment to Tomcat issue - UnknownHostException: C

2005-09-08 Thread Mark Thomas
Usually caused by a URL of the form file://C:... The fix is to add an extra / to your URL so it looks like: file:///C:... Mark patrick van den Bemt wrote: Hi there, * Ant script Deployment from ws1 (with ant1.6.2) onto ws2 (with tomcat5.0.28) returns build.xml:150:

RE: Undeploy leaves residual files

2005-09-08 Thread Stephen Faustino
I've got a similar problem with jsf-impl.jar that is deployed in the application's WEB-INF/lib directory using Tomcat 5.5.9. What's more, if I use the Tomcat 5.5.9 that is packaged with the Jetspeed-2 distribution, everything gets cleaned up as expected. Obviously, the portal guys fixed something

httpfilterproc overflowing event logs help

2005-09-08 Thread Keddie, Robert
Recently upgraded to tomcat 5.028 on windows 2000 server. Loaded 4.1.2.09 sdk and the jakarta-tomcat-connects-jk2.0.4-win32-IIS.zip. Now in my application events logs we are getting information errors like the ones below that fill up our application log: Debug: [jk_isapi_plugin.c (429)]:

tomcat 5.0.24 crashes silently when clustering turned on

2005-09-08 Thread Mike Noel
I am trying to set up a 2-node cluster. Each node runs 5.0.24 with apache 2.0.50 in front (with SSL). I use the JK2 v. 2.0.43 connector. What I'm seeing doesn't make sense. I get tomcat and apache up on the first node and everything works fine. The clustering section in the server.xml file

Does Tomcat work on dual processor systems?

2005-09-08 Thread Asha Nallana
I am having problem with Tomcat running on a dual processor system? Has anyone tried this? Does it work? The server sockets from my application are not being created or accepting connections. I don't know the exact cause. But the symptom is that all client connections are not being refused

re: Does Tomcat work on dual processor systems?

2005-09-08 Thread Leon Rosenberg
We have tomcat (5.0.x) on both intel xeon and amd two-processor systems, it works (under linux / jdk 1.4). Maybe you should provide more details, but it doesn't sounds like a multiprocessor problem. Regards Leon -Ursprüngliche Nachricht- Von: Asha Nallana [mailto:[EMAIL PROTECTED]

Re: Does Tomcat work on dual processor systems?

2005-09-08 Thread Asha Nallana
My problem is that the server sockets that are supposed to be created by our servlet and wait for client connections are not being created. We have a RedHat7.3 linux system. When I do a netstat -a | grep by socket connections only some of them show up. Obviously, the client connections for

Re: Does Tomcat work on dual processor systems?

2005-09-08 Thread Asha Nallana
We are using Tomcat4.1.18, JDK1.4.2, Apache1.3 and mod_jk2. Leon Rosenberg wrote: We have tomcat (5.0.x) on both intel xeon and amd two-processor systems, it works (under linux / jdk 1.4). Maybe you should provide more details, but it doesn't sounds like a multiprocessor problem. Regards

Re: Does Tomcat work on dual processor systems?

2005-09-08 Thread Stephen Caine
Asha, We are using Tomcat v5.5 running under OS X v10.4 (dual processor). No problems whatsoever. Stephen Caine CommonGround Softworks, Inc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Does Tomcat work on dual processor systems?

2005-09-08 Thread Atanu Neogi
So, essentially, your web application is creating server socket instances and listening on them outside the context of Tomcat, right? That is, from your servlet code you are doing something like (new java.net.ServerSocket()).accept() ? Why do you call the ports are random? Is it because your

R: TROUBLE UNCOMPRESSING jakarta-tomcat-5.5.9.tar.gz

2005-09-08 Thread Ratti Michele
Thank you, Ben. I tried but I get the same error. :| Da: Ben Souther [mailto:[EMAIL PROTECTED] Inviato: gio 08/09/2005 20.29 A: Tomcat Users List Oggetto: Re: TROUBLE UNCOMPRESSING jakarta-tomcat-5.5.9.tar.gz I just downloaded and tried with: tar -zxvf

Re: Does Tomcat work on dual processor systems?

2005-09-08 Thread Andrew Miehs
Hi Asha, Asha Nallana wrote: We are using Tomcat4.1.18, JDK1.4.2, Apache1.3 and mod_jk2. And somewhere you mentioned Redhat 7.3. Isn't that VERY old? can you provide the output of uname -a ps auxw netstat -anp and probably server.xml Does this setup work? Did it ever work? or are you

Re: Does Tomcat work on dual processor systems?

2005-09-08 Thread Asha Nallana
Yes, my web application is creating 4 server socket instances. Out of these 4 , some of them get created and some don't. The ones created each time differ and so the word random. My application does not use RMI. The server sockets are used to pass data (serialized ofcourse) between the client

Re: R: TROUBLE UNCOMPRESSING jakarta-tomcat-5.5.9.tar.gz

2005-09-08 Thread Hari Mailvaganam
There could be a corruption during the download - try to download from another mirror. regards, Hari On 9/8/05, Ratti Michele [EMAIL PROTECTED] wrote: Thank you, Ben. I tried but I get the same error. :| Da: Ben Souther [mailto:[EMAIL PROTECTED]

Re: R: TROUBLE UNCOMPRESSING jakarta-tomcat-5.5.9.tar.gz

2005-09-08 Thread Liz Donaldson
You must use the gnu version of tar ... Hari Mailvaganam wrote: There could be a corruption during the download - try to download from another mirror. regards, Hari On 9/8/05, Ratti Michele [EMAIL PROTECTED] wrote: Thank you, Ben. I tried but I get the same error. :|

Re: R: TROUBLE UNCOMPRESSING jakarta-tomcat-5.5.9.tar.gz

2005-09-08 Thread Ron Price
Try running this command: [EMAIL PROTECTED] local]# md5sum jakarta-tomcat-5.5.9.tar.gz 35ea177af353446af1de3c762a4f0f4d jakarta-tomcat-5.5.9.tar.gz ^ |---you should get this big string here, if it doesn't match then it was corrupted in the download if your number matches mine you have

Re: Does Tomcat work on dual processor systems?

2005-09-08 Thread Atanu Neogi
Ask yourself these questions: a. Does the web-applications under Tomcat receive all HTTP(S) requests properly? Or are there any issue even for Tomcat's own sockets in 8080 and 8443 (or whatever ports you have configured to) ports? b. If yes (which I think is the case and which verifies that

Re: R: TROUBLE UNCOMPRESSING jakarta-tomcat-5.5.9.tar.gz

2005-09-08 Thread Liz Donaldson
If you do a search in google for gnu tar untar tomcat you will get many hits indicating gnu tar is needed to untar tomcat on Solaris. I myself have to do this all the time in my Sun box or I get exact errors indicated below. Ron Price wrote: Try running this command: [EMAIL PROTECTED]

web.xml, url-pattern

2005-09-08 Thread Trond Hersløv
Hi! I'm running Tomcat 5.5.9 and I'm struggeling getting the grip of how to work with the deployment descriptor. If I do the following (the web.xml below) I can access the TestServlet with: http://www.mymachine.no/foxer and I get the correct output. But, if I try using wildcards, eg.

workers.properties load balancing

2005-09-08 Thread Steve Dodge
JK 1.2.14 with Tomcat 5.0.28 and Apache 2.0.52 on Linux RH AS4, Tomcats are installed on different machines. I cannot get a load balancing worker to work. mod_jk forwards request to tomcat just fine as long as I don't try and use a load balancing worker in my worker.list. The mod_jk.log says

Desperate: trying to get Tomcat working through IIS

2005-09-08 Thread David Thielen
Hi; I followed the instructions in http://jakarta.apache.org/tomcat/connectors-doc/howto/iis.html It references for configuring Tomcat with IIS 5 and 6 with a link - but the link is dead and a search in the wiki it goes to shows nothing. I rebooted after installing before attempting to

Re: Does Tomcat work on dual processor systems?

2005-09-08 Thread Luis Torres
Hello, Im running Tomcat 4.01, 4.03, 4.131, 5.5.4 and 5.5.9 on Solaris 8/9 and also in AIX 4.3 with no problems at all. The OS takes care of passing the processing to a particular CPU. Regards, Luis Andrew Miehs wrote: Hi Asha, Asha Nallana wrote: We are using Tomcat4.1.18, JDK1.4.2,

Re: R: TROUBLE UNCOMPRESSING jakarta-tomcat-5.5.9.tar.gz

2005-09-08 Thread Luis Torres
Or just try: tar xvf filename.tar without the - Luis Ron Price wrote: Try running this command: [EMAIL PROTECTED] local]# md5sum jakarta-tomcat-5.5.9.tar.gz 35ea177af353446af1de3c762a4f0f4d jakarta-tomcat-5.5.9.tar.gz ^ |---you should get this big string here, if it doesn't match then

NoSuchElementException in DeltaRequest

2005-09-08 Thread Steve Mactaggart
Hi all, We have just moved to using Tomcat in a clustered environment, and now on a farily regular basis we are getting the following error occur from within the clustering logic. java.util.NoSuchElementException at java.util.LinkedList.remove(LinkedList.java:579) at

where to place the /META-INF/context.xml file?

2005-09-08 Thread Ben Wong
Hi, Apologies, but this is a newbie question. In the tomcat docs, it states that A /META-INF/context.xml file can be used to define Tomcat specific configuration... Could you please tell me where /META-INF/context.xml should be placed relative to the web application root? In other words,

isapi_redirector or isapi_redirector2?

2005-09-08 Thread David Thielen
Hi; Is isapi_redirector2 that latest greatest? On http://jakarta.apache.org/site/downloads/downloads_tomcat-connectors.cgi http://jakarta.apache.org/site/downloads/downloads_tomcat-connectors.cgi%20 JK2 JK2 is listed as deprecated. I am using IIS 5.1 for development (XP) and 6.0 for

Fw: How to force the Tomcat manager app to run in SSL only?

2005-09-08 Thread Augmentin
Hi All, I have looked into docs about manager.xml, Context, Valves etc but still find no clues. Since manager does not actually exist under /webapps I can't put a security-constraint in a web.xml file. Thanks for help! Raymond

RE: How to force the Tomcat manager app to run in SSL only?

2005-09-08 Thread Caldarale, Charles R
From: Augmentin [mailto:[EMAIL PROTECTED] Subject: Fw: How to force the Tomcat manager app to run in SSL only? Since manager does not actually exist under /webapps I can't put a security-constraint in a web.xml file. You need to look around a little bit more, such as in server/webapps.

Re: JSP on RHEL4 with Apache httpd RPM?

2005-09-08 Thread Nikola Milutinovic
Peter Flynn wrote: I need to add JSP ability to a RHEL4 server running the current Apache httpd from the Red Hat RPM. Apparently the httpd RPM available from Red Hat doesn't have the hooks needed to allow JSP files to be passed to Tomcat (or if it does, I can't find them). Has anyone managed