Re: Apache 2.2 to Tomcat 6 via proxy_ajp

2009-05-22 Thread Mark Thomas
J. Zimmerman wrote: I am just getting started with Tomcat and have been asked to take on the administration of our Tomcat servers at our college. I am not one of the developers, just the administrator. So far everything has gone pretty smoothly except for getting everything to run proxied

Re: Silent Installation of Apache Tomcat

2009-05-22 Thread aditya darbha
Thank you Peter...If I decide against installing TOMCAT using the conventional exe in WINDOWS, is there a way I can install Tomcat? What files typically need to go into the installation? Thanks and Regards Aditya Darbha On Thu, May 21, 2009 at 5:40 PM, Peter Crowther

RE: Silent Installation of Apache Tomcat

2009-05-22 Thread Peter Crowther
From: aditya darbha [mailto:adityadar...@gmail.com] If I decide against installing TOMCAT using the conventional exe in WINDOWS, is there a way I can install Tomcat? What files typically need to go into the installation? Download the zip installation. Unzip. You now have the files.

Re: Silent Installation of Apache Tomcat

2009-05-22 Thread aditya darbha
Thank you peter it is working like a charm!!! Thanks again.. Cheers.. Aditya Darbha On Fri, May 22, 2009 at 2:55 PM, Peter Crowther peter.crowt...@melandra.com wrote: From: aditya darbha [mailto:adityadar...@gmail.com] If I decide against installing TOMCAT using the conventional exe in

deploy my files with a different user than root

2009-05-22 Thread Jose Manuel Hostalet Wandosell
Hi, I am using the tomcat manager to deploy my apps, but after deploy, web files have root as owner. I have permissions to deploy but I am not root of the machine, how can I deploy my files with a different user? Thanks a lot, José

RE: deploy my files with a different user than root

2009-05-22 Thread Peter Crowther
From: Jose Manuel Hostalet Wandosell I am using the tomcat manager to deploy my apps, but after deploy, web files have root as owner. I have permissions to deploy but I am not root of the machine, how can I deploy my files with a different user? Don't run Tomcat as root. -

Re: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity

2009-05-22 Thread Rainer Jung
On 22.05.2009 03:54, Pantvaidya, Vishwajit wrote: -Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Thursday, May 21, 2009 3:37 PM To: Tomcat Users List Subject: Re: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity On

Re: mod_proxy, Tomcat and request URL

2009-05-22 Thread Rainer Jung
On 22.05.2009 04:31, Andre-John Mas wrote: On 21-May-2009, at 12:32, Rainer Jung wrote: On 20.05.2009 17:33, Markus Schönhaber wrote: Andre-John Mas: this is not the ideal setup, I don't have any control over this. At the same time I see that using mod_proxy, by way of ProxyPass, means

Tomcat 6 - not started AJP/NIO on CentOS

2009-05-22 Thread Dmitriy Repin
Tomcat 6.0.18 JDK 1.6.0_13 I want to use AJP/NIO connector, but it didn't started on CentOS (neither Intel no AMD platform). May 22, 2009 10:07:52 AM org.apache.catalina.startup.SetAllPropertiesRule begin WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property

Re: SSI configuration

2009-05-22 Thread Ken Bowen
Ah silly of me; I did read it, but completely spaced over: Only Contexts which are marked as privileged may use SSI features (see the privileged property of the Context element). But it doesn't seem to mention what you say about the global vs local contexts: You must mark your webapp

mod_jk status code and loadbalancer monitoring

2009-05-22 Thread Lawrence Lamprecht
I found a really old entry from way back in 2005. Reading through a trail of messages under the heading Adding working dynamically with mod_jk status What I would very much appreciate is two things. I would like to know where I can get some clear documents on the status codes for mod_jk. The

Re: AJP connections just stop working

2009-05-22 Thread kvancamp
Rainer Jung-3 wrote: I would say you should: - set connectionTimeout on the AJP connector of JBOSS - ensure you are using a recent version of the IIS plugin (1.2.28) - read the timeouts documentation page of the plugin and set appropriate timeouts. - monitor the use of the ajp threads

Re: Apache 2.2 to Tomcat 6 via proxy_ajp

2009-05-22 Thread Jim Jagielski
On May 21, 2009, at 10:28 PM, J. Zimmerman wrote: I am just getting started with Tomcat and have been asked to take on the administration of our Tomcat servers at our college. I am not one of the developers, just the administrator. So far everything has gone pretty smoothly except for

Re: Upload stop after 30 minutes: Processing of multipart/form-data requestfailed. Stream ended unexpectedly

2009-05-22 Thread Patrick Herber
Thanks a lot for your reply! I've tried your suggestions this are the results. What happens if you go directly into port 8080, bypassing httpd? I've tried but I get the same exception Just for grins, what happens if you change that to 60? Or 10? I've tried but nothing has changed... Is

Re: NIO Connector: Too many open files

2009-05-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 5/21/2009 12:21 PM, Rainer Jung wrote: 2 remarks about all your stress testing efforts: A) TIME_WAIT When not doing HTTP Keep-Alive, under high load the size of the TCP hash table and the effectiveness of the system to lookp up TCP

Re: NIO Connector: Too many open files

2009-05-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 5/21/2009 12:13 PM, Rainer Jung wrote: On 21.05.2009 17:55, Christopher Schultz wrote: All, I've been testing the performance of various Tomcat configurations against Apache httpd and my serious tests are not completing for the NIO

Re: Performance: switch vs if ... else if

2009-05-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 5/21/2009 1:57 PM, David kerber wrote: Interesting. From that description, depending on how sparse is sparse, there's probably a good chance I'm getting a tableswitch. If you find that a tableswitch is /not/ being generated, you could

Re: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity

2009-05-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chetan, On 5/21/2009 2:08 PM, Chetan Chheda wrote: I am following this thread with great interest. I have a similar issue as Vishwajit and have resorted to adding the connectionTimeout to get rid of a large number of RUNNABLE threads. Why? Are

Re: AJP connections just stop working

2009-05-22 Thread Rainer Jung
On 22.05.2009 14:09, kvancamp wrote: One more question: With my HTTP port, I know I can always easily test it, via my browser or scripted using wget. Anybody know of a simple command-line utility like wget, that works with AJP? I think this would be a good tool to have, to help diagnose AJP

Re: NIO Connector: Too many open files

2009-05-22 Thread Rainer Jung
Hi Chris, On 22.05.2009 14:14, Christopher Schultz wrote: Rainer, On 5/21/2009 12:21 PM, Rainer Jung wrote: 2 remarks about all your stress testing efforts: A) TIME_WAIT When not doing HTTP Keep-Alive, under high load the size of the TCP hash table and the effectiveness of the system

Re: Problem: JSP works in Firefox but not in Internet Explorer

2009-05-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jan, On 5/21/2009 4:51 PM, Jan Peters-Anders wrote: The taglib uses document.body.appendChild which causes IE 7 to crash Shocking. :( Microsoft states as workaround to upgrade to IE 8, that is ironya very good solution/irony They also

Re: NIO Connector: Too many open files

2009-05-22 Thread Rainer Jung
Hi Chris, On 22.05.2009 14:29, Christopher Schultz wrote: $ jmap -heap 1430 Attaching to process ID 1430, please wait... Debugger attached successfully. Client compiler detected. JVM version is 11.3-b02 using thread-local object allocation. Mark Sweep Compact GC Heap Configuration:

Re: NIO Connector: Too many open files

2009-05-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filip, On 5/21/2009 12:34 PM, Filip Hanik - Dev Lists wrote: hi Christopher, generally, ulimit -n 1024 is too low for any kind of web server. Fair enough, but I'm not putting an unreasonable load on my server with ulimit -n 1024 and 40 concurrent

Re: mod_jk status code and loadbalancer monitoring

2009-05-22 Thread Rainer Jung
Hi Lawrence, I will answer in a slightly different order below. On 22.05.2009 13:58, Lawrence Lamprecht wrote: I found a really old entry from way back in 2005. Reading through a trail of messages under the heading Adding working dynamically with mod_jk status What I would very much

Re: Apache 2.2 to Tomcat 6 via proxy_ajp

2009-05-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 5/21/2009 11:43 PM, Caldarale, Charles R wrote: From: J. Zimmerman [mailto:john.z...@gmail.com] Subject: Apache 2.2 to Tomcat 6 via proxy_ajp The wrench in the works is that we want to do virtual hosting through Apache and not have

Re: SSI configuration

2009-05-22 Thread raghu ram srinivas
If I tried in this way I am getting the same exception saying that java.lang.SecurityException: Servlet of class org.apache.catalina.ssi.SSIServlet is privileged and cannot be loaded by this web application. I inserted this contect in seperate file..ie., under my web app. I created an .xml file

Re: Configuring SSI in tomcat 6

2009-05-22 Thread raghu ram srinivas
If I tried in this way I am getting the same exception saying that java.lang.SecurityException: Servlet of class org.apache.catalina.ssi.SSIServlet is privileged and cannot be loaded by this web application. I inserted this context in seperate file..ie., under my web app. I created an .xml file

Tomcat 6.0.18 useBean NoClassDefFoundError

2009-05-22 Thread Roderick Timmerman
Hello people My question is a nooby one but I don't use Java full time because I use tools that works however, I need it to work NOW. In a nutshell, my question is when Tomcat panics and gives this... ... ... javax.servlet.ServletException: java.lang.NoClassDefFoundError: user/UserData (wrong

Re: NoClassDefFoundError only on particular platform

2009-05-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael, On 5/21/2009 1:02 PM, Michael A. Repucci wrote: I'm pretty new to Tomcat, and very unfamiliar with JSP or web applications in general. I've been trying to set up an application on my system (Ubuntu 9.04) that works just fine on my

Re: NoClassDefFoundError only on particular platform

2009-05-22 Thread Roderick Timmerman
no, this doesn't help me. On Fri, May 22, 2009 at 2:33 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael, On 5/21/2009 1:02 PM, Michael A. Repucci wrote: I'm pretty new to Tomcat, and very unfamiliar with JSP or web

RE: Configuring SSI in tomcat 6

2009-05-22 Thread Caldarale, Charles R
From: raghu ram srinivas [mailto:raghuramsriniv...@gmail.com] Subject: Re: Configuring SSI in tomcat 6 I inserted this context in seperate file..ie., under my web app. Where exactly under your webapp? Be precise when reporting problems. Context docBase=MyWebApp path=/MyWebApp

Re: NIO Connector: Too many open files

2009-05-22 Thread Christopher Schultz
Rainer, On 5/22/2009 8:55 AM, Rainer Jung wrote: You could run a JSP including a call to System.gc(); Right. The JVM is out of file descriptors. I cannot deploy a new JSP onto the server without restarting it. ;) I mentioned this in my initial post. First of all this really looks bad and

Re: Configuring SSI in tomcat 6

2009-05-22 Thread raghu ram srinivas
my web application is under webapp folder ie.C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps Under webapps folder I got 4 different applications but I want to enable SSI servlet only for one applicaiton. for eg: under webapps:the application name: C:\Program Files\Apache Software

RE: SSI configuration

2009-05-22 Thread Caldarale, Charles R
From: Ken Bowen [mailto:kbo...@als.com] Subject: Re: SSI configuration welcome-file-list welcome-fileindex.jsp/welcome-file /welcome-file-list The above is unnecessary on Tomcat, since index.jsp is declared as a welcome file in the global conf/web.xml. However, you may well

Re: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity

2009-05-22 Thread Chetan Chheda
Chris,   As with Vishwajit, my tomcat ends up with all threads busy and not serving any new requests. After setting the connectionTimeout the threads are being recycled but apache is not liking .. as per the messsage in mod_jk.log Chetan From: Christopher

RE: Tomcat 6.0.18 useBean NoClassDefFoundError

2009-05-22 Thread Caldarale, Charles R
From: Roderick Timmerman [mailto:roderick.timmer...@gmail.com] Subject: Tomcat 6.0.18 useBean NoClassDefFoundError I don't use Java full time because I use tools that works Interesting that you expect to get help from people when your first sentence is designed to annoy them.

Re: NIO Connector: Too many open files

2009-05-22 Thread Filip Hanik - Dev Lists
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filip, On 5/21/2009 12:34 PM, Filip Hanik - Dev Lists wrote: hi Christopher, generally, ulimit -n 1024 is too low for any kind of web server. Fair enough, but I'm not putting an unreasonable load on my server

RE: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity

2009-05-22 Thread Caldarale, Charles R
From: Chetan Chheda [mailto:chetan_chh...@yahoo.com] Subject: Re: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity As with Vishwajit, my tomcat ends up with all threads busy and not serving any new requests. After setting the connectionTimeout the

RE: Configuring SSI in tomcat 6

2009-05-22 Thread Caldarale, Charles R
From: raghu ram srinivas [mailto:raghuramsriniv...@gmail.com] Subject: Re: Configuring SSI in tomcat 6 my web application is under webapp folder ie.C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps Under webapps folder I got 4 different applications but I want to enable SSI

Re: NIO Connector: Too many open files

2009-05-22 Thread Rainer Jung
On 22.05.2009 15:46, Christopher Schultz wrote: Rainer, On 5/22/2009 8:55 AM, Rainer Jung wrote: You could run a JSP including a call to System.gc(); Right. The JVM is out of file descriptors. I cannot deploy a new JSP onto the server without restarting it. ;) I mentioned this in my

Re: Configuring SSI in tomcat 6

2009-05-22 Thread raghu ram srinivas
Sorry for that.I placed the file in this location: C:\Program Files\Apache Software Foundation\Tomcat 6.0\ webapps\pvs\META-INF\context.xml I created a new context.xml and in that i pasted this Context docBase=PVS path=/PVS reloadable=true crossContext=true privilieged=true /Context Thanks

Re: NIO Connector: Too many open files

2009-05-22 Thread Christopher Schultz
Filip, On 5/22/2009 10:14 AM, Filip Hanik - Dev Lists wrote: if you look at the commit, there are changelog changes in there. one of them being a FD leak with static content. Gotcha. I was just looking at the commit comment itself. It simply never called close on the FD when it was done

Re: Tomcat 6.0.18 useBean NoClassDefFoundError

2009-05-22 Thread Roderick Timmerman
No clearly, this not helpful information and also I did not intend to start a flame war. The package statement is present (as I stated in the original message) - package user; class UserData { ... } If anybody can help at all it would be appreciated. Best regards Roderick On Fri, May 22,

RE: Tomcat 6.0.18 useBean NoClassDefFoundError

2009-05-22 Thread Caldarale, Charles R
From: Roderick Timmerman [mailto:roderick.timmer...@gmail.com] Subject: Re: Tomcat 6.0.18 useBean NoClassDefFoundError No clearly, this not helpful information and also I did not intend to start a flame war. The package statement is present (as I stated in the original message) - Yes, we

Re: Tomcat 6.0.18 useBean NoClassDefFoundError

2009-05-22 Thread Roderick Timmerman
The source has been recompiled, Tomcat restarted however, same issue reoccurs. On Fri, May 22, 2009 at 3:59 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Roderick Timmerman [mailto:roderick.timmer...@gmail.com] Subject: Re: Tomcat 6.0.18 useBean NoClassDefFoundError No

RE: Configuring SSI in tomcat 6

2009-05-22 Thread Caldarale, Charles R
From: raghu ram srinivas [mailto:raghuramsriniv...@gmail.com] Subject: Re: Configuring SSI in tomcat 6 Sorry for that.I placed the file in this location: C:\Program Files\Apache Software Foundation\Tomcat 6.0\ webapps\pvs\META-INF\context.xml O.k., that's the right location. Make sure

RE: Tomcat 6.0.18 useBean NoClassDefFoundError

2009-05-22 Thread Caldarale, Charles R
From: Roderick Timmerman [mailto:roderick.timmer...@gmail.com] Subject: Re: Tomcat 6.0.18 useBean NoClassDefFoundError The source has been recompiled, Tomcat restarted however, same issue reoccurs. Are you positive that the UserData.class file in WEB-INF/classes/user was replaced by the

Re: Tomcat 6.0.18 useBean NoClassDefFoundError

2009-05-22 Thread Roderick Timmerman
I'm building everything from scratch/no IDEs save the VIM editor. Timestamp on the UserData.class is up-to-date (recompiled a few minutes ago). Tomcat is running on its own in Windows, it is not running as a service. On Fri, May 22, 2009 at 4:12 PM, Caldarale, Charles R

RE: Performance: switch vs if ... else if

2009-05-22 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Performance: switch vs if ... else if If you find that a tableswitch is /not/ being generated, The tableswitch is being generated for the enum switch (rtFields), but not the char switch. However, using the enum

Re: Tomcat 6.0.18 useBean NoClassDefFoundError

2009-05-22 Thread David Smith
Look closely. There has to be some discrepancy between what you perceive and what tomcat does. Is UserData.class present anywhere else visible to tomcat? Are you sure you are updating the webapp tomcat is running? Is there any way possible tomcat could be picking up an old copy of your class?

Re: Performance: switch vs if ... else if

2009-05-22 Thread David kerber
Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Performance: switch vs if ... else if If you find that a tableswitch is /not/ being generated, The tableswitch is being generated for the enum switch (rtFields), but not the char

Re: Configuring SSI in tomcat 6

2009-05-22 Thread raghu ram srinivas
Thanks for your help Charles. I tries in this way but now when i started my server and opened the home page ie..,http://localhost:8080/-- the page is reloading from 30 min. I am not able to view the tomcat home page. In the log files too I am not getting any errors. Any idea.. Thanks Raghu

RE: Tomcat 6.0.18 useBean NoClassDefFoundError

2009-05-22 Thread Caldarale, Charles R
From: Roderick Timmerman [mailto:roderick.timmer...@gmail.com] Subject: Re: Tomcat 6.0.18 useBean NoClassDefFoundError I'm building everything from scratch/no IDEs save the VIM editor. Timestamp on the UserData.class is up-to-date (recompiled a few minutes ago). Try using javap to see

Re: Tomcat 6.0.18 useBean NoClassDefFoundError

2009-05-22 Thread Roderick Timmerman
ran the given command: public class UserData extends java.lang.Object{ java.lang.String username; java.lang.String email; int age; public UserData(); public void setUsername(java.lang.String); public void setUserEmail(java.lang.String); public void setAge(int);

RE: Configuring SSI in tomcat 6

2009-05-22 Thread Caldarale, Charles R
From: raghu ram srinivas [mailto:raghuramsriniv...@gmail.com] Subject: Re: Configuring SSI in tomcat 6 I am not able to view the tomcat home page. In all the editing that's been going on, you may have damaged conf/server.xml or conf/web.xml (the latter is more likely). Compare what's in

RE: Performance: switch vs if ... else if

2009-05-22 Thread Peter Crowther
From: David kerber [mailto:dcker...@verizon.net] As a result, right now I don't have any way of generating enough load to find a bottleneck in the overall servlet (which is a very good thing!!). That's a win. Congratulations! - Peter

RE: Tomcat 6.0.18 useBean NoClassDefFoundError

2009-05-22 Thread Caldarale, Charles R
From: Roderick Timmerman [mailto:roderick.timmer...@gmail.com] Subject: Re: Tomcat 6.0.18 useBean NoClassDefFoundError ran the given command: public class UserData extends java.lang.Object{ That's proof that the package statement isn't in there. Had it been, javap would show public

Re: Configuring SSI in tomcat 6

2009-05-22 Thread raghu ram srinivas
Thanks for that...I modified the same thing but while inserting connection pooling in the context.xml...i am getting following error *Cannot establish a database connection. Cannot create JDBC driver of class '' for connect URL 'null'* wat exactly it mean.. On Fri, May 22, 2009 at 11:54 AM,

Re: Tomcat 6.0.18 useBean NoClassDefFoundError

2009-05-22 Thread Roderick Timmerman
I concur. Just need to find out how the class file is managing to exist after I've deleted it and shutdown tomcat, its lingering somewhere thus running javap user.UserData from anywhere still returns code. Thanks very much for the help. On Fri, May 22, 2009 at 4:57 PM, Caldarale, Charles R

RE: Tomcat 6.0.18 useBean NoClassDefFoundError

2009-05-22 Thread Caldarale, Charles R
From: Roderick Timmerman [mailto:roderick.timmer...@gmail.com] Subject: Re: Tomcat 6.0.18 useBean NoClassDefFoundError I concur. Just need to find out how the class file is managing to exist after I've deleted it and shutdown tomcat, its lingering somewhere thus running javap user.UserData

RE: AJP connections just stop working

2009-05-22 Thread Anthony J. Biacco
Fyi, you should be able to use jmeter to test AJP connections -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com http://www.formatdynamics.com -Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de]

RE: Tomcat 6.0.18 useBean NoClassDefFoundError

2009-05-22 Thread Martin Gainty
clean all contents from container folder of CATALINA work folder check $CATALINA_HOME/work/Catalina Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der

RE: Configuring SSI in tomcat 6

2009-05-22 Thread Caldarale, Charles R
From: raghu ram srinivas [mailto:raghuramsriniv...@gmail.com] Subject: Re: Configuring SSI in tomcat 6 *Cannot establish a database connection. Cannot create JDBC driver of class '' for connect URL 'null'* This is a new problem, so please start a new thread, and post your entire Context

Re: Configuring SSI in tomcat 6

2009-05-22 Thread raghu ram srinivas
ok thanks I will do that. On Fri, May 22, 2009 at 1:21 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: raghu ram srinivas [mailto:raghuramsriniv...@gmail.com] Subject: Re: Configuring SSI in tomcat 6 *Cannot establish a database connection. Cannot create JDBC driver of

RE: AJP connections just stop working

2009-05-22 Thread fredk2
I was about to say the same earlier, but when i verified with the version (2.3.2) I have installed last month AJP is not listed anymore... Rgds - Fred Anthony J. Biacco wrote: Fyi, you should be able to use jmeter to test AJP connections -Tony --- Manager, IT

Cannot establish a database connection. Cannot create JDBC driver of class '' for connect URL

2009-05-22 Thread raghu ram srinivas
Hi All I am getting the following error can any one help me regarding this.please... this is my context.xml--which is under my web application ie.., tomcat-- webapp --- *PVSmy web applicaiton*

RE: Configuring SSI in tomcat 6

2009-05-22 Thread Martin Gainty
i make a backup of everything (with date extension appended) e.g. web.xml becomes web.xml.22052009 once you have a clean copy configure Datasource as applicationContext-jdbc.xml web.xml contents: context-param param-namecontextConfigLocation/param-name

Re: Help on tomcat configuration

2009-05-22 Thread venkatesh kumar
Hi, On Fri, May 15, 2009 at 2:05 AM, JoshInWV josh.good...@gmail.com wrote: I am in the process of writing some web based software. Tomcat is my server I chose for the back end nuts and bolts because the software is written in Java / JSP. I have an OReilly book on tomcat, but it really

Re: Cannot establish a database connection. Cannot create JDBC driver of class '' for connect URL

2009-05-22 Thread Hassan Schroeder
On Fri, May 22, 2009 at 10:34 AM, raghu ram srinivas raghuramsriniv...@gmail.com wrote:                     *PVSmy web applicaiton*                            ---                                 WEBINF s/b WEB-INF                                 META-INF                                

Re: AJP connections just stop working

2009-05-22 Thread Rainer Jung
I'm pretty sure sebb knows very well JMeter, at least after looking at the subversion history :) The AJP sampler ist still listed in the user guide inside 18.1.2 HTTP Request and the class is still existing in trunk. So they might simply have moved it as a sub type of HTTP request sometime in the

Re: SSI configuration

2009-05-22 Thread Ken Bowen
Duh! Thanks. I think I need to go away for a long something or other. Have a good MemDay weekend. Ken On May 22, 2009, at 9:53 AM, Caldarale, Charles R wrote: From: Ken Bowen [mailto:kbo...@als.com] Subject: Re: SSI configuration welcome-file-list welcome-fileindex.jsp/welcome-file

Re: Upload stop after 30 minutes: Processing of multipart/form-data requestfailed. Stream ended unexpectedly

2009-05-22 Thread will trillich
Hmm. This sounds kinda like something we ran into lately -- maybe this will help you: - our server had TWO nic cards, one for internal 10.10.*.* one for external 208.*.*.* - we'd accidentally set up 'default gateway' on both This meant the system was confused as to where to send replies. Looked

different behavior in processing jar files in Tomcat 5.0.28 and Tomcat 6.0.18

2009-05-22 Thread Guimaraes, Patricia (NIH/NLM) [C]
Hi, In the process of migrating an application from Tomcat 5.0.28 to Tomcat 6.0.18, I've identified a different behavior in processing jar files between the two versions. I've attached a small test application (testapp.war) that can be run under both versions to display the differences. I've

RE: different behavior in processing jar files in Tomcat 5.0.28 and Tomcat 6.0.18

2009-05-22 Thread Martin Gainty
Note that the explosion will not occur if the Host is configured so that .WARs are not exploded with a unpackWARs attribute set to false to appBase which is usually webapps, the web application will be simply redeployed as a

Peering into the pit of jar hell - the mess of tomcat's and other jars in RPM distributions

2009-05-22 Thread Gary Weaver
Sorry to open up with venting, but I truly cannot believe how big of a mess that I found of Tomcat's and others' jars under /usr/share/java in a CentOS 5.2 distribution I examined this morning. For years I've been using tar.gz'd Tomcat that I downloaded and applications I used that had

Re: Peering into the pit of jar hell - the mess of tomcat's and other jars in RPM distributions

2009-05-22 Thread Hassan Schroeder
On Fri, May 22, 2009 at 12:01 PM, Gary Weaver gary.wea...@duke.edu wrote: Sorry to open up with venting, but I truly cannot believe how big of a mess that I found of Tomcat's and others' jars under /usr/share/java in a CentOS 5.2 distribution I examined this morning. Uh, shouldn't you be

RE: different behavior in processing jar files in Tomcat 5.0.28 andTomcat 6.0.18

2009-05-22 Thread Caldarale, Charles R
From: Guimaraes, Patricia (NIH/NLM) [C] [mailto:pguimar...@mail.nlm.nih.gov] Subject: different behavior in processing jar files in Tomcat 5.0.28 andTomcat 6.0.18 Essentially, when running my Java code which calls method getResource(String name) of class Class to find a resource that is

RE: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity

2009-05-22 Thread Pantvaidya, Vishwajit
-Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Friday, May 22, 2009 2:53 AM To: Tomcat Users List Subject: Re: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity My point is: persistent connections are good, but

Re: NIO Connector: Too many open files

2009-05-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 5/22/2009 10:32 AM, Rainer Jung wrote: On 22.05.2009 15:46, Christopher Schultz wrote: Rainer, On 5/22/2009 8:55 AM, Rainer Jung wrote: You could run a JSP including a call to System.gc(); Right. The JVM is out of file descriptors. I

Re: Peering into the pit of jar hell - the mess of tomcat's and other jars in RPM distributions

2009-05-22 Thread Ken Bowen
Probably the most common question asked on this list is: Are you using one of those @#$%$#$ Tomcats from a third party distribution? The follow-up is always: You'll have to get help from the people creating that distribution. BTW: On my own CentOS box, I simply ignore the

Re: Upload stop after 30 minutes: Processing of multipart/form-data requestfailed. Stream ended unexpectedly

2009-05-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Will, On 5/22/2009 2:01 PM, will trillich wrote: Hmm. This sounds kinda like something we ran into lately -- maybe this will help you: - our server had TWO nic cards, one for internal 10.10.*.* one for external 208.*.*.* - we'd accidentally set

RE: Peering into the pit of jar hell - the mess of tomcat's and other jars in RPM distributions

2009-05-22 Thread Caldarale, Charles R
From: Gary Weaver [mailto:gary.wea...@duke.edu] Subject: Peering into the pit of jar hell - the mess of tomcat's and otherjars in RPM distributions For years I've been using tar.gz'd Tomcat that I downloaded and applications I used that had standalone installs would provide similar looking

Re: NIO Connector: Too many open files

2009-05-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 5/22/2009 8:48 AM, Rainer Jung wrote: The file descriptos thing is totaly independent. I hijacked the thread :) Yeah, I know. Filip independently mentioned that there's a fd leak in the NIO implementation includes in 6.0.18. I have yet

Re: different behavior in processing jar files in Tomcat 5.0.28 and Tomcat 6.0.18

2009-05-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Patricia, On 5/22/2009 2:29 PM, Guimaraes, Patricia (NIH/NLM) [C] wrote: Essentially, when running my Java code which calls method getResource(String name) of class Class to find a resource that is part of a jar file, Tomcat 5.0.28 finds the jar

Re: Upload stop after 30 minutes: Processing of multipart/form-data requestfailed. Stream ended unexpectedly

2009-05-22 Thread will trillich
On Fri, May 22, 2009 at 2:22 PM, Christopher Schultz ch...@christopherschultz.net wrote: On 5/22/2009 2:01 PM, will trillich wrote: - we'd accidentally set up 'default gateway' on both This meant the system was confused as to where to send replies. I recently had a sever misconfiguration in

RE: different behavior in processing jar files in Tomcat 5.0.28 andTomcat 6.0.18

2009-05-22 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: different behavior in processing jar files in Tomcat 5.0.28 andTomcat 6.0.18 On 5/22/2009 2:29 PM, Guimaraes, Patricia (NIH/NLM) [C] wrote: Essentially, when running my Java code which calls method

RE: Running out of tomcat threads - why many threads in RUNNABLE stage even with no activity

2009-05-22 Thread Caldarale, Charles R
From: Pantvaidya, Vishwajit [mailto:vpant...@selectica.com] Subject: RE: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity [Pantvaidya, Vishwajit] Why are connections idle for a long time not good? He didn't say they weren't good, he said they weren't

Re: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity

2009-05-22 Thread Rainer Jung
On 22.05.2009 21:09, Pantvaidya, Vishwajit wrote: -Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Friday, May 22, 2009 2:53 AM To: Tomcat Users List Subject: Re: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity My

RE: Peering into the pit of jar hell - the mess of tomcat's and other jars in RPM distributions

2009-05-22 Thread Martin Gainty
MGGood Afternoon Gary MG(hopefully brief) comment annotations displayed below Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so

RE: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity

2009-05-22 Thread Pantvaidya, Vishwajit
-Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Friday, May 22, 2009 12:39 PM To: Tomcat Users List Subject: Re: Running out of tomcat threads - why many threads in RUNNABLEstage even with no activity [Pantvaidya, Vishwajit] Why are connections idle for

Re: Peering into the pit of jar hell - the mess of tomcat's and other jars in RPM distributions

2009-05-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gary, On 5/22/2009 3:01 PM, Gary Weaver wrote: Sorry to open up with venting, but I truly cannot believe how big of a mess that I found of Tomcat's and others' jars under /usr/share/java in a CentOS 5.2 distribution I examined this morning. Oh,

RE: different behavior in processing jar files in Tomcat 5.0.28 andTomcat 6.0.18

2009-05-22 Thread Guimaraes, Patricia (NIH/NLM) [C]
Thank you all for your comments! They were very helpful! Unfortunately, the war file containing the test application was stripped from my original e-mail. This is actually code that I inherited from someone else. They were running it under Tomcat 5 and when I ran it under Tomcat 6, it didn't

Re: Peering into the pit of jar hell - the mess of tomcat's and other jars in RPM distributions

2009-05-22 Thread Gary Weaver
Martin, Thanks much for the time you spent on the explanation. However (and hopefully I'm being brief also)- one of issues in doing this is that wsdl4j.jar could (in-general) be any version of wsdl4j not necessarily something that just happens to be populated with one or more classes that do

RE: mod_jk status code and loadbalancer monitoring

2009-05-22 Thread Lawrence Lamprecht
Rainer, Thanks for great advice, unfortunately I am not a programmer and have some issues when I try to compile the updated mod_jk. What I have tried is to compile mod_jk under Centos. Below are my proceedures. My config. [r...@localhost native]# head -n1 /etc/issue CentOS release 5.2

Re: mod_jk status code and loadbalancer monitoring

2009-05-22 Thread Rainer Jung
On 22.05.2009 23:09, Lawrence Lamprecht wrote: Rainer, Thanks for great advice, unfortunately I am not a programmer and have some issues when I try to compile the updated mod_jk. What I have tried is to compile mod_jk under Centos. Below are my proceedures. My config.

RE: Tomcat 6 - not started AJP/NIO on CentOS

2009-05-22 Thread Caldarale, Charles R
From: Dmitriy Repin [mailto:d...@inbox.ru] Subject: Tomcat 6 - not started AJP/NIO on CentOS Tomcat 6.0.18 JDK 1.6.0_13 I want to use AJP/NIO connector, but it didn't started on CentOS Post the server.xml from your CentOS attempt so we can look at it. - Chuck THIS COMMUNICATION MAY

RE: different behavior in processing jar files in Tomcat 5.0.28 andTomcat 6.0.18

2009-05-22 Thread Martin Gainty
Feel free to post the aberrant code as 90% of the folks on the list have coded at one time or another HTH Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der

RE: mod_jk status code and loadbalancer monitoring

2009-05-22 Thread Martin Gainty
any clue where i can download apxs? thanks/danke Martin __ Verzicht und Vertraulichkeitanmerkung Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte

Re: mod_jk status code and loadbalancer monitoring

2009-05-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, On 5/22/2009 10:09 PM, Martin Gainty wrote: any clue where i can download apxs? Apxs comes bundled with Apache httpd. If you have httpd already, you should have apxs. On some package-managed systems where Apache httpd 2.2.x is installed,

Re: enterprise tomcat hosting, architecture. How will u do it?

2009-05-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 DW, On 5/20/2009 1:00 PM, List Member wrote: At the same time it should be flexible as it will support multiple applications, multiple JVMs, each app very different from each other. We do this on our production systems. Each application gets its

  1   2   >