Tomcat monitoring

2007-02-26 Thread H H
Does anyone know whats the best way to monitor a tomcat application remotely - I have seen the mailing lists and there are some tools that provide monitoring. However I need a way to programatically ping Tomcat and collect performance statistics - Any language would do : perl/java, I need to int

.java(Permission denied) error in tomcat

2007-02-26 Thread Muruganantham
hi, When i tried to access a jsp page the tomcat shows the following error message org.apache.jasper.JasperException: Unable to compile class for JSP and the root cause is java.io.FileNotFoundException: /usr/local/jakarta/jakarta-tomcat-5.5.9/work/Catalina/localhost/_/org/apache/jsp/Serv_jsp.j

Re: [mod_jk] JkStripSession directive

2007-02-26 Thread Rainer Jung
Christopher Schultz schrieb: > Rainer and Mladen, > > Looks like everything is working as expected. > > This seems much nicer than my old hack of using mod_rewrite. Perhaps > this is actually more of a hack ;) It's not meant to replace mod_rewrite, which of course is much more powerful. But this

Re: reload on demand?

2007-02-26 Thread Kent Tong
Christopher Schultz christopherschultz.net> writes: > I'm suggesting that you only deploy when you need to (even just copying > files into your exploded WAR area). Are you updating your app many times > more often than you want to reload it? Why? Because the project output folder in Eclipse is s

Re: [mod_jk] JkStripSession directive

2007-02-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer and Mladen, Rainer Jung wrote: > Mladen Turk wrote: >> However, you are right, I made a bug in that code, it should trip >> the session from r->filename not r->uri. Will be fixed in the next >> tryout. > > ... which is now available for testin

Re: increase the backend idle connection timeout or the connection_pool_minsize

2007-02-26 Thread Fletcher Cocquyt
Rainer Jung kippdata.de> writes: > > Yes, but the log message is talking about the min size. The default min > size is size/2, but we changed it between 1.2.19 and 1.2.20 to > (size+1)/2. So for prefork the min size was 0 until 1.2.19 and is 1 > starting with 1.2.20. So I tried connection_pool

Re: Parallel Tomcat 5 and 6 services on Windows

2007-02-26 Thread Mark Thomas
Robert Novotny wrote: > Greetings, > I would like to test Tomcat 6 on Windows, however I would still like to > retain the previous Tomcat 5 installation (along with the Tomcat 5 service). I don't think the windows installer isn't set up to do this. I can't remember what the issue was but have a va

Re: increase the backend idle connection timeout or the connection_pool_minsize

2007-02-26 Thread Rainer Jung
Fletcher Cocquyt schrieb: > Rainer Jung kippdata.de> writes: > >> You can add connection_pool_minsize. See the workers.properties pages in >> the reference guide. > > I'm using apache 2.0 prefork - the docs: > http://tomcat.apache.org/connectors-doc/reference/workers.html > > say "Do not use c

Re: Quality check mod_jk 1.2.21-dev

2007-02-26 Thread Rainer Jung
Kirk schrieb: > I will take a look at it. I did not see that this option, so I never knew > to use it. If I were to try and document the process I am going through to > compile, would that be of help to put as a solaris sunone build doc? > finding information on the web is few and far between. M

HTTP plus

2007-02-26 Thread Peter Kennard
Was this last message of mine just too naive :) Should I break it into smaller parts? Still curious :) Peter K. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

Tomcat Service Manager for windows

2007-02-26 Thread Bryan Berndt
Hello, I just joined this mailing list to plug a piece of software that has been enormously helpful to the company I work for. I have no idea if its been mentioned on this mailing list or not, so excuse my redundancy. Its called Tomcat Service Manager. it enables one to very easily make multiple

RE: connection pool - DBCP error

2007-02-26 Thread Propes, Barry L [GCG-NAOT]
thanks, Daniel!! I"ll try to plug that in and see if my version will accept those params! -Original Message- From: Stephens, Daniel [mailto:[EMAIL PROTECTED] Sent: Monday, February 26, 2007 4:55 PM To: Tomcat Users List Subject: RE: connection pool - DBCP error I had to add the followin

Re: Can tomcat send out event about persistent connection being closed?

2007-02-26 Thread Gary Evesson
On 2/26/07, M M <[EMAIL PROTECTED]> wrote: Thanks for your reply. Our client application will always use keep-alive which is the default beahvior of HTTP/1.1 and it does not do simultaneous connections to the web server. Thanks. Monica Why use HTTP for a connection that is persistent? Woul

RE: mod_jk replacement?

2007-02-26 Thread Raj Mettai
Hi, how to put wildcards into ProxyPass, for example if I want to send only jsp requests to tomcat and not html like below. ProxyPass /*.jsp ajp://127.0.0.1:8009/ the above config is not working, I have jsp files spread across multiple folders on tomcat and the same folder structure on apa

Re: increase the backend idle connection timeout or the connection_pool_minsize

2007-02-26 Thread Fletcher Cocquyt
Rainer Jung kippdata.de> writes: > > You can add connection_pool_minsize. See the workers.properties pages in > the reference guide. I'm using apache 2.0 prefork - the docs: http://tomcat.apache.org/connectors-doc/reference/workers.html say "Do not use connection_pool_size with values higher

RE: connection pool - DBCP error

2007-02-26 Thread Stephens, Daniel
I had to add the following before I saw that behavior. You'll have to check the API, to make sure the minEvictableIdleTimeMillis and timeBetweenEvictionRunsMillis are set correctly for your pool. But once I added these, I would see abandoned connections get dropped. I put these settings in, becau

Re: Can tomcat send out event about persistent connection being closed?

2007-02-26 Thread M M
Thanks for your reply. Our client application will always use keep-alive which is the default beahvior of HTTP/1.1 and it does not do simultaneous connections to the web server. Thanks. Monica - Original Message From: "Caldarale, Charles R" <[EMAIL PROTECTED]> To: Tomcat Users List

connection pool - DBCP error

2007-02-26 Thread Propes, Barry L [GCG-NAOT]
I am getting a slight error with regards to my connection pool configuration. I may not have totally closed the connection properly, but shouldn't the following account for it? AbandonedObjectPool is used ( [EMAIL PROTECTED]) LogAbandoned: true RemoveAbandoned: true RemoveAbandon

Re: Quality check mod_jk 1.2.21-dev

2007-02-26 Thread Kirk
I will take a look at it. I did not see that this option, so I never knew to use it. If I were to try and document the process I am going through to compile, would that be of help to put as a solaris sunone build doc? finding information on the web is few and far between. Most people probably r

Bootstrap stop()

2007-02-26 Thread Fran Varin
I've been working on a class that will start and stop Tomcat from via a JMenu item. It seems I have tomcat starting correctly with the following code: class StartListener implements ActionListener { public void actionPerformed(ActionEvent event) {

RE: Can tomcat send out event about persistent connection being closed?

2007-02-26 Thread Caldarale, Charles R
> From: M M [mailto:[EMAIL PROTECTED] > Subject: Can tomcat send out event about persistent > connection being closed? > > I am using Tomcat 5.5 and I would like to bind the > HttpSession lifecycle with its underlying persistent > connection lifecycle. A couple of issues: 1) There may not be

Can tomcat send out event about persistent connection being closed?

2007-02-26 Thread M M
I am using Tomcat 5.5 and I would like to bind the HttpSession lifecycle with its underlying persistent connection lifecycle. Partically, if the persistent connection is closed due to connectionTimeout or client program exits, I would like to invalid the client's HttpSession, and if the HttpSess

Re: Quality check mod_jk 1.2.21-dev

2007-02-26 Thread Rainer Jung
Due to a bug one user found (thanks) in the new JkStripSession feature (only in the Apache httpd implementation of it), there is now a new tarball available at the old address. http://people.apache.org/~rjung/mod_jk-dev/ Happy testing! Regards, Rainer ---

Re: [mod_jk] JkStripSession directive

2007-02-26 Thread Rainer Jung
Mladen Turk wrote: Right, the ;jsessionid=... will be shown in the logs. However, you are right, I made a bug in that code, it should trip the session from r->filename not r->uri. Will be fixed in the next tryout. ... which is now available for testing under the same URL. Since this change wa

Re: Quality check mod_jk 1.2.21-dev

2007-02-26 Thread Rainer Jung
Hi Kirk, I never built for Sun Web Server, but I just saw the configure flag: --enable-netscape Did you ever try running configure with that one before doing the make? Regards, Rainer - To start a new topic, e-mail: users@t

Re: Quality check mod_jk 1.2.21-dev

2007-02-26 Thread Rainer Jung
Hi Kirk, Number 2 should be a consequence of number 1. configure detects a header file related to FIONREAD. Concerning 1), we would need to rework configure to allow to use it in the Sun Web Server case. Until now it forces you to provide a --with-apxs. For your testing I uploaded two heade

Re: increase the backend idle connection timeout or the connection_pool_minsize

2007-02-26 Thread Rainer Jung
Fletcher Cocquyt wrote: Hi, This is a followup to my Feb14 post: Re: socket is not connected any more (errno=11) I've just upgraded from 1.2.19 to 1.2.20 and the new log messages are: increase the backend idle connection timeout or the connection_pool_minsize I could not find much on which p

Re: IIS Plugin can't find Module ??

2007-02-26 Thread Scott Danforth
Apparently, "The specified module could not be found" is a Windows Message. Although the ISAPI_redirect dll is being loaded, it must be using COM/ActiveX/.NET to ask for something else that isn't available on my system once it decides to forward a page request to Tomcat.. What module would tha

Re: [mod_jk] JkStripSession directive

2007-02-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mladen, Mladen Turk wrote: > Right, the ;jsessionid=... will be shown in the logs. > > However, you are right, I made a bug in that code, it should > trip the session from r->filename not r->uri. > Will be fixed in the next tryout. Sweet. When shoul

Re: Quality check mod_jk 1.2.21-dev

2007-02-26 Thread Jim Jagielski
On Feb 26, 2007, at 11:11 AM, Rainer Jung wrote: Hi all, the next version of mod_jk is approaching its release. A code snapshot is available at http://people.apache.org/~rjung/mod_jk-dev/ It is in the same format as a release download, so easy to build. Under the same URL you can find t

Re: IIS Plugin can't find Module ??

2007-02-26 Thread Scott Danforth
Nope. It fails the same way for HelloWordExample in the servlets-examples context. Any ideas appreciated. Anybody ever seen "The specified module could not be found" when using isaspi_redirect.dll? -- Scott. [Mon Feb 26 14:10:58 2007] [2020:1756] [debug] jk_uri_worker_map.c (575): Atte

RE: increase the backend idle connection timeout or the connection_pool_minsize

2007-02-26 Thread Propes, Barry L [GCG-NAOT]
on that connection pool size, these two: maxActive 20 maxIdle 2 You're also only allowing 1 sec to connect it appears. Might ratchet it up a little

Re: [mod_jk] JkStripSession directive

2007-02-26 Thread Mladen Turk
Christopher Schultz wrote: JkStripSession On JkMount ... [many of these] So far so good :) 192.168.1.47 - - [26/Feb/2007:12:59:06 -0500] "GET /diagnosis/images/flags/es.png;jsessionid=A17B19517B58B2C06D8B7120D3B8503C HTTP/1.1" 404 1766 Right, the ;jsessionid=... will be

increase the backend idle connection timeout or the connection_pool_minsize

2007-02-26 Thread Fletcher Cocquyt
Hi, This is a followup to my Feb14 post: Re: socket is not connected any more (errno=11) I've just upgraded from 1.2.19 to 1.2.20 and the new log messages are: increase the backend idle connection timeout or the connection_pool_minsize I could not find much on which parameters this is referring

Re: IIS Plugin can't find Module ??

2007-02-26 Thread Scott Danforth
Maybe I should walk before running. The plugin fails the same way with a single worker (i.e., without load balancing). My current theory is that maybe the problem is that I'm using the root context. It's all I can think of as a cause for "The specified module could not be found." I just love

IIS Plugin won't load balance?

2007-02-26 Thread Scott Danforth
I've got jk load balancing working from Apache, but need it to work from IIS. I'm using the My workers.properties and uriworkermap.properties files are the same for Apache and IIS. #workers.properties worker.list=loadbalancer worker.tomcat1.type=ajp13 worker.tomcat1.host=192.168.1.7 worker.to

[mod_jk] JkStripSession directive

2007-02-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I decided to test out the newly available mod_jk 1.2.21 pre-release and the JkStripSession directive in order to remove mod_rewrite from my configuration. It does not appear to be working using my configuration. I'm using Apache httpd 2.0.58 with

Re: Parallel Tomcat 5 and 6 services on Windows

2007-02-26 Thread Morris Jones
Robert Novotny wrote: I would like to test Tomcat 6 on Windows, however I would still like to retain the previous Tomcat 5 installation (along with the Tomcat 5 service). I would think you can do that. You can even run them both at the same time, as long as they are configured to listen on di

Re: Quality check mod_jk 1.2.21-dev

2007-02-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, Rainer Jung wrote: > Features > > - Optional session id stripping for URLs, that are *not* being forwarded > (Apache, IIS) Woo hoo! No more crazy mod_rewrite rules! Thanks everyone! - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1

Re: Test, ignore

2007-02-26 Thread Gmail User
Well, that is great! And stupid Gmail still eats up my messages that include sample config and log output that illustrate the problem I am trying to solve with clustering. Ed On 2/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: yeah we all now certainly have seen your e-mail so u can post t

Re: Quality check mod_jk 1.2.21-dev

2007-02-26 Thread Kirk
So I tried out this new version from your site. The first problem happened in the previous version, but still is troubling. #2 is a new error I have never seen. Any ideas on that one? I am going to download SunStudio compiler like you recommended. One of my problems is that I am a newbie to c

Re: Quality check mod_jk 1.2.21-dev

2007-02-26 Thread Rainer Jung
... and now you can find windows binaries there too (thanks Mladen) ... http://people.apache.org/~rjung/mod_jk-dev/ - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Quality check mod_jk 1.2.21-dev

2007-02-26 Thread Rainer Jung
Hi all, the next version of mod_jk is approaching its release. A code snapshot is available at http://people.apache.org/~rjung/mod_jk-dev/ It is in the same format as a release download, so easy to build. Under the same URL you can find the updated documentation. It would be nice, if we co

Re: reload on demand?

2007-02-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kent, Kent Tong wrote: > Christopher Schultz christopherschultz.net> writes: > >> Why not only copy your new WAR file (or classes, etc.) to the deployment >> directory when you actually want the webapp to reload? > > Creating a WAR file and copying

ANN Tomcat Service Manager for Windows

2007-02-26 Thread David Boyer
This is a complete rewrite using .Net 2.0. Here's a overview of the major changes. More details and downloads available at http://web.bvu.edu/staff/david/index.jsp?section=software&subsection=tcservcfg&page=overview -now uses the Procrun-based service binaries included with Tomcat -Works with

Re: reload on demand?

2007-02-26 Thread Kent Tong
Christopher Schultz christopherschultz.net> writes: > Why not only copy your new WAR file (or classes, etc.) to the deployment > directory when you actually want the webapp to reload? Creating a WAR file and copying it takes quite a lot of time. So, the webapp is setup as an exploded directory.

Re: Increasing JVM parameter in Linux

2007-02-26 Thread Muruganantham
Thanks a lot Christopher. On 2/26/07, Christopher Schultz <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Muruga, Muruganantham wrote: > Can any one let me know how to increase the [MaxPermSize] JVM > parameter in tomcat? $ export JAVA_OPTS="-XX:MaxPermSize=256m" $

Re: Increasing JVM parameter in Linux

2007-02-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Muruga, Muruganantham wrote: > Can any one let me know how to increase the [MaxPermSize] JVM > parameter in tomcat? $ export JAVA_OPTS="-XX:MaxPermSize=256m" $ startup.sh > [Is it] safe or it will affect the already stored web app files. Changing t

Re: reload on demand?

2007-02-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kent, Kent Tong wrote: > John McPeek bellsouth.net> writes: > >> If you use eclipse and WTP it does all that for you. Then you can spend >> almost 0 time thinking about start/stop/reload stuff. > > Thanks for the reply. However, it will reload th

tomcat: jmxremote and catalina.sh

2007-02-26 Thread Kristian Rink
Folks; in order to have remote management and monitoring enabled, I do start our tomcat 5.5.20 installations using CATALINA_OPTS like this: -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8086 So far this works good, only problem left to solve: This way, I can't stop my Unix

Parallel Tomcat 5 and 6 services on Windows

2007-02-26 Thread Robert Novotny
Greetings, I would like to test Tomcat 6 on Windows, however I would still like to retain the previous Tomcat 5 installation (along with the Tomcat 5 service). I have downloaded the Tomcat 6.0.10 installer from the prerelease location. However, the installation threw an error when it was about to

Re: Tomcat 5.5 Context level element

2007-02-26 Thread Tom Crinson
Thanks for your response Rémy, it is much appreciated. I have followed that guide step by step and another guide in "Pro Jakarta Tomcat 5" Which contains details of tomcat 5.5 as well. So far, all I get in the tomcat.log with the configuration specified in that link is masses of debug with no det

Question about JNDI connections

2007-02-26 Thread Marcel Schulte
Hi Tomcat users (and developers), we're using an enterprise product which utilizes tomcat (v 4.1.29) as webserver technology. We've configured a LDAP connection for user authentication. Now when we want to authenticate against the LDAP it sometimes fails and results in a second user credentials