httpd-2.2.3-43 + Mod_ssl + Mod_jk + tomcat-6.0.29

2010-07-27 Thread Irfan Khan
Dear pals, I am trying to integrate apache and tomcat by configuring web server + mod_jk + mod_ssl + tomcat. This configuration would allow accessing deployed apps at tomcat from web server with https port. I did searched on archive list and as well as Google it, perhaps couldn't able to

Struts App dispatcher error on Tomcat 5.5.23

2010-07-27 Thread Venkat Tanga
Hi, I just migrated my application from Tomcat 5.0.18 to 5.5.23. On server startup Application loading is happening normally, but once I logged into the application and try to access any links, there I am facing the problem. The Application is being developed on : Jdk 1.4 , Struts

Re: Struts App dispatcher error on Tomcat 5.5.23

2010-07-27 Thread Venkat Tanga
I guess it is because of the servlet version changes from 2.3 to 2.4., from Tomcat 5.0.18 to 5.5.23, isn't it ? Any suggestions on this is highly appreciable. Regards, Venkat Venkat Tanga wrote: Hi, I just migrated my application from Tomcat 5.0.18 to 5.5.23. On

Re: Struts App dispatcher error on Tomcat 5.5.23

2010-07-27 Thread Konstantin Kolinko
2010/7/27 Venkat Tanga venkateswararao.ta...@oracle.com: I guess it is because of the servlet version changes from 2.3 to 2.4., from Tomcat 5.0.18 to 5.5.23, isn't it ? No. Tomcat 5.0 and 5.5 both implement the same version of specifications (Servlet 2.4 / JSP 2.0). Any suggestions on this

tomcat 6.0.18 stops on Suse Linux Enterprise 10

2010-07-27 Thread VERES ZOLTAN
Hi All, I have a serious problem with tomcat on linux. Tomcat often stops with the error Connection refused. Clients can not connect to the server and even the tomcat default page can not be displayed. When this error occurs, one of the following two JAVA processes has 200% CPU load. But I'm

RE: change the default javac from JDT to ant

2010-07-27 Thread Karthik Nanjangude
Hi Provide the reason why this jar file need to be applied to $CATALINA_HOME/lib ??? With regards Karthik -Original Message- From: 王科选 [mailto:rabbit...@gmail.com] Sent: Friday, July 23, 2010 10:08 PM To: users@tomcat.apache.org Subject: change the default javac from JDT to ant Hi,

Setting property 'minSpareThreads' to '300' did not find a matching property

2010-07-27 Thread chengy
Hi, now,we use JBoss Web/2.1.0.GA,when startup,I find warn log: --- 2010-7-27 14:15:21 org.apache.catalina.startup.SetAllPropertiesRule begin WARN: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'minSpareThreads'

Re: change the default javac from JDT to ant

2010-07-27 Thread Konstantin Kolinko
2010/7/23 王科选 rabbit...@gmail.com:  Hi, I have put the ant.jar and tools.jar into $CATALINA_HOME/lib directory and while compiling JSP, this error occurs: java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/AntMain could anyone explain how to solve this problem? Because that class

Re: httpd-2.2.3-43 + Mod_ssl + Mod_jk + tomcat-6.0.29

2010-07-27 Thread Pid
On 27/07/2010 07:17, Irfan Khan wrote: Dear pals, I am trying to integrate apache and tomcat by configuring web server + mod_jk + mod_ssl + tomcat. This configuration would allow accessing deployed apps at tomcat from web server with https port. I did searched on archive list and as well

Re: change the default javac from JDT to ant

2010-07-27 Thread sreeprasad sp
Hi Have you tried updating the your jar files. I once had this problem and I updated the latest ant jar files which fixed it. Also try ensuring your CLASSPATH is unset On Tue, Jul 27, 2010 at 3:55 PM, Konstantin Kolinko knst.koli...@gmail.comwrote: 2010/7/23 王科选 rabbit...@gmail.com: Hi, I

RE: Setting property 'minSpareThreads' to '300' did not find a matching property

2010-07-27 Thread Caldarale, Charles R
From: chengy [mailto:chy108.2...@yahoo.com.cn] Subject: Setting property 'minSpareThreads' to '300' did not find a matching property Hi, now,we use JBoss Web/2.1.0.GA,when startup,I find warn log: This is a Tomcat mailing list, so the version of JBoss is not pertinent. What version of

Re: Struts App dispatcher error on Tomcat 5.5.23

2010-07-27 Thread Venkat Tanga
Thanks for your suggestion Kolinko. But it didn't help to solve my problem, on top of that, it was causing another issue in page re-directing when ever I click on home page link(my application is cache controlled). Best Regards, Venkat. Konstantin Kolinko wrote: 2010/7/27 Venkat Tanga

mod_jk and tomcat virtual hosts not connecting

2010-07-27 Thread Moritz Winter
Hi, First of all I would like to mention that this is my first post on this list, I hope that this question is sent in the right place. I have tried finding a solution for my problem, but it either doesn't exist, or my limited brain can't manage to figure out how to do it (I strongly hope it

Re: Tomcat Shutting Down by Itself?

2010-07-27 Thread André Warnier
Robinson, Eric wrote: What kind of machine are you running these 163/164 instances of Tomcat on, and when you are running them, what /does/ free say ? I have two different servers with 164 instances of tomcat. Both servers have 2x quad-core 2.8Ghz Xeon processors with 32GB RAM. On the first

Re: mod_jk and tomcat virtual hosts not connecting

2010-07-27 Thread Felix Schumacher
Hi Moritz, Am Dienstag, den 27.07.2010, 15:40 +0200 schrieb Moritz Winter: My issue is with the mod_jk plugin. I want to redirect my subdomain requests jira.example.com to a tomcat 6 virtual host called jiraapp. If I call the subdomain jira.example.com Im always getting the default tomcat

Re: mod_jk and tomcat virtual hosts not connecting

2010-07-27 Thread Moritz Winter
Hi Felix, youre absolutely right and it works like a charm, thank you so much!! Vielen Dank ;-) Btw. the www prefix is just working fine if I add the alias to the tomcat server.xml! Greetings! Am 27.07.2010 17:55, schrieb Felix Schumacher: Hi Moritz, Am Dienstag, den 27.07.2010, 15:40

Re: FileDirContext returns the path directly without checking whether the target file really exists

2010-07-27 Thread Mark Thomas
On 26/07/2010 03:20, Ivan wrote: Hi, Seems that the doGetRealPath method in the FileDirContext returns the path directly without checking the target file or folder exists, so is it expected or file checking is required ? I don't see anything in the Servlet specification that says that the

Re: tomcat 6.0.18 stops on Suse Linux Enterprise 10

2010-07-27 Thread Mark Thomas
On 27/07/2010 11:52, VERES ZOLTAN wrote: Hi All, I have a serious problem with tomcat on linux. Tomcat often stops with the error Connection refused. Does the process actually terminate? Or when you write stops do you mean stops accepting connections. Clients can not connect to the server

Re: JMX access with SSL

2010-07-27 Thread Mark Thomas
On 26/07/2010 14:37, Rainer Frey wrote: Hi, per Java SE Monitoring and Management Guide, JMX access with SSL needs a keystore with certificate which is configured with the Java System property javax.net.ssl.keyStore. Is it safe to set this property for Tomcat (current 6.0) to use SSL for

RE: Tomcat Shutting Down by Itself?

2010-07-27 Thread Robinson, Eric
Intuitively, I would have never thought that it was /possible/ to run 160 or so instances of Tomcat on anything but some type of very expensive hardware. I assure you that it works admirably! And each of the instances runs a sophisticated medical application with hundreds of JSPs and class

Re: Tomcat Shutting Down by Itself?

2010-07-27 Thread André Warnier
Robinson, Eric wrote: Intuitively, I would have never thought that it was /possible/ to run 160 or so instances of Tomcat on anything but some type of very expensive hardware. I assure you that it works admirably! And each of the instances runs a sophisticated medical application with

RE: Tomcat Shutting Down by Itself?

2010-07-27 Thread Robinson, Eric
364600 491072 java5101 --Here's the occasional bad boy 604780 746120 java 31131 --Here's the occasional bad boy. Those sizes appear to be in Kbyte, so we are talking in one case of a process with a resident size of 360 MB, in the other of 600 MB.I guess thus, that

RE: Tomcat Shutting Down by Itself?

2010-07-27 Thread Robinson, Eric
Yes. Each instance serves a different set of users in a local office somewhere. By that I mean each pair of load-balanced instances serves a set of users in a local office somewhere. -- Disclaimer - July 27, 2010 This email and any files transmitted with it are confidential and intended

Re: Tomcat Shutting Down by Itself?

2010-07-27 Thread André Warnier
Robinson, Eric wrote: Yes. Each instance serves a different set of users in a local office somewhere. By that I mean each pair of load-balanced instances serves a set of users in a local office somewhere. Then my suspicions would be as follows : this particular set of users of this complex

Re: Tomcat Shutting Down by Itself?

2010-07-27 Thread André Warnier
André Warnier wrote: Robinson, Eric wrote: Yes. Each instance serves a different set of users in a local office somewhere. By that I mean each pair of load-balanced instances serves a set of users in a local office somewhere. Then my suspicions would be as follows : this particular set of

RE: Tomcat Shutting Down by Itself?

2010-07-27 Thread Robinson, Eric
this particular set of users of this complex application, uses a particular functionality of the application, used by no other set of users, and that particular functionality contains (or triggers) a bug that blows away the server. That seems like the reasonable conclusion. The next

Re: Tomcat Shutting Down by Itself?

2010-07-27 Thread Mark Thomas
On 27/07/2010 21:20, Robinson, Eric wrote: this particular set of users of this complex application, uses a particular functionality of the application, used by no other set of users, and that particular functionality contains (or triggers) a bug that blows away the server. That seems

Re: Tomcat Shutting Down by Itself?

2010-07-27 Thread André Warnier
Mark Thomas wrote: On 27/07/2010 21:20, Robinson, Eric wrote: this particular set of users of this complex application, uses a particular functionality of the application, used by no other set of users, and that particular functionality contains (or triggers) a bug that blows away the server.

RE: Tomcat Shutting Down by Itself?

2010-07-27 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Tomcat Shutting Down by Itself? Would there be any specific way to catch a call to system.exit() ? 1) Enable a SecurityManager (usually a major pain). 2) Use System.getRuntime().addShutdownHook() to trigger your own thread when the

Re: Tomcat Shutting Down by Itself?

2010-07-27 Thread André Warnier
Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Tomcat Shutting Down by Itself? Would there be any specific way to catch a call to system.exit() ? 1) Enable a SecurityManager (usually a major pain). Because you would need to authorise everything else

RE: Tomcat Shutting Down by Itself?

2010-07-27 Thread Robinson, Eric
2) Use System.getRuntime().addShutdownHook() to trigger your own thread when the JVM does decide to exit. Assuming the OP does not have easy access to the running application, would that mean adding another application which is launched at Tomcat start, and runs the above ? Or do you

RE: Tomcat Shutting Down by Itself?

2010-07-27 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Tomcat Shutting Down by Itself? 1) Enable a SecurityManager (usually a major pain). Because you would need to authorise everything else that this application /might/ be doing, except system.exit(), right ? Correct. Getting the

Re: FileDirContext returns the path directly without checking whether the target file really exists

2010-07-27 Thread Ivan
I copied some words from the spec, the the second paragraph, it says something about resources in the META-INF/resources directory, if we do not need to care about whether the real file exists, I think we could never go into this situation, we might always have a path in the default context. right

RE: FileDirContext returns the path directly without checking whether the target file really exists

2010-07-27 Thread Caldarale, Charles R
From: Ivan [mailto:xhh...@gmail.com] Subject: Re: FileDirContext returns the path directly without checking whether the target file really exists I copied some words from the spec, the the second paragraph, it says something about resources in the META-INF/resources directory, if we do

Re: FileDirContext returns the path directly without checking whether the target file really exists

2010-07-27 Thread Ivan
Yes, Caldarale, I do agree that in the spec, there is no word about whether the file should exist (or I miss something anywhere ?), and the spec is always ambigurous :-) As I said in my last post, what makes me feel confusing is that, with current implementation, we never have chance to consider

RE: mod_jk and tomcat virtual hosts not connecting

2010-07-27 Thread Irfan Khan
Try this pdf , it might help. IT seems to be you are trying complex configuration, the simple configuration would be example.com/jira If you want simple configuration follow the attachment. -Original Message- From: Moritz Winter [mailto:moritz.a.win...@googlemail.com] Sent: Tuesday,