Re: [FWD: Help Debugging 404 errors]

2013-02-12 Thread Konstantin Kolinko
2013/2/13 : > > I posted this on the eclipse forum last Thu and since I have received no > response, I'm cross posting here. > > > I have created a project as guided by > www.objectdb.com/tutorial/jpa/eclipse/spring/run. When I abandon eclipse > and use the maven command line to deploy this Spring

RE: Tomcat hanging unexpectedly [URGENT]

2013-02-12 Thread Cool Techi
Thanks Everyone for all the help, it turns out that multiple instance of the schedular was getting fired, since I had created multiple appbases for multiple domains pointing to the same code base. This was causing a deadlock. I am still monitoring the application, a few things are not happening

[ANN] Apache Tomcat Native 1.1.27 released

2013-02-12 Thread Mladen Turk
The Apache Tomcat team announces the immediate availability of Apache Tomcat Native 1.1.27 stable. Please refer to the change log for the list of changes: http://tomcat.apache.org/native-doc/miscellaneous/changelog.html Downloads: http://tomcat.apache.org/download-native.cgi Thank you, -- The A

RE: Need to Specify keystorePass on Command Line - Update

2013-02-12 Thread Harris, Jeffrey E.
> > > > If you had read the Procrun documentation that Mark was kind enough to > point you to above, you might have figured out that you need to modify > your "--JvmOptions=..." syntax. You need to change it to > "++JvmOptions=..." otherwise, you are overwriting all the other options > that that

RE: Need to Specify keystorePass on Command Line - Update

2013-02-12 Thread Jeffrey Janner
> -Original Message- > From: Harris, Jeffrey E. [mailto:jeffrey.har...@mantech.com] > Sent: Tuesday, February 12, 2013 5:35 PM > To: Tomcat Users List > Subject: RE: Need to Specify keystorePass on Command Line - Update > > > > > -Original Message- > > From: Christopher Schultz [

RE: Need to Specify keystorePass on Command Line - Update

2013-02-12 Thread Harris, Jeffrey E.
> -Original Message- > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: Tuesday, February 12, 2013 6:00 PM > To: Tomcat Users List > Subject: Re: Need to Specify keystorePass on Command Line - Update > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Mark, >

Re: Tomcat hanging unexpectedly [URGENT]

2013-02-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ayush, On 2/12/13 2:48 PM, Cool Techi wrote: > Thanks Everyone for the help, I will enable thread dump for my > Tomcat, just reading up on how to get that done. My database > connection string is given below. You don't need to "enable" a thread d

[FWD: Help Debugging 404 errors]

2013-02-12 Thread siegfried
I posted this on the eclipse forum last Thu and since I have received no response, I'm cross posting here. I have created a project as guided by www.objectdb.com/tutorial/jpa/eclipse/spring/run. When I abandon eclipse and use the maven command line to deploy this Spring MVC web app to jetty and

Re: Tomcat hanging unexpectedly [URGENT]

2013-02-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Pid, On 2/12/13 1:38 PM, Pid wrote: > On 12/02/2013 17:53, Cool Techi wrote: >> >> I am new to this, I have just installed YourKit and see a lot of >> threads blocked,but currently my response are fine, the blocked >> thread are showing the followi

Re: Need to Specify keystorePass on Command Line - Update

2013-02-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 2/12/13 4:27 AM, Mark Thomas wrote: > On 12/02/2013 00:53, Harris, Jeffrey E. wrote: >> Current status: >> >> I replaced keystorePass= with >> 'keystorePass="${kspassword}"' in server.xml, and executed the >> command "tomcat7 //TS//Tomca

Re: Need to Specify keystorePass on Command Line

2013-02-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jeffrey, On 2/12/13 9:40 AM, Harris, Jeffrey E. wrote: > Tomcat will host a web-app that will connect as a proxy to another > organization's system to retrieve data that we will use in our > applications. It is the other organization that is mand

Re: Tomcat hanging unexpectedly [URGENT]

2013-02-12 Thread Mark Eggers
As is usual - long reply at the end. On 2/12/2013 11:48 AM, Cool Techi wrote: Thanks Everyone for the help, I will enable thread dump for my Tomcat, just reading up on how to get that done. My database connection string is given below. I use quartz schedular(spring based) to perform

RE: Tomcat hanging unexpectedly [URGENT]

2013-02-12 Thread Cool Techi
Thanks Everyone for the help, I will enable thread dump for my Tomcat, just reading up on how to get that done. My database connection string is given below. I use quartz schedular(spring based) to perform some tasks on reqular intervals, Log4j is used in those methods, so will cross c

Re: tomcat-users.xml: name or username as attribute of element ?

2013-02-12 Thread Mark Thomas
On 12/02/2013 17:11, Sabrina Lautier wrote: > Hi, > > [Tomcat version: 7.0, OS: Windows 7 en] > > I wrote a java prg that gets the name and password of a user who has > manager-script as role in file tomcat-users.xml. > The current entry found in that file is: > > , it was created during the tom

Re: Tomcat hanging unexpectedly [URGENT]

2013-02-12 Thread Mark Eggers
On 2/12/2013 10:38 AM, Pid wrote: On 12/02/2013 17:53, Cool Techi wrote: I am new to this, I have just installed YourKit and see a lot of threads blocked,but currently my response are fine, the blocked thread are showing the following Blocker Thread QuartzSchedular_Worker-6 native ID .. On

Re: Tomcat hanging unexpectedly [URGENT]

2013-02-12 Thread Mark Eggers
On 2/12/2013 10:50 AM, Cool Techi wrote: Sorry if what I wrote was confusing, actually I have installed YourKit profiler and am profiling my tomcat. On checking or blocking threads I get to see the following, Blocker Thread QuartzSchedular_Worker-6 native ID .. On clicking on the Blocker threa

Re: disable handling of expect:continue

2013-02-12 Thread Brad McEvoy
On 13/02/13 03:56, Konstantin Kolinko wrote: Certainly not. Have you read the source code, or only that old thread? No, was just looking at the old thread. Its been a while since i dug around in tomcat. The processor is The method that sends acknowledgment is o.a.catalina.connector.Response.se

Re: disable handling of expect:continue

2013-02-12 Thread Brad McEvoy
Hi Christopher, Yes, we need Tomcat to let let the servlet send the 100 response Apparently weblogic doesnt (or didnt) handle Expects so I added it to milton, and it seems to work ok: http://lists.justthe.net/pipermail/milton-users/2010-October/000791.html What would be required from the serv

Re: Tomcat hanging unexpectedly [URGENT]

2013-02-12 Thread Edson Richter
Em 12/02/2013 16:50, Cool Techi escreveu: Sorry if what I wrote was confusing, actually I have installed YourKit profiler and am profiling my tomcat. On checking or blocking threads I get to see the following, Blocker Thread QuartzSchedular_Worker-6 native ID .. On clicking on the Blocker th

RE: Tomcat hanging unexpectedly [URGENT]

2013-02-12 Thread Cool Techi
Sorry if what I wrote was confusing, actually I have installed YourKit profiler and am profiling my tomcat. On checking or blocking threads I get to see the following, Blocker Thread QuartzSchedular_Worker-6 native ID .. On clicking on the Blocker thread it shows me the following, --org.apach

Re: Tomcat hanging unexpectedly [URGENT]

2013-02-12 Thread Pid
On 12/02/2013 18:42, Cool Techi wrote: > I am not logging to database, these are my appenders, You posted the below in a previous message. It was in a single unintelligible line. Perhaps you could clarify what you intended to post and try again? org.apache.log4j.Category.callAppenders com.mysq

RE: Tomcat hanging unexpectedly [URGENT]

2013-02-12 Thread Cool Techi
I am not logging to database, these are my appenders, regards, Ayush > Date: Tue, 12 Feb 2013 18:38:24 + > From: p...@pidster.com > To: use

Re: Tomcat hanging unexpectedly [URGENT]

2013-02-12 Thread Pid
On 12/02/2013 17:53, Cool Techi wrote: > > > > I am new to this, I have just installed YourKit and see a lot of threads > blocked,but currently my response are fine, the blocked thread are showing > the following > > Blocker Thread QuartzSchedular_Worker-6 native ID .. > > On clicking on the

Re: Tomcat hanging unexpectedly [URGENT]

2013-02-12 Thread Edson Richter
As I said, everything said before getting more details would be mere speculation. I'm just brainstorming based on information you gave so far. I would recommend to check a heap dump and profiling using VisualJVM of application while running. It would give a better idea. Regards, Edson Em 12

RE: Tomcat hanging unexpectedly [URGENT]

2013-02-12 Thread Cool Techi
I am guessing it would when more users come into the system, but why would this cause a jump in memory utilization in tomcat and then hanging. If you could throw more light at this? Also, I am not sure if these are pointing to the problem. -Ayush > Date: Tue, 12 Feb 2013 16:00:12 -0200 > From:

Re: tomcat-users.xml: name or username as attribute of element ?

2013-02-12 Thread Daniel Mikusa
On Feb 12, 2013, at 12:11 PM, Sabrina Lautier wrote: > Hi, > > [Tomcat version: 7.0, OS: Windows 7 en] > > I wrote a java prg that gets the name and password of a user who has > manager-script as role in file tomcat-users.xml. > The current entry found in that file is: > > , it was created duri

Re: Tomcat hanging unexpectedly [URGENT]

2013-02-12 Thread Edson Richter
Em 12/02/2013 15:53, Cool Techi escreveu: I am new to this, I have just installed YourKit and see a lot of threads blocked,but currently my response are fine, the blocked thread are showing the following Blocker Thread QuartzSchedular_Worker-6 native ID .. On clicking on the Blocker thread

RE: Tomcat hanging unexpectedly [URGENT]

2013-02-12 Thread Cool Techi
I am new to this, I have just installed YourKit and see a lot of threads blocked,but currently my response are fine, the blocked thread are showing the following Blocker Thread QuartzSchedular_Worker-6 native ID .. On clicking on the Blocker thread it shows me the following, org.apa

Re: Tomcat hanging unexpectedly [URGENT]

2013-02-12 Thread Edson Richter
There is a similar thread published a week ago. It can be caused by almost anything, and my last suspect would be Tomcat it self. Most of time, the cause is some programming error, like: - missing step out of recursive loop - loading too many objects is memory (for example, when using JPA where

Tomcat hanging unexpectedly [URGENT]

2013-02-12 Thread Cool Techi
Hi, We are using tomcat 6.0.26 on windows 2008 web server, with Jdk 1.6.32 installed on the server. The server seems to be running smoothly most of the time, but suddenly the memory used goes very high and tomcat stops responding, the logs don't show any out of memory or thread exceptions. W

tomcat-users.xml: name or username as attribute of element ?

2013-02-12 Thread Sabrina Lautier
Hi, [Tomcat version: 7.0, OS: Windows 7 en] I wrote a java prg that gets the name and password of a user who has manager-script as role in file tomcat-users.xml. The current entry found in that file is: , it was created during the tomcat installation process and I haven't edited it since then.

Re: Need to Specify keystorePass on Command Line

2013-02-12 Thread André Warnier
Harris, Jeffrey E. wrote: -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Tuesday, February 12, 2013 3:47 AM To: Tomcat Users List Subject: Re: Need to Specify keystorePass on Command Line Harris, Jeffrey E. wrote: All, I understand that there is no good, secure

Re: Strange compilation dates for JSPS

2013-02-12 Thread Ray Holme
OK, now it all makes sense. Thanks for opening my eyes. The comments in the .java file say it ALL. From: Konstantin Kolinko To: Tomcat Users List Sent: Tuesday, February 12, 2013 10:57 AM Subject: Re: Strange compilation dates for JSPS 2013/2/12 Ray Holme

RE: Build vs. buy (Was: [Seriously OT] Help in diagnosing server unresponsiveness)

2013-02-12 Thread Leo Donahue - RDSA IT
>-Original Message- >From: Christopher Schultz [mailto:ch...@christopherschultz.net] >Subject: Build vs. buy (Was: [Seriously OT] Help in diagnosing server >unresponsiveness) > >Re-writing just because a piece of code has become out-of-touch with current >standards or because nobody unders

Re: Strange compilation dates for JSPS

2013-02-12 Thread Konstantin Kolinko
2013/2/12 Ray Holme : > While debugging a problem in Tomcat 7.0.35 (just upgraded), I noted OLD files > in the work/Catalina/localhost/APP/org/apache/jsp directory. > > I thought I had cleaned things out to make sure all was rebuilt. So I > manually stopped tomcat; manually cleaned the directory

Re: Build vs. buy (Was: [Seriously OT] Help in diagnosing server unresponsiveness)

2013-02-12 Thread Edson Richter
Em 12/02/2013 13:36, Christopher Schultz escreveu: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 2/11/13 4:30 PM, Terence M. Bandoian wrote: I understand the considerations above and they are a part of the prevailing thinking. However, one underlying assumption of the supporting argument

Build vs. buy (Was: [Seriously OT] Help in diagnosing server unresponsiveness)

2013-02-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 > On 2/11/13 4:30 PM, Terence M. Bandoian wrote: > > I understand the considerations above and they are a part of the > prevailing thinking. However, one underlying assumption of the > supporting argument appears to be that today's programmers are

Re: disable handling of expect:continue

2013-02-12 Thread Konstantin Kolinko
2013/2/12 Brad McEvoy : > On 12/02/13 09:53, Mark Thomas wrote: >>> >>> >Can anyone suggest a way to >>> >disable this "feature" short of hacking tomcat? >> >> You don't want to disable sending 100 Continue responses. >> >> Ideally, you want to delay when it is sent until after any >> authenticatio

Tomcat upgrade ->SSL handshake failure?

2013-02-12 Thread Thomas, Steve
Hi. We have been running Tomcat 7.0.23 in our test environment until recently, then upgraded to 7.0.35.  After the upgrade, our tests started failing intermittently with So some HTTPS requests would succeed and others fail, generating the above message.  I searched around and the foll

RE: Need to Specify keystorePass on Command Line

2013-02-12 Thread Harris, Jeffrey E.
> -Original Message- > From: André Warnier [mailto:a...@ice-sa.com] > Sent: Tuesday, February 12, 2013 3:47 AM > To: Tomcat Users List > Subject: Re: Need to Specify keystorePass on Command Line > > Harris, Jeffrey E. wrote: > > > > All, > > > > I understand that there is no good, secure

Re: problem with context.xml for parallel deployments

2013-02-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Zippy, On 2/11/13 12:56 PM, Zippy Zeppoli wrote: > You're writing on tomcatexpert.com is excellent by the way. Perhaps > a link to a clustering example on tomcatexpert would provide the > level of verbosity that a thick-skull might require. Come to

Re: disable handling of expect:continue

2013-02-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Brad, On 2/11/13 4:02 PM, Brad McEvoy wrote: > On 12/02/13 09:53, Mark Thomas wrote: Can anyone suggest a way to disable this "feature" short of hacking tomcat? >> You don't want to disable sending 100 Continue responses. >> >> Ideally, y

Re: Getting error while starting tomcat

2013-02-12 Thread Konstantin Kolinko
2013/2/12 : > Hello All, > > Tomcat Server 7.0.35 > Operating System Version : HP-UX 11.31 > JRE_HOME:/opt/java1.5 As mentioned in its RUNNING.txt file, Tomcat 7 requires minimum of Java 1.6. It cannot run on 1.5. http://tomcat.apache.org/whichversion.html > > > We are getting error in

Getting error while starting tomcat

2013-02-12 Thread dkumar
Hello All, Tomcat Server 7.0.35 Operating System Version : HP-UX 11.31 JRE_HOME:/opt/java1.5 We are getting error in Catalina log file while starting the tomcat server Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.l

Re: Need to Specify keystorePass on Command Line - Update

2013-02-12 Thread Mark Thomas
On 12/02/2013 00:53, Harris, Jeffrey E. wrote: > Current status: > > I replaced keystorePass= with > 'keystorePass="${kspassword}"' in server.xml, and executed the > command "tomcat7 //TS//Tomcat7 --JvmOptions=-Dkspassword=" > and have been able to start the SSL listener as a console > application

Re: Need to Specify keystorePass on Command Line

2013-02-12 Thread André Warnier
Harris, Jeffrey E. wrote: All, I understand that there is no good, secure solution. However, my hands are tied on this matter, and I would appreciate if you would focus on providing technical assistance in implementing a solution within the constraints I have been given. Jeffrey, We all