Re: APR connector questions

2020-05-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Daniel, On 5/9/20 12:34, daniel@dell.com wrote: > We want to use APR to call openssl also do with native to support FIPS mode in tomcat. > > Software info Tomcat/9.0.34 libtcnative-1-0-1.2.23-15.30.x86_64 Where did you get that? Is it tcnative-

RE: APR connector questions

2020-05-09 Thread Daniel.Sun
java.base/java.lang.Thread.run(Thread.java:834) BRs Dan -Original Message- From: Christopher Schultz Sent: Friday, May 8, 2020 10:37 PM To: users@tomcat.apache.org Subject: Re: APR connector questions -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Daniel, On 5/8/20 04:25, daniel

Re: APR connector questions

2020-05-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Daniel, On 5/8/20 04:25, daniel@dell.com wrote: > We are changing from Nio connector to APR connector to enable FIPS > mode in tomcat. But we hit tomcat hang issue, ssl handshake no > response when run long time. So many close_wait in netstat ou

RE: APR connector questions

2020-05-08 Thread Daniel.Sun
Dear experts: Nowadays, we are changing from Nio connector to APR connector to enable FIPS mode in tomcat. But we hit tomcat hang issue, ssl handshake no response when run long time. So many close_wait in netstat output. Do you have any advises about that issue? BRs Dan

Re: APR libs present but not found

2019-09-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 John, On 9/10/19 14:20, John Beaulaurier -X (jbeaulau - ADVANCED NETWORK INFORMATION INC at Cisco) wrote: > I needed to build the APR libs from source as there was no rpm in > yum, but the default directory where the libs were place was not > in th

RE: APR libs present but not found

2019-09-10 Thread John Beaulaurier -X (jbeaulau - ADVANCED NETWORK INFORMATION INC at Cisco)
-Original Message- From: Christopher Schultz Sent: Friday, September 6, 2019 2:37 PM To: users@tomcat.apache.org Subject: Re: APR libs present but not found -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 John, On 9/6/19 16:51, John Beaulaurier -X (jbeaulau - ADVANCED NETWORK INFORMATION INC at

Re: APR libs present but not found

2019-09-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 John, On 9/6/19 16:51, John Beaulaurier -X (jbeaulau - ADVANCED NETWORK INFORMATION INC at Cisco) wrote: > Hello, > > I installed the following RPMs via Yum for OpenSSL support > > RHEL 7.4 apr.i686 > 1.4.8-3.el7_4.1 apr.x86_64 > 1.4.8-3.el7_4.1 a

Re: APR 1.2.21 with Apache Tomcat 8.5.37

2019-02-04 Thread Mark Thomas
On 04/02/2019 09:37, M. Manna wrote: > Hello, > > Is it okay to replace 1.2.19 (packed with Tomcat 8.5.37 Windows 64 bit) > with the newly released version 1.2.21? Yes. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.ap

Re: APR/native error on tomcat 8.5.16

2018-04-26 Thread Mark Thomas
On 25/04/18 13:34, M. Manna wrote: > I needed to mask out certain information before I could send you the full > stack trace. Here is the full version: OK. That looks like a normal ClientAbortException. This doesn't look like Tomcat's logging. It looks like application logging. I think you need t

Re: APR/native error on tomcat 8.5.16

2018-04-25 Thread M. Manna
Hi Mark, Thanks for clarifying. Apologies as I truly meant to say "Client dropped the connection". So once again, thanks for pointing that out. I needed to mask out certain information before I could send you the full stack trace. Here is the full version: INFO | jvm 1| 2018/04/25 05:37:38

Re: APR/native error on tomcat 8.5.16

2018-04-25 Thread Mark Thomas
On 25/04/18 11:18, M. Manna wrote: > Hello, > But from the above stack track it seems as though the > socket cannot handle the size of the data being transferred. That is not correct. What you are seeing is an I/O exception as a result of the client dropping the connection. > We did a controll

Re: apr

2017-11-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chris, On 10/31/17 12:18 PM, Cheltenham, Chris wrote: > I will need some help here. > > How do I generate a stack trace? If you are getting an exception in the log file, I'd expect a stack trace to accompany it. Something that looks like this: o

RE: apr

2017-10-31 Thread Cheltenham, Chris
lphia Work # 215-400-5025 Cell # 215-301-6571 -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Tuesday, October 31, 2017 12:47 PM To: Tomcat Users List Subject: Re: apr On 31/10/17 14:41, Cheltenham, Chris wrote: > Thanks Mark , but where in the error logs do you

Re: apr

2017-10-31 Thread Mark Thomas
On 31/10/17 14:41, Cheltenham, Chris wrote: > Thanks Mark , but where in the error logs do you see I am building against > 1.0.1? > 31-Oct-2017 10:40:15.250 SEVERE [main] > org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Failed to > initialize the SSLEngine. > org.apache.tomcat.

RE: apr

2017-10-31 Thread Cheltenham, Chris
# 215-301-6571 -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Tuesday, October 31, 2017 11:48 AM To: users@tomcat.apache.org Subject: Re: apr -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chris, On 10/31/17 10:41 AM, Cheltenham, Chris wrote

RE: apr

2017-10-31 Thread Cheltenham, Chris
District of Philadelphia Work # 215-400-5025 Cell # 215-301-6571 -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Tuesday, October 31, 2017 11:48 AM To: users@tomcat.apache.org Subject: Re: apr -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chris, On

Re: apr

2017-10-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chris, On 10/31/17 10:41 AM, Cheltenham, Chris wrote: > Thanks Mark , but where in the error logs do you see I am building > against 1.0.1? > > 31-Oct-2017 10:40:15.243 INFO [main] > org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loa

RE: apr

2017-10-31 Thread Cheltenham, Chris
; Chris Cheltenham Technology Services The School District of Philadelphia Work # 215-400-5025 Cell # 215-301-6571 -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Tuesday, October 31, 2017 10:08 AM To: Tomcat Users List Subject: Re: apr On 31/10/17 12:19, Cheltenham

Re: apr

2017-10-31 Thread Mark Thomas
> > Work # 215-400-5025 > Cell # 215-301-6571 > > -Original Message- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Tuesday, October 31, 2017 3:24 AM > To: Tomcat Users List > Subject: Re: apr > > On 30/10/2017 17:49, Cheltenham, Chris wrote: >&g

RE: apr

2017-10-31 Thread Cheltenham, Chris
to tell me. === Thank You; Chris Cheltenham Technology Services The School District of Philadelphia Work # 215-400-5025 Cell # 215-301-6571 -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Tuesday, October 31, 2017 3:24 AM To: Tomcat Users List Subject: R

Re: apr

2017-10-31 Thread Mark Thomas
On 30/10/2017 17:49, Cheltenham, Chris wrote: > Hello Everyone, > > Using OpenSSL 1.0.2k-fips > > I am trying to install the apr. > > I used several different versions of APR 1.4 through 1.6 > > Then I compiled tnative 1.1.16, 1.2.x The latest release of the 1.1.x line is 1.1.34. Given 1.2.x

RE: apr

2017-10-30 Thread Cheltenham, Chris
, 2017 3:17 PM To: users@tomcat.apache.org Subject: Re: apr Hi Chris, Did you recompile APR with FIPS? You must completely compile tcnative.dll. Marcus From: Cheltenham, Chris Sent: Monday, October 30, 2017 1:49 PM To: users@tomcat.apache.org Subject: apr

Re: apr

2017-10-30 Thread marcus presley
Hi Chris, Did you recompile APR with FIPS? You must completely compile tcnative.dll. Marcus From: Cheltenham, Chris Sent: Monday, October 30, 2017 1:49 PM To: users@tomcat.apache.org Subject: apr Hello Everyone, Using OpenSSL 1.0.2k-fips I am trying to in

Re: apr library

2017-07-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Anibal, On 7/22/17 11:30 AM, Anibal Alvarez Alvarez wrote: > Hi. When I run a .jsp file, in the console I can read < [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent > La biblioteca nativa de Apache Tomcat basada en ARP que permit

Re: APR Buffer NullPointer Error

2015-05-20 Thread Mark Thomas
On 20/05/2015 18:02, Maxim Neshcheret wrote: > Dear All > > I am deploying application (Tomcat 8.0.22, JDK 1.7.79, Solaris, SPARC, APR > 1.5.2) and observing multiple erros while its communicates with client > software (error presented below). It looks like that error happens while > applicatio

Re: APR with PKCS11 support

2014-12-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sanaullah, On 12/1/14 6:09 AM, Sanaullah wrote: > I have attached the diff [that allows external crypto decides to > be used via tcnative). let me know if its ok? For reference, here's the diff: > > 304c304 < #if 1 //HAVE_ENGINE_LOAD_BUILTIN_ENGI

Re: APR with PKCS11 support

2014-12-01 Thread Sanaullah
Hi Chris, I have attached the diff.let me know if its ok? Regards, Sanaullah On Fri, Nov 21, 2014 at 2:08 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Sanaullah, > > On 11/18/14 10:26 PM, Sanaullah wrote: > > Hi Chris, >

Re: APR with PKCS11 support

2014-11-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sanaullah, On 11/18/14 10:26 PM, Sanaullah wrote: > Hi Chris, > > Engine is loaded Successfully. the issue is with tcnative. > tcnative was not loading any engine and it was due to > HAVE_ENGINE_LOAD_BUILTIN_ENGINES preprocessor which is unable to

Re: APR with PKCS11 support

2014-11-18 Thread Sanaullah
Hi Chris, Engine is loaded Successfully. the issue is with tcnative. tcnative was not loading any engine and it was due to HAVE_ENGINE_LOAD_BUILTIN_ENGINES preprocessor which is unable to call ENGINE_load_builtin_engines. I made one change and in ssl.c of tomcat-native-1.1.31 original Preprocess

Re: APR with PKCS11 support

2014-11-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sanaullah, On 11/14/14 10:04 PM, Sanaullah wrote: > The Engine name is correct its "LunaCA3" Here is the code snippet > from the openssl for the confirmation. > > openssl-1.0.1g/engines/e_lunaca3.c:#define ENGINE_LUNACA3_ID > "LunaCA3" > > I thi

Re: APR with PKCS11 support

2014-11-14 Thread Sanaullah
Hi Chris, The Engine name is correct its "LunaCA3" Here is the code snippet from the openssl for the confirmation. openssl-1.0.1g/engines/e_lunaca3.c:#define ENGINE_LUNACA3_ID "LunaCA3" I think the issue is with static and shared libraries of openssl. if openssl build as shared then this LunaCA

Re: APR with PKCS11 support

2014-11-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sanaullah, On 10/29/14 9:54 AM, Sanaullah wrote: > I again started working on SSLEngine with safenet and i need some > help, how to enable the debugging? I configure the engine as > "LunaCA3". > > SSLEngine="LunaCA3" /> > > Here is error log afte

Re: APR with PKCS11 support

2014-10-29 Thread Sanaullah
I again started working on SSLEngine with safenet and i need some help, how to enable the debugging? I configure the engine as "LunaCA3". Here is error log after starting the server. Oct 29, 2014 1:40:21 PM org.apache.catalina.core.AprLifecycleListener init INFO: Loaded APR based Apache Tomcat

Re: APR with PKCS11 support

2014-08-25 Thread Sanaullah
Hi Chris, did you get any chance to take a look into the issue ? Regards, Sanaullah On Wed, Aug 6, 2014 at 5:12 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Sunaullah, > > On 7/26/14, 4:50 AM, Sanaullah wrote: > > I trie

Re: APR with PKCS11 support

2014-08-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sunaullah, On 7/26/14, 4:50 AM, Sanaullah wrote: > I tried that configuration but getting errrors. I just want you to know that you haven't been forgotten: I'm on vacation for a bit but I'd really like to take a look at this issue when I return. I

Re: APR with PKCS11 support

2014-07-26 Thread Sanaullah
I tried that configuration but getting errrors. NFO: Loaded APR based Apache Tomcat Native library 1.1.30 using APR version 1.4.6. Jul 23, 2014 3:06:40 AM org.apache.catalina.core.AprLifecycleListener init INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].

Re: APR with PKCS11 support

2014-07-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sanaullah, On 7/25/14, 9:16 AM, Sanaullah wrote: > httpd is working with HSM with addition of parameter > SSLCryptoDevice=LunaCA but when i try the same parameter in tomEE. > TomEE don't recognized this parameters. > > WARNING: [SetAllPropertiesR

Re: APR with PKCS11 support

2014-07-25 Thread Sanaullah
Hi Chris, httpd is working with HSM with addition of parameter SSLCryptoDevice=LunaCA but when i try the same parameter in tomEE. TomEE don't recognized this parameters. WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'SSLCryptoDevice' to 'LunaCA3' did not find a match

Re: APR with PKCS11 support

2014-07-10 Thread Sanaullah
Thanks chris, I haven't tried such configurations with httpd. I will explore now. Regards, Sanaullah On Thu, Jul 10, 2014 at 7:40 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Sanaullah, > > On 7/10/14, 4:19 AM, Sanaullah

Re: APR with PKCS11 support

2014-07-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sanaullah, On 7/10/14, 4:19 AM, Sanaullah wrote: > is there a way i can use pkcs11 supported SmartCard/token when > using APR based SSL Connector in tomcat ? PEM encoded certificates > and keys are stored in smartcard. > > I know BIO/NIO connectors

Re: APR Connector questions

2013-09-23 Thread Tomcat Random
Ok, thanks for the advice. If it means removing one more layer of complexity, I'm all for it. Best, Alec On Fri, Sep 20, 2013 at 11:57 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Alec, > > On 9/20/13 2:03 PM, Tomcat Rand

Re: APR Connector questions

2013-09-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Alec, On 9/20/13 2:03 PM, Tomcat Random wrote: > Chris, Thanks for correcting the misdirected reply. > > "Do you mean it's not working under load, or you haven't yet tried > it under load?" > > I mean I haven't tested it under load yet. > > One o

Re: APR Connector questions

2013-09-20 Thread Tomcat Random
ep 19, 2013 at 1:56 PM, Jeffrey Janner wrote: > > -Original Message- > > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > > Sent: Thursday, September 19, 2013 12:38 PM > > To: Tomcat Users List > > Cc: Tomcat Random > > Subject: Re: AP

RE: APR Connector questions

2013-09-19 Thread Jeffrey Janner
> -Original Message- > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: Thursday, September 19, 2013 12:38 PM > To: Tomcat Users List > Cc: Tomcat Random > Subject: Re: APR Connector questions > > -BEGIN PGP SIGNED MESSAGE-

Re: APR Connector questions

2013-09-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Alec, Please keep discussions on the mailing lists so others can benefit from them. On 9/19/13 12:01 PM, Tomcat Random wrote: > The answer for am I going to be using SSL is maybe. It's not > mandatory, but would be nice for an admin area of the sit

Re: APR Connector questions (was: ARP Connector questions)

2013-09-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Alec, Changed subject: it's APR (Apache Portable Runtime), not ARP (which is something different). On 9/19/13 11:39 AM, Tomcat Random wrote: > Tomcat 7.0.42, RHEL6 > > I've installed the APR connector and have my service.xml configured > with the

Re: APR connector does not work with SSL for Java 6 clients?

2013-08-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jesse, On 8/25/13 1:08 PM, Jesse Barnum wrote: > On Aug 25, 2013, at 9:58 AM, Michael-O <1983-01...@gmx.net> wrote: > >> 1. Did you configure mod_ssl and APR Connector the same way? > I'm not sure how to make sure that they are configured > identic

Re: APR connector does not work with SSL for Java 6 clients?

2013-08-25 Thread Jesse Barnum
On Aug 25, 2013, at 9:58 AM, Michael-O <1983-01...@gmx.net> wrote: > 1. Did you configure mod_ssl and APR Connector the same way? I'm not sure how to make sure that they are configured identically. The syntax in server.xml is not identical to the syntax in apache2.conf. For example, in Apache's

Re: APR connector does not work with SSL for Java 6 clients?

2013-08-25 Thread Michael-O
Am 2013-08-25 14:21, schrieb Jesse Barnum: How come Java 6 can connect to SSL running on Apache without this setting, but not to Tomcat running APR/SSL? On Aug 24, 2013, at 12:15 PM, Michael-O <1983-01...@gmx.net> wrote: I had this problem months ago too. APR Connector ist fine. The problem wi

Re: APR connector does not work with SSL for Java 6 clients?

2013-08-25 Thread Jesse Barnum
How come Java 6 can connect to SSL running on Apache without this setting, but not to Tomcat running APR/SSL? On Aug 24, 2013, at 12:15 PM, Michael-O <1983-01...@gmx.net> wrote: > I had this problem months ago too. APR Connector ist fine. The problem with > Java 6 is that the URLConnection -- J

Re: APR connector does not work with SSL for Java 6 clients?

2013-08-24 Thread Michael-O
Am 2013-08-24 18:10, schrieb Jesse Barnum: I am trying to use SSL with Tomcat and an APR connector. This is hosted on Ubuntu 13.04. I can make changes to the server, but not to the existing Java client. For some reason, whenever a Java 6 client connects to the Tomcat server using SSL, it is not

Re: APR does not understand this error code: proxy: read response failed

2011-12-14 Thread GSH
Hi Jakob I'm experiencing exact same problem. Could you help me with the solution ? Since the thread is older I'm assuming that you may have nailed it and found a solution. Regards, Gaurav Jakob Ericsson wrote: > > Hi, > > We are experiencing issues with AJP-communication between the httpd >

Re: APR SSL error: "Socket bind failed: [98] Address already in use"

2011-11-21 Thread Eric Kemp
Problem resolved! Thanks so much for all the helpful hints. I had been going to the end of the catalina.out file and seeing this error message in the last ~60 lines of text, and thought it represented the latest restart errors. What I failed to notice, was that there WERE previous errors above t

Re: APR SSL error: "Socket bind failed: [98] Address already in use"

2011-11-21 Thread Jeremy
I understand you want to use APR, but just for troubleshooting purposes, try using the same server.xml but changing the SSL connector from protocol="org.apache.coyote.http11.Http11AprProtocol" to protocol="org.apache.coyote.http11.Http11NioProtocol" If that works, then your problem is with APR,

Re: APR SSL error: "Socket bind failed: [98] Address already in use"

2011-11-21 Thread Konstantin Kolinko
2011/11/21 Eric Kemp : > Below is my entire server.xml (minus commented lines) > Good to know. Can you post the logs? (catalina..log file). Clear them first then try starting Tomcat. Best regards, Konstantin Kolinko - To unsubs

Re: APR SSL error: "Socket bind failed: [98] Address already in use"

2011-11-21 Thread Pid *
sl/myDomain.com.key" > SSLCACertificateFile="/etc/apache2/ssl/myDomain.com.ca.crt" /> > > > > className="org.apache.catalina.realm.UserDatabaseRealm" > resourceName="UserDatabase"/> > > name="localhost" > a

Re: APR SSL error: "Socket bind failed: [98] Address already in use"

2011-11-20 Thread Eric Kemp
Below is my entire server.xml (minus commented lines) Thanks On Sun, Nov 20, 2011 at 4:18 PM, Caldarale, Charles R wrote: >> From: Eric Kemp [mailto:cruisingat90...@gmail.com] >> Subject: Re: APR SSL error:

RE: APR SSL error: "Socket bind failed: [98] Address already in use"

2011-11-20 Thread Caldarale, Charles R
> From: Eric Kemp [mailto:cruisingat90...@gmail.com] > Subject: Re: APR SSL error: "Socket bind failed: [98] Address already in use" > Any other ideas would still be appreciated. As others have noted, the conflict is likely on some port other than 8443. Post your entire ser

Re: APR SSL error: "Socket bind failed: [98] Address already in use"

2011-11-20 Thread Eric Kemp
Changing from jdk1.7.0_01 to 1.6.0_20 still results in the same error. I use the following commands to stop and start Tomcat: sudo /etc/init.d/tomcat6 stop sudo /etc/init.d/tomcat6 start I have verified that the Tomcat process DOES shut down when initiating a "stop" command via "ps -ef | grep jav

Re: APR SSL error: "Socket bind failed: [98] Address already in use"

2011-11-20 Thread Pid *
On 20 Nov 2011, at 12:49, Igor Cicimov wrote: > Isnt 8005 shutdown port for tomcat? I can see sshd bound to that port > already. I think that's the line above... There is a java process holding 8005 > On Nov 20, 2011 6:33 PM, "Konstantin Kolinko" > wrote: > >> 2011/11/19 Eric Kemp : >>> Summa

Re: APR SSL error: "Socket bind failed: [98] Address already in use"

2011-11-20 Thread Igor Cicimov
Isnt 8005 shutdown port for tomcat? I can see sshd bound to that port already. On Nov 20, 2011 6:33 PM, "Konstantin Kolinko" wrote: > 2011/11/19 Eric Kemp : > > Summary: I'm looking for ideas on how to resolve this "Address already > > in use" error when configuring SSL in Tomcat APR. > > > > Env

Re: APR SSL error: "Socket bind failed: [98] Address already in use"

2011-11-20 Thread Pid *
On 19 Nov 2011, at 18:44, Eric Kemp wrote: > Summary: I'm looking for ideas on how to resolve this "Address already > in use" error when configuring SSL in Tomcat APR. > > Environment: > Running Apache Tomcat/6.0.24 > on OS is Ubuntu 10.04.2 LTS > with JVM 1.7.0_01-b08 > > // > // Prior to config

Re: APR SSL error: "Socket bind failed: [98] Address already in use"

2011-11-19 Thread Konstantin Kolinko
2011/11/19 Eric Kemp : > Summary: I'm looking for ideas on how to resolve this "Address already > in use" error when configuring SSL in Tomcat APR. > > Environment: >  Running Apache Tomcat/6.0.24 That one is old. Maybe you can upgrade to 6.0.33? >  on OS is Ubuntu 10.04.2 LTS >  with JVM 1.7.0_0

Re: APR SSL error: "Socket bind failed: [98] Address already in use"

2011-11-19 Thread Eric Kemp
I've seen several places where people say [98] is the error message number - not the port number. Also, I'm not doing anything with port 98. Thanks On Sat, Nov 19, 2011 at 8:03 PM, Talal Rabaa wrote: > Looks like you have another service (not necessarily Tomcat) running on port > 98. > > On 2

Re: APR SSL error: "Socket bind failed: [98] Address already in use"

2011-11-19 Thread Talal Rabaa
Looks like you have another service (not necessarily Tomcat) running on port 98. On 2011-11-19, at 1:44 PM, Eric Kemp wrote: > Summary: I'm looking for ideas on how to resolve this "Address already > in use" error when configuring SSL in Tomcat APR. > > Environment: > Running Apache Tomcat/6.0.2

Re: APR connector pollTime defaults are strange in tomcat6/7

2011-08-01 Thread Darius D.
My goal with this thread was to rise awareness with APR connector poll time defaults, as some users will not really bother investigating why their servers have such high context switches / timer interrupts. There is no "problem" here as Tomcat is working fine with defaults. There should be no ha

Re: APR connector pollTime defaults are strange in tomcat6/7

2011-07-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Darius, On 7/18/2011 2:23 PM, Darius D. wrote: > Does Tomcat APR really needs pollTime set so low by default? I > thought timeout is meant for some sort of book keeping, where is all > connections in FD set are "idle", no events come for timeout perio

Re: APR connector pollTime defaults are strange in tomcat6/7

2011-07-25 Thread Marvin Addison
> Does Tomcat APR really needs pollTime set so low by default? Anyone care to comment on this point? I'm interested in this discussion as a user of Linux+APR connectors. While we don't yet run on a tickless kernel, I'm considering trying to measure the impact on our systems as well, but some ins

Re: APR connector pollTime defaults are strange in tomcat6/7

2011-07-22 Thread Darius D.
Darius D. wrote: > > > Does Tomcat APR really needs pollTime set so low by default? I thought > timeout is meant for some sort of book keeping, where is all connections > in FD set are "idle", no events come for timeout period - you force > timeout and do bookkeeping - on a busy system you will

Re: APR Native library on tomcat 6

2011-06-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, On 6/30/2011 4:21 PM, ccastle wrote: > I have the same problem [where APR won't load], except that in the log it is > not specified what > library is needed. You don't need to read the logs to see what library is needed, you

Re: APR Native library on tomcat 6

2011-06-30 Thread ccastle
Hello. I have the same problem, except that in the log it is not specified what library is needed. This are the messages in the log: 30-jun-2011 15:13:03 org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-8080 30-jun-2011 15:13:04 org.apache.catalina.core.Standar

Re: APR and async request

2010-12-21 Thread Mark Thomas
ple, reproducible test case then please open a bugzilla issue. Mark > > Thank you! > >> -Original Message- >> From: Mark Thomas [mailto:ma...@apache.org] >> Sent: Dienstag, 21. Dezember 2010 14:10 >> To: Tomcat Users List >> Subjec

RE: APR and async request

2010-12-21 Thread spring
ot;X-...", ...). Thank you! > -Original Message- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Dienstag, 21. Dezember 2010 14:10 > To: Tomcat Users List > Subject: Re: APR and async request > > On 21/12/2010 13:07, spr...@gmx.eu wrote: >

Re: APR and async request

2010-12-21 Thread Mark Thomas
On 21/12/2010 13:07, spr...@gmx.eu wrote: > OK; I've got it... > > when I change the Connector from HTTP/1.1 to > org.apache.coyote.http11.Http11NioProtocol is works. > Sounds a bit logical (Non-Blocking and async) but can someone please > explain? You'll need to explain what you mean by async re

RE: APR and async request

2010-12-21 Thread spring
OK; I've got it... when I change the Connector from HTTP/1.1 to org.apache.coyote.http11.Http11NioProtocol is works. Sounds a bit logical (Non-Blocking and async) but can someone please explain? Thank you > when I disable APR by removing the tcnative-1.dll or by removing the APR > listener from

Re: APR/Native: when to use it?

2010-12-03 Thread Mark Thomas
On 03/12/2010 09:35, André Warnier wrote: > David Dabbs wrote: >> Would it provide better performance for AJP connector processing? > > Not at all. The comparison you have been pointed to refers to HTTP > connectors. > AJP is another (different) protocol, and has a different connector. The AJP c

Re: APR/Native: when to use it?

2010-12-03 Thread André Warnier
: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Thursday, December 02, 2010 3:09 PM To: Tomcat Users List Subject: RE: APR/Native: when to use it? From: Aggarwal, Ajay [mailto:ajay.aggar...@stratus.com] Subject: APR/Native: when to use it? Is it always advisable to use APR if tomcat is

RE: APR/Native: when to use it?

2010-12-02 Thread David Dabbs
Would it provide better performance for AJP connector processing? Thanks, David -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Thursday, December 02, 2010 3:09 PM To: Tomcat Users List Subject: RE: APR/Native: when to use it? > From: Aggar

RE: APR/Native: when to use it?

2010-12-02 Thread Aggarwal, Ajay
Thanks for your quick response, but I still don't know when should I use APR. That comparison table doesn't help me much (perhaps my ignorance here). -Original Message- > Is it always advisable to use APR if tomcat is the main > web server? No. > Does it provide better performance for

RE: APR/Native: when to use it?

2010-12-02 Thread Caldarale, Charles R
> From: Aggarwal, Ajay [mailto:ajay.aggar...@stratus.com] > Subject: APR/Native: when to use it? > Is it always advisable to use APR if tomcat is the main > web server? No. > Does it provide better performance for core tomcat engine > or do you need to write code to take advantage of it? Tha

Re: APR Features

2010-10-19 Thread Mark Thomas
On 18/10/2010 23:20, Simon Funnell wrote: > Hi, > > I wanted to know if it was worth using the sendfile features for small > static files or is the APR already optimised for serving static content? > > I basically have a jsp that makes a choice between serving up a static > (.html) and custom ver

Re: APR Features

2010-10-19 Thread Mikolaj Rydzewski
On Tue, 19 Oct 2010 11:05:42 +0100, Simon Funnell wrote: I guess my question is, if I use instead of sendfile, is their any difference? I figure that if I have lots of unauthenticated users this will help with maintaining the load. I'm afraid, that processing of directive is so expensive

Re: APR based tomcat native library not found

2010-10-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, On 10/12/2010 11:00 AM, efftronics wrote: > I am running apache tomcat 6.0.18 , java 1.6 on windows xp platform. > I copied tcnative-1.dll and openssl.exe(1.1.14 version) in > C:\apache-tomcat-6.0.18\bin . But i w

RE: APR & Tomcat...

2010-07-20 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: APR & Tomcat... > > > Was that vs BIO or NIO? As I recall, there is no sendFile > > capability in BIO, so both NIO and APR should beat that. > > BIO = JIO, right? Too many TLAs

Re: APR & Tomcat...

2010-07-20 Thread Tony Anecito
:40 AM Subject: Re: APR & Tomcat... -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tony, On 7/20/2010 12:35 AM, Tony Anecito wrote: > Interesting. I saw that when a static file was around 21K or below a dramatic > improvement in recorded time in the log for APR. I have not tried with

Re: APR & Tomcat...

2010-07-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tony, On 7/20/2010 12:35 AM, Tony Anecito wrote: > Interesting. I saw that when a static file was around 21K or below a dramatic > improvement in recorded time in the log for APR. I have not tried with > regular > Apache Web Server to see what I ge

Re: APR & Tomcat...

2010-07-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 7/19/2010 11:50 PM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: APR & Tomcat... >> >> My tests show that use of sendFile is dramatically faste

Re: APR & Tomcat...

2010-07-20 Thread Tony Anecito
- Original Message From: Pid To: Tomcat Users List Sent: Tue, July 20, 2010 10:11:39 AM Subject: Re: APR & Tomcat... On 19/07/2010 22:21, Tony Anecito wrote: > Hi Pid > > First off I get a little red x in the upper left hand corner of the web page. Excellent technical d

Re: APR & Tomcat...

2010-07-20 Thread Pid
ot? p > Best Regards, > -Tony > > > > - Original Message > From: Pid > To: Tomcat Users List > Sent: Mon, July 19, 2010 3:05:41 PM > Subject: Re: APR & Tomcat... > > On 19/07/2010 19:44, Tony Anecito wrote: >> Hi All, >> >> I ha

Re: APR & Tomcat...

2010-07-20 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dale, On 7/19/2010 7:42 PM, Dale Ogilvie wrote: Reasons to use httpd being what? Here are a few ideas: 1. Load balancing 2. Use of mixed Java and non-Java webapps (PHP, Perl, etc.) 3. Use of multiple Tomcat instances b

Re: APR & Tomcat...

2010-07-19 Thread Tony Anecito
Users List Sent: Mon, July 19, 2010 9:50:59 PM Subject: RE: APR & Tomcat... > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: APR & Tomcat... > > My tests show that use of sendFile is dramatically faster > than without. Was that vs BIO or NIO? 

RE: APR & Tomcat...

2010-07-19 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: APR & Tomcat... > > My tests show that use of sendFile is dramatically faster > than without. Was that vs BIO or NIO? As I recall, there is no sendFile capability in BIO, so both NIO and A

Re: APR & Tomcat...

2010-07-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dale, On 7/19/2010 7:42 PM, Dale Ogilvie wrote: > Reasons to use httpd being what? Here are a few ideas: 1. Load balancing 2. Use of mixed Java and non-Java webapps (PHP, Perl, etc.) 3. Use of multiple Tomcat instances behind a single web server If

Re: APR & Tomcat...

2010-07-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 7/19/2010 9:57 PM, Caldarale, Charles R wrote: >> From: Tony Anecito [mailto:adanec...@yahoo.com] >> Subject: Re: APR & Tomcat... >> >> So as to say the Tomcat group did not want to compete >> why build t

RE: APR & Tomcat...

2010-07-19 Thread Caldarale, Charles R
> From: Tony Anecito [mailto:adanec...@yahoo.com] > Subject: Re: APR & Tomcat... > > The disadvantages are such as when Tomcat is taken down > so does your static content. So why are you taking Tomcat down? "Doctor, doctor, it hurts when I do this!" > I am gue

RE: APR & Tomcat...

2010-07-19 Thread Caldarale, Charles R
> From: Dale Ogilvie [mailto:dale.ogil...@trimble.co.nz] > Subject: RE: APR & Tomcat... > > Reasons to use httpd being what? Serving PHP and as a poor man's load balancer, for starters. > The reason we used httpd in the past was "httpd serves > static content

RE: APR & Tomcat...

2010-07-19 Thread Caldarale, Charles R
> From: Tony Anecito [mailto:adanec...@yahoo.com] > Subject: Re: APR & Tomcat... > > So as to say the Tomcat group did not want to compete > why build the APR? Tomcat people did not create it - APR has been around for years. It's part of many products (e.g., subve

RE: APR & Tomcat...

2010-07-19 Thread Richard Maynard
be used to tune the heck out of static and semi-static content! -- Richard Maynard -Original Message- From: Tony Anecito [mailto:adanec...@yahoo.com] Sent: Monday, July 19, 2010 7:42 PM To: Tomcat Users List Subject: Re: APR & Tomcat... I used APR for performance reasons. I was runn

Re: APR & Tomcat...

2010-07-19 Thread Tony Anecito
load balancing. So APR Native was an experiment for me not a final solution. Time to go back to reality. Thanks, -Tony - Original Message From: Dale Ogilvie To: Tomcat Users List Sent: Mon, July 19, 2010 5:42:39 PM Subject: RE: APR & Tomcat... Reasons to use httpd being what

RE: APR & Tomcat...

2010-07-19 Thread Dale Ogilvie
.m. To: Tomcat Users List Subject: Re: APR & Tomcat... There certainly are reasons to use Apache httpd out in front of Tomcat, but performance isn't one of them. - -chris - To unsubscribe, e-mail: users-unsubscr...@tomcat.apa

  1   2   3   >