Applying Multiple Certificates To Keystore

2008-02-15 Thread RK
Hi, I have a security certificate issued for my website for https://www.mydomain.com . So if some one types in https://mydomain.com an certificate mismatch error is being displayed. So to avoid this problem I purchased a new certificat

RE: Performance of Native library

2008-02-15 Thread Caldarale, Charles R
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker > Subject: Re: Performance of Native library > > But it really depends on how well your JVM provider has > implimented sendfile in NIO on your platform Hmmm... I guess that's me :-) Thanks very much for the info. Just wish I had

Re: Tomcat6 on Linux startup on boot..daemon?

2008-02-15 Thread Bill Barker
Well the main problem is that Tomcat is running as root, so any bug in your webapp that allows the user to read/write/excecute an arbitrary file on your system will likely let a random blackhat take control of it. "Tim Alberts" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm s

Re: Performance of Native library

2008-02-15 Thread Bill Barker
"Caldarale, Charles R" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker >> Subject: Re: Performance of Native library > >Thanks for the insight (not just the snippet below). > >> If you serve a lot of large static files,

Re: naming-factory-dbcp.jar nonsense

2008-02-15 Thread Dan Armbrust
> > If there are any other legitimate reasons - such as - you needed to > > fix some bugs in the code that weren't being addressed in dbcp, then > > you should just put the code in your source control system. > > If this was the problem, the right way to fix it would be to go and help > out DB

Re: FileDirContext fails to immediately recognise new files

2008-02-15 Thread Mick Semb Wever
> assign the classname attr inside the classname=org.apache.naming.resources.FileDirContext > > http://dspace.dsto.defence.gov.au/tomcat-docs/config/resources.html > Sorry for asking so hastily. Seems to work well with META-INF/context.xml: Thanks very much for pointing me in the right dire

Re: FileDirContext fails to immediately recognise new files

2008-02-15 Thread Mick Semb Wever
> assign the classname attr inside the classname=org.apache.naming.resources.FileDirContext > > http://dspace.dsto.defence.gov.au/tomcat-docs/config/resources.html > Sorry for asking so hastily. Seems to work well with META-INF/context.xml: Thanks very much for pointing me in the right dire

FileDirContext fails to immediately recognise new files

2008-02-15 Thread Mick Semb Wever
My application writes new files out into the container's webapps/ROOT/ directory. But servletContext.getResource(..) returns null if it is called too quickly after the file has been created. This can be debugged all the way down to FileDirContext simply not finding the file. Funny when "new F

Re: Remote ip Address

2008-02-15 Thread ksh95
> - Original Message > From: Peter Crowther <[EMAIL PROTECTED]> > To: Tomcat Users List > Sent: Friday, February 15, 2008 4:25:05 AM > Subject: RE: Remote ip Address > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Is it possible to programatically direct a servlet response >

Re: Remote ip Address

2008-02-15 Thread ksh95
HI Christopher, thanks for the response. | [EMAIL PROTECTED] wrote: | | Is it possible to programatically direct a servlet response somewhere | | other than the remote ip address. | | Not using the servlet container in any usual way. You could email the | response somewhere or something like tha

Tomcat6 on Linux startup on boot..daemon?

2008-02-15 Thread Tim Alberts
I'm setting up Tomcat6 on Linux and want it to start on boot. I use the following init script: #!/bin/sh # description: Tomcat 6.0 web application server # chkconfig: 2345 99 00 case "$1" in 'start') export JAVA_HOME=/usr/java/default /opt/apache/apache-tomcat-6.0.16/bin/startup.sh to

Re: Problem with Tomcat5.5.25 when configured for JSVC

2008-02-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neha, There's no need to post a question twice in such a short time span. Please wait a little longer before you re-port a question to the list. Thanks, - -chris Neha Agrawal wrote: | Hello | I configured tomcat 5.5.25 with native librarie

Re: long initialisation time for Tomcat5.5.25 when compiled with Native libraries and JSVC

2008-02-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neha, Neha Agrawal wrote: | I configured tomcat 5.5.25 with native libraries (openssl and APR) | for ports 8180 (http) and 8443(HTTPS) on Linux 2.6.22.9 #1 SMP x86_64 | | This is Intel Quad Core Zeon machine 64 bit | The OS is debian for amd64 | APR

long initialisation time for Tomcat5.5.25 when compiled with Native libraries and JSVC

2008-02-15 Thread Neha Agrawal
Hello I configured tomcat 5.5.25 with native libraries (openssl and APR) for ports 8180 (http) and 8443(HTTPS) on Linux 2.6.22.9 #1 SMP x86_64 This is Intel Quad Core Zeon machine 64 bit The OS is debian for amd64 APR 1.2.7 Open-ssl 0.9.7k java -version gives the following output jav

Problem with Tomcat5.5.25 when configured for JSVC

2008-02-15 Thread Neha Agrawal
Hello I configured tomcat 5.5.25 with native libraries (openssl and APR) for ports 8180 (http) and 8443(HTTPS) on Linux 2.6.22.9 #1 SMP x86_64 This is Intel Quad Core Zeon machine 64 bit The OS is debian for amd64 APR 1.2.7 Open-ssl 0.9.7k java -version gives the following output java

[ANN] Apache Tomcat Native 1.1.13 released

2008-02-15 Thread jean-frederic clere
The Apache Tomcat team announces the immediate availability of Apache Tomcat Native 1.1.13 stable. This release includes many bugfixes over Apache Tomcat Native 1.1.12 and the first official release of Tomcat Native. Please refer to the change log for the list of changes: http://tomcat.apache.

Re: Sporadic Errors in catalina log

2008-02-15 Thread Steven
Thanks Mark. So I still have not found root cause on why this problem is even occuring. I can't reproduce it reliably, i'll send 2000 requests successfully, then a series of 100 will cause this exception to be thrown. Even if its the exact same request over and over again. If I just hit tomcat w

Re: polish charset on tomcat server on linux system

2008-02-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Raghuveer, Raghuveer wrote: | I cannot test on linux as it is in my customer place in Poland ..where as I | am working from a remote place locally on windows from india.. Get yourself a Linux box. Or, get yourself a VMware virtual machine. Linux is

RE: Selective ports without virtual hosts

2008-02-15 Thread Greg Jewell
From: Greg Jewell [mailto:[EMAIL PROTECTED] Subject: Selective ports without virtual hosts Basically, I want to allow this: https://host/app/a http://host/app/b and disallow this: http://host/app/a Any reason why you can't use a of CONFIDENTIAL for the /a mapping? This would be the standard

RE: Selective ports without virtual hosts

2008-02-15 Thread Caldarale, Charles R
> From: Greg Jewell [mailto:[EMAIL PROTECTED] > Subject: Selective ports without virtual hosts > > Basically, I want to allow this: > https://host/app/a > http://host/app/b > > and disallow this: > http://host/app/a Any reason why you can't use a of CONFIDENTIAL for the /a mapping? This would

Stuff the DBCP and JDBC jars in the WAR: is there a downside?

2008-02-15 Thread Florian Kirchhoff
Hello Tomcat Users, up until recently it was my firm belief that the ONLY way to get database connection pooling (DBCP) working was to place the JDBC driver JARS in ${CATALINA_HOME}/common/lib and define the DBCP resouce in the context (my preference is for META-INF/context.xml in the WAR). That

Selective ports without virtual hosts

2008-02-15 Thread Greg Jewell
Hello, I have a webapp that has two servlets in it. I would like one of the servlets to respond when a client connects to an SSL port, and the other to respond when a client connects to a non-SSL port. Each servlet has a different mapping in the web.xml. Basically, I want to allow this: htt

Re: Performance of Native library

2008-02-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jacob, Jacob Rhoden wrote: | Are there any web sites that show/compare the performance of a plain | install vs adding the native libraries for tomcat? How many of you guys | actually use the native libraries in production, ie is this common or | unco

RE: Particularly problematic Oracle connection problem (Oracle 10g, Tomcat 6, Blojsom 3.2)

2008-02-15 Thread Wylie, Kirk
Summary: I am an idiot and posted to the mailing list far too early. Was a problem with my JDBC connection string (a typo basically). I think I got hung up too much on the classloading differences between Tomcat 5.x and Tomcat 6 and didn't look carefully enough at my own settings. Apologies for w

Re: Particularly problematic Oracle connection problem (Oracle 10g, Tomcat 6, Blojsom 3.2)

2008-02-15 Thread Mark Thomas
Wylie, Kirk wrote: - Putting the .jar files ANYwhere (in order of attempts, webapp's WEB-INF/lib, CATALINA_BASE/lib, CATALINA_HOME/lib) - Results in the following statement occurring in the logs: Cannot create JDBC driver of class 'oracle.jdbc.OracleDriver' for connect URL 'jdbc:oracle:thin@/

Particularly problematic Oracle connection problem (Oracle 10g, Tomcat 6, Blojsom 3.2)

2008-02-15 Thread Wylie, Kirk
I'm attempting to get Blojsom 3.2 talking to my Oracle database (this is completely setup fine, the problem appears to be a classloader issue of some sort) in Tomcat 6 (6.0.16 to be precise). I'm using a split CATALINA_BASE and CATALINA_HOME installation (CATALINA_HOME isn't writable by the user t

Re: naming-factory-dbcp.jar nonsense

2008-02-15 Thread Mark Thomas
Dan Armbrust wrote: The only reasons he was given was that it was smaller (and we care why?) and that it _might_ prevent a version conflict issue. Size - don't care that much but as a side effect it isn't going to cause any harm. Version conflicts, however, are a big issue. Many web apps incl

RE: Remote ip Address

2008-02-15 Thread Peter Crowther
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Is it possible to programatically direct a servlet response > somewhere other than the remote ip address. > For instance, Is there a response.setRemoteAddr() or > something similar. > > My ultimate goal would be to, under certain conditions, > d

Re: Undeployment problem

2008-02-15 Thread Sébastien Piller
Hello, yes, I don't know what is Thread-1. Maybe a Wicket thread (on my side, I don't start any thread anywhere). As I'm investigating more on that, I'm now quite sure it's a wicket issue and not a tomcat one. antiResourceLocking="true" on the context.xml do the trick, but I don't know if I