Re: tomcat 7 with APR connector on ubuntu

2014-01-16 Thread Mubeen Shah
Thank you Brett for your comments. Here is tomcat startup script (/etc/init.d/tomcat7) #!/bin/bash # tomcat start/stop script export JAVA_HOME=/usr/lib/jvm/java-7-oracle export CATALINA_HOME=/opt/tomcat7 start() { su tomcat7 -s /bin/sh -c $CATALINA_HOME/bin/startup.sh } stop() { su

Re: jasper2 doesn't support the validateXml attribute

2014-01-16 Thread André Warnier
Gernot wrote: 2014/1/15 Mark Thomas ma...@apache.org Gernot gern...@nurfuerspam.de wrote: Hi, I did an upgrade from tomcat 7.0.29 to 7.0.50. In 7.0.50 jasper2 ant task quits with error 'jasper2 doesn't support the validateXml attribute' Here's the mentioned code: jasper2

Adding another schema to the web.xml

2014-01-16 Thread Blaise Gervais
Hello, I have a webapp named portal who gather informations about other webapps (modules) running on the same Tomcat instance. The portal use JMX to list all the webapps and then parse the web.xml to extract the module 's name and description. So I can create a page with a link to all those

Re: Adding another schema to the web.xml

2014-01-16 Thread André Warnier
Blaise Gervais wrote: Hello, I have a webapp named portal who gather informations about other webapps (modules) running on the same Tomcat instance. The portal use JMX to list all the webapps and then parse the web.xml to extract the module 's name and description. So I can create a page with a

Re: [ANN] Apache Tomcat 7.0.50 released

2014-01-16 Thread Violeta Georgieva
2014/1/12 David Law tomcat.u...@apconsult.de Thanks for that. :-) You might like to correct this Typo under Tomcat 7.0.50 / Catalina: Streamline handling of WebSocket messages whe... to when or where for example. Thanks for pointing that. I fixed it with r1558789. Regards Violeta All the

SSL certificates

2014-01-16 Thread Miten Mehta
Hi, I am understanding SSL for tomcat using http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html. 1)I create jks using self signed certificate using keytool. 2) I generate CSR from that keystore/certificate. 3) I get it signed by CA who gives me root certificate and signed certificate. 4) I

Re: SSL certificates

2014-01-16 Thread James H. H. Lampert
On 1/16/14 9:01 AM, Miten Mehta wrote: Hi, I am understanding SSL for tomcat using http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html. 1)I create jks using self signed certificate using keytool. 2) I generate CSR from that keystore/certificate. 3) I get it signed by CA who gives me root

Re: SSL certificates

2014-01-16 Thread Miten Mehta
Hi, Adding more clarification for ease below. 1) create keystore.jks with self signed cert (alias tomcat). 2) generate old.csr and send for signing to CA 3) get back new.cer (signed certificate) and root.cer (root certificate) 4) delete existing cert from keystore.jks (alias tomcat) 5) import

Re: SSL certificates

2014-01-16 Thread Ike Ikonne
Hi, Step #4 is not correct; if you delete the existing certificate you would have lost everything. Please follow the instruction given by James H. H. Lampert. Thanks, Ike From: Miten Mehta indiami...@gmail.com To: users@tomcat.apache.org, Date: 01/16/2014 11:09 AM Subject:

Re: SSL certificates

2014-01-16 Thread James H. H. Lampert
? will existing become redundant ? NO, the SIGNED certificate will, at least in effect, be MERGED with the original certificate. Deleting the original certificate from the keystore before importing the signed one will render the signed certificate WORTHLESS. -- James H. H. Lampert

Why does Tomcat take so long to start? how can I monitor status?

2014-01-16 Thread Bradley Rogers
I have an application where Tomcat under Centos linux takes about 4 minutes to be online from the time it starts. i dont know what its doing but wonder if there is a way to ping something in the tomcat to check status?

Re: Why does Tomcat take so long to start? how can I monitor status?

2014-01-16 Thread Daniel Mikusa
On Jan 16, 2014, at 3:04 PM, Bradley Rogers bradley.rogers.engin...@gmail.com wrote: I have an application where Tomcat under Centos linux takes about 4 minutes to be online from the time it starts. My initial thought is that it's probably the application. This is true most of the time.

Re: How to validate or parse HTTP request headers ( tomcat version 6.0.18 )

2014-01-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Kalasareddy, On 1/15/14, 1:12 AM, kalasareddy lingaraja wrote: yes i did it, but thing is that after parsing request in filter: if it is success then i should redirect the request to web service which running in embedded tomcat instance,

Re: [tomcat7] rhel 6 - init.d script works; does not start on reboot

2014-01-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Eddie, On 1/15/14, 11:01 AM, Bush, Eddie wrote: -Original Message- From: Daniel Mikusa [mailto:dmik...@gopivotal.com] Sent: Wednesday, January 15, 2014 9:54 AM To: Tomcat Users List Subject: Re: [tomcat7] rhel 6 - init.d script

Tomcat 7.0.47 using JmxRemoteLifecycleListener with SSL

2014-01-16 Thread Erik Engstrom
I can get SSL working without JmxRemoteLifecycleListener, and I can get JmxRemoteLifecycleListener to work correctly without SSL. However if I try to use both I get the following error in catalina.out: failed loading capabilities library -- /usr/lib/libcap.so: cannot open shared object file: No

Re: Tomcat 7.0.47 using JmxRemoteLifecycleListener with SSL

2014-01-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Erik, On 1/16/14, 4:37 PM, Erik Engstrom wrote: I can get SSL working without JmxRemoteLifecycleListener, and I can get JmxRemoteLifecycleListener to work correctly without SSL. However if I try to use both I get the following error in

Re: Why does Tomcat take so long to start? how can I monitor status?

2014-01-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dan, On 1/16/14, 3:41 PM, Daniel Mikusa wrote: On Jan 16, 2014, at 3:04 PM, Bradley Rogers bradley.rogers.engin...@gmail.com wrote: I have an application where Tomcat under Centos linux takes about 4 minutes to be online from the time it

Re: SSL certificates

2014-01-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Miten, On 1/16/14, 12:09 PM, Miten Mehta wrote: Hi, Adding more clarification for ease below. 1) create keystore.jks with self signed cert (alias tomcat). Why are you self-signing a certificate if you are going to get it signed by a CA?

Re: SSL certificates

2014-01-16 Thread James H. H. Lampert
On 1/16/14 1:49 PM, Christopher Schultz wrote: Why are you self-signing a certificate if you are going to get it signed by a CA? A newly-created keypair in a Java keystore is, by definition, a self-signed certificate. And you can't create a CSR without having a keypair from which to create

Re: SSL certificates

2014-01-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 James, On 1/16/14, 5:04 PM, James H. H. Lampert wrote: On 1/16/14 1:49 PM, Christopher Schultz wrote: Why are you self-signing a certificate if you are going to get it signed by a CA? A newly-created keypair in a Java keystore is, by

Re: Oracle Application Server 10g R3 works fine with RK-1048 codepage but Tomcat 7.0.47 does not.

2014-01-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Тимур, Let's start over again: you are providing WAY too much extra information all at once. We don't need to see your web.xml file. We don't need to see your HTML files. I looked at your comparison but there was no indication of where the files

Re: tomcat 7 with APR connector on ubuntu

2014-01-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Brett, On 1/15/14, 7:41 PM, Brett Delle Grazie wrote: On 15 January 2014 16:53, Mubeen Shah mubeens...@gmail.com wrote: Hello, I am trying to configure tomcat 7 on ubuntu machine and wanted to run it as non-root on port 80, Here is what I

Re: Would a developer please add this mime type to the distro?

2014-01-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jeffrey, On 1/13/14, 5:36 PM, Jeffrey Janner wrote: -Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Friday, January 10, 2014 9:04 PM To: Tomcat Users List Subject: Re: Would a developer please add this

Re: Tomcat 7.0.47 using JmxRemoteLifecycleListener with SSL

2014-01-16 Thread Erik Engstrom
I think it is due to this bug in commons-daemon https://issues.apache.org/jira/browse/DAEMON-246 but it did not seem to keep the service from running properly. I will try with the latest version that is supposed to have a fix for it but I don't think it will help this problem. On Thu, Jan 16,

Re: tomcat 7 with APR connector on ubuntu

2014-01-16 Thread Mubeen Shah
Hello, I am able to run tomcat with jsvc daemon on port 80, but I can see jsvc.exec process twice with different pid (one with root and other with non-root): root 28890 0.0 0.0 jsvc.exec -java-home /usr/lib/jvm/java-7-oracle -user tomcat7 -pidfile /opt/tomcat7/logs/catalina-daemon.pid

Re: tomcat 7 with APR connector on ubuntu

2014-01-16 Thread Brett Delle Grazie
Christopher, On 16 January 2014 22:28, Christopher Schultz ch...@christopherschultz.netwrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Brett, On 1/15/14, 7:41 PM, Brett Delle Grazie wrote: On 15 January 2014 16:53, Mubeen Shah mubeens...@gmail.com wrote: Hello, I am

Re: serialization and newest tomcat

2014-01-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ray, On 1/12/14, 8:45 AM, Ray Holme wrote: [S]erialization causes some problems in apache-tomcat-7.0.35 I have several applications and run on fedora linux. I have used many releases of fedora and tomcat. My applications are characterized

Re: tomcat 7 with APR connector on ubuntu

2014-01-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mubeen, On 1/16/14, 5:33 PM, Mubeen Shah wrote: Hello, I am able to run tomcat with jsvc daemon on port 80, but I can see jsvc.exec process twice with different pid (one with root and other with non-root): root 28890 0.0 0.0

Re: tomcat 7 with APR connector on ubuntu

2014-01-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Brett, On 1/16/14, 5:44 PM, Brett Delle Grazie wrote: Christopher, On 16 January 2014 22:28, Christopher Schultz ch...@christopherschultz.netwrote: Brett, On 1/15/14, 7:41 PM, Brett Delle Grazie wrote: On 15 January 2014 16:53, Mubeen

Re: Tomcat 7.0.47 using JmxRemoteLifecycleListener with SSL

2014-01-16 Thread Erik Engstrom
the latest commons-daemon 1.0.15 makes the libcap error go away but does not fix the CommunicationException On Thu, Jan 16, 2014 at 4:32 PM, Erik Engstrom esengst...@gmail.com wrote: I think it is due to this bug in commons-daemon https://issues.apache.org/jira/browse/DAEMON-246 but it did

Re: SSL certificates

2014-01-16 Thread James H. H. Lampert
Christopher Schultz wrote: That is always true. But you don't need a certificate to create a CSR. shrug If Keytool and the Java Keystore format even recognize any difference between the concepts of keypair and self-signed certificate, it would be news to me. shrug Speaking of one who

Re: tomcat 7 with APR connector on ubuntu

2014-01-16 Thread Brett Delle Grazie
Mubeen, On 16 January 2014 08:53, Mubeen Shah mubeens...@gmail.com wrote: Thank you Brett for your comments. You're welcome. However as per list convention, please do not top post ( http://tomcat.apache.org/lists.html) Here is tomcat startup script (/etc/init.d/tomcat7) #!/bin/bash #

Re: SSL certificates

2014-01-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 James, On 1/16/14, 6:18 PM, James H. H. Lampert wrote: Christopher Schultz wrote: That is always true. But you don't need a certificate to create a CSR. shrug If Keytool and the Java Keystore format even recognize any difference between the

Re: SSL certificates

2014-01-16 Thread James H. H. Lampert
Christopher Schultz wrote: :) Give me OpenSSL any day of the week. ;) Dunno. Can't recall ever having any experience with it at all. Just DCM (for securing IBM-proprietary servers, like their Secured Telnet [NOT ssh] server and their various proprietary web-serving products), and Keytool

Re: Oracle Application Server 10g R3 works fine with RK-1048 codepage but Tomcat 7.0.47 does not.

2014-01-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Тимур, On 1/16/14, 8:23 PM, Тимур Кулибаев wrote: Hello, Chris ! Thank you for your response. Below are answers to your questions. +++If the data is correctly-stored in the database (as verified by some +++other means), does the

Stopping/pausing a Connector

2014-01-16 Thread Randy Toor
Hi, I'm running embedded tomcat (unfortunately still using the deprecated classes and not the newer Tomcat class) and I'm trying to configure my connector at runtime to reject requests. If I use connector.pause(), any requests just hang until I call connector.resume(). If I use

Re: Oracle Application Server 10g R3 works fine with RK-1048 codepage but Tomcat 7.0.47 does not.

2014-01-16 Thread Terence M. Bandoian
On 1/16/2014 7:23 PM, Тимур Кулибаев wrote: Hello, Chris ! Thank you for your response. Below are answers to your questions. +++If the data is correctly-stored in the database (as verified by some +++other means), does the fetched-data display correctly in your web pages? Yes, data is

Possible Apache Tomcat workshop after ApacheCon 2014

2014-01-16 Thread Mark Thomas
Cross-posted to users and dev list. Please reply on the users list. All, There is the possibility of holding a Tomcat specific summit/workshop after ApacheCon 2014 [1] (i.e. Thursday 10th). If there is interest, I am happy to take the lead to organise this. My current thinking is for a workshop