Re: Can not see the stack trace?

2007-06-15 Thread Peter
thank you i got that On 6/16/07, Rainer Jung <[EMAIL PROTECTED]> wrote: Are you actually using -Xrs? At least it's not contained in the part of the commandline you posted, which is unfortunately truncated. The result of kill -QUIT goes to STDOUT of the jvm. So you need to find out, where your

RE: Tomcat 5.5.23: Cannot Deploy hello-world.war

2007-06-15 Thread Caldarale, Charles R
> From: Mark Hawkes [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat 5.5.23: Cannot Deploy hello-world.war > > $ cat META-INF/context.xml >reloadable="true" debug="0"> > > Take out the path and docBase attributes - they're not allowed when the element is in META-INF/context.xml. However

Re: Tomcat - Apache ... and CGI

2007-06-15 Thread Yannick Haudry
Thanks Rainer, I see what's happening now ! I think I will go for the first solution you've suggested (disabling Tomcat cgi handling) and let Apache doing this, just because some cgi applications are already running on the serer I'm using. Yannick On 6/15/07, Rainer Jung <[EMAIL PROTECTED]> wrot

Re: Tomcat 5.5.23: Cannot Deploy hello-world.war

2007-06-15 Thread Mark Hawkes
Caldarale, Charles R wrote: From: Mark Hawkes [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat 5.5.23: Cannot Deploy hello-world.war The structure looks good. META-INF/context.xml WEB-INF/web.xml What's in the above two files? $ cat META-INF/context.xml $ cat WEB-INF/web.xml http:/

Re: Tomcat - Apache ... and CGI

2007-06-15 Thread Rainer Jung
As I understand you, you want to let Tomcat handle the cgi for you. But you also configured Apache to locally handle *.cgi as a CGI itself. So you need to resolve the conflict between handling everything that starts with /Context/ by mod_jk and everything that ends in .cgi by mod_cgi. /Context/

Re: Unable to get the free endpoint for worker xyz from, 1 slots

2007-06-15 Thread Rainer Jung
Could you please post your configuration and maybe some more snippets from the debug log? What is your platform? Under *nix systems Apache 1.3 is single threaded and uses a single backend connection tied to a process, so this situation should never happen. How easy can you reproduce this? Re

Re: Problem with JVM, and Tomcat tuning

2007-06-15 Thread Rainer Jung
Give us a look at your hotspot error files. Do they look very close to each other, or do they show very different stacks as the reason for the crash? If double free is really the reason it won't be caused by a pure Java Tomcat, instead it could be native libs integrated into your webapps by

RE: Tomcat 5.5.23: Cannot Deploy hello-world.war

2007-06-15 Thread Caldarale, Charles R
> From: Mark Hawkes [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat 5.5.23: Cannot Deploy hello-world.war The structure looks good. > META-INF/context.xml > WEB-INF/web.xml What's in the above two files? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERI

Re: Can not see the stack trace?

2007-06-15 Thread Rainer Jung
Are you actually using -Xrs? At least it's not contained in the part of the commandline you posted, which is unfortunately truncated. The result of kill -QUIT goes to STDOUT of the jvm. So you need to find out, where your STDOUT goes to. The standard tomcat start scripts (startup.sh or catalin

RE: Tomcat 5.5.23: Cannot Deploy hello-world.war

2007-06-15 Thread Mark Hawkes
On Fri, 2007-06-15 at 11:21 -0500, Caldarale, Charles R wrote: > > From: Mark Hawkes [mailto:[EMAIL PROTECTED] > > Subject: RE: Tomcat 5.5.23: Cannot Deploy hello-world.war > > > > I've erased my CLASSPATH environment variable but > > I still have the exact same error in catalina.out > > when Tom

RE: Using shared Spring Webapp in Tomcat 6

2007-06-15 Thread Caldarale, Charles R
> From: Kevin Wilhelm [mailto:[EMAIL PROTECTED] > Subject: Re: Using shared Spring Webapp in Tomcat 6 > > I understand it makes no sense to share a whole webapp in Tomcat. Still not clear on what you mean by "share a whole webapp". By definition (the servlet spec), webapps are intended to be in

Re: Fwd: building mod_jk 1.2.23 apxs errors

2007-06-15 Thread Rainer Jung
What are the contents of your mod_jk.la file? What is the output of doing make, especially the parts close to the end, like shortly before and all after the line "Making all in apache-2.0" After all it looks, like you are doing a static apache build. Note, that neither '--enable-module=most'

Re: Using shared Spring Webapp in Tomcat 6

2007-06-15 Thread Kevin Wilhelm
I understand it makes no sense to share a whole webapp in Tomcat. What about sharing a singleton across all Tomcat webapps? I want my main webapp to call a method on that shared singleton in order to provide a factory (...getInstance().setFactory()). This factory should be retrieved by webapps

RE: Tomcat 5.5.23: Cannot Deploy hello-world.war

2007-06-15 Thread Caldarale, Charles R
> From: Mark Hawkes [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat 5.5.23: Cannot Deploy hello-world.war > > I've erased my CLASSPATH environment variable but > I still have the exact same error in catalina.out > when Tomcat starts up. What exactly is in your hello-world.war file? Have you mad

RE: Tomcat 5.5.23: Cannot Deploy hello-world.war

2007-06-15 Thread Mark Hawkes
Thanks for the info. I've erased my CLASSPATH environment variable but I still have the exact same error in catalina.out when Tomcat starts up. On Fri, 2007-06-15 at 09:49 -0500, Caldarale, Charles R wrote: > > From: Mark Hawkes [mailto:[EMAIL PROTECTED] > > Subject: RE: Tomcat 5.5.23: Cannot Dep

Re: APR installation Question

2007-06-15 Thread Richard Kaye
Thanks. That worked. Funnily enough despite my care in getting the version right (5.5.20) tomcat carped that the new library was the wrong version. I don't know. ] INFO: An older version 1.1.3 of the Apache Tomcat Native library is ] installed, while Tomcat recommends version greater than 1.1.

RE: Tomcat 5.5.23: Cannot Deploy hello-world.war

2007-06-15 Thread Caldarale, Charles R
> From: Mark Hawkes [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat 5.5.23: Cannot Deploy hello-world.war Looks like you have the same classes being loaded by multiple classloaders. > CLASSPATH = > .:/apache-tomcat-5.5.23/common/lib/servlet-api.jar: > /apache-tomcat-5.5.23/common/lib/jsp-api.ja

Re: Problem with JVM, and Tomcat tuning

2007-06-15 Thread Andrew Miehs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 15/06/2007, at 4:36 PM, Peter Crowther wrote: From: Hassan Schroeder [mailto:[EMAIL PROTECTED] On 6/15/07, Jacob Bunk Nielsen <[EMAIL PROTECTED]> wrote: I experience random crashes of the JVM on a daily basis. It simply fails with segmentation

RE: Problem with JVM, and Tomcat tuning

2007-06-15 Thread Peter Crowther
> From: Hassan Schroeder [mailto:[EMAIL PROTECTED] > On 6/15/07, Jacob Bunk Nielsen <[EMAIL PROTECTED]> wrote: > > > I'm running Tomcat 6.0.13 on Sun Java6 and Linux. > > > I experience random crashes of the JVM on a daily basis. It simply > > fails with segmentation faults, double frees and sim

RE: Tomcat 5.5.23: Cannot Deploy hello-world.war

2007-06-15 Thread Mark Hawkes
The error's exactly the same if I deploy the war file using the manager webapp's deploy feature. Here's what appears in catalina.out when I undeploy and then redeploy hello-world.war: -- Jun 15, 2007 3:28:35 PM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web applicatio

RE: Tomcat 5.5.23: Cannot Deploy hello-world.war

2007-06-15 Thread neocollec
Mark, i suggest you ti use the tomcat manager tool. Connecting to your manager webapp, you will be able to send a war package and deploy it successfully. Your error sounds your mapping is wrong, because tomcat does not seem to find your servlet. Have a good day, and i recommend you to work wi

Re: Problem with JVM, and Tomcat tuning

2007-06-15 Thread Hassan Schroeder
On 6/15/07, Jacob Bunk Nielsen <[EMAIL PROTECTED]> wrote: I'm running Tomcat 6.0.13 on Sun Java6 and Linux. I experience random crashes of the JVM on a daily basis. It simply fails with segmentation faults, double frees and similar. Are any of you experiencing similar problems? I had the same

Re: Stop deployOnStartup for only one webapp

2007-06-15 Thread Joseph Valerio
Mark, Thanks for the reply. First, let me explain sakai a little... Sakai is a learning management portal. The architecture is such that if you want to add a feature, you create a new webapp and tie it into the portal app. All service implementation details are deployed out of ${CATALINA_HOME

Re: Stop deployOnStartup for only one webapp

2007-06-15 Thread Mark H. Wood
Could you give the host another name and set up a separate virtual host for your standby Sakai instance? The Host container seems to be the only one that defines deployOnStartup. This separation might have other minor benefits. What happens when you place the application outside of appBase, crea

Re: APR installation Question

2007-06-15 Thread Ilja S.
Hi Well I can suggest you to download the same version of tomcat you have installed from the apache.org and just copy this file from downloaded archive.. * Best Regards Ilja Richard Kaye wrote: Hi I also get The Apache Tomcat Native library which allows

Tomcat 5.5.23: Cannot Deploy hello-world.war

2007-06-15 Thread Mark Hawkes
Hi all, I have a HelloWorld servlet. Real simple. Packaged as hello-world.war. I copy it to $CATALINA_HOME/webapps. My environment: Operating System: Fedora Core 5 Linux 2.6.15-1.2054 Java Version: 1.6.0-b105 JAVA_HOME = /opt/SDK/jdk CATALINA_HOME = /apache-tomcat-5.5.23 CLASSPATH = .:/apache-t

Re: APR installation Question

2007-06-15 Thread Dhaval Patel
Hi Richard, I made small tutorial about how to enable APR and SSL. I have it in word file. If you don't mind I can email it to you on your email. I have question for this mailing list about attaching document. I can generate small size PDF from it. But am I allowed to attach document on this li

Re: APR installation Question

2007-06-15 Thread Richard Kaye
Hi I also get > > The Apache Tomcat Native library which allows optimal performance in > > production environments was not found on the java.library.path: I'm using tomcat 5.5 installed from debian debs, and I think I understand the instructions I have read so far and have all the prerequisites

Re: Problem with JVM, and Tomcat tuning

2007-06-15 Thread Jacob Bunk Nielsen
Hi Mark Thomas <[EMAIL PROTECTED]> writes: > Jacob Bunk Nielsen wrote: >> If I submit a bug report with Sun I get a reply that I should contact >> Apache because the problem seems to be triggered by Tomcat. Is anyone >> at Apache interested in those hs_err_PID.log files generated by the >> JVM? >

Re: Tomcat - Apache ... and CGI

2007-06-15 Thread Yannick Haudry
here is the worker.properties file: ps=/ worker.list=worker1 worker.worker1.port=8009 worker.worker1.host=localhost worker.worker1.type=ajp13 worker.worker1.lbfactor=1 and the httpd.conf (unconmmented lines only, to make it shorter): hopes someone can help ! ServerTokens OS ServerRoot "/etc/ht

Re: Tomcat Server CPU utilization goes upto 400%

2007-06-15 Thread David kerber
It's an acronym for "As Far As I Know". D 吴熊敏 wrote: > “AFAIK” What it mean? > > >> AFAIK 400% of zero is still zero :D >> - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTE

Re: Problem with JVM, and Tomcat tuning

2007-06-15 Thread Mark Thomas
Jacob Bunk Nielsen wrote: > If I submit a bug report with Sun I get a reply that I should contact > Apache because the problem seems to be triggered by Tomcat. Is anyone > at Apache interested in those hs_err_PID.log files generated by the > JVM? If you are using the native connector, it is possibl

Re: Unable to get the free endpoint for worker xyz from, 1 slots

2007-06-15 Thread Tim Funk
Check the manager app and see how many ajp connections are in use. If your "lucky" maybe tomcat is not seeing the dropped apache connections. In which case - I forget how to fix this. (With our looking through the docs and google first) Since you are on localhost - that is probably not the case

Re: Tomcat 6 classloader leak in Commons Pool

2007-06-15 Thread Diego Rodríguez Martín
Hi, I have found what you said about the factory. It is ported to 6.0. I have tried to use the old commons-dbcp library, copying commons-pool-1.2.jar and commons-dbcp-1.2.2.jar in tomcat lib directory and defining the attribute factory="org.apache.commons.dbcp.BasicDataSourceFactory" in th

APR with tomcat - long boot

2007-06-15 Thread Ilja S.
Hi Startup time of tomcat became very slow after installing APR. Tomcat version is 5.5.23 APR 1.2.7 Ubuntu, kernel 2.6.20 Logs says INFO: Server startup in 192631 ms Which is more 3 minutes! Is that normal? -- * Best Regards Ilja -

Re: APR installation Question

2007-06-15 Thread Ilja S.
Hi Your tomcat should start with option: -Djava.library.path=/usr/local/apr/lib in this case APR libs are in /usr/local/apr/lib, change to wherever you got your libs Usually you add this line to tomcat startup script... * Best Regards Ilja Andre Prasetya

Re: Trouble with APR and Tomcat 5.5.15

2007-06-15 Thread Ilja S.
Hi I had similar problem on Ubunutu Linux. Logs have been saying something about inability to bind to socket. If log clearly says that address already in use (probably 8080). Check that no other application using this port. If log says something like: java.lang.Exception: Socket bind failed:

Re: Unable to get the free endpoint for worker xyz from, 1 slots

2007-06-15 Thread Dirk Koehler
Well, my server xml defines maxProcessors to be 512, apache is configured with MaxClients 128... Also mbean (Catalina:type=ThreadPool,name=jk-127.0.0.1-22001) reports that there are up to 512 processors... any more ideas? thx, dirk Tim Funk wrote: > You probably have more apache children

Re: deploying ant

2007-06-15 Thread Johnny Kewl
Jyothi Cant really understand what you saying, but suggest the following If you using Netbeans and want to run the ant scripts from you project manually, then after you build it, flip over to the file tab, find the ant script you interested in and right click on it, NB has very cool facilit

RE: Tomcat - Apache ... and CGI

2007-06-15 Thread Raghupathy, Gurumoorthy
Post your jkmounts directives and also posty your httpd.conf -Original Message- From: Yannick Haudry [mailto:[EMAIL PROTECTED] Sent: 15 June 2007 11:15 To: users@tomcat.apache.org Subject: Tomcat - Apache ... and CGI Hi all, First, here is the global configuration on a centos machine:

[OT] Re: Re[2]: Tomcat Server CPU utilization goes upto 400%

2007-06-15 Thread Ronald Klop
Install this: http://www.freshports.org/games/wtf/ (There is probably a Linux port somewhere also) $ wtf afaik AFAIK: as far as I know On Fri Jun 15 10:21:37 CEST 2007 Tomcat Users List wrote: ?AFAIK? What it mean? > AFAIK 400% of zero is still zero :D > ?

Re: Unable to get the free endpoint for worker xyz from, 1 slots

2007-06-15 Thread Tim Funk
You probably have more apache children running than connections which can be accepted by tomcat. See the Connector config docs on how o up them. -Tim Dirk Koehler wrote: Hi, recently I'm facing an issue with the mod_jk connector (1.2.21) together with apache 1.3.x where requests to apache are

Tomcat - Apache ... and CGI

2007-06-15 Thread Yannick Haudry
Hi all, First, here is the global configuration on a centos machine: apache: httpd-2.0.52-19 tomcat: 6.0.13 mod_jk: 1.2.22 I'm currently working on a webapp where we have some pages generated with perl scripts. The first step was to configure tomcat CGIservlet and now cgi are successfully execut

Unable to get the free endpoint for worker xyz from, 1 slots

2007-06-15 Thread Dirk Koehler
Hi, recently I'm facing an issue with the mod_jk connector (1.2.21) together with apache 1.3.x where requests to apache are answered with 500 INTERNAL SERVER ERROR. Enabling mod_jk debug logging shows that at exactly that time mod_jk warnings show up saying something like (after having tomcat/apac

RE: deploying ant

2007-06-15 Thread Scott Marshall
Hi Jyothi I think you're on the wrong forum. Try the Apache Ant mailing lists, these can be found at http://ant.apache.org/mail.html. You might get more of a response there. Good luck Scott -Original Message- From: bhagya jyothi [mailto:[EMAIL PROTECTED] Sent: 14 June 2007 19:37 To:

Problem with JVM, and Tomcat tuning

2007-06-15 Thread Jacob Bunk Nielsen
Hi I'm running Tomcat 6.0.13 on Sun Java6 and Linux. I upgraded from Tomcat 5.5.17 and Java5 update 9 a couple of weeks ago. I experience random crashes of the JVM on a daily basis. It simply fails with segmentation faults, double frees and similar. Are any of you experiencing similar problems? I

Re[2]: Tomcat Server CPU utilization goes upto 400%

2007-06-15 Thread 吴熊敏
“AFAIK” What it mean? > AFAIK 400% of zero is still zero :D > 吴熊敏 <[EMAIL PROTECTED]> - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

RE: Tomcat Server CPU utilization goes upto 400%

2007-06-15 Thread Sumit Gaikaiwari
Yeah, that's right. The application server is having 4 CPU's and top gives collective output for all the CPU's. Hence 400%... :) Regards, Sumit Gaikaiwari -Original Message- From: David Delbecq [mailto:[EMAIL PROTECTED] Sent: Friday, June 15, 2007 1:01 PM To: Tomcat Users List Subject

Re: Tomcat Server CPU utilization goes upto 400%

2007-06-15 Thread Richard Kaye
I think I have one if you'd like it... Only problem is, it doesn't work :( AFAIK 400% of zero is still zero :D R On Thu, 2007-06-14 at 21:14 +0200, Filip Hanik - Dev Lists wrote: > man, I need to get a CPU like that, that can actually work 4 times its > max capacity :) > > Filip > > --

Re: Tomcat Server CPU utilization goes upto 400%

2007-06-15 Thread David Delbecq
That probably means that 4 CPUs/Cores are busy 100% time working for tomcat. This mean the issue appears in several Threads, leading to think it's webapps related issues :) Garbage collector issue wouldn't use 4 or more Threads. En l'instant précis du 15/06/07 09:17, 吴熊敏 s'exprimait en ces termes:

Re: [OT] Tomcat Server CPU utilization goes upto 400%

2007-06-15 Thread David Delbecq
Do as Tim Funk suggested, issue a kill -3 to tomcat when CPU usage gets high to get an idea of what java Threads are currently doing. Issue a few kills to get a better view of what part of process takes times. If it's not enough to find the location of issue, you might want to invest time in using

Re[2]: Tomcat Server CPU utilization goes upto 400%

2007-06-15 Thread 吴熊敏
400%? what do you mean?? On Thu, 14 Jun 2007 21:14:45 +0200 Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: > man, I need to get a CPU like that, that can actually work 4 times its > max capacity :) > > Filip 吴熊敏 <[EMAIL PROTECTED]> --