bat startup and windows service startup

2011-03-14 Thread 梁贵书
Dear sir or madam, we use windows xp sp3 for the server and tomcat 6.0.9 for the web server. My group uses tomcat as the web server and uses the jcom to print the excel files.Then we got a problem. when we started tomcat with .bat file, everything was ok. the print function was ok.but when we

Re: Performance 5.5 vs 6 vs 7

2011-03-14 Thread Peter Crowther
On 13 March 2011 21:01, Tony Anecito adanec...@yahoo.com wrote: As someone mentioned the network can imit you. If your bandwidth utilization is at 60% or over you are in trouble since collisions start to become a serious issue. Collisions may or may not be an issue, depending on the exact

Re: bat startup and windows service startup

2011-03-14 Thread André Warnier
梁贵书 wrote: Dear sir or madam, we use windows xp sp3 for the server and tomcat 6.0.9 for the web server. My group uses tomcat as the web server and uses the jcom to print the excel files.Then we got a problem. when we started tomcat with .bat file, everything was ok. the print function was

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

2011-03-14 Thread Attila Király
Hi, I have the following situation: a html page contains a multipart form with a file typed input field. User submits the form. I can decide not to parse the multipart body at all on the server side in a filter (because the request is too large based on the content-length header sent by the UA).

Configuring Tomcat 6.0.30 for PHP 5.3.5 (OS:Windows 7)

2011-03-14 Thread Pratik Desai
Sir, I wanted to know how to configure Apache Tomcat 6.0.30 for PHP 5.3.5 I went through some documentation but didn't succeed. I have already configured it to work for servlets. Now I want to configure it to work for PHP. I am intending to work only on PHP, not on both (servlets and PHP). Kindly

Re: Configuring Tomcat 6.0.30 for PHP 5.3.5 (OS:Windows 7)

2011-03-14 Thread Mikolaj Rydzewski
On Mon, 14 Mar 2011 15:27:48 +0530, Pratik Desai desaiprati...@gmail.com wrote: I wanted to know how to configure Apache Tomcat 6.0.30 for PHP 5.3.5 I went through some documentation but didn't succeed. I have already configured it to work for servlets. Now I want to configure it to work

On stopping tomcat getting error

2011-03-14 Thread laxmipathi raju
Hi, While i am stopping tomcat i am getting the following error Mar 14, 2011 3:45:43 PM org.apache.catalina.startup.Catalina stopServer SEVERE: Catalina.stop: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at

OT: a good jmx browser?

2011-03-14 Thread Leon Rosenberg
Hi, sorry for the off-topic-ness, but what jmx browser are you guys using if any. By jmx browser i mean something with a GUI where I can enter my server's adress and click through the tree of available values. thanks in advance Leon

Re: OT: a good jmx browser?

2011-03-14 Thread Antonio Petrelli
2011/3/14 Leon Rosenberg rosenberg.l...@gmail.com: sorry for the off-topic-ness, but what jmx browser are you guys using if any. By jmx browser i mean something with a GUI where I can enter my server's adress and click through the tree of available values. Take a look at JMiniX:

Re: OT: a good jmx browser?

2011-03-14 Thread Mikolaj Rydzewski
On Mon, 14 Mar 2011 11:28:58 +0100, Leon Rosenberg rosenberg.l...@gmail.com wrote: sorry for the off-topic-ness, but what jmx browser are you guys using if any. By jmx browser i mean something with a GUI where I can enter my server's adress and click through the tree of available values.

Re: On stopping tomcat getting error

2011-03-14 Thread Thomas Freitag
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Raju, On 14.03.11 um 03:16, laxmipathi raju wrote: While i am stopping tomcat i am getting the following error Mar 14, 2011 3:45:43 PM org.apache.catalina.startup.Catalina stopServer SEVERE: Catalina.stop: java.net.ConnectException:

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

2011-03-14 Thread André Warnier
Attila Király wrote: Hi, I have the following situation: a html page contains a multipart form with a file typed input field. User submits the form. I can decide not to parse the multipart body at all on the server side in a filter (because the request is too large based on the content-length

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

2011-03-14 Thread Mark Thomas
On 14/03/2011 11:01, André Warnier wrote: Maybe have a look here : http://tomcat.apache.org/tomcat-6.0-doc/config/http.html#Common_Attributes attribute maxPostSize Nope. That doesn't apply to multi-part forms since Tomcat doesn't do the parameter parsing. You want Tomcat 7.0.11 and

Re: On stopping tomcat getting error

2011-03-14 Thread laxmipathi raju
Thanks Thomas . Thank you very much for your quick response. laxmipathi raju wrote: Hi, While i am stopping tomcat i am getting the following error Mar 14, 2011 3:45:43 PM org.apache.catalina.startup.Catalina stopServer SEVERE: Catalina.stop: java.net.ConnectException: Connection refused

Re: Performance 5.5 vs 6 vs 7

2011-03-14 Thread David kerber
On 3/14/2011 3:12 AM, Peter Crowther wrote: On 13 March 2011 21:01, Tony Anecitoadanec...@yahoo.com wrote: As someone mentioned the network can imit you. If your bandwidth utilization is at 60% or over you are in trouble since collisions start to become a serious issue. Collisions may or may

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

2011-03-14 Thread Attila Király
Thanks for the info! With swallowAbortedUploads browsers (I tried Chrome10, Fox3.6, IE9, Opera11) broke (showed a network error message about aborted connection). They except to fully write the request before reading the response. Too bad. :( But I think that can still be combined with ajax

Re: Performance 5.5 vs 6 vs 7

2011-03-14 Thread Peter Crowther
On 14 March 2011 12:08, David kerber dcker...@verizon.net wrote: Dave, could you give us any more information about your network? What is the piece that's at 80% utilisation when you see the trouble? Is it a point-to-point connection, or an Ethernet LAN, or what? If it's Ethernet, what

Re: Performance 5.5 vs 6 vs 7

2011-03-14 Thread David kerber
On 3/14/2011 8:21 AM, Peter Crowther wrote: On 14 March 2011 12:08, David kerberdcker...@verizon.net wrote: Dave, could you give us any more information about your network? What is the piece that's at 80% utilisation when you see the trouble? Is it a point-to-point connection, or an

What Do I have to change In production stage

2011-03-14 Thread ahmet temiz
hello In production stage of jsf-tomcat 6, Do I have to change followings ?: Engine name=Catalina defaultHost=localhost jvmRoute=jvm1 Host name=localhost appBase=webapps unpackWARs=true autoDeploy=false xmlValidation=false xmlNamespaceAware=false I will appreciate if

mutual authentication between two server

2011-03-14 Thread Jorge Infante Osorio
Hi folks. Can I have a mutual Authentication using digital certificates between an Apache server and a Tomcat server? Regards, Jorge. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For

Re: mutual authentication between two server

2011-03-14 Thread Mark Thomas
On 14/03/2011 13:57, Jorge Infante Osorio wrote: Hi folks. Can I have a mutual Authentication using digital certificates between an Apache server and a Tomcat server? Yes. Mark - To unsubscribe, e-mail:

Re: java.io.NotSerializableException: org.apache.catalina.realm.GenericPrincipal

2011-03-14 Thread Ronald Klop
Op vrijdag, 11 maart 2011 13:32 schreef Ronald Klop ronald-mailingl...@base.nl: Hi, https://issues.apache.org/bugzilla/show_bug.cgi?id=47502 Because this issue is fixed I re-enabled using the security-constraint in web.xml to protect some pages in stead of using my own

Re: Tomcat 5.5.30 and Spring Framework

2011-03-14 Thread Aureliusz R.
It's all working now. Thank You for your help! Aurir_ On Sat, Mar 12, 2011 at 4:49 AM, Borut Hadžialić borut.hadzia...@gmail.com wrote: The docBase for my app is /usr/local/jsp/ I've placed my spring test JSP in /usr/local/jsp/testSpring/testSpring.jsp You probably want your's app docBase to

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

2011-03-14 Thread André Warnier
Mark Thomas wrote: On 14/03/2011 11:01, André Warnier wrote: Maybe have a look here : http://tomcat.apache.org/tomcat-6.0-doc/config/http.html#Common_Attributes attribute maxPostSize Nope. That doesn't apply to multi-part forms since Tomcat doesn't do the parameter parsing. You want Tomcat

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

2011-03-14 Thread Mark Thomas
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. That is defined by the Servlet 3.0 specification. Under Tomcat 7, is this the maxPostSize even for multipart POSTs, or is this settable

Form Authentication Illegal Characters

2011-03-14 Thread beau.hutcheson
Hello All: I am using Tomcat 6.0.26. My application has a context.xml file that defines an org.apache.catalina.authenticator.FormAuthenticator Valve and an org.apache.catalina.realm.DataSourceRealm Realm which I use for authentication. My login page functions in typical FormAuthentication

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

2011-03-14 Thread Dan
Hello all... We have some working tomcat 6 instances that we'd like to identify by querying the v$session.program field the oracle database they connect to. While there are no errors on startup for the tomcat instance, and we can connect to the database, nothing gets populated in v$session. This

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

2011-03-14 Thread André Warnier
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. That is defined by the Servlet 3.0 specification. Is it ? (I couldn't find it there)

Re: Performance 5.5 vs 6 vs 7

2011-03-14 Thread Tony Anecito
Hi Peter, Thanks for your comments. I am using 1Gb ethernet. My loopback testing included the motherboard network circuitry,  TCP/IP stack, OS, CPU and client and Tomcat App code. The best I got for a single request round trip that reused the http connection was 600 microseconds. As I added

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

2011-03-14 Thread chris derham
We have some working tomcat 6 instances that we'd like to identify Can you use the combination of machine and schema name to identify the instance? You didn't detail your environment, but if you have a cluster, then the machine name would uniquely identify the instance. If you have multiple

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

2011-03-14 Thread David Fisher
Hello all... We have some working tomcat 6 instances that we'd like to identify by querying the v$session.program field the oracle database they connect to. While there are no errors on startup for the tomcat instance, and we can connect to the database, nothing gets populated in v$session.

Re: Form Authentication Illegal Characters

2011-03-14 Thread Konstantin Kolinko
2011/3/14 beau.hutche...@thomsonreuters.com: Hello All: I am using Tomcat 6.0.26. My application has a context.xml file that defines an org.apache.catalina.authenticator.FormAuthenticator Valve and an org.apache.catalina.realm.DataSourceRealm Realm which I use for authentication. My

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

2011-03-14 Thread Dan
On Mon, Mar 14, 2011 at 10:57 AM, chris derham ch...@derham.me.uk wrote: We have some working tomcat 6 instances that we'd like to identify Can you use the combination of machine and schema name to identify the instance? You didn't detail your environment, but if you have a cluster, then the

[OT] Followup on 32-bit versus 64-bit performance discussion(s)

2011-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I've been thinking about the recent discussion(s) about 32-bit versus 64-bit performance on 64-bit hardware and I have a simple question: what's the best deployment strategy for a Java webapp that doesn't require *huge* amounts of memory, yet

Re: [OT] Followup on 32-bit versus 64-bit performance discussion(s)

2011-03-14 Thread David kerber
On 3/14/2011 1:01 PM, Christopher Schultz wrote: ... We are going into a production upgrade cycle and I'd like to plan for the OS type: if we get no benefit from running a 64-bit OS then I won't bother installing one. If you're using windows server machines, Server 2008 R2 (and maybe Server

Re: Performance 5.5 vs 6 vs 7

2011-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tony, On 3/13/2011 5:01 PM, Tony Anecito wrote: Also, I have measured around 600microseconds for resonse time when using localhost and running the client on the same server as Tomcat but that was still going through the network card om by

Re: [OT] Followup on 32-bit versus 64-bit performance discussion(s)

2011-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 3/14/2011 1:22 PM, David kerber wrote: On 3/14/2011 1:01 PM, Christopher Schultz wrote: ... We are going into a production upgrade cycle and I'd like to plan for the OS type: if we get no benefit from running a 64-bit OS then I

Re: Form Authentication Illegal Characters

2011-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Beau, On 3/14/2011 10:57 AM, beau.hutche...@thomsonreuters.com wrote: Currently, authentication fails if the character # (pound sign) is contained within a username. Define fails. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10

Re: [OT] Followup on 32-bit versus 64-bit performance discussion(s)

2011-03-14 Thread David kerber
On 3/14/2011 1:31 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 3/14/2011 1:22 PM, David kerber wrote: On 3/14/2011 1:01 PM, Christopher Schultz wrote: ... We are going into a production upgrade cycle and I'd like to plan for the OS type: if we get

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

2011-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 3/14/2011 10:47 AM, 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. That is defined by the Servlet 3.0 specification.

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

2011-03-14 Thread Christopher Schultz
-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. That is defined by the

Re: [OT] Followup on 32-bit versus 64-bit performance discussion(s)

2011-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 3/14/2011 1:36 PM, David kerber wrote: On 3/14/2011 1:31 PM, Christopher Schultz wrote: I should have mentioned, we are in a Linux environment, so we have lots of options. ;) Lucky you; I wish I could say the same... You should

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-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian, On 3/12/2011 6:46 PM, Brian Braun wrote: Well, first of all, I'm using the 2004 Struts version. Why didn't I upgraded that over all these years? Because in the first years I thought I was going to migrate to JSF, and recetly I'm thinking

RE: Form Authentication Illegal Characters - SOLVED

2011-03-14 Thread beau.hutcheson
Thanks for the response yet, There is no limitation regarding special characters. I just have to make sure and encode my query string properly. By fails I meant that the app gets forwarded to the value set in my form-error-page tag. Thanks, -Original Message- From: Christopher Schultz

RE: SOLVED - Form Authentication Illegal Characters

2011-03-14 Thread beau.hutcheson
There is no limitation regarding special characters. I just have to make sure and encode my query string properly. Thanks, -Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Monday, March 14, 2011 12:22 PM To: Tomcat Users List Subject: Re: Form

Re: JSP class size increase in Tomcat 7

2011-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jess, On 3/12/2011 11:16 AM, Jess Holle wrote: Clearly there's normally extra expense for debug/smap information, though it's not clear to me whether this works against the 65K limit or not. SMAP information is stored separately from the code, so

Re: Performance 5.5 vs 6 vs 7

2011-03-14 Thread Tony Anecito
From the definitions and discussions on google regarding loopback interface (localhost) it will go through the nic card for Windows unless you install a loopback adaptor. For Linux you do not need a nic card. I was using windows and thus it used my nic card. -Tony - Original Message

Re: [OT] Followup on 32-bit versus 64-bit performance discussion(s)

2011-03-14 Thread Leon Rosenberg
I'm sorry, I probably missed something, but why should 64 bit app on 64 bit os on 64 bit cpu be slower as 32 bit analog? regards Leon On Mon, Mar 14, 2011 at 6:45 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 3/14/2011

axis

2011-03-14 Thread Robert.Jenkin
Does tomcat include the apache axis or do I have to download and install separately? Sincerely, Robert Jenkin Surecomp Services, Inc. 2 Hudson Place, 4th Floor Hoboken, NJ 07030 Skype: robert.jenkin Office: 201 217 1437 | Direct: 201 716 1219 | Mobile: 908 251 0537 http://www.Surecomp.com

Re: OT: a good jmx browser?

2011-03-14 Thread Leon Rosenberg
thanx guys. Leon On Mon, Mar 14, 2011 at 11:34 AM, Mikolaj Rydzewski m...@ceti.pl wrote: On Mon, 14 Mar 2011 11:28:58 +0100, Leon Rosenberg rosenberg.l...@gmail.com wrote: sorry for the off-topic-ness, but what jmx browser are you guys using if any. By jmx browser i mean something with a

Re: [OT] Followup on 32-bit versus 64-bit performance discussion(s)

2011-03-14 Thread Justin Randall
In general, it is technically possible for a 32-bit application to perform faster than a 64-bit application when running on a 64-bit CPU because of CPU memory cache behaviour. 64-bit memory addresses occupy more space within a single cache line and can result in added memory cache misses

Re: OT: a good jmx browser?

2011-03-14 Thread Jess Holle
Or for a somewhat better UI and more capability overall, VisualVM. [Note that VisualVM's MBean tree is via a plug-in, so you need to install the plug-in before you get this functionality.] On 3/14/2011 2:42 PM, Leon Rosenberg wrote: thanx guys. Leon On Mon, Mar 14, 2011 at 11:34 AM, Mikolaj

RE: tools.jar dependency with Tomcat 7.0.10?

2011-03-14 Thread Mathew Samuel
Hi, You guys (Mark and Charles) were correct. Looks like there was an old reference to tool.jar in a classpath definition. Some how moving to Tomcat 7.0.10 (from the 6 stream) brought this issue to light for us. Anyways, found the reference and removed it and it works fine now without error.

Re: OT: a good jmx browser?

2011-03-14 Thread Jess Holle
If you use a recent version of Java 6 both jconsole and VisualVM come with the JDK (at least in most cases -- VisualVM does not run on or come with IBM's JVM). On 3/14/2011 2:55 PM, Jess Holle wrote: Or for a somewhat better UI and more capability overall, VisualVM. [Note that VisualVM's

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

2011-03-14 Thread Dan
On Mon, Mar 14, 2011 at 11:25 AM, Dan random.da...@gmail.com wrote: On Mon, Mar 14, 2011 at 10:57 AM, chris derham ch...@derham.me.uk wrote: We have some working tomcat 6 instances that we'd like to identify Can you use the combination of machine and schema name to identify the instance? You

Re: axis

2011-03-14 Thread Thomas Freitag
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Robert, On 03/14/2011 08:38 PM, robert.jen...@surecomp.com wrote: Does tomcat include the apache axis or do I have to download and install separately? Tomcat does not include axis. Regards, - -- Thomas Freitag -BEGIN PGP

Re: Urgent excepton: java.lang.reflect.InvocationTargetException

2011-03-14 Thread abhishek jain
hi, Whenever i call the url which calls the code, i get this exception. is that what u meant to ask? Do u need code snippets. thanks abhishek On Tue, Mar 15, 2011 at 2:06 AM, Dave Newton davelnew...@gmail.com wrote: Under what circumstances? I don't see how we're supposed to be able to help.

Read JSR 045 SMAP Files Produced by Jasper

2011-03-14 Thread Eric Sheridan
List, I am developing an application that programmatically leverages the Apache Jasper JspC facilities to translate JSP source files into their Java (Servlet) equivalents. For this application, I need to be able to translate a Java line number back to the original JSP line number. I have JspC

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

2011-03-14 Thread markt
Christopher Schultz ch...@christopherschultz.net wrote: If there is no request content-length, is the amount of data uploaded to the server ever checked against this same limit? Yes, but Tomcat has to count the bytes as they are uploaded so the connection is dropped later. Mark

Re: [OT] Followup on 32-bit versus 64-bit performance discussion(s)

2011-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Justin, On 3/14/2011 3:45 PM, Justin Randall wrote: In general, it is technically possible for a 32-bit application to perform faster than a 64-bit application when running on a 64-bit CPU because of CPU memory cache behaviour. Also due to the

Re: Performance 5.5 vs 6 vs 7

2011-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tony, On 3/14/2011 3:08 PM, Tony Anecito wrote: From the definitions and discussions on google regarding loopback interface (localhost) it will go through the nic card for Windows unless you install a loopback adaptor. For Linux you do not need a

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

2011-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 3/14/2011 5:01 PM, ma...@apache.org wrote: Christopher Schultz ch...@christopherschultz.net wrote: If there is no request content-length, is the amount of data uploaded to the server ever checked against this same limit? Yes, but

Re: Tomcat as Windows service

2011-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Zbynek, On 3/7/2011 3:34 AM, Zbynek Vavros wrote: Ok I switched to 7.0.8. Installed using package from http://mirror.fubra.com/ftp.apache.org/tomcat/tomcat-7/v7.0.8/bin/apache-tomcat-7.0.8.exe. Started either directly in services (changed

Re: [OT] Followup on 32-bit versus 64-bit performance discussion(s)

2011-03-14 Thread Justin Randall
Indeed. It really makes you wonder why caches and pipelines weren't scaled more proportionally. At least we can appreciate better calling conventions. :) --Original Message-- From: Christopher Schultz To: Tomcat Users List ReplyTo: Tomcat Users List Subject: Re: [OT] Followup on

What is the right way to redirect http to https with tomcat 7 ?

2011-03-14 Thread János Löbb
Hi, I set up ssl using the JAVA_HOME/bin/keytool on OSX 10.6.6 - JSSE type configuration with a self-signed certificate. Modified server.xml to include a connector: Connector port=8443 protocol=org.apache.coyote.http11.Http11Protocol SSLEnabled=true maxThreads=150

Re: Performance 5.5 vs 6 vs 7

2011-03-14 Thread Tony Anecito
I am not in the habit of defending Microsoft but the question is would you rather have hard coded functions or ones you dynamically put in? Just saying something without seeing the actual code of what they did it is hard to say who as the most optimized code. I will setup the test with the

RE: Read JSR 045 SMAP Files Produced by Jasper

2011-03-14 Thread Martin Gainty
/* org.apache.jasper.JspCompilationContext implements either of 2 JSP Compilers in TC7 */ if (options.getCompiler() == null) { jspCompiler = createCompiler(org.apache.jasper.compiler.JDTCompiler); if (jspCompiler == null) {

Re: What is the right way to redirect http to https with tomcat 7 ?

2011-03-14 Thread Filip Hanik - Dev Lists
On 3/14/2011 3:46 PM, János Löbb wrote: Hi, I set up ssl using the JAVA_HOME/bin/keytool on OSX 10.6.6 - JSSE type configuration with a self-signed certificate. Modified server.xml to include a connector: Connector port=8443 protocol=org.apache.coyote.http11.Http11Protocol

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

2011-03-14 Thread David Fisher
We have some working tomcat 6 instances that we'd like to identify Can you use the combination of machine and schema name to identify the instance? You didn't detail your environment, but if you have a cluster, then the machine name would uniquely identify the instance. If you have

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

2011-03-14 Thread Martin Gainty
Subject: Re: Populating Oracle v$session.program from Tomcat Context.xml From: dfis...@jmlafferty.com Date: Mon, 14 Mar 2011 18:08:53 -0700 To: users@tomcat.apache.org We have some working tomcat 6 instances that we'd like to identify Can you use the combination of machine and

Re: [OT] Followup on 32-bit versus 64-bit performance discussion(s)

2011-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Justin, On 3/14/2011 5:44 PM, Justin Randall wrote: It really makes you wonder why caches and pipelines weren't scaled more proportionally. Not to mention memory sizes in general. We got a 2^32-fold increase in addressable memory. Great. Where is

RE: [OT] Followup on 32-bit versus 64-bit performance discussion(s)

2011-03-14 Thread Caldarale, Charles R
From: Leon Rosenberg [mailto:rosenberg.l...@gmail.com] Subject: Re: [OT] Followup on 32-bit versus 64-bit performance discussion(s) I'm sorry, I probably missed something, but why should 64 bit app on 64 bit os on 64 bit cpu be slower as 32 bit analog? Because all the data items are bigger,

Tomcat 7 Per Instance Memory Footprint in Hello World App.

2011-03-14 Thread Noah Cutler
Hi, can find nothing on the net re: this apparently basic question. Given a simple hello world app, what is the @memory footprint per instance in Tomcat 7? Just trying to assess options visa vi single instance + multiple virtual hosts vs. multiple instance single host (preferred option as each