AW: NoClassDefFoundError: HttpServlet

2009-02-03 Thread Ladislav Gaspar
The sample servlets work. You say that the problem must be in my webapp. But what could that be? Laci -Ursprüngliche Nachricht- Von: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Gesendet: Montag, 2. Februar 2009 20:47 An: Tomcat Users List Betreff: RE:

Able to access URL without port

2009-02-03 Thread randhir . singh
I had a doubt of something I had heard with regard to the access of URL possible without port number if apache is used in the environment. We have our application running with JBOSS as the AS and tomcat as the web server. My question is that is the URL, http://application-URL:10080 assuming

Re: tomcat only query localhost database

2009-02-03 Thread Gregor Schneider
Sorry, but you're providing too few informations. - please post the file /etc/tomcat6/Catalina/localhost/webappName.xml (masquerade the user-id / password!) - please post the piece of code where the said webapp tries to create the database-connection. should looke similar to code

Re: Able to access URL without port

2009-02-03 Thread Kees de Kooter
You should configure mod_proxy in Apache for that. You basically proxy no port (is actually port 80) to your port 10080. The docs for mod_proxy can be found here: http://httpd.apache.org/docs/2.2/mod/mod_proxy.html Cheers, Kees de Kooter http://www.boplicity.net On Tue, Feb 3, 2009 at 09:57,

Re: help Comet Tomcat

2009-02-03 Thread sammmmm
hi, thanks for information, i download this folder whit subversion but when i open this proyect whit eclipse , the proyect give me 3 error, can you explain me how to do operate the project? please i will continue to try make it work Filip Hanik - Dev Lists wrote: If you simply are

Re: Request queue menagement Tomcat 5.5 + Axis

2009-02-03 Thread Sergio Arrighi
Hi Mark, It's Sergio again about request queues on Tomcat + Axis. Could you please tell me if it's possible to set the number of dedicated threads and queue lenght? Is there a maximum for these two parameters?? Thank you very much! Sergio Mark Thomas ha scritto: Sergio Arrighi wrote:

Re: Able to access URL without port

2009-02-03 Thread Sameer Acharya
By default browsers route all http requests to port 80, so if you have Apache http in front of TC then this will be true. -Sameer http://in.groups.yahoo.com/group/indiaenergy/join --- On Tue, 2/3/09, randhir.si...@elitecore.com randhir.si...@elitecore.com wrote: From:

Documentation on the working of tomcat and architecture

2009-02-03 Thread randhir . singh
I need some good documentation on the working and architecture of TOMCAT. Actually, I have copied tomcat from our old server which has to be migrated to a new server but, the tomcat is not starting. So, I want some good documentation on tomcat. I hope, my question is clear. Please, help in

No workers.properties file in $TOMCAT_HOME/conf

2009-02-03 Thread randhir . singh
I downloaded tomcat, intalled it but there is no file workers.properties in $TOMCAT_HOME/conf. I tried 2 downloads, the tomcat 4.1 and 5.5 series. The TOMCAT JAVA home needs to be set in workers.properties files. I hope, my question is clear. Please, help in solving the doubt. regards

Copy Apache

2009-02-03 Thread randhir . singh
I have a requirement to migrate our application to a better configuration server. For this, can I copy apache from the present server to the new server? So, my question is whether we can just copy the apache folder to the new server or does it have to be installed? For tomcat, I had copied from

mod_jk vs mod_proxy

2009-02-03 Thread Andrew Hole
Hi guys! Wich is the recommend module and what are the differences? Thanks a lot

Re: Copy Apache

2009-02-03 Thread Gregor Schneider
I'm sorry, but the whole question is rediculous and needs a rephrasing at least. - What does the OP want to copy? The whole of Apache? HTML only? To me it seems as if the OP doesn't have *any* clue when it comes to Apache / Tomcat (please also refer to his previous posts). I may appear rude,

Re: mod_jk vs mod_proxy

2009-02-03 Thread Gregor Schneider
Hi Andrew, we've just been duscussing this topic a few days ago. You'll might want to read the whole thread @ http://www.nabble.com/AJP-vs-HTTP-connectors--td21797851.html Rgds Gregor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp:

Re: No workers.properties file in $TOMCAT_HOME/conf

2009-02-03 Thread Gregor Schneider
On Tue, Feb 3, 2009 at 11:00 AM, randhir.si...@elitecore.com wrote: I downloaded tomcat, intalled it but there is no file workers.properties correct in $TOMCAT_HOME/conf. I tried 2 downloads, the tomcat 4.1 and 5.5 series. try it with at least 5.5 or, better, with the latest 6.x-version

Re: Apache Tomcat 6.0 loads blank page

2009-02-03 Thread Sameer Acharya
Did you try the synaptic package manager in Ubuntu ? I dont know which version of Ubuntu you have but mine did not have Tomcat or Apache HTTP on it when I installed, but might be I had dome somethings different. -Sameer --- On Mon, 2/2/09, zia mohades zia.si...@gmail.com wrote: From: zia

Re: Error in building mod_jk for Apache 2.2.x and Tomcat 4.x

2009-02-03 Thread Pieter Temmerman
Maybe something went wrong during the configure step. Could you take a look at the config.log file and check whether there are any errors being logged. On Tue, 2009-02-03 at 17:59 +0530, Shweta Parakh -X (shparakh - Infosys at Cisco) wrote: Hi, I am trying to build mod_jk for Apache 2.2.11

Re: Copy Apache

2009-02-03 Thread Kees de Kooter
What is the operating system? 2009/2/3 randhir.singh randhir.si...@elitecore.com: I have a requirement to migrate our application to a better configuration server. For this, can I copy apache from the present server to the new server? So, my question is whether we can just copy the apache

Error in building mod_jk for Apache 2.2.x and Tomcat 4.x

2009-02-03 Thread Shweta Parakh -X (shparakh - Infosys at Cisco)
Hi, I am trying to build mod_jk for Apache 2.2.11 and Tomcat 4.1.39 on Solaris platform 1. Downloaded mod_jk (version 1.2.27) source from http://tomcat.apache.org/download-connectors.cgi and is kept in /opt/mod_jk-1.2.27 directory 2. Installed apache2 in /opt/apache-2.2.11 directory.

Deleting web application specific log files

2009-02-03 Thread Ashish Sarna
Hello I am using tomcat6 to deploy my web applications. For logging the messages which come through httpServletRequest.getSession().getServletContext().log(Some message); calls. I have created a logging.properties file, which contains this: handlers = org.apache.juli.FileHandler

Error, source unknown

2009-02-03 Thread Dave Pawson
from catalina.out log. Feb 3, 2009 12:14:23 PM org.apache.coyote.http11.Http11Protocol init SEVERE: Error initializing endpoint java.net.BindException: Address already in usenull:8080 I'm not sure what the 'null' part of this message is telling me. Any suggestions please? Then later (may/may

Re: Error, source unknown

2009-02-03 Thread Gregor Schneider
Dave, On Tue, Feb 3, 2009 at 2:24 PM, Dave Pawson dave.paw...@gmail.com wrote: from catalina.out log. Feb 3, 2009 12:14:23 PM org.apache.coyote.http11.Http11Protocol init SEVERE: Error initializing endpoint java.net.BindException: Address already in usenull:8080 that means that some

Re: Error, source unknown

2009-02-03 Thread Kees de Kooter
Apparently you already have something running that is using port 8080. The Digester error means that an xml file that is being loaded contains characters after the closing root tag. Cheers, Kees de Kooter http://www.boplicity.net 2009/2/3 Dave Pawson dave.paw...@gmail.com: from catalina.out

Re: Error, source unknown

2009-02-03 Thread Dave Pawson
HI Gregor. 2009/2/3 Gregor Schneider rc4...@googlemail.com: Feb 3, 2009 12:14:23 PM org.apache.coyote.http11.Http11Protocol init SEVERE: Error initializing endpoint java.net.BindException: Address already in usenull:8080 that means that some process is using port 8080. Since a port can

Re: Tomcat resets the connection during load

2009-02-03 Thread Mark Thomas
Barak Yaish wrote: How can I determine that? I haven't seen any exception in catalina.out Monitor the current thread usage (eg with LambdaProbe, JMC console, manager app) regarding out of threads... There is a proposal to log a message when this happens but with current versions you won't see

Re: tomcat only query localhost database

2009-02-03 Thread Mihamina Rakotomandimby (R12y)
Mihamina Rakotomandimby (R12y) wrote: DriverManager.getConnection(jdbc:mysql://localhost/baseName, login, password); There, I see some hardcoded localhost. Might it be the nasty evil code? -- Chef de

RE: tomcat only query localhost database

2009-02-03 Thread Caldarale, Charles R
From: Mihamina Rakotomandimby (R12y) [mailto:miham...@lab.vectoris.fr] Subject: Re: tomcat only query localhost database /etc/tomcat6/Catalina/localhost/webappName.xml ?xml version=1.0 encoding=UTF-8? Context path=/norpassWeb reloadable=true

Re: Copy Apache

2009-02-03 Thread André Warnier
Gregor, Gregor Schneider wrote: I'm sorry, but the whole question is rediculous Yes, but the correct word is ridiculous. and needs a rephrasing at least. And maybe your answer needs this also. - What does the OP want to copy? The whole of Apache? HTML only? To me it seems as if the OP

RE: No workers.properties file in $TOMCAT_HOME/conf

2009-02-03 Thread Caldarale, Charles R
From: Gregor Schneider [mailto:rc4...@googlemail.com] Subject: Re: No workers.properties file in $TOMCAT_HOME/conf before asking this list for help, I suggest you read the excellent documentation first. You'll find it at the link I've provided in one of my prevous posts. As well as this

Re: tomcat only query localhost database

2009-02-03 Thread Dave Pawson
2009/2/3 Caldarale, Charles R chuck.caldar...@unisys.com: From: Mihamina Rakotomandimby (R12y) [mailto:miham...@lab.vectoris.fr] Subject: Re: tomcat only query localhost database /etc/tomcat6/Catalina/localhost/webappName.xml ?xml version=1.0 encoding=UTF-8? Context path=/norpassWeb

RE: Tomcat configuration with multiple services

2009-02-03 Thread Caldarale, Charles R
From: Jaakko Taipale [mailto:jaakko.taip...@dbmanager.fi] Subject: VS: Tomcat configuration with multiple services Connector port=80 protocol=HTTP/1.1 connectionTimeout=2 redirectPort=8443 / Connector port=443 minSpareThreads=5

Re: tomcat only query localhost database

2009-02-03 Thread Mihamina Rakotomandimby (R12y)
Mihamina Rakotomandimby (R12y) wrote: Mihamina Rakotomandimby (R12y) wrote: DriverManager.getConnection(jdbc:mysql://localhost/baseName, login, password); There, I see some hardcoded localhost. Might it be

RE: NoClassDefFoundError: HttpServlet

2009-02-03 Thread Caldarale, Charles R
From: Ladislav Gaspar [mailto:ladislav.gas...@it-vision.com] Subject: AW: NoClassDefFoundError: HttpServlet The sample servlets work. Good - which says the problem is isolated to your webapp, so that narrows the focus. But what could that be? It looks like somewhere in your webapp, you're

Re: Copy Apache

2009-02-03 Thread Gregor Schneider
André, just a quick one, since this becomes OT, but if you like, we can continue this discussion via personal email. André, if I'm not mistaken, you're quite new to the list. I've seen lots of similar posts here, which I consider being a complete neglet of respect to the people contributing to

[Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-03 Thread Steve Cohen
We have an application that runs under Tomcat under RHEL 5.0 and is launched by a jsvc daemon. It chugs along seemingly fine on several servers, yet yesterday crashed on one of them with the above exception seemingly without experiencing any kind of abnormal load. I am trying to get a handle

Re: Error, source unknown

2009-02-03 Thread Dave Pawson
2009/2/3 Gregor Schneider rc4...@googlemail.com: Dave, On Tue, Feb 3, 2009 at 2:38 PM, Dave Pawson dave.paw...@gmail.com wrote: [r...@marge apps]# netstat -lnp | grep 8080 tcp0 0 :::8080 :::* LISTEN 4014/java (Not very informative ?)

Re: AJP vs HTTP connectors?

2009-02-03 Thread Eric B.
Mark Thomas ma...@apache.org wrote in message news:4987ccc4.3080...@apache.org... The (very) short version is: mod_proxy_ajp is not as stable as mod_jk. mod_jk and mod_proxy_http are prety much neck and neck. mod_proxy_http has a very slight edge on average but on a case by case basis

Re: AJP vs HTTP connectors?

2009-02-03 Thread Eric B.
Filip Hanik - Dev Lists devli...@hanik.com wrote in message news:49876e0d.4020...@hanik.com... first and foremost, always apply ol' grandpa's logic The famous quote is if it ain't broke, don't fix it So if you are using something that is working, don't even consider switching just cause some

Re: [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-03 Thread Pieter Temmerman
Hi Steve, Some great tools to monitor your Tomcat installations are: - Jconsole (make sure you get the topthreads plugin) - VisualVM - VisualGC - Jmap Hope that helps. On Tue, 2009-02-03 at 09:31 -0600, Steve Cohen wrote: We have an application that runs under Tomcat under RHEL 5.0 and is

Re: Able to access URL without port

2009-02-03 Thread David Smith
randhir.si...@elitecore.com wrote: I had a doubt of something I had heard with regard to the access of URL possible without port number if apache is used in the environment. We have our application running with JBOSS as the AS and tomcat as the web server. My question is that is the URL,

RE: [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create newnative thread

2009-02-03 Thread Caldarale, Charles R
From: Steve Cohen [mailto:sco...@javactivity.org] Subject: [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create newnative thread I have read in some places that this particular form of OutOfMemoryError is actually made worse by increasing the memory size. Not memory size, but more

Re: AJP vs HTTP connectors?

2009-02-03 Thread Hassan Schroeder
On Tue, Feb 3, 2009 at 7:38 AM, Eric B. ebe...@hotmail.com wrote: Is there any documentation / howtos available for securely setting up mod_proxy_http and/or mod_proxy_ajp with tomcat? The little that I know/remember about mod_proxy_http is that if you're not careful, you can end up with

Re: Apache/mod_jk serves random files from tomcat

2009-02-03 Thread LukeK
yuvalperlov wrote: I am having the exact same symptoms with the latest versions of everything: Fedora 10 Tomcat 6.0.18 Apache Apache/2.2.10 mod_jk-1.2.27 (and the same problem with the built-in mod_proxy_ajp). It takes a day or so for the problem to start but once it does it happens

servlets. TC classpaths

2009-02-03 Thread Dave Pawson
From the logs [Loaded SimpleServlet from file:/apps/tomcat6/webapps/atom/WEB-INF/classes/SimpleServlet.class] Feb 3, 2009 3:57:06 PM org.apache.catalina.core.StandardContext listenerStart SEVERE: Error configuring application listener of class listeners.ContextListener

Re: servlets. TC classpaths

2009-02-03 Thread David Smith
Yes -- your webapp's jars are placed in your webapps's WEB-INF/lib folder. Unjarred classes are placed in WEB-INF/classes w/ a folder layout mirroring the package layout for your classes. BTW, listeners.ContextListener AFAIK is not a tomcat class. Maybe you've copied a web.xml off the web and

Re: tomcat only query localhost database

2009-02-03 Thread Mihamina Rakotomandimby (R12y)
Mihamina Rakotomandimby (R12y) wrote: DriverManager.getConnection(jdbc:mysql://localhost/baseName, login, password); There, I see some hardcoded localhost. Might it be the nasty evil code? Nope, it's in a

AW: NoClassDefFoundError: HttpServlet

2009-02-03 Thread Ladislav Gaspar
oh gosh, how embarrassing... Someone had changed the default output folder for the compiled classes but my ant scripts still deployed from the old (and now wrong) location... sorry for bothering ye, and thanks for the replies. cheers Laci ---

RE: Request queue menagement Tomcat 5.5 + Axis

2009-02-03 Thread Caldarale, Charles R
From: Sergio Arrighi [mailto:sergio.arri...@iminholding.com] Subject: Re: Request queue menagement Tomcat 5.5 + Axis Could you please tell me if it's possible to set the number of dedicated threads and queue lenght? As usual, it's in the doc:

mod_jk sporadic errors

2009-02-03 Thread Jorge Medina
I am running Apache with mod_jk 1.2.26 module (on Solaris) In the same machine, I am running Tomcat 6.0.16 with the Tomcat Native Library 1.1.12 (linked to APR 1.3.3) I am getting sporadic errors on the mod_jk log as the shown below: [Tue Feb 03 08:48:29.367 2009] [13821:22] [error]

RE: ExtendedAccessLogValve pattern?

2009-02-03 Thread CameronL
I decided to dig through the source code myself as well and also found that this is the case, so thanks. Not exactly sure why they subclassed this without inheriting any of that functionality. Caldarale, Charles R wrote: From: CameronL Subject: ExtendedAccessLogValve pattern? Can you

Re: Tomcat resets the connection during load

2009-02-03 Thread Barak Yaish
Ok, will try to search after the relevant attributes in jconsole, for the mean time I ran ab against a load balancer connected to 3 Tomcat on 3 different boxes and the scenario repeated it self: [ad...@ltse1 ~]$ ab -n 2 -k -c 1500 http://lbmachine/scale/ctx1?cc=123456; This is ApacheBench,

RE: tomcat only query localhost database

2009-02-03 Thread Caldarale, Charles R
From: Dave Pawson [mailto:dave.paw...@gmail.com] Subject: Re: tomcat only query localhost database What are(or where can I find them) the rules on loading an app into localhost | webapps or ROOT? In the Tomcat docs: http://tomcat.apache.org/tomcat-6.0-doc/config/index.html Note that you

Re: Documentation on the working of tomcat and architecture

2009-02-03 Thread Gregor Schneider
tomcat.apache.org rgds gregor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 - To unsubscribe,

Re: tomcat only query localhost database

2009-02-03 Thread Mihamina Rakotomandimby (R12y)
Gregor Schneider wrote: Sorry, but you're providing too few informations. - please post the file /etc/tomcat6/Catalina/localhost/webappName.xml (masquerade the user-id / password!) ?xml version=1.0 encoding=UTF-8? Context path=/norpassWeb reloadable=true

Re: servlets. TC classpaths

2009-02-03 Thread Dave Pawson
2009/2/3 David Smith d...@cornell.edu: Yes -- your webapp's jars are placed in your webapps's WEB-INF/lib folder. Unjarred classes are placed in WEB-INF/classes w/ a folder layout mirroring the package layout for your classes. BTW, listeners.ContextListener AFAIK is not a tomcat class.

Re: AJP vs HTTP connectors?

2009-02-03 Thread Eric B.
Hassan Schroeder hassan.schroe...@gmail.com wrote in message news:4eedb92a0902030808n399c1107x90207c3edb9d9...@mail.gmail.com... On Tue, Feb 3, 2009 at 7:38 AM, Eric B. ebe...@hotmail.com wrote: Is there any documentation / howtos available for securely setting up mod_proxy_http and/or

RE: Error, source unknown

2009-02-03 Thread Caldarale, Charles R
From: Dave Pawson [mailto:dave.paw...@gmail.com] Subject: Re: Error, source unknown [r...@marge apps]# netstat -lnp | grep 8080 tcp0 0 :::8080 :::* LISTEN 4014/java (Not very informative ?) On the contrary, it tells you that pid 4014 is using

dbcp pool freezing

2009-02-03 Thread Eric B.
Hi, I'm having some trouble with my dbcp pool freezing up when running a load, and am having trouble figuring out why. I have enabled JMX on the server and connected via jConsole, and see that all my threads are in the WAITING state from

Re: dbcp pool freezing

2009-02-03 Thread Philippe Martinou
Hi, The first thing to be checked is probably your application. If some method does not properly close an SQL connection, you will have a leak that will ultimately lead to this resource exhaustion. To better trace if this is a case, you may for example create a Wrapper of SqlConnection

Re: dbcp pool freezing

2009-02-03 Thread Eric B.
Philippe Martinou philippe.marti...@sparkom.com wrote in message news:49887d2f.3000...@sparkom.com... Hi, The first thing to be checked is probably your application. If some method does not properly close an SQL connection, you will have a leak that will ultimately lead to this

Re: dbcp pool freezing

2009-02-03 Thread David Boreham
Check that you don't have garbage collection problems. A heavy GC load will show up with these symptoms you are seeing (because GC stalls threads as they acquire or release locks). - To unsubscribe, e-mail:

RE: dbcp pool freezing

2009-02-03 Thread Caldarale, Charles R
From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric B. Subject: dbcp pool freezing and see that all my threads are in the WAITING state from org.apache.tomcat.dbcp.pool.impl.GenericObjectPool.borrowObject (GenericObjectPool.java:810) I don't believe I have any connection leaks in my

Re: [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-03 Thread Steve Cohen
One additional restriction I have is a security bureaucracy from hell. As far as console access I have a two-hop connection. As far as GUI access I have some crappy device to log into that lets me have really bad keyboard/mouse control of the machine, which, unless I can overcome this means

What are the benefits of using Tomcat Native when using AJP connector?

2009-02-03 Thread Jorge Medina
Does anybody know what significantly means on the following paragraph of the Tomcat Native library? When APR is enabled, the AJP connector will use a socket poller for keepalive, increasing scalability of the server. As AJP is designed around a pool of persistent (or almost persistent)

Re: Tomcat resets the connection during load

2009-02-03 Thread Barak Yaish
How can I determine that? I haven't seen any exception in catalina.out regarding out of threads... On Tue, Feb 3, 2009 at 6:35 AM, Mark Thomas ma...@apache.org wrote: Barak Yaish wrote: I've records the traffic using Wireshark (http://www.wireshark.org), and I've noticed that Tomcat send

Re: Error, source unknown

2009-02-03 Thread Gregor Schneider
Dave, On Tue, Feb 3, 2009 at 2:38 PM, Dave Pawson dave.paw...@gmail.com wrote: [r...@marge apps]# netstat -lnp | grep 8080 tcp0 0 :::8080 :::* LISTEN 4014/java (Not very informative ?) informative enough: ps -lf 4041 gives you a bit more of

Re: [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-03 Thread ovidiu asiminei
Hi Steve, Also, a good tool for monitoring Tomcat is Lamda Probe http://www.lambdaprobe.org/d/index.htm Regards, Ovidiu On Tue, Feb 3, 2009 at 9:31 AM, Steve Cohen sco...@javactivity.org wrote: We have an application that runs under Tomcat under RHEL 5.0 and is launched by a jsvc

RE: [Tomcat] [daemon] java.lang.OutOfMemoryError unable to createnew native thread

2009-02-03 Thread Caldarale, Charles R
From: Steve Cohen [mailto:sco...@javactivity.org] Subject: Re: [Tomcat] [daemon] java.lang.OutOfMemoryError unable to createnew native thread Which means I'm looking for command-line equivalents for what JConsole does, particularly the threads tab. The jstack tool will do much of that. Use

Re: [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-03 Thread Kees Jan Koster
Dear Steve, One additional restriction I have is a security bureaucracy from hell. As far as console access I have a two-hop connection. Is there no test system that you can use to reproduce this, under less insane restrictions? Have you considered hauling your behind to the data center

RE: Tuning Tomcat

2009-02-03 Thread Caldarale, Charles R
From: Sergey Livanov [mailto:sergey.liva...@gmail.com] Subject: Tuning Tomcat Help me to adjust JVM, please. My configuration - win2k server, Tomcat5.5.9 system vars - JAVA_HOME=c:\jre153, CATALINA_HOME=c:\tomcat catalina.bat - set CATALINA_OPTS=-server -Xms256M -Xmx512M After start Free

Re: AJP vs HTTP connectors?

2009-02-03 Thread André Warnier
Hi. Maybe slightly off-topic, but having a moment of blues and lack of inspiration/motivation about working on what I should really be working on, and just in the spirit of communicating a user experience... We are using Apache and Tomcat to provide an application, both on-site and in ASP

Re: Tuning Tomcat

2009-02-03 Thread André Warnier
Caldarale, Charles R wrote: From: Sergey Livanov [mailto:sergey.liva...@gmail.com] Subject: Tuning Tomcat Help me to adjust JVM, please. My configuration - win2k server, Tomcat5.5.9 system vars - JAVA_HOME=c:\jre153, CATALINA_HOME=c:\tomcat catalina.bat - set CATALINA_OPTS=-server -Xms256M

RE: dbcp pool freezing

2009-02-03 Thread Caldarale, Charles R
From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric B. Subject: Re: dbcp pool freezing Then the question becomes why aren't they being returned at all? My timeout is 20secs; I would expect, if the Abandon tracking was working properly for me, that the connections would be returned

RE: Tuning Tomcat

2009-02-03 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Tuning Tomcat Free memory: 1.64 MB Total memory: 5.44 MB Max memory: 63.56 MB I like this post, because the system parameters remind me of Chuck's portable phone, and my development system. Actually, those are just number for the

tomcat including files from apache

2009-02-03 Thread chuckvb
I have a basic configuration working where Apache serves my static html and tomcat provides my dynamic data. Using Apache2 on linux with TomCat 6 and mod_jk. How do I include header files and other files from apache for my tomcat jsp files. right now I use %@ include file=/header.html% but

Re: dbcp pool freezing

2009-02-03 Thread Eric B.
Philippe Martinou philippe.marti...@sparkom.com wrote in message news:49887d2f.3000...@sparkom.com... Hi, The first thing to be checked is probably your application. If some method does not properly close an SQL connection, you will have a leak that will ultimately lead to this resource

Re: Tomcat startup issue

2009-02-03 Thread dan_b
Chuck, Thanks for the reply. That did the trick. Thanks again! -Dan - Original Message - From: Charles R Caldarale chuck.caldar...@unisys.com To: Tomcat Users List users@tomcat.apache.org Sent: Tuesday, February 3, 2009 3:28:49 PM GMT -05:00 US/Canada Eastern Subject:

RE: Tomcat startup issue

2009-02-03 Thread Caldarale, Charles R
From: da...@comcast.net [mailto:da...@comcast.net] Subject: Tomcat startup issue I've opened Apache Tomcat Properties, selected the Startup tab and appended -security to start That's wrong; the -security option is for the startup.bat (and catalina.bat) scripts, not for the Bootstrap class.

Re: Tomcat startup issue

2009-02-03 Thread André Warnier
da...@comcast.net wrote: Chuck, Thanks for the reply. That did the trick. And, just by curiosity, did you have to quote the \Program Files\ or not ? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For

Re: tomcat including files from apache

2009-02-03 Thread André Warnier
chuckvb wrote: I have a basic configuration working where Apache serves my static html and tomcat provides my dynamic data. Using Apache2 on linux with TomCat 6 and mod_jk. How do I include header files and other files from apache for my tomcat jsp files. right now I use %@ include

Re: Tomcat startup issue

2009-02-03 Thread dan_b
Actually, no I didn't need to. It seems to work without the double quotes. But I agree with you, it's better to do the install in a directory without spaces. -Dan - Original Message - From: André Warnier a...@ice-sa.com To: Tomcat Users List users@tomcat.apache.org Sent:

Re: dbcp pool freezing

2009-02-03 Thread Eric B.
Caldarale, Charles R chuck.caldar...@unisys.com wrote in message news:0aae5ab84b013e45a7b61cb66943c17215b600c...@usea-exch7.na.uis.unisys.com... From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric B. Subject: dbcp pool freezing and see that all my threads are in the WAITING state

RE: Re: dbcp pool freezing

2009-02-03 Thread Propes, Barry L
In addition to explicitly closing the connection, are you also explicitly closing out any prepared or callable statements? I had overlooked this issue one time, and while it wasn't causing a great performance hindrance per se, I could tell by my monitoring tool that many rogue connections were

Re: tomcat including files from apache

2009-02-03 Thread H. Hall
chuckvb wrote: I have a basic configuration working where Apache serves my static html and tomcat provides my dynamic data. Using Apache2 on linux with TomCat 6 and mod_jk. How do I include header files and other files from apache for my tomcat jsp files. right now I use %@ include

Tomcat 6: How to tell a Context/Webapp where to look for files?

2009-02-03 Thread Steve Mysterious
Hi; Tomcat: 6.0 Tomcat Installation Directory: C:\Program Files\Apache Software Foundation\Tomcat 6.0 OS: Windows XP ( Windows 5.1 service pack 2 ) Java: JDK 1.6.0_10-beta Context/Webapp Name: abcdev I'm using the above configuration to set up a development environment for myself. I used

RE: Tomcat 6: How to tell a Context/Webapp where to look for files?

2009-02-03 Thread Caldarale, Charles R
From: Steve Mysterious [mailto:tinker...@gmail.com] Subject: Tomcat 6: How to tell a Context/Webapp where to look for files? I noticed that if I don't give my JSPs and my servlet a path that they look for files in CATALINA_HOME You should probably be using

Fwd: Tomcat 6/IIS/Windows 2003 Server x64 (Intel E2180)

2009-02-03 Thread Mark Brocato
Hi all, I've been using tomcat and the isapi filter with win32 for years now. I recently tried to get tomcat 6 working on windows server 2003 x64 and have run into trouble. Using the Tomcat Connector 1.2.27 64-bit, I get the dreaded red arrow next to the ISAPI filter in IIS. I have tried both

Re: Tuning Tomcat

2009-02-03 Thread Markus Schönhaber
Sergey Livanov: Help me to adjust JVM, please. My configuration - win2k server, Tomcat5.5.9 I hope you follow Chuck's good advice and re-describe your problem in a way others can understand. Moreover, if you're interested in tuning, you could start by downloading a Tomcat version that is not

AW: Tomcat 6/IIS/Windows 2003 Server x64 (Intel E2180)

2009-02-03 Thread Thomas Strauß
Hi, Please excuse if this is a stupid idea in your case, but we had the same issue, until we realized that the hosting provider setup IIS x32. Did you check in task-manager if the IIS is actually running 64bits (without the asterisk)? We gave the 32bit dlls a try and - tada just works. With

Tomcat startup issue

2009-02-03 Thread dan_b
I have installed Tomcat 5.5 on a Windows 2003 box. I have it installed as a service and need to use to the -security option but it's failing on startup. I've opened Apache Tomcat Properties, selected the Startup tab and appended -security to start, so the Arguments are set to: start

Re: apache tomcat connector header size

2009-02-03 Thread eric tse
On Tue, Feb 3, 2009 at 2:08 PM, eric tse hfe...@gmail.com wrote: Can I bump up the header size of the apache tomcat connector header ??? How? I think I am trying to a big header transfer .. and it breaks in proxy point, saying fail to append header. and did route Thanks Eric Tse

Re: apache tomcat connector header size

2009-02-03 Thread eric tse
how can I bump up the header size of connector? apache tomcat connector header ??? How? I think I am trying to a big header transfer .. and it breaks in proxy point, saying fail to append header. and did route Thanks Eric Tse On Tue, Feb 3, 2009 at 2:08 PM, eric tse hfe...@gmail.com

Re: dbcp pool freezing

2009-02-03 Thread Kees Jan Koster
Dear Eric, and see that all my threads are in the WAITING state from org.apache.tomcat.dbcp.pool.impl.GenericObjectPool.borrowObject (GenericObjectPool.java:810) I don't believe I have any connection leaks in my code Belief is not a substitute for evidence... Your webapp is clearly not

RE: What are the benefits of using Tomcat Native when using AJP connector?

2009-02-03 Thread Caldarale, Charles R
From: Jorge Medina [mailto:jmed...@e-dialog.com] Subject: What are the benefits of using Tomcat Native when using AJP connector? When APR is enabled, the AJP connector will use a socket poller for keepalive, increasing scalability of the server. As AJP is designed around a pool of

Re: dbcp pool freezing

2009-02-03 Thread Eric B.
Caldarale, Charles R chuck.caldar...@unisys.com wrote in message news:0aae5ab84b013e45a7b61cb66943c17215b604a...@usea-exch7.na.uis.unisys.com... From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric B. Subject: Re: dbcp pool freezing Then the question becomes why aren't they being

Tuning Tomcat

2009-02-03 Thread Sergey Livanov
Help me to adjust JVM, please. My configuration - win2k server, Tomcat5.5.9 system vars - JAVA_HOME=c:\jre153, CATALINA_HOME=c:\tomcat catalina.bat - set CATALINA_OPTS=-server -Xms256M -Xmx512M After start Free memory: 1.64 MB Total memory: 5.44 MB Max memory: 63.56 MB TIA .

Re: [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-03 Thread André Warnier
Steve Cohen wrote: [...] Which means I'm looking for command-line equivalents for what JConsole does, particularly the threads tab. Any ideas along that path? Not really a help here, but as I have discovered JConsole wont't even work through a simple SSH tunnel, because it wants to

Re: AW: Tomcat 6/IIS/Windows 2003 Server x64 (Intel E2180)

2009-02-03 Thread Mark Brocato
I actually installed the OS myself, so I'm sure it's 64-bit. - Mark On Feb 3, 2009, at 5:59 PM, Thomas Strauß wrote: Hi, Please excuse if this is a stupid idea in your case, but we had the same issue, until we realized that the hosting provider setup IIS x32. Did you check in

Re: AJP vs HTTP connectors?

2009-02-03 Thread Mark Thomas
Eric B. wrote: Filip Hanik - Dev Lists devli...@hanik.com wrote in message news:49876e0d.4020...@hanik.com... first and foremost, always apply ol' grandpa's logic The famous quote is if it ain't broke, don't fix it So if you are using something that is working, don't even consider

Re: AJP vs HTTP connectors?

2009-02-03 Thread Mark Thomas
Eric B. wrote: However, all this begs the question - what is the difference between mod_jk which communicates via AJP and mod_proxy_ajp? Doesn't mod_proxy_ajp just communicate via the AJP protocol as well? In which case, isn't that tantamount to having the same issues/considerations as

RE: Error in building mod_jk for Apache 2.2.x and Tomcat 4.x

2009-02-03 Thread Shweta Parakh -X (shparakh - Infosys at Cisco)
Hi Pieter, Thank you for the response. I did check my config.log and I can see something like below. I have attached my config.log file. It has been more than a week that I am stuck with this issue. It would be really great if you could help me with this. Regards, Shweta conftest.c:10:28:

  1   2   >