Re: Tomcat 7 Per Instance Memory Footprint in Hello World App.

2011-03-16 Thread Noah Cutler
Chris, will likely go with mod_jk, but I did notice that Jetty folks strongly recommend mod_proxy (may be that their container works better with mod_proxy) I am not using a framework per se, one that I have written, so definitely not something like Grails with Spring + Hibernate for example. Gro

Re: Hard time finding a but on Tomcat 7 (doesn't happen on 6.)

2011-03-16 Thread Peter P. Lupo
You mean I broke the JVM with Tomcat 7 but not 6? Maybe. Ill go back to JVM 6 and I hope I have good news then. ;-) I'll get back to you. Peter P. Lupo http://craftnicely.blogspot.com - http://sites.google.com/site/pplupo MPS.BR Authorized Implementation Pra

RE: Hard time finding a but on Tomcat 7 (doesn't happen on 6.)

2011-03-16 Thread Caldarale, Charles R
> From: Peter P. Lupo [mailto:ppl...@gmail.com] > Subject: Re: Hard time finding a but on Tomcat 7 (doesn't happen on 6.) > I found some logs on eclipse root regarding the error Im > having on tomcat (Im running tomcat from eclipse). The logs contain a major hint: # JRE version: 7.0-b125 # If

Re: Tomcat 7 Per Instance Memory Footprint in Hello World App.

2011-03-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Noah, On 3/16/2011 7:48 PM, Noah Cutler wrote: > the Tomcat Groovy app will do nothing but serve up dynamic content > (httpd will handle ssl as well), so whichever method (ajp or mod_proxy) > peforms the best/is-most-reliable, I'll go with. I have a

Re: Populating Oracle v$session.program from Tomcat Context.xml

2011-03-16 Thread David Fisher
> We'd like to be able to tell apart database sessions from the 15 or so > tomcat applications we have running on our web-servers. Most of them > use similar logins, so we can't query the username from gv$session. We > were hoping to instead query to program field to tell them apart. > > We were a

Re: Hard time finding a but on Tomcat 7 (doesn't happen on 6.)

2011-03-16 Thread Peter P. Lupo
Guys, today I had not time to work at this but when I was installing VisualVM eclipse integration I found some logs on eclipse root regarding the error Im having on tomcat (Im running tomcat from eclipse). There were 2 files there. I zipped the 2 files and uploaded them: https://docs.google.com/le

Re: Populating Oracle v$session.program from Tomcat Context.xml

2011-03-16 Thread David Fisher
Chris, > You can use the following in the connectionInitSqls to make sure a suitable > variable it set > > exec dbms_application_info.set_action('INSERTING'); > > The site http://psoug.org/reference/sys_context.html references a bucket > load of different context parameters that can be set - CLI

Re: Solr on new Tomcat 7.0.11

2011-03-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 3/16/2011 5:27 PM, Mark Thomas wrote: > On 16/03/2011 21:22, Caldarale, Charles R wrote: >>> From: Mark Thomas [mailto:ma...@apache.org] >>> Subject: Re: Solr on new Tomcat 7.0.11 >> >>> A quick Google suggests that there might be some white

Re: Populating Oracle v$session.program from Tomcat Context.xml

2011-03-16 Thread chris derham
> > > The problem he appears to be encountering is that he is unable to customize > the > value in v$session.program. The reason for the problem is that he does not > know > how to do it either when using the OCI jdbc driver (it is likely not > possible). > Jason, So oci or thin driver is largely

Re: --Jvm option trouble with Windows service

2011-03-16 Thread André Warnier
Olivier Lefevre wrote: On 3/15/2011 7:44 PM, Konstantin Kolinko wrote: Windows versions of JDK do have server JVM, while JREs do not. Saying it does not make so. I assure you that both the JRE and the JDK include the bin/server/jvm.dll. -1 I have both standard Sun JDK 6 and JRE 6 installed

Re: Tomcat 7 Per Instance Memory Footprint in Hello World App.

2011-03-16 Thread Noah Cutler
Chris, great feedback. the Tomcat Groovy app will do nothing but serve up dynamic content (httpd will handle ssl as well), so whichever method (ajp or mod_proxy) peforms the best/is-most-reliable, I'll go with. Love that 128mb JVM, I am very much interested in lean & mean. Coming from LAMP stack

Re: timing the Tomcat SSL overhead

2011-03-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrei, On 3/16/2011 1:59 PM, andrei d wrote: > Is there a way for Tomcat to time the overhead introduced by using an SSL > connector? (vs a non-ssl one) > I was hoping I could use a Valve for this, but it looks like by the time a > valve is hit, the

Re: StackOverFlowError in Tomcat 6.0.29

2011-03-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ashish, On 3/16/2011 12:30 AM, Ashish Kumar Dash wrote: > On Tue, Mar 15, 2011 at 11:28 PM, Ashish Kumar Dash > mailto:dashashishku...@gmail.com>> wrote: > > Yes as I understood I should try the following things, please > correct me if am wro

Re: Tomcat 7 Per Instance Memory Footprint in Hello World App.

2011-03-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Noah, On 3/15/2011 7:02 PM, Noah Cutler wrote: > However, some of the LAMP stack apps will have legacy/archived > functionality that I have zero interest/time in porting over to > JVM/Groovy framework. So, the plan is to mod_rewrite archived requests

Re: Solr on new Tomcat 7.0.11

2011-03-16 Thread Mark Thomas
On 16/03/2011 21:27, Lewis John McGibbney wrote: > Hi Mark >> >> Hmm. That suggests a corrupted context.xml file >> >>> My configuration descriptor is as follows >>> >>> >> crossContext="true"> >>> >> value="/home/lewis/Downloads/wombra" override="true"/> >>> >> >> But that looks OK. Very odd.

Re: Solr on new Tomcat 7.0.11

2011-03-16 Thread Lewis John McGibbney
Hi Mark > > Hmm. That suggests a corrupted context.xml file > > > My configuration descriptor is as follows > > > > > crossContext="true"> > >> value="/home/lewis/Downloads/wombra" override="true"/> > > > > But that looks OK. Very odd. I had comments included within the context.xml, I ha

Re: Solr on new Tomcat 7.0.11

2011-03-16 Thread Mark Thomas
On 16/03/2011 21:22, Caldarale, Charles R wrote: >> From: Mark Thomas [mailto:ma...@apache.org] >> Subject: Re: Solr on new Tomcat 7.0.11 > >> A quick Google suggests that there might be some whitespace >> before "> I see the same error. Check the file in a text editor. > > Could this be caused

RE: Solr on new Tomcat 7.0.11

2011-03-16 Thread Caldarale, Charles R
> From: Mark Thomas [mailto:ma...@apache.org] > Subject: Re: Solr on new Tomcat 7.0.11 > A quick Google suggests that there might be some whitespace > before " I see the same error. Check the file in a text editor. Could this be caused by a UTF-16 BOM prefix inserted by some less than inspirin

Re: Solr on new Tomcat 7.0.11

2011-03-16 Thread Mark Thomas
On 16/03/2011 17:19, Lewis John McGibbney wrote: > Hello list, > > Is anyone running Solr (in my case 1.4.1) on above Tomcat dist? I'm not but... > > INFO: Deploying configuration descriptor wombra.xml < This is my context > fragment > from /home/lewis/Downloads/apache-tomcat-7.0.11/conf/Catali

Re: Solr on new Tomcat 7.0.11

2011-03-16 Thread Mark Thomas
On 16/03/2011 20:26, Martin Gainty wrote: Please ignore everything Martin wrote. As usual, it is a combination of irrelevant, inaccurate and misleading information. Mark > > > > //notice UTF is all caps > > antiResourceLocking="false" antiJARLocking="false"> > > docBase: > Do not choose a

RE: Solr on new Tomcat 7.0.11

2011-03-16 Thread Martin Gainty
//notice UTF is all caps docBase: Do not choose a docBase that starts with your Host's appBase string. The default appBase is "webapps" so do not choose a docBase like "webapps-foo." Doing so will lead to deployment errors: see Bugzilla for details. The value of th

RE: Populating Oracle v$session.program from Tomcat Context.xml

2011-03-16 Thread Jason Pyeron
> -Original Message- > From: chris derham > Sent: Wednesday, March 16, 2011 15:41 > To: Tomcat Users List > Subject: Re: Populating Oracle v$session.program from Tomcat > Context.xml > > > We'd like to be able to tell apart database sessions from > the 15 or so > > tomcat applications

Re: Populating Oracle v$session.program from Tomcat Context.xml

2011-03-16 Thread chris derham
> We'd like to be able to tell apart database sessions from the 15 or so > tomcat applications we have running on our web-servers. Most of them > use similar logins, so we can't query the username from gv$session. We > were hoping to instead query to program field to tell them apart. > > We were ab

RE: Populating Oracle v$session.program from Tomcat Context.xml

2011-03-16 Thread Jason Pyeron
> -Original Message- > From: Dan > Sent: Wednesday, March 16, 2011 14:34 > To: Tomcat Users List > Subject: Re: Populating Oracle v$session.program from Tomcat > Context.xml > > We'd like to be able to tell apart database sessions from the > 15 or so tomcat applications we have runnin

Re: Populating Oracle v$session.program from Tomcat Context.xml

2011-03-16 Thread Dan
We'd like to be able to tell apart database sessions from the 15 or so tomcat applications we have running on our web-servers. Most of them use similar logins, so we can't query the username from gv$session. We were hoping to instead query to program field to tell them apart. We were able to make

timing the Tomcat SSL overhead

2011-03-16 Thread andrei d
Is there a way for Tomcat to time the overhead introduced by using an SSL connector? (vs a non-ssl one) I was hoping I could use a Valve for this, but it looks like by the time a valve is hit, the Connector already established a connection. thanks in advance andrei

Solr on new Tomcat 7.0.11

2011-03-16 Thread Lewis John McGibbney
Hello list, Is anyone running Solr (in my case 1.4.1) on above Tomcat dist? In the past I have been using guidance in accordance with http://wiki.apache.org/solr/SolrTomcat#Installing_Solr_instances_under_Tomcat but having upgraded from Tomcat 7.0.8 to 7.0.11 I am having problems E.g. INFO: Deplo

Re: How to prevent/abort the processing of the multipart request body?

2011-03-16 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 3/14/2011 11:19 AM, André Warnier wrote: Mark Thomas wrote: On 14/03/2011 14:41, André Warnier wrote: It still seems to leave open the question as to what "the size limit of a MultiPart upload" means exactly.

Re: --Jvm option trouble with Windows service

2011-03-16 Thread Olivier Lefevre
On 3/16/2011 2:07 PM, Caldarale, Charles R wrote: The above would indicate something's seriously wrong with the installed JDK. That can't be: it's a recent download of jdk-6u24-windows-i586.exe and I just performed a clean reinstall. I made sure the c:\Java\j2sdk1.6.0 was empty first. What ha

Re: --Jvm option trouble with Windows service

2011-03-16 Thread Olivier Lefevre
On 3/16/2011 2:33 PM, Mladen Turk wrote: OK, that seems fine. However I wonder from where the first one comes? [2011-03-16 06:12:39] [info] ( :0 ) Starting service... [2011-03-16 06:12:39] [debug] ( javajni.c:195 ) Invalid RuntimeLib 'C:\Java\j2sdk1.6.0\bin\server\jvm.dll' It seems that you hav

RE: Error overview in catalina.out

2011-03-16 Thread Martin Gainty
running Tomcat on unixes, the console output is usually redirected to a file named catalina.out. The name is configurable using an environment variable. (See the startup scripts). Whatever is written to System.err/out will be logged in that file. That may include:

Re: configuring APR SSL

2011-03-16 Thread arnaud icard
Caldarale, Charles R a écrit , Le 16/03/2011 13:57: From: arnaud icard [mailto:arnaud.ic...@univ-avignon.fr] Subject: configuring APR SSL Why is it looking for a keystore as the APR listener is activated ? Likely because you haven't built and installed the tcnative library for your platform.

Re: --Jvm option trouble with Windows service

2011-03-16 Thread Mladen Turk
On 03/16/2011 11:29 AM, Olivier Lefevre wrote: On 3/16/2011 7:14 AM, Mladen Turk wrote: What's the debug output with client VM? [2011-03-16 11:21:52] [info] ( :0 ) Starting service... [2011-03-16 11:21:52] [debug] ( javajni.c:206 ) loading jvm 'C:\Programme\Java\jre6\bin\client\jvm.dll' OK

Error overview in catalina.out

2011-03-16 Thread Uwe.Hellmann
Hello, I have just started to work with tomcat, so I'm really new to this product. I'm also working with a monitoring product which analyses the logfiles. But I'm quite sure that I do not need to know every single message in catalina.out I am searching for a source where I can find some descripti

RE: --Jvm option trouble with Windows service

2011-03-16 Thread Caldarale, Charles R
> From: Caldarale, Charles R > Subject: RE: --Jvm option trouble with Windows service > Is it possible this is a 64-bit JDK on a 32-bit XP? For that matter, is this a 32- or 64-bit version of XP? (You told us your JRE is 32-bit, but said nothing about the OS or the JDK.) The service wrapper

RE: --Jvm option trouble with Windows service

2011-03-16 Thread Caldarale, Charles R
> From: Olivier Lefevre [mailto:lefev...@yahoo.com] > Subject: Re: --Jvm option trouble with Windows service > [2011-03-16 06:12:39] [debug] ( javajni.c:195 ) Invalid RuntimeLib > 'C:\Java\j2sdk1.6.0\bin\server\jvm.dll' The above would indicate something's seriously wrong with the installed JDK

RE: configuring APR SSL

2011-03-16 Thread Caldarale, Charles R
> From: arnaud icard [mailto:arnaud.ic...@univ-avignon.fr] > Subject: configuring APR SSL > Why is it looking for a keystore as the APR listener is activated ? Likely because you haven't built and installed the tcnative library for your platform. Telling us your exact Tomcat version, whether i

configuring APR SSL

2011-03-16 Thread arnaud icard
Hello, I am configuring HTTPS in Tomcat 5.5 (distributed with Business Object). I have the following parameters in the server.xml file : SSLEngine="on" /> ... SSLCertificateFile="/etc/ssl/UAPVCA/bo.univ-avignon.fr.pem" SSLCertificateKeyFile="/etc/ssl/UAPVCA/key

Re: --Jvm option trouble with Windows service

2011-03-16 Thread Olivier Lefevre
On 3/16/2011 7:14 AM, Mladen Turk wrote: What's the debug output with client VM? [2011-03-16 11:21:52] [debug] ( prunsrv.c:1494) Commons Daemon procrun log initialized [2011-03-16 11:21:52] [info] ( :0 ) Commons Daemon procrun (1.0.5.0 32-bit) started [2011-03-16 11:21:52] [info]

Re: [OT] Migrated from 6.0.29 to 7.0.10, Now I get "INFO: TLD skipped. URI: http://struts.apache.org/tags-bean is already defined"

2011-03-16 Thread Mark Thomas
On 15/03/2011 23:56, Brian Braun wrote: > I would like to know what Mark Thomas thinks about this, being a person > involved with Spring Source. I'm afraid I am probably going to disappoint you there. Whilst I am employed by SpringSource (now VMware) I know relatively little about the Spring Frame

Re: Tomcat 7 Per Instance Memory Footprint in Hello World App.

2011-03-16 Thread Noah Cutler
Thomas, yes, I have seen a few sample mod_jk configs, does not look difficult to implement. Load balanced, per instance and/or virtual host setup with new DBCP, what more could one ask for ;--) I am really looking forward to generating dynamic content with Groovy on Tomcat, quite lightweight com