Re: Java programm to Shutdwon the tomcat server

2010-03-02 Thread Pid
On 01/03/2010 14:26, dBenjamin wrote: I using customize icon to launch my application before starting the tomcat my java program will check and then it will allow to start the tomcat otherwise it will change the port and server will get start. How are you changing the port? Are you somehow

Re: Adding a symlink from inside the app after deployment - What's the best approach?

2010-03-02 Thread Konstantin Kolinko
2010/3/1 emerson cargnin echofloripa.y...@gmail.com: Am I wrong or tomcat 7 will provide support for folder aliasing (pull in resources from external locations)? http://mail-archives.apache.org/mod_mbox//tomcat-dev/200905.mbox/4a1c5275.7010...@apache.org Yes, it will. See

Curious to know if the following is permitted

2010-03-02 Thread Karthik Nanjangude
Hi SPEC JDK 1.5 TOMKAT 6.0.20 O/s Unix /Linux /WIN2000 Curious to know if the following is permitted Can a standalone piece of code (out of web apps) connect via JNDI to the web application running successfully on Tomcat Note: - This is required for some scheduled End of Day Operations

Re: Centralize settings...

2010-03-02 Thread couva
Thanks. any more suggestion? I red some interesting about Tcat Server Server Profiles. Best Regards Citando Pid p...@pidster.com: On 01/03/2010 16:47, co...@sapo.pt wrote: Hello! Actually we have a lot of different web applications with specific settings for each one, namelly: JNDI,

Re: Curious to know if the following is permitted

2010-03-02 Thread Konstantin Kolinko
2010/3/2 Karthik Nanjangude karthik.nanjang...@xius-bcgi.com: Can a standalone piece of code (out of web apps)   connect via JNDI to the web application running successfully on Tomcat Only if your web application will open a socket and listen there. Tomcat 6.0 connectors themselves

Apache Tomcat v5.5.20 - Revision 902650 Question

2010-03-02 Thread Hoang, Phong T CTR Navy ERP
Environment: Apache Tomcat version 5.5.20, Windows Server 2003 R2 Enterprise Edition x64 Apache Tomcat is embedded with the Business Objects software install and not a standalone install. Attempted to apply fixes from Revision 902650 for the vulnerabilities identified but the following files

RE: remote debug with tomcat 3.3.2

2010-03-02 Thread Caldarale, Charles R
From: Kedzior Wojciech [mailto:wojciech.kedz...@gemalto.com] Subject: remote debug with tomcat 3.3.2 I'm having a problem with setting up a remote debug session to my Tomcat 3.3.2 Final. You're asking for help with a version of Tomcat that's six years old and hasn't been supported for

Re: Apache Tomcat v5.5.20 - Revision 902650 Question

2010-03-02 Thread Peter Crowther
On 2 March 2010 14:08, Hoang, Phong T CTR Navy ERP phong.hoang@navy.mil wrote: Environment:  Apache Tomcat version 5.5.20, Windows Server 2003 R2 Enterprise Edition x64 Apache Tomcat is embedded with the Business Objects software install and not a standalone install. Attempted to

Re: Apache Tomcat v5.5.20 - Revision 902650 Question

2010-03-02 Thread Pid
On 02/03/2010 14:08, Hoang, Phong T CTR Navy ERP wrote: Environment: Apache Tomcat version 5.5.20, Windows Server 2003 R2 Enterprise Edition x64 Apache Tomcat is embedded with the Business Objects software install and not a standalone install. Attempted to apply fixes from Revision 902650

RE: Curious to know if the following is permitted

2010-03-02 Thread Karthik Nanjangude
Hi I am no expert in LDAP ...Plz excuse me Existing web application, JDBC Connection pool can be attained with JNDI So my requirement / Clarification is to How to re-use the existing applications business Layer from the web applications which in turn uses the JNDI to connect to DB for Data

RE: Curious to know if the following is permitted

2010-03-02 Thread Caldarale, Charles R
From: Karthik Nanjangude [mailto:karthik.nanjang...@xius-bcgi.com] Subject: RE: Curious to know if the following is permitted So my requirement / Clarification is to How to re-use the existing applications business Layer from the web applications which in turn uses the JNDI to connect to DB

RE: Curious to know if the following is permitted

2010-03-02 Thread Karthik Nanjangude
Hi Chuck Sorry for the process Are u saying about AXIS, Using Http protocol for loosely based Client usage. OK this is one of the options, are there any others ? With regards karthik -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Tuesday,

RE: remote debug with tomcat 3.3.2

2010-03-02 Thread Kedzior Wojciech
Hi Chuck, Thanks for your answer. That is exactly how I feel. However I'm not the person responsible for these kinds of decisions within the company. I am merely trying to help the guys here by being more (much much more) efficient by using a debugger instead of log files when developing

RE: Curious to know if the following is permitted

2010-03-02 Thread Caldarale, Charles R
From: Karthik Nanjangude [mailto:karthik.nanjang...@xius-bcgi.com] Subject: RE: Curious to know if the following is permitted Are u saying about AXIS, Using Http protocol for loosely based Client usage. I wouldn't think AXIS is necessary - just use whatever the webapps inside Tomcat are

RE: DB connection error -Tomcat 6 config

2010-03-02 Thread Propes, Barry L
Really? Well, when I was implementing connection pooling in 4.1.31, I specifically remember having to use ojdbc14_g.jar instead of ojdbc14.jar to successfully get the conn pooling to work. I'll swap out the ojdbc14_g.jar for the ojdbc14.jar and just use the latter and see if that works.

Re: Centralize settings...

2010-03-02 Thread Jason Brittain
Yes, using Tcat Server profiles is another way. Create a new profile that contains all of the Tomcat configuration you want, and any files you want to add into your Tomcat installation (binary or text), and you can apply the profile to any number of regular Tomcat installations, potentially

Re: log4j :ERROR LogMananger.repositorySelector was null likely duetoerror

2010-03-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 2/26/2010 3:54 PM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: log4j :ERROR LogMananger.repositorySelector was null likely duetoerror 4) Use jinfo, a program that comes

Re: Access Log /Filter/?

2010-03-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Xie, On 2/26/2010 4:33 PM, Xie Xiaodong wrote: No, there is no AccessLogFilter in Tomcat 7 for now. I've got my version of AccessLogFilter during Google Summer Code 2009, but has not yet submit it for some reason. Uh, why not submit it and get

Re: When I link to a *.do I get Page not found

2010-03-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Søren, On 2/27/2010 8:31 AM, Søren Blidorf wrote: I have made a struts application and it works just fine on my testserver. I have now uploaded it to my hosted webserver and struts does not work. When I link to a *.do I get “Page not found”

Re: unified doXXX()

2010-03-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aryeh, On 3/2/2010 1:51 AM, Aryeh M. Friedman wrote: Yes we are and thats why I probably mistook the effect of it doing that as a side effect instead of a designed in feature... now that being said we have used that content day since the first few

Re: unified doXXX()

2010-03-02 Thread Aryeh M. Friedman
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aryeh, On 3/2/2010 1:51 AM, Aryeh M. Friedman wrote: Yes we are and thats why I probably mistook the effect of it doing that as a side effect instead of a designed in feature... now that being said we have used that

Re: Access Log /Filter/?

2010-03-02 Thread Xie Xiaodong
Hello, Christopher, I submitted some code but not including the AccessLogFilter since I had something question about the implementation of it. Here I give you the version I wrote last summer. Hope you could check it and submit a patch. On Tue, Mar 2, 2010 at 6:41 PM, Christopher Schultz

Re: unified doXXX()

2010-03-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aryeh, On 3/2/2010 2:20 PM, Aryeh M. Friedman wrote: It gets null's on POST's only but only from the new input format (there are parts of the app that still use the old format and they work fine) Is this a new client, or just a new data format?

Re: Access Log /Filter/?

2010-03-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Xie (or is it Xiaodong?), On 3/2/2010 2:57 PM, Xie Xiaodong wrote: I submitted some code but not including the AccessLogFilter since I had something question about the implementation of it. Here I give you the version I wrote last summer. Hope you

Re: unified doXXX()

2010-03-02 Thread Aryeh M. Friedman
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aryeh, On 3/2/2010 2:20 PM, Aryeh M. Friedman wrote: It gets null's on POST's only but only from the new input format (there are parts of the app that still use the old format and they work fine) Is this a new

Re: unified doXXX()

2010-03-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aryeh, On 3/2/2010 3:48 PM, Aryeh M. Friedman wrote: Christopher Schultz wrote: Is this a new client, or just a new data format? Mark's suggestion that you may be using POST without the proper Content-Type would result in getting null for this

Re: Access Log /Filter/?

2010-03-02 Thread Xie Xiaodong
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 *

Re: unified doXXX()

2010-03-02 Thread Aryeh M. Friedman
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aryeh, On 3/2/2010 3:48 PM, Aryeh M. Friedman wrote: Christopher Schultz wrote: Is this a new client, or just a new data format? Mark's suggestion that you may be using POST without the proper Content-Type

Re: Cannot create PoolableConnectionFactory

2010-03-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 RayDon, On 3/1/2010 12:46 PM, RayDon1 wrote: Caused by: org.postgresql.util.PSQLException: Connection refused. Seems pretty straightforward. SERVER Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address

Re: unified doXXX()

2010-03-02 Thread Aryeh M. Friedman
Aryeh M. Friedman wrote: Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aryeh, On 3/2/2010 3:48 PM, Aryeh M. Friedman wrote: Christopher Schultz wrote: Is this a new client, or just a new data format? Mark's suggestion that you may be using POST without the

Tomcat 6.0.18 fails to load webapp on container restart

2010-03-02 Thread dale77
Hi, The application loads first time, but if tomcat is restarted, the app fails with the the following error: INFO: Starting Servlet Engine: Apache Tomcat/6.0.18 Feb 23, 2010 8:42:54 AM org.apache.catalina.core.StandardContext resourcesStart SEVERE: Error starting static Resources

Re: unified doXXX()

2010-03-02 Thread Aryeh M. Friedman
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aryeh, On 3/2/2010 3:48 PM, Aryeh M. Friedman wrote: Christopher Schultz wrote: Is this a new client, or just a new data format? Mark's suggestion that you may be using POST without the proper Content-Type

RE: Tomcat 6.0.18 fails to load webapp on container restart

2010-03-02 Thread Caldarale, Charles R
From: dale77 [mailto:dale.ogil...@trimble.co.nz] Subject: Tomcat 6.0.18 fails to load webapp on container restart The application loads first time, but if tomcat is restarted, the app fails with the the following error: Feb 23, 2010 8:42:54 AM org.apache.catalina.core.StandardContext

how to configure log4j path to work both in Tomcat and from the CLI?

2010-03-02 Thread fred basset
Hi All, I use log4j, I'm trying to configure it so that log4j uses a non hardcoded path, and it resolves the path both when running under tomcat and running my unit tests from the CLI with ant. Here's the relevant line from log4j.properties: log4j.appender.R.File=${catalina.home}/logs/myapp.log

Re: how to configure log4j path to work both in Tomcat and from the CLI?

2010-03-02 Thread Jon Brisbin
On Mar 2, 2010, at 4:10 PM, fred basset wrote: Hi All, I use log4j, I'm trying to configure it so that log4j uses a non hardcoded path, and it resolves the path both when running under tomcat and running my unit tests from the CLI with ant. Here's the relevant line from log4j.properties:

Re: Access Log /Filter/?

2010-03-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Xie, On 3/2/2010 3:58 PM, Xie Xiaodong wrote: public class AccessLogFilter extends FilterBase { For the most part, you've just replaced the invoke() method with a doFilter() method and introduced init(), which calls start(). Then, you removed

Re: unified doXXX()

2010-03-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aryeh, On 3/2/2010 4:05 PM, Aryeh M. Friedman wrote: Aryeh M. Friedman wrote: Aryeh M. Friedman wrote: Christopher Schultz wrote: I know this sounds silly, but we're getting down to the grasping-at-straws level, here, so bear with me: have you

Re: unified doXXX()

2010-03-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aryeh, On 3/2/2010 4:12 PM, Aryeh M. Friedman wrote: Also forgot to mention I already refactored the servlet to use pure hex encoding (namely we convert the entire request into a hex string so for example a old format message of

Re: remote debug with tomcat 3.3.2

2010-03-02 Thread Pid
On 02/03/2010 15:28, Kedzior Wojciech wrote: Hi Chuck, Thanks for your answer. That is exactly how I feel. However I'm not the person responsible for these kinds of decisions within the company. I am merely trying to help the guys here by being more (much much more) efficient by using a

RE: DB connection error -Tomcat 6 config

2010-03-02 Thread Propes, Barry L
I wonder now...should I perhaps be using this jar? ojdbc6.jar ? Has anyone upgraded their Oracle drivers that's using TC 6 and JDK 1.6? If anyone has used these environments together and needed to make the change, please apprise. Thanks, Barry -Original Message- From: Propes,

Re: Access Log /Filter/?

2010-03-02 Thread Xie Xiaodong
Thank the comments. I should have rechecked this file before I sent it here. :) First, for the init() part: in the super class FilterBase, we have a init() method which will do the initialization work you mentioned. Second, you are absolutely right about the log.info(). I first wrote like

Re: DB connection error -Tomcat 6 config

2010-03-02 Thread Hassan Schroeder
On Tue, Mar 2, 2010 at 3:18 PM, Propes, Barry L barry.l.pro...@citi.com wrote: I wonder now...should I perhaps be using this jar?   ojdbc6.jar  ? Has anyone upgraded their Oracle drivers that's using TC 6 and JDK 1.6? If anyone has used these environments together and needed to make the

Re: unified doXXX()

2010-03-02 Thread Pid
On 02/03/2010 21:04, Aryeh M. Friedman wrote: Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aryeh, On 3/2/2010 3:48 PM, Aryeh M. Friedman wrote: Christopher Schultz wrote: Is this a new client, or just a new data format? Mark's suggestion that you may be using

RE: DB connection error -Tomcat 6 config

2010-03-02 Thread Propes, Barry L
Then that should work...are you using DBCP with it? Thanks. -Original Message- From: Hassan Schroeder [mailto:hassan.schroe...@gmail.com] Sent: Tuesday, March 02, 2010 5:34 PM To: Tomcat Users List Subject: Re: DB connection error -Tomcat 6 config On Tue, Mar 2, 2010 at 3:18 PM,

Tomcat threads

2010-03-02 Thread Bharath Vasudevan
Hi, I would like to know more on the threads created in tomcat. Are they user level threads or kernel threads? I see that the requests are kicked off through the threads from a pool (which has a configured size), how can this be scalable? Also, from my understanding in servlets, the response

Re: DB connection error -Tomcat 6 config

2010-03-02 Thread Hassan Schroeder
On Tue, Mar 2, 2010 at 3:39 PM, Propes, Barry L barry.l.pro...@citi.com wrote: Then that should work...are you using DBCP with it? I don't *believe* so; possibly ActiveRecord/activerecord-jdbc-adapter was doing pooling under the hood but it was strictly a proof of concept for the client so I

RE: Tomcat threads

2010-03-02 Thread Caldarale, Charles R
From: Bharath Vasudevan [mailto:bharath@gmail.com] Subject: Tomcat threads Are they user level threads or kernel threads? Depends on the particular JVM being used, not on Tomcat. Pretty much all modern JVMs use a kernel thread for each java.lang.Thread instance on which start() has

RE: DB connection error -Tomcat 6 config

2010-03-02 Thread Propes, Barry L
Oh ok. Thanks. -Original Message- From: Hassan Schroeder [mailto:hassan.schroe...@gmail.com] Sent: Tuesday, March 02, 2010 5:53 PM To: Tomcat Users List Subject: Re: DB connection error -Tomcat 6 config On Tue, Mar 2, 2010 at 3:39 PM, Propes, Barry L barry.l.pro...@citi.com wrote:

Re: unified doXXX()

2010-03-02 Thread Aryeh M. Friedman
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aryeh, On 3/2/2010 4:05 PM, Aryeh M. Friedman wrote: Aryeh M. Friedman wrote: Aryeh M. Friedman wrote: Christopher Schultz wrote: I know this sounds silly, but we're getting down to the

Re: unified doXXX()

2010-03-02 Thread Aryeh M. Friedman
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aryeh, On 3/2/2010 4:12 PM, Aryeh M. Friedman wrote: Also forgot to mention I already refactored the servlet to use pure hex encoding (namely we convert the entire request into a hex string so for example a old format

Re: Access Log /Filter/?

2010-03-02 Thread Jason Brittain
Hi Christopher. On Tue, Mar 2, 2010 at 2:51 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Xie, [snip] if (!isHttpServlet(request, response)) { chain.doFilter(request, response); return; }

Re: Tomcat threads

2010-03-02 Thread Bharath Vasudevan
Thanks Chuck. One thing I am not able to get is why would the user care if the response was done from a different thread? Is it not going to be opaque to the user as long as its fast? If we get a request on a thread, let some other thread do the work for it and store the response info. The

RE: Tomcat threads

2010-03-02 Thread Caldarale, Charles R
From: Bharath Vasudevan [mailto:bharath@gmail.com] Subject: Re: Tomcat threads If we get a request on a thread, let some other thread do the work for it and store the response info. The thread which does the work writes the response on that request. If the processing is fast, why

Re: Tomcat threads

2010-03-02 Thread Bharath Vasudevan
Why is it illlogical? Fast is a relative term. If the number of requests increases, the number of threads that can be handled by the system goes down . The context switches and the pain to handle the switches makes handling of the requests in lesser threads which is scalable. On Tue, Mar 2, 2010

Re: DB connection error -Tomcat 6 config

2010-03-02 Thread Mark Shifman
Propes, Barry L wrote: I wonder now...should I perhaps be using this jar? ojdbc6.jar ? Has anyone upgraded their Oracle drivers that's using TC 6 and JDK 1.6? If anyone has used these environments together and needed to make the change, please apprise. I am using ojdbc6.jar with tomcat

RE: DB connection error -Tomcat 6 config

2010-03-02 Thread Bob Hall
--- On Tue, 3/2/10 at 3:39 PM, Propes, Barry L barry.l.pro...@citi.com wrote: Then that should work...are you using DBCP with it? I wonder now...should I perhaps be using this jar?   ojdbc6.jar  ? Has anyone upgraded their Oracle drivers that's using TC 6 and JDK 1.6? If anyone

Re: Tomcat dies suddenly

2010-03-02 Thread Carl
This is an update. Tried Sun JVM 1.6.0_16 (I had already tried 1.6.0_17 and 1.6.0_18... Taylan thought 1.6.0_16 worked properly in his environment.) Failed with the same indicator as the other tests: brought it up on Sunday, failed about 11:00AM this morning (the T105 AMD 64 bit Slackware,

RE: DB connection error -Tomcat 6 config

2010-03-02 Thread Anthony J. Biacco
We're using the 11.2.0.1 oracle jar with the seperate commons-dbcp 1.4 without any problems or modifications. This is with 6.0.24 and 6.0.20 under 1.6.0_18 on centos 5. -Tony Sent from my Windows® phone. -Original Message- From: Mark Shifman mark.shif...@yale.edu Sent: Tuesday,

RE: Tomcat dies suddenly

2010-03-02 Thread Caldarale, Charles R
From: Carl [mailto:c...@etrak-plus.com] Subject: Re: Tomcat dies suddenly Still looking for the exorcist but we now know that an older version of the Sun JVM doesn't do the trick. Not necessarily. 6u10 was a major internal upgrade, so it might be interesting to try 6u7:

Re: remote debug with tomcat 3.3.2

2010-03-02 Thread Bill Barker
I'm pretty sure that I compiled the binary for 3.3.2 without debugging support. The only thing I can think of is to download the source release of 3.3.2 and compile it with debugging. At the time 3.3.2 was released, using a debugger in Java was so painful that almost nobody did it. Kedzior

Re: Tomcat threads

2010-03-02 Thread Bill Barker
Caldarale, Charles R chuck.caldar...@unisys.com wrote in message news:99c8b2929b39c24493377ac7a121e21f96cb817...@usea-exch8.na.uis.unisys.com... From: Bharath Vasudevan [mailto:bharath@gmail.com] Subject: Re: Tomcat threads If we get a request on a thread, let some other thread do the

RE: Tomcat threads

2010-03-02 Thread Caldarale, Charles R
From: Bharath Vasudevan [mailto:bharath@gmail.com] Subject: Re: Tomcat threads Why is it illlogical? 40+ years of system architecture experience. If the number of requests increases, the number of threads that can be handled by the system goes down. You'll have to explain that one,

RE: Tomcat threads

2010-03-02 Thread Caldarale, Charles R
From: Bill Barker [mailto:billwbar...@verizon.net] Subject: Re: Tomcat threads basically the request is handed off to another thread and the original one returns to the pool. This also allows for two-way communication instead of relying on polling. What's required on the client end? You

java.util.logging - help needed with configuration and problem determination

2010-03-02 Thread Stuart Grace
I'm using JSVC to start Tomcat 6.0.20 as a daemon on Solaris. Java is jdk1.6.0_16. I need to deploy the same war file as 2 different contexts. Each context has the same logging.properties file in the classes directory. The conf/logging.properties has not been changed. Problem: The logging

check number of http connection in tomcat

2010-03-02 Thread chuikingman
I use tomcat . I want to know how to check the number of http connection in the existing Tomcat web server ?? Any advice ??? -- View this message in context: http://old.nabble.com/check-number-of-http-connection-in-tomcat-tp27764524p27764524.html Sent from the Tomcat - User mailing list archive

Re: Tomcat threads

2010-03-02 Thread Bill Barker
Caldarale, Charles R chuck.caldar...@unisys.com wrote in message news:99c8b2929b39c24493377ac7a121e21f96cb817...@usea-exch8.na.uis.unisys.com... From: Bill Barker [mailto:billwbar...@verizon.net] Subject: Re: Tomcat threads basically the request is handed off to another thread and the

RE: DB connection error -Tomcat 6 config

2010-03-02 Thread Karthik Nanjangude
Hi http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/htdocs/jdbc_111060.html This one is for Oracle Database 11g an up only Tried this Driver ojdbc15/jdk5 ojdbc16/jdk6 with my existing 4 year old application and started getting Compile time exceptions did not proceed

Access to Tomcat's MBeans

2010-03-02 Thread Cummins College
Hi, Could someone please help us how to access Tomcat's Mbeans using Java code. How is the basic logic to access the default mbeans present in Tomcat. Please help.

RE: Tomcat threads

2010-03-02 Thread Caldarale, Charles R
From: Bill Barker [mailto:billwbar...@verizon.net] Subject: Re: Tomcat threads The examples in Tomcat 7 are mostly server-push (e.g. fake stock ticker, chat). These are done by not completing the connection, and just pumping more data to a chunked response (so you get the spinning wheel

RE: Access to Tomcat's MBeans

2010-03-02 Thread Caldarale, Charles R
From: Cummins College [mailto:cummins.grou...@gmail.com] Subject: Access to Tomcat's MBeans Could someone please help us how to access Tomcat's Mbeans using Java code. This is not a direct answer, but you could download the source for Lambda Probe (www.lambdaprobe.org) and see how it does

RE: check number of http connection in tomcat

2010-03-02 Thread Caldarale, Charles R
From: chuikingman [mailto:chuiking...@yahoo.com.hk] Subject: check number of http connection in tomcat I use tomcat . Congratulations. What version? What platform? I want to know how to check the number of http connection in the existing Tomcat web server ?? It's not perfectly clear

Re: RE: check number of http connection in tomcat

2010-03-02 Thread Guifre Bosch Fabregas
in linux you can use: ps -ef | grep http | grep -v grep | wc -l This command returns the number of http active process El 03/03/2010 07:42, Caldarale, Charles R chuck.caldar...@unisys.com escribió: From: chuikingman [mailto:chuiking...@yahoo.com.hk] Subject: check number of http connection in

RE: remote debug with tomcat 3.3.2

2010-03-02 Thread Kedzior Wojciech
Hahaha! -Original Message- From: Pid [mailto:p...@pidster.com] Sent: 3. března 2010 0:13 To: Tomcat Users List Subject: Re: remote debug with tomcat 3.3.2 On 02/03/2010 15:28, Kedzior Wojciech wrote: Hi Chuck, Thanks for your answer. That is exactly how I feel. However I'm not

RE: remote debug with tomcat 3.3.2

2010-03-02 Thread Kedzior Wojciech
I see. Thanks for the input. I think I will try to run the app (as a local experiment only) on tomcat 6 to see what happens. If that fails I may try to recompile 3.3.2. Cheers -Original Message- From: Bill Barker [mailto:billwbar...@verizon.net] Sent: 3. března 2010 4:13 To:

RE: check number of http connection in tomcat

2010-03-02 Thread chuikingman
It is tomcat-3.3.2 in red hat linux AS4 , kernel 2.6.9 Can you take exmaple how to use manager webapp Please advice n828cl wrote: From: chuikingman [mailto:chuiking...@yahoo.com.hk] Subject: check number of http connection in tomcat I use tomcat . Congratulations. What