Apache LogFormat on tomcat with APR?

2007-05-31 Thread robert lazarski
Hi all, I have a requirement to get in our logs some data - in Apache the log format is: LogFormat %h %l %u %t \%r\ %s %b \%{Referer}i\ \%{User-Agent}i\ \%{forensic-id}n\ \%{X-ClientSide} combined-ClientSide How can I get that type of data into tomcat's logs? I have APR running if that matters.

Re: Apache LogFormat on tomcat with APR?

2007-05-31 Thread robert lazarski
Exactly what I was looking for - thanks! Robert On 5/31/07, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html check out AccessLogValve Filip robert lazarski wrote: Hi all, I have a requirement to get in our logs some data - in Apache

Hardware load balancer

2007-04-18 Thread robert lazarski
Hi all, I have tomcat and the acegi framework working just fine processing http and https requests. However, we put a load balancer in front of the server under test, and it no longer works: 1) The request without the load balancer forwards to https://myserver.net/public/index.jsp , but with

Re: Stuck in SYN_RECV when binding to ip

2007-04-14 Thread robert lazarski
On 4/13/07, robert lazarski [EMAIL PROTECTED] wrote: tcp0 0 192.168.3.53:8080 xxx.xxx.118.243:8368 SYN_RECV- This turned out to be a routing issue. I had to add a second default gw , which created other problems but at least the mystery is solved. Robert

Stuck in SYN_RECV when binding to ip

2007-04-13 Thread robert lazarski
Hi all, I'm using the tomcat that is embedded into jboss 4.0.5 , 5.5.17 I believe. I'm running opensuse 10.1 with kernel 2.6.16.13 . I'm trying to test our app which is now behind a load balancer. I've tried with and without apr to the same effect. My ifconfig shows: eth0 Link

Re: Watching a directory for new files

2007-01-16 Thread robert lazarski
If you are using java 5 or higher, consider using ScheduledThreadPoolExecutor which is generally considered a replacement for Timer. Robert On 1/16/07, David Kerber [EMAIL PROTECTED] wrote: The javax.management.Timer class was rather more complex than I liked for the simple stuff I needed, but

Re: Watching a directory for new files

2007-01-16 Thread robert lazarski
if I need to handle more traffic later on. Dave robert lazarski wrote: If you are using java 5 or higher, consider using ScheduledThreadPoolExecutor which is generally considered a replacement for Timer. Robert On 1/16/07, David Kerber [EMAIL PROTECTED] wrote: The javax.management.Timer

Re: Help loading XML config file via Init Servlet

2007-01-15 Thread robert lazarski
On 1/14/07, James Dekker [EMAIL PROTECTED] wrote: Hello there, I am using the Apache Commons Digester to load an XML config file via a servlet with init params... I keep getting this error when I start Tomcat 5.5.9 and have deployed the war file via my build script: INFO: Deploying web

Re: Can APR use verisign certs ?

2007-01-10 Thread robert lazarski
On 1/10/07, Bill Barker [EMAIL PROTECTED] wrote: In all the gory details, it seems that at the moment the app in question is only sending it's own cert back to the browser (instead of the entire chain). However all browsers recognize Verisign's cert as a signer, so they don't care. Older

Can APR use verisign certs ?

2007-01-09 Thread robert lazarski
Hi all, I'm using apr 1.1.3 with tomcat 5.5.18 and openssl . During my research I noticed that self-signed certs seem to work , but I'm in doubt if pay type $$$ certs from verisign will work. We've submitted our csr to verisign , and if I understand correctly we need to use the crt from versign

Re: Can APR use verisign certs ?

2007-01-09 Thread robert lazarski
On 1/9/07, Mladen Turk [EMAIL PROTECTED] wrote: robert lazarski wrote: Hi all, I'm using apr 1.1.3 with tomcat 5.5.18 and openssl . During my research I noticed that self-signed certs seem to work , but I'm in doubt if pay type $$$ certs from verisign will work. We've submitted our csr

Re: APR not picking up tcnative-1.dll

2007-01-09 Thread robert lazarski
On 1/8/07, robert lazarski [EMAIL PROTECTED] wrote: On 1/8/07, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: robert lazarski [mailto:[EMAIL PROTECTED] Subject: Re: APR not picking up tcnative-1.dll 2) Are you using a 64-bit JVM on the Windows box? Nope! We are using the 32bit

Re: Can APR use verisign certs ?

2007-01-09 Thread robert lazarski
On 1/9/07, Peter Crowther [EMAIL PROTECTED] wrote: From: robert lazarski [mailto:[EMAIL PROTECTED] However, on the client side I'm getting a There's a problem with the sites security certificate. That's in IE6 , on firefox I get a similair popup . We have registered the csr with verisign

Re: Can APR use verisign certs ?

2007-01-09 Thread robert lazarski
On 1/9/07, robert lazarski [EMAIL PROTECTED] wrote: On 1/9/07, Peter Crowther [EMAIL PROTECTED] wrote: From: robert lazarski [mailto:[EMAIL PROTECTED] However, on the client side I'm getting a There's a problem with the sites security certificate. That's in IE6 , on firefox I get

Re: Can APR use verisign certs ?

2007-01-09 Thread robert lazarski
On 1/9/07, Peter Crowther [EMAIL PROTECTED] wrote: From: robert lazarski [mailto:[EMAIL PROTECTED] Any clues before asking verisign ? Can you tell us (or me privately) the address of the site if it's Internet-accessible? I can then connect and have a look at the cert and the surrounding

Re: Can APR use verisign certs ?

2007-01-09 Thread robert lazarski
On 1/9/07, Peter Crowther [EMAIL PROTECTED] wrote: From: robert lazarski [mailto:[EMAIL PROTECTED] http://alpha-web01.alphatheory.com/atdev/ The cert's issued to dpt.alphatheory.com; you're testing connections to alpha-web01.alphatheory.com. Any sensible browser will scream

Re: Can APR use verisign certs ?

2007-01-09 Thread robert lazarski
On 1/9/07, Peter Crowther [EMAIL PROTECTED] wrote: From: robert lazarski [mailto:[EMAIL PROTECTED] http://alpha-web01.alphatheory.com/atdev/ The cert's issued to dpt.alphatheory.com; you're testing connections to alpha-web01.alphatheory.com. Any sensible browser will scream

Re: Can APR use verisign certs ?

2007-01-09 Thread robert lazarski
On 1/9/07, robert lazarski [EMAIL PROTECTED] wrote: On 1/9/07, Peter Crowther [EMAIL PROTECTED] wrote: From: robert lazarski [mailto:[EMAIL PROTECTED] http://alpha-web01.alphatheory.com/atdev/ The cert's issued to dpt.alphatheory.com; you're testing connections to alpha-web01

Re: Can APR use verisign certs ?

2007-01-09 Thread robert lazarski
On 1/9/07, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: robert lazarski [mailto:[EMAIL PROTECTED] Subject: Re: Can APR use verisign certs ? Can I please ask for more assitence ? I'm getting a date error on this site in both IE6 and firefox 1.5 - 2.0 that I don't understand: https

Re: Problems with APR install

2007-01-09 Thread robert lazarski
I think there was a bug on 5.5.17 and apr . See the 5.5.18 changelog . Something to do with ipv6 even though I was running ipv4 . You'll know its working when you see this line: org.apache.coyote.ajp.AjpAprProtocol] Initializing Coyote AJP/1.3 on ajp-0.0.0.0-8009 I got exceptions on 5.5.17 when

Re: Problems with APR install

2007-01-09 Thread robert lazarski
. -Tony Anthony J. Biacco Senior Systems/Network Administrator Decentrix Inc. 303-899-4000 x303 -Original Message- From: robert lazarski [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 09, 2007 3:34 PM To: Tomcat Users List Subject: Re: Problems

Re: Can APR use verisign certs ?

2007-01-09 Thread robert lazarski
On 1/9/07, Bill Barker [EMAIL PROTECTED] wrote: https://dpt.alphatheory.com/ You have the expired intermediate cert for Verisign. As a result, the browser can't verify you because it thinks that the cert that signed yours has expired. You need to get the new one from Verisign and import

APR not picking up tcnative-1.dll

2007-01-08 Thread robert lazarski
Hi all, I've got APR working on linux just fine via LD_LIBRARY_PATH on my dev box , but I can't get APR working on the target XP on x64 intel box via the system path environment variable. I'm using tomcat 5.5.18 which is embedded into JBoss 4.0.5 . AFAICT 5.5.18 uses APR 1.1.3 and I downloaded

Re: APR not picking up tcnative-1.dll

2007-01-08 Thread robert lazarski
See comments inline: On 1/8/07, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: robert lazarski [mailto:[EMAIL PROTECTED] Subject: APR not picking up tcnative-1.dll However I cannot get this to appear on XP x64 , just linux. I spent all day googling. Any ideas? Two questions: 1

Re: APR not picking up tcnative-1.dll

2007-01-08 Thread robert lazarski
On 1/8/07, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: robert lazarski [mailto:[EMAIL PROTECTED] Subject: Re: APR not picking up tcnative-1.dll 2) Are you using a 64-bit JVM on the Windows box? Nope! We are using the 32bit jvm . Does that matter since the dll is native ? I