Tomcat 6 logging clog

2011-01-07 Thread Tim Space
Hi, I'm getting huge logs (50MB after startup) in catalina.out despite having turned all logging up to SEVERE in my logging.property files. I'm hoping someone can point me to the right thread, as I'm sure others wouldn't have put up with 50MB logs out of the box as long as I have. After

RE: reading jvmRoute property specified in server.xml

2011-01-07 Thread loteq
Hi I have the same problem. I need to read the jvmRoute property of the tomcat engine, but I have no access to the request, because I am in a Quartz thread. Has anyone solved this issue? Thanks, Luis bhanujirao wrote: We have Quartz jobs running in back ground. It needs to know whether

Re: Accessing context information remotely - Context.getAvailable() etc.

2011-01-07 Thread Ziggy
Thanks. I think the Webmodule has something i could use. There is an Mbean in WebModule/Attributes/State. The value of the state attribute is 1. Presumabely this is the state of the context deployed? Where can i find the documentation of the different states the web module can be? Thanks On Fri,

Re: Accessing context information remotely - Context.getAvailable() etc.

2011-01-07 Thread Rainer Jung
On 06.01.2011 21:22, Ziggy wrote: Please see my previous response re: open source tools. :) As i mentioned earlier, the project that i need to deploy this tool will not allow any open source tool without it being approved which involves a long security vetting process. I appreciate that there

Re: Accessing context information remotely - Context.getAvailable() etc.

2011-01-07 Thread Ziggy
Yes i saw this earlier and would have been very usefull if i could have used it. Unfortunately we dont deploy the manager or admin apps on the production environments. These are only available on development and Test servers. Thanks On Fri, Jan 7, 2011 at 11:42 AM, Rainer Jung

Re: Accessing context information remotely - Context.getAvailable() etc.

2011-01-07 Thread Ziggy
Hi, Will a full JMX be started on the Tomcat JVM or on the JVM in which i am running the process to connect to the Tomcat instance? presumably if it is the latter then it will shutdown once the client tool completes? The tool should only take a few seconds to run on each iteration. Thanks On

Re: Where does my stderr go?

2011-01-07 Thread Thomas Kloeber
This must have fallen into the Christmas/New Year Hole... ;) Anybody out there can help me with my stderr etc issue? Thomas PS: happy new year to all... Original Message Subject:Re: Where does my stderr go? Date: Wed, 22 Dec 2010 12:35:14 +0100 From: Thomas

Re: Tomcat 6 logging clog

2011-01-07 Thread Pid
On 1/7/11 9:40 AM, Tim Space wrote: Hi, I'm getting huge logs (50MB after startup) in catalina.out despite having turned all logging up to SEVERE in my logging.property files. I'm hoping someone can point me to the right thread, as I'm sure others wouldn't have put up with 50MB logs

Re: Accessing context information remotely - Context.getAvailable() etc.

2011-01-07 Thread Pid
On 1/7/11 11:16 AM, Ziggy wrote: Thanks. I think the Webmodule has something i could use. There is an Mbean in WebModule/Attributes/State. The value of the state attribute is 1. Presumabely this is the state of the context deployed? Yep. Where can i find the documentation of the different

Re: reading jvmRoute property specified in server.xml

2011-01-07 Thread Pid
On 1/7/11 11:10 AM, loteq wrote: Hi I have the same problem. I need to read the jvmRoute property of the tomcat engine, but I have no access to the request, because I am in a Quartz thread. Has anyone solved this issue? I don't know how old the thread you're replying to is, but I

RE: Tomcat 6 logging clog

2011-01-07 Thread Caldarale, Charles R
From: Tim Space [mailto:qwertypo...@hotmail.com] Subject: Tomcat 6 logging clog I'm tried modifying both files to no effect: /apache-tomcat-6.0.20/conf/logging.properties Step 1: move to the current Tomcat version, not one that's nearly two years old. /jdk1.6.0_18/jre/lib/logging.properties

RE: Where does my stderr go?

2011-01-07 Thread Jeffrey Janner
Thomas – You assumption in the original post is wrong. Jeff From: Thomas Kloeber [mailto:kloe...@ics.de] Sent: Friday, January 07, 2011 5:59 AM To: Tomcat Users List Subject: Re: Where does my stderr go? This must have fallen into the Christmas/New Year Hole... ;) Anybody out there can help me

Re: Tomcat 6 logging clog

2011-01-07 Thread Konstantin Kolinko
2011/1/7 Caldarale, Charles R chuck.caldar...@unisys.com: From: Tim Space [mailto:qwertypo...@hotmail.com] Subject: Tomcat 6 logging clog I'm tried modifying both files to no effect: /apache-tomcat-6.0.20/conf/logging.properties Step 1: move to the current Tomcat version, not one that's

Re: Accessing context information remotely - Context.getAvailable() etc.

2011-01-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ziggy, On 1/7/2011 6:53 AM, Ziggy wrote: Will a full JMX be started on the Tomcat JVM or on the JVM in which i am running the process to connect to the Tomcat instance? Your client process, obviously: JMX is already started in the Tomcat JVM in

Re: Where does my stderr go?

2011-01-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, On 1/7/2011 6:58 AM, Thomas Kloeber wrote: This must have fallen into the Christmas/New Year Hole... ;) I think so :) Some additional info, which I just saw and which looks strange to me: the stdout_XXX.log doesn't change it's date.

Re: Accessing context information remotely - Context.getAvailable() etc.

2011-01-07 Thread Mark Thomas
On 07/01/2011 15:05, Christopher Schultz wrote: Ziggy, On 1/7/2011 6:53 AM, Ziggy wrote: Will a full JMX be started on the Tomcat JVM or on the JVM in which i am running the process to connect to the Tomcat instance? Your client process, obviously: JMX is already started in the Tomcat JVM

Re: Where does my stderr go?

2011-01-07 Thread Thomas Kloeber
Jeffrey Janner wrote on 07.01.2011 16:00: You assumption in the original post is wrong. mailto:users@tomcat.apache.orgokay, I thought I'd seen something like what I assumed... So it brings me back to my original question of this thread: where does my stderr go, if it does not appear in the

Re: url prefixes behind proxy

2011-01-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gabor, On 1/6/2011 11:54 PM, Gabor Pinter wrote: Dear Christopher, Thank you for your reply. Tomcat is version 6.0 6.0.what? We're just dying to know. Sorry, it's 6.0.29 . (Though at my level, the third digit may be of minor importance

Re: Simple Question about reading http transmission using mod_jk

2011-01-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 1/6/2011 6:01 PM, Caldarale, Charles R wrote: From: Mohit Anchlia [mailto:mohitanch...@gmail.com] Subject: Simple Question about reading http transmission using mod_jk does it just sends the handle to the stream and then tomcat

Re: No Content-type in the header

2011-01-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 9-ACT-SWIM-SIF-LAB, (Ever have trouble when filling-out forms?) On 1/6/2011 1:54 PM, 9-act-swim-sif-...@faa.gov wrote: When I execute a very simple Java console web service client I get the following: Exception in thread main

RE: No Content-type in the header

2011-01-07 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: No Content-type in the header 9-ACT-SWIM-SIF-LAB, (Ever have trouble when filling-out forms?) On 1/6/2011 1:54 PM, 9-act-swim-sif-...@faa.gov wrote: Speaking as a licensed pilot, I can state unequivocally that

RE: Where does my stderr go?

2011-01-07 Thread Jeffrey Janner
I've noticed that stderr is almost always empty on Windows, unless you get an OOM error. That will show up there. Could it possibly be getting routed to another log file? Or eaten by the JVM? Is this one of those swalloutOutput instances? Someone else might be able to answer. From: Thomas

Re: No Content-type in the header

2011-01-07 Thread 9-ACT-SWIM-SIF-LAB
Don't understand the forms question. Can you be more specific? Tomcat Version: 6.0.29 JVM Version: 1.6.0_22 Stack Trace: C:\java -jar TomcatClient.jar Exception in thread main javax.xml.ws.WebServiceException: No Content-type in the header! at

Configuring Embedded Tomcat

2011-01-07 Thread Christopher Gross
I've been looking around, but I can't seem to find somewhere that shows how you can configure Tomcat when you embed it into an application. My code is like this: public void start() throws Exception { String hostname = System.getProperty(hostname); int port =

Re: Simple Question about reading http transmission using mod_jk

2011-01-07 Thread Mohit Anchlia
On Fri, Jan 7, 2011 at 7:22 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 1/6/2011 6:01 PM, Caldarale, Charles R wrote: From: Mohit Anchlia [mailto:mohitanch...@gmail.com] Subject: Simple Question about reading http

Re: Simple Question about reading http transmission using mod_jk

2011-01-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohit, On 1/7/2011 2:54 PM, Mohit Anchlia wrote: I read through it and based on how I interpret that section is that it buffers some data and streams the remaining data if it wasn't completely transferred to server and server asks for it

can't start tomcat5.5.31

2011-01-07 Thread Tim Clotworthy
Hi, I am not able to get tomcat5.5.31 to start. I installed using the Windows Service Installer. The system event viewer provides the following error with each attempt at starting Apache Tomcat service manually from the services tool: The Apache Tomcat service terminated with service-specific

Re: Configuring Embedded Tomcat

2011-01-07 Thread Pid
On 1/7/11 6:59 PM, Christopher Gross wrote: I've been looking around, but I can't seem to find somewhere that shows how you can configure Tomcat when you embed it into an application. My code is like this: public void start() throws Exception { String hostname =

Re: can't start tomcat5.5.31

2011-01-07 Thread Pid
On 1/7/11 8:44 PM, Tim Clotworthy wrote: Hi, I am not able to get tomcat5.5.31 to start. I installed using the Windows Service Installer. The system event viewer provides the following error with each attempt at starting Apache Tomcat service manually from the services tool: The Apache

RE: can't start tomcat5.5.31

2011-01-07 Thread Caldarale, Charles R
From: Tim Clotworthy [mailto:tclotwor...@integratedsecure.com] Subject: can't start tomcat5.5.31 My machine is a 64 bit Vista machine with Service Pack 1. The java runtime is 1.6.0. 32- or 64-bit JVM? I have tried installing with the native apache dll option Get it working with pure Java

Re: Configuring Embedded Tomcat

2011-01-07 Thread Christopher Gross
OK, so I'd need to add a Realm for the UserDatabaseRealm in either of the spots you listed. I'll probably use the file, so that I can adjust it if need be. Where do I put the tomcat-users.xml file, so that the Realm has users/passwords? Is there a way for me to tell the Embedded object where it

RE: can't start tomcat5.5.31

2011-01-07 Thread Tim Clotworthy
Ok, I just reinstalled without the native dlls (no improvement). In order to answer your other question (32- or 64-bit JVM?), Java -version gives me: C:\Users\adminjava -version java version 1.6.0_13 Java(TM) SE Runtime Environment (build 1.6.0_13-b03) Java HotSpot(TM) Client VM (build 11.3-b02,

RE: can't start tomcat5.5.31

2011-01-07 Thread Caldarale, Charles R
From: Tim Clotworthy [mailto:tclotwor...@integratedsecure.com] Subject: RE: can't start tomcat5.5.31 java version 1.6.0_13 Java(TM) SE Runtime Environment (build 1.6.0_13-b03) Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing) I cannot tell from this whether it is 64 or 32.

FIPS mode OpenSSL under Tomcat 6.0

2011-01-07 Thread Chris Beckey
I need to run a FIPS 140-2 certified SSL/TLS implementation under Tomcat 6.0.20. I have OpenSSL configured and running but I cannot find a way to set FIPS mode in OpenSSL. From the OpenSSL documentation it should be as simple as making a call to FIPS_mode_set(), probably from within the

Starting Tomcat admin undeploys a web service

2011-01-07 Thread Robin Capone
I have a web service that gets undeployed when I start tomcat administration. I have to restart Tomcat and redeploy the service. I'm running Tomcat 5.0 on a win2003 server. The service runs without problems...until admin is started. Has anyone experienced this?

RE: Starting Tomcat admin undeploys a web service

2011-01-07 Thread Caldarale, Charles R
From: Robin Capone [mailto:rcap...@centonline.com] Subject: Starting Tomcat admin undeploys a web service I have a web service that gets undeployed when I start tomcat administration. What's in the logs? Has anyone experienced this? Don't recall hearing about it on any supported level of

Tomcat6 with mod_jk

2011-01-07 Thread Peter Sparkes
Hi, I am having difficulties integrating tomcat6 with mod_jk. Please, does anyone have a user friendly guide that I can use? Thanks Peter - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands,

Re: can't start tomcat5.5.31

2011-01-07 Thread Pid
On 1/7/11 9:16 PM, Caldarale, Charles R wrote: From: Tim Clotworthy [mailto:tclotwor...@integratedsecure.com] Subject: RE: can't start tomcat5.5.31 java version 1.6.0_13 Java(TM) SE Runtime Environment (build 1.6.0_13-b03) Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing)

Re: Configuring Embedded Tomcat

2011-01-07 Thread Pid
On 1/7/11 9:07 PM, Christopher Gross wrote: OK, so I'd need to add a Realm for the UserDatabaseRealm in either of the spots you listed. I'll probably use the file, so that I can adjust it if need be. Where do I put the tomcat-users.xml file, so that the Realm has users/passwords? Is there

Re: Tomcat6 with mod_jk

2011-01-07 Thread Pid
On 1/7/11 10:10 PM, Peter Sparkes wrote: Hi, I am having difficulties integrating tomcat6 with mod_jk. Please, does anyone have a user friendly guide that I can use? http://tomcat.apache.org/connectors-doc/ ? There's an excellent example workers.properties file in the tarball of the latest

RE: can't start tomcat5.5.31

2011-01-07 Thread Caldarale, Charles R
From: Pid [mailto:p...@pidster.com] Subject: Re: can't start tomcat5.5.31 It's 32-bit, and very out of date. Suggest you uninstall it and grab the 64-bit version of 6u23 from Sun/Oracle. Note: jps, JConsole, VisualVM and other tools which rely on the Attach API won't display or

Re: Starting Tomcat admin undeploys a web service

2011-01-07 Thread Robin Capone
Localhost log: 2011-01-07 17:40:40 StandardContext[/manager]HTMLManager: undeploy: Undeploying web application at '/MOCOacctinfo2' 2011-01-07 17:40:40 StandardContext[/manager]HTMLManager: Undeploying document base C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\MOCOacctinfo2

Re: Starting Tomcat admin undeploys a web service

2011-01-07 Thread Konstantin Kolinko
2011/1/8 Robin Capone rcap...@centonline.com: I have a web service that gets undeployed when I start tomcat administration.  I have to restart Tomcat and redeploy the service. I'm running Tomcat 5.0 on a win2003 server. The service runs without problems...until admin is started. Has anyone

org.apache.tomcat.jni.Error: This function has not been implemented on this platform

2011-01-07 Thread Daniel Blumenthal
I'm getting the following error when starting up tomcat: Jan 8, 2011 3:46:19 AM org.apache.catalina.core.AprLifecycleListener init INFO: Loaded APR based Apache Tomcat Native library 1.1.20. Jan 8, 2011 3:46:19 AM org.apache.catalina.core.AprLifecycleListener init INFO: APR capabilities: IPv6

Re: can't start tomcat5.5.31

2011-01-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 1/7/2011 5:43 PM, Caldarale, Charles R wrote: From: Pid [mailto:p...@pidster.com] Subject: Re: can't start tomcat5.5.31 It's 32-bit, and very out of date. Suggest you uninstall it and grab the 64-bit version of 6u23 from

Re: org.apache.tomcat.jni.Error: This function has not been implemented on this platform

2011-01-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniel, On 1/7/2011 10:59 PM, Daniel Blumenthal wrote: I'm getting the following error when starting up tomcat: Jan 8, 2011 3:46:19 AM org.apache.catalina.core.AprLifecycleListener init INFO: Loaded APR based Apache Tomcat Native library 1.1.20.

Re: org.apache.tomcat.jni.Error: This function has not been implemented on this platform

2011-01-07 Thread Daniel Blumenthal
It appears that the problem was that I didn't have openssl libs installed. On Jan 7, 2011, at 10:59 PM, Daniel Blumenthal wrote: I'm getting the following error when starting up tomcat: Jan 8, 2011 3:46:19 AM org.apache.catalina.core.AprLifecycleListener init INFO: Loaded APR based Apache

RE: Tomcat 6 logging clog

2011-01-07 Thread Tim Space
As advised I removed every version of tomcat on my system. There were two or three others besides the version I was running: /usr/share/java/tomcat5 /etc/tomcat5 /var/lib/tomcat5 I have always started Tomcat with the sh startup.sh script, in my home directory, with CATALINA_HOME set to that