Re: I can only access Tomcat 7 when running via console (startup.bat)

2012-12-11 Thread Yuri E
2012/12/11 André Warnier > Yuri E wrote: > >> >>> I added a exception for the 8080 port in the Windows XP Firewall >> settings. >> Tomcat is working now. >> Thanks for all the answers. >> >> > Yuri, for me that still does not explain why you could access Tomcat from > "outside" when it was runni

Re: I can only access Tomcat 7 when running via console (startup.bat)

2012-12-11 Thread André Warnier
Yuri E wrote: I added a exception for the 8080 port in the Windows XP Firewall settings. Tomcat is working now. Thanks for all the answers. Yuri, for me that still does not explain why you could access Tomcat from "outside" when it was running in a console, but not when it was running as a

Re: I can only access Tomcat 7 when running via console (startup.bat)

2012-12-11 Thread Yuri E
2012/12/11 Christopher Schultz > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Yuri, > > On 12/10/12 11:22 PM, Yuri E wrote: > > 2012/12/10 Daniel Mikusa > > > >> On Dec 10, 2012, at 11:28 AM, André Warnier wrote: > >> > >>> Yuri E wrote: > 2012/12/7 André Warnier > > Christoph

Re: Request dispatching oddity

2012-12-11 Thread Mark Thomas
On 11/12/2012 22:00, Christopher Schultz wrote: > Can you start a new thread with a different subject? Something > like "Tomcat prefers TC JSTL implementation to webapp-packaged one" > and ask about it? I know there are some folks here who can describe > how that's supposed to work. Once you've got

Re: Request dispatching oddity

2012-12-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Juha, On 12/11/12 3:29 PM, Juha Laiho wrote: > first, thanks for your answers, and also for the nits, they did > hit some good points. Then on with some answers to the further > questions you placed; > > > On Tue, Dec 11, 2012 at 12:58 AM, Christ

Re: JMX with Listener

2012-12-11 Thread André Warnier
Cédric Couralet wrote: ... One question, though, in the tomcat doc (for 6.0.x) for the JMXRemoteListener, the configuration is : -Dcom.sun.management.jmxremote.password.file=$CATALINA_BASE/conf/jmxremote.password -Dcom.sun.management.jmxremote.access.file=$CATALINA_BASE/conf/jmxremote.access w

Re: Revoked Certificate being accepted

2012-12-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Will, On 12/11/12 2:53 PM, Will Nordmeyer wrote: > On Tue, Dec 11, 2012 at 2:25 PM, Christopher Schultz > wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 >> >> Will, >> >> On 12/11/12 11:43 AM, Will Nordmeyer wrote: >>> I have my Tomca

Re: Request dispatching oddity

2012-12-11 Thread Juha Laiho
Chirs, first, thanks for your answers, and also for the nits, they did hit some good points. Then on with some answers to the further questions you placed; On Tue, Dec 11, 2012 at 12:58 AM, Christopher Schultz wrote: > On 12/10/12 5:40 PM, Christopher Schultz wrote: >> I'll take a look. You def

RE: NPE when starting up Embedded tomcat7

2012-12-11 Thread Randy Toor
Hi Chris, The switch to the Tomcat class will be made soon enough, but for now it's really a time/risk thing at this stage of the project. The Embedded class is ingrained pretty well and it isn't trivial to switch to use Tomcat. Here is the code to set up the Embedded instance - emb

Tomcat 7 Maven Plugin - set MaxPermSize

2012-12-11 Thread David Miller
I'm using the tomcat-maven plugin to set a value for MaxPermSize but it's not working. You can see in the below plugin my setting for JAVA_OPTS - I've also tried MAVEN_OPTS and CATALINA_OPTS. I can see that it's not working using jvisualvm (can also tell because my app eventually craps out). The

Re: Revoked Certificate being accepted

2012-12-11 Thread Will Nordmeyer
On Tue, Dec 11, 2012 at 2:25 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Will, > > On 12/11/12 11:43 AM, Will Nordmeyer wrote: >> I have my Tomcat 6.0.34 installation configured to use APR and >> tcnative for certificate valiation & CRL checking. >> >> I

Re: Revoked Certificate being accepted

2012-12-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Will, On 12/11/12 11:43 AM, Will Nordmeyer wrote: > I have my Tomcat 6.0.34 installation configured to use APR and > tcnative for certificate valiation & CRL checking. > > I have a revoked CRL and when I use the openssl command line to > check the

Re: JMX with Listener

2012-12-11 Thread Cédric Couralet
>>> Okay. Now for my problems or questions: - Apparently, the Jmx listener listens on 0.0.0.0 (confirmed by a netstat) on the two ports configured for the listener, is it normal ? I thought that useLocalPorts would restrain the listening only to 127.0.0.1. >>> >>> useLocale

Re: JMX with Listener

2012-12-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Cédric, On 12/11/12 1:08 PM, Cédric Couralet wrote: >> Okay. >>> Now for my problems or questions: - Apparently, the Jmx >>> listener listens on 0.0.0.0 (confirmed by a netstat) on the two >>> ports configured for the listener, is it normal ? I thou

Re: Question regarding OpenSSL Version used in TC 7.x

2012-12-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Oliver, On 12/11/12 12:14 PM, Oliver Zemann wrote: > I would like to know if there is a list which version of TC > (apr/native dll) was compiled against which version of openssl. All three of tcnative, APR, and OpenSSL are shared libraries which me

Re: JMX with Listener

2012-12-11 Thread Cédric Couralet
> Okay. >> Now for my problems or questions: - Apparently, the Jmx listener >> listens on 0.0.0.0 (confirmed by a netstat) on the two ports >> configured for the listener, is it normal ? I thought that >> useLocalPorts would restrain the listening only to 127.0.0.1. > > useLocalePorts /should/ forc

Re: Question regarding OpenSSL Version used in TC 7.x

2012-12-11 Thread Mark Eggers
On 12/11/2012 9:14 AM, Oliver Zemann wrote: Hi, I would like to know if there is a list which version of TC (apr/native dll) was compiled against which version of openssl. I just noticed that my TC 7.0.23 is displaying openssl version 0.9.8h which has some known bugs. Its running on a win2k8

Re: Why are Tomcat's threads more costly than background threads?

2012-12-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 12/11/12 11:16 AM, Mark Eggers wrote: > On 12/11/2012 7:14 AM, Christopher Schultz wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 >> >> Julien, >> >> Warning: this is long. Like, André-or-Mark-Eggers long. >> > > Ouch (not re

Question regarding OpenSSL Version used in TC 7.x

2012-12-11 Thread Oliver Zemann
Hi, I would like to know if there is a list which version of TC (apr/native dll) was compiled against which version of openssl. I just noticed that my TC 7.0.23 is displaying openssl version 0.9.8h which has some known bugs. Its running on a win2k8 system installed as service. Thanks in

Revoked Certificate being accepted

2012-12-11 Thread Will Nordmeyer
I have my Tomcat 6.0.34 installation configured to use APR and tcnative for certificate valiation & CRL checking. I have a revoked CRL and when I use the openssl command line to check the certificate, it properly returns certificate revoked. When I try going in through tomcat, however, it prompts

Re: Why are Tomcat's threads more costly than background threads?

2012-12-11 Thread Mark Eggers
On 12/11/2012 7:14 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Julien, Warning: this is long. Like, André-or-Mark-Eggers long. Ouch (not really, thanks for the chuckle). Hemingway I am not, thorough I try to be. Very nice explanation. This may be useful

Re: Why are Tomcat's threads more costly than background threads?

2012-12-11 Thread Howard W. Smith, Jr.
Wow, i'm reading this now, because I just experienced an issue on my production server that is TomEE 1.5.1 (Tomcat 7.0.34), and the whole server locked up all because I had a @Stateless EJB inserting data into multiple tables in the database, because @Schedule timed event triggered the EJB to check

Re: Why are Tomcat's threads more costly than background threads?

2012-12-11 Thread Julien Martin
Thank you very much for this exhaustive reply Christopher. 2012/12/11 Christopher Schultz > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Julien, > > Warning: this is long. Like, André-or-Mark-Eggers long. > > On 12/11/12 7:30 AM, Julien Martin wrote: > > I am in reference to the followi

RE: JMX with Listener

2012-12-11 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: JMX with Listener > > Now for my problems or questions: - Apparently, the Jmx listener > > listens on 0.0.0.0 (confirmed by a netstat) on the two ports > > configured for the listener, is it normal ? I thought that >

Re: NPE when starting up Embedded tomcat7

2012-12-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Randy, On 12/10/12 6:09 PM, Randy Toor wrote: > I have an existing server which uses the Embedded class which I am > tasked with upgrading to tomcat7 (deprecated, but we'll be keeping > it for the time being). What part is deprecated? The Embedded

Re: JMX with Listener

2012-12-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Cédric, On 12/11/12 7:50 AM, Cédric Couralet wrote: > In our tomcat, we use at the moment the JMXRemoteLifecycleListener > configured as : > > className="org.apache.catalina.mbeans.JmxRemoteLifecycleListener" > rmiRegistryPortPlatform="10001" rm

Re: Why are Tomcat's threads more costly than background threads?

2012-12-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Julien, Warning: this is long. Like, André-or-Mark-Eggers long. On 12/11/12 7:30 AM, Julien Martin wrote: > I am in reference to the following blog entry: Blog > entry

Re: Running Tomcat Behind Apache HTTP Server

2012-12-11 Thread André Warnier
Dhruva Reddy wrote: Thanks, André, for your response. To give you a little more context, I needed to get this working as soon as possible, which I basically have. Eventually, yes, I want the static content to be served by HTTPD, and the dynamic content to be served by Tomcat. I did not want to

Re: I can only access Tomcat 7 when running via console (startup.bat)

2012-12-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Yuri, On 12/10/12 11:22 PM, Yuri E wrote: > 2012/12/10 Daniel Mikusa > >> On Dec 10, 2012, at 11:28 AM, André Warnier wrote: >> >>> Yuri E wrote: 2012/12/7 André Warnier > Christopher Schultz wrote: > >> -BEGIN PGP SIGNED M

Re: Tomcat 7.33 update on Windows

2012-12-11 Thread Konstantin Kolinko
2012/12/11 Justin Larose : > I just updated Tomcat 7 from version 7.11 to 7.33 on my windows server but > when I goto the URL I am seeing 500 error, "Cannot load JDBC driver class > 'com.microsoft.sqlserver.jdbc.SQLServerDriver'" > Not sure why. I made a copy of all config directories prior to inst

Tomcat 7.33 update on Windows

2012-12-11 Thread Justin Larose
I just updated Tomcat 7 from version 7.11 to 7.33 on my windows server but when I goto the URL I am seeing 500 error, "Cannot load JDBC driver class 'com.microsoft.sqlserver.jdbc.SQLServerDriver'" Not sure why. I made a copy of all config directories prior to install and copied them all to the n

Re: CATALINA_OPTS under windows 7

2012-12-11 Thread Daniel Mikusa
On Dec 10, 2012, at 6:14 PM, Raf Roger wrote: > Hi, > > i need to setup CATALINA_OPTS environment variable under windows 7. > I read that in directory *tomcatDir/bin/* should be a file named setenv.bat > for Windows in which i could define the CATALINA_OPTS environment variable. > > However aft

Re: Running Tomcat Behind Apache HTTP Server

2012-12-11 Thread Dhruva Reddy
Thanks, André, for your response. To give you a little more context, I needed to get this working as soon as possible, which I basically have. Eventually, yes, I want the static content to be served by HTTPD, and the dynamic content to be served by Tomcat. I did not want to deploy my application

JMX with Listener

2012-12-11 Thread Cédric Couralet
Hello, In our tomcat, we use at the moment the JMXRemoteLifecycleListener configured as : The configuration for the windows service is : -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=true -Dcom.sun.management.jmxremote.password.file=${CATALINA_BASE}/conf/jmxremote.

Why are Tomcat's threads more costly than background threads?

2012-12-11 Thread Julien Martin
Hello, I am in reference to the following blog entry: Blog entry about Spring MVC 3.2 asynchronous support. I understand Tomcat uses a thread pool in order to serve http/web requests. Furthermore,