Apache reverse proxy issue

2012-02-16 Thread Andres Aguado
Hi, although this space is for tomcat cuestion, i'd like to expose my problem with an apache 2.2 server over win2k8, because i'm going crazy, and if anyone could help me it'll be very appreciated. Well, I've an apache 2.2 server over win2k8, and i want to configure reverse proxy on it to send

Re: Is it possible to start multiple tomcat servers with port-offset mechanism

2012-02-16 Thread Konstantin Kolinko
2012/2/16 Pradeep Fernando pradee...@gmail.com: I want to start multiple tomcat server instances by giving a port offset kind of parameter. I dont want to hard code the port. A port.offset system property would be ideal. say my default port is 8080. with port.offset param  set to  '1'. it

Re: Apache reverse proxy issue

2012-02-16 Thread Konstantin Kolinko
2012/2/16 Andres Aguado andriu@gmail.com: Hi, although this space is for tomcat cuestion, i'd like to expose my problem with an apache 2.2 server over win2k8, because i'm going crazy, and if anyone could help me it'll be very appreciated. Well, I've an apache 2.2 server over win2k8, and i

Basic Authentication Valve not hitting on Tomcat7.0.20

2012-02-16 Thread Sachin Mehrotra
Hi After upgrade from Tomcat 6 to Tomcat 7.0.20, our Basic Authentication valve is not hitting. It seems it is overlooking our implementation of Basic Authentication. Below is the implementation: We are having Realm that is doing authentication using our authentication server. Before that we are

Re: Basic Authentication Valve not hitting on Tomcat7.0.20

2012-02-16 Thread Pid
On 16/02/2012 12:30, Sachin Mehrotra wrote: Hi After upgrade from Tomcat 6 to Tomcat 7.0.20, our Basic Authentication valve is not hitting. It seems it is overlooking our implementation of Basic Authentication. Below is the implementation: We are having Realm that is doing authentication

Re: Is it possible to start multiple tomcat servers with port-offset mechanism

2012-02-16 Thread Pid
On 16/02/2012 11:34, Konstantin Kolinko wrote: 2012/2/16 Pradeep Fernando pradee...@gmail.com: I want to start multiple tomcat server instances by giving a port offset kind of parameter. I dont want to hard code the port. A port.offset system property would be ideal. say my default port is

Re: Basic Authentication Valve not hitting on Tomcat7.0.20

2012-02-16 Thread Sachin Mehrotra
Do your logs indicate your custom authenticator is active or does it throw an error? ANS-- tomcat logs and other logs doesn't show any exception or even traces added in the valve class. In Tomcat 6 we are able to see logs added in our implemementation of AuthenticatorBase class. How had you

Re: Basic Authentication Valve not hitting on Tomcat7.0.20

2012-02-16 Thread Pid
On 16/02/2012 13:26, Sachin Mehrotra wrote: Do your logs indicate your custom authenticator is active or does it throw an error? ANS-- tomcat logs and other logs doesn't show any exception or even traces added in the valve class. In Tomcat 6 we are able to see logs added in our

Re: Application Scope Replication in 6.0.x

2012-02-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 2/15/12 4:56 PM, Pid * wrote: On 15 Feb 2012, at 20:33, Christopher Schultz ch...@christopherschultz.net wrote: Gregory, On 2/15/12 11:11 AM, Gregory Werner wrote: I saw an email back in 2007 which went unanswered. Currently, I

Re: Application Scope Replication in 6.0.x

2012-02-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 2/15/12 4:21 PM, Caldarale, Charles R wrote: From: Gregory Werner [mailto:grjas...@gmail.com] Subject: Re: Application Scope Replication in 6.0.x Common data definitions which are used over and over and over again and don't change.

Re: Basic Authentication Valve not hitting on Tomcat7.0.20

2012-02-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sachin, On 2/16/12 8:26 AM, Sachin Mehrotra wrote: login-config auth-methodBASIC/auth-method realm-nameMy App Realm/realm-name /login-config I believe if you set auth-method to BASIC, Tomcat will add its own Valve to the valve chain. If you don't

Re: Application Scope Replication in 6.0.x

2012-02-16 Thread Gregory Werner
I didn't know that either. It is simply a case of looking for the wrong keywords. I said application score replication they said context attribute replication. I gotta learn how to speak their language. Even after I put Context className=*org.apache.catalina.ha.context.ReplicatedContext* in my

Re: Application Scope Replication in 6.0.x

2012-02-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gregory, On 2/16/12 10:34 AM, Gregory Werner wrote: I didn't know that either. It is simply a case of looking for the wrong keywords. I said application score replication they said context attribute replication. I gotta learn how to speak their

Re: Application Scope Replication in 6.0.x

2012-02-16 Thread Gregory Werner
In-line responses. Thanks for the ideas, I really do appreciate it. On Thu, Feb 16, 2012 at 10:43 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gregory, On 2/16/12 10:34 AM, Gregory Werner wrote: I didn't know that either. It

mod_jk doesn't map to software-generated web address, but maps to this address when I enter it into browser

2012-02-16 Thread modjklist
Hello. I'm trying to setup Adobe's Flexbuilder 4.6 software to access mydomain.com/mywebapp using port 80 on Apache Webserver 2.2.21 and connect using mod_jk 1.2.32 on a remote Linux CentOS 6.2 server. I'm puzzled by the mod_jk.log file, which I've included a snippet below and attached as a

Re: Application Scope Replication in 6.0.x

2012-02-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gregory, On 2/16/12 10:55 AM, Gregory Werner wrote: In this case it is a test environment. We are trying to emulate two distinct physical servers/load-balancing (which is the real case) on a single physical machine with one Tomcat instance.

Re: mod_jk doesn't map to software-generated web address, but maps to this address when I enter it into browser

2012-02-16 Thread André Warnier
See notes in-line. modjkl...@comcast.net wrote: Hello. I'm trying to setup Adobe's Flexbuilder 4.6 software to access mydomain.com/mywebapp using port 80 on Apache Webserver 2.2.21 and connect using mod_jk 1.2.32 on a remote Linux CentOS 6.2 server. I'm puzzled by the mod_jk.log file, which I've

Re: mod_jk doesn't map to software-generated web address, but maps to this address when I enter it into browser

2012-02-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, On 2/16/12 10:59 AM, modjkl...@comcast.net wrote: Hello. I'm trying to setup Adobe's Flexbuilder 4.6 software to access mydomain.com/mywebapp using port 80 on Apache Webserver 2.2.21 and connect using mod_jk 1.2.32 on a

Re: Using local EJBs in web application

2012-02-16 Thread Violeta Georgieva
It's probably just my issue but I am not seeing your war file as valid. What do you mean?

Re: mod_jk doesn't map to software-generated web address, but maps to this address when I enter it into browser

2012-02-16 Thread André Warnier
Sorry, a bit more readable, still in-line. (my email program seems to do funny things with your text). modjkl...@comcast.net wrote: Hello. I'm trying to setup Adobe's Flexbuilder 4.6 software to access mydomain.com/mywebapp using port 80 on Apache Webserver 2.2.21 and connect using mod_jk

RE: Using local EJBs in web application

2012-02-16 Thread Caldarale, Charles R
From: Violeta Georgieva [mailto:miles...@gmail.com] Subject: Re: Using local EJBs in web application It's probably just my issue but I am not seeing your war file as valid. What do you mean? I think it means we've got another Martin G on our hands... In other words, all posts from

Re: Using local EJBs in web application

2012-02-16 Thread Violeta Georgieva
Hi, Which one? Tomcat + OpenEJB in OSGi environment Looks like your integration isn't exactly complete. Yep it cannot reach the OpenEjb at all because there is no binding in the naming for local EJBs Local EJB refs aren't bound, only (non-local) EJB refs? Yep Looks like nobody has done

Re: mod_jk doesn't map to software-generated web address, but maps to this address when I enter it into browser

2012-02-16 Thread André Warnier
Christopher Schultz wrote: ... The image was stripped by the list, so we can't see it. You'll have to post elsewhere if it's important. Also, though I could see your customized font colors, many readers will not be able to, and the archives may not show them either. Then there are red-green

Re: mod_jk doesn't map to software-generated web address, but maps to this address when I enter it into browser

2012-02-16 Thread modjklist
Thanks Andre for catching my typo (correct in practice, but incorrect when I edited it for this email). I've corrected it below. Also, switched to plain text instead of HTML. Thanks Christopher -- I eliminated the attachments. I've tried to make it more readable for color-blind people, use

Re: Application Scope Replication in 6.0.x

2012-02-16 Thread Pid
On 16/02/2012 15:55, Gregory Werner wrote: In-line responses. Thanks for the ideas, I really do appreciate it. On Thu, Feb 16, 2012 at 10:43 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gregory, On 2/16/12 10:34 AM,

Re: mod_jk doesn't map to software-generated web address, but maps to this address when I enter it into browser

2012-02-16 Thread André Warnier
Ok, that's a lot more readable. See in-line. modjkl...@comcast.net wrote: (removing the irrelevant bits) ... http://mydomain.com:8080/mywebapp the Adobe Flashbuilder software states that a connection was successfully made to the server. However, if I enter the following instead: As

Re: Application Scope Replication in 6.0.x

2012-02-16 Thread Gregory Werner
On Thu, Feb 16, 2012 at 11:15 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gregory, On 2/16/12 10:55 AM, Gregory Werner wrote: In this case it is a test environment. We are trying to emulate two distinct physical

Re: mod_jk doesn't map to software-generated web address, but maps to this address when I enter it into browser

2012-02-16 Thread modjklist
Hi Christopher, I've never used tcpdump before, but it seems the trick is knowing how to configure it with the various switches to extract what one wants. I took a stab at it below, but I can't find much meaning in it. This snippet captures the time when Adobe accesses the webaddress. Is there

Re: mod_jk doesn't map to software-generated web address, but maps to this address when I enter it into browser

2012-02-16 Thread Rainer Jung
On 16.02.2012 17:55, modjkl...@comcast.net wrote: original message is below--- Hello. I'm trying to setup Adobe's Flexbuilder 4.6 software to access mydomain.com/mywebapp using port 80 on Apache Webserver 2.2.21 and connect using mod_jk 1.2.32 on a remote Linux

Re: mod_jk doesn't map to software-generated web address, but maps to this address when I enter it into browser

2012-02-16 Thread André Warnier
In this case, and although Rainer is of course The mod_jk specialist, I beg to differ with his analysis. modjkl...@comcast.net wrote: mod_jk.log file snippet-- [Thu Feb 16 06:46:37 2012] [13722:140020322740160] [debug] jk_handler::mod_jk.c (2662): Service finished with

Re: mod_jk doesn't map to software-generated web address, but maps to this address when I enter it into browser

2012-02-16 Thread modjklist
Hi Ranier, I took all JkMounts inside the VirtualHost tags and placed them outside these tags, and above them added JkMountCopy All, restarted Apache, and now Adobe successfully can access mydomain.com/mywebapp. Thanks so much!!! I also tried modifying the above httpd.conf configuration by

Re: mod_jk doesn't map to software-generated web address, but maps to this address when I enter it into browser

2012-02-16 Thread André Warnier
Another addendum at end. André Warnier wrote: In this case, and although Rainer is of course The mod_jk specialist, I beg to differ with his analysis. modjkl...@comcast.net wrote: mod_jk.log file snippet-- [Thu Feb 16 06:46:37 2012] [13722:140020322740160] [debug]

Re: mod_jk doesn't map to software-generated web address, but maps to this address when I enter it into browser

2012-02-16 Thread André Warnier
And still more.. André Warnier wrote: Another addendum at end. André Warnier wrote: In this case, and although Rainer is of course The mod_jk specialist, I beg to differ with his analysis. modjkl...@comcast.net wrote: mod_jk.log file snippet-- [Thu Feb 16 06:46:37

Re: Basic Authentication Valve not hitting on Tomcat7.0.20

2012-02-16 Thread Konstantin Kolinko
2012/2/16 Christopher Schultz ch...@christopherschultz.net: On 2/16/12 8:26 AM, Sachin Mehrotra wrote: login-config auth-methodBASIC/auth-method realm-nameMy App Realm/realm-name /login-config I believe if you set auth-method to BASIC, Tomcat will add its own Valve to the valve chain. If

Re: mod_jk doesn't map to software-generated web address, but maps to this address when I enter it into browser

2012-02-16 Thread modjklist
Hi Andre, yes I see your point (Rainer's solution would solve that too I suppose). Also, believe me, I was trying all sorts of addresses in Adobe's input field: http://www.mydomain.com/mywebapp http://mydomain.com/mywebapp http://mydomain.com:80/mywebapp http://host3.mydomain.com/mywebapp

RE: mod_jk doesn't map to software-generated web address, but maps to this address when I enter it into browser

2012-02-16 Thread Caldarale, Charles R
From: modjkl...@comcast.net [mailto:modjkl...@comcast.net] Subject: Re: mod_jk doesn't map to software-generated web address, but maps to this address when I enter it into browser Also interesting is the tcpdump I send out earlier reports two cksum INCORRECTs when Adobe accesses port 80

Re: mod_jk doesn't map to software-generated web address, but maps to this address when I enter it into browser

2012-02-16 Thread modjklist
Thank you Chuck, I feel a lot better now :-) - Original Message - From: Charles R Caldarale chuck.caldar...@unisys.com To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, February 16, 2012 11:17:05 AM Subject: RE: mod_jk doesn't map to software-generated web address, but

RE: Basic Authentication Valve not hitting on Tomcat7.0.20

2012-02-16 Thread Michela, Andrew J (LABOR)
I have that in the server.xml still no luck security-constraint display-nameSecurity Constraint/display-name web-resource-collection web-resource-namesecure/web-resource-name web-resource-nameRestricted Access - Get Only/web-resource-name !-- Define the

Re: mod_jk doesn't map to software-generated web address, but maps to this address when I enter it into browser

2012-02-16 Thread André Warnier
modjkl...@comcast.net wrote: Hi Andre, yes I see your point (Rainer's solution would solve that too I suppose). Also, believe me, I was trying all sorts of addresses in Adobe's input field: http://www.mydomain.com/mywebapp http://mydomain.com/mywebapp http://mydomain.com:80/mywebapp

Re: mod_jk doesn't map to software-generated web address, but maps to this address when I enter it into browser

2012-02-16 Thread modjklist
Thanks Andre, I'd still be interested is there's a way to have mod_jk only check for traffic coming into mydomain.com for folder /mywebapp. I think the current solution checks all domains, such as mydomain2.com and mydomain3.com, etc., for a map to mydomain.com/mywebapp. Couldn't I just

Re: mod_jk doesn't map to software-generated web address, but maps to this address when I enter it into browser

2012-02-16 Thread André Warnier
modjkl...@comcast.net wrote: Thanks Andre, I'd still be interested is there's a way to have mod_jk only check for traffic coming into mydomain.com for folder /mywebapp. I think the current solution checks all domains, such as mydomain2.com and mydomain3.com, etc., for a map to

Re: mod_jk doesn't map to software-generated web address, but maps to this address when I enter it into browser

2012-02-16 Thread Rainer Jung
On 16.02.2012 21:24, André Warnier wrote: modjkl...@comcast.net wrote: Thanks Andre, I'd still be interested is there's a way to have mod_jk only check for traffic coming into mydomain.com for folder /mywebapp. I think the current solution checks all domains, such as mydomain2.com and

RE: Cores with FlushableGzipOutputStream

2012-02-16 Thread Allen Reese
-Original Message- From: Allen Reese [mailto:are...@yahoo-inc.com] Sent: Thursday, February 09, 2012 1:28 PM To: Tomcat Users List Cc: Lars Anderson Subject: RE: Cores with FlushableGzipOutputStream -Original Message- From: Konstantin Kolinko

Re: Cores with FlushableGzipOutputStream

2012-02-16 Thread Mark Thomas
On 16/02/2012 20:45, Allen Reese wrote: My question is, I have all of the data in pcap format, so I can extract the chunks, what is the best way to feed this through. Do I decompress it all and write it all at once through the stream? Or is this going to matter based on what order the chunks

RE: Cores with FlushableGzipOutputStream

2012-02-16 Thread Allen Reese
-Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Thursday, February 16, 2012 12:50 PM To: Tomcat Users List Subject: Re: Cores with FlushableGzipOutputStream On 16/02/2012 20:45, Allen Reese wrote: My question is, I have all of the data in pcap format, so I

Re: mod_jk doesn't map to software-generated web address, but maps to this address when I enter it into browser

2012-02-16 Thread André Warnier
Just one more thing, then I'm going to bed.. modjkl...@comcast.net wrote: Thanks Andre, I'd still be interested is there's a way to have mod_jk only check for traffic coming into mydomain.com for folder /mywebapp. I think the current solution checks all domains, such as mydomain2.com and

generic deployment question

2012-02-16 Thread Jeffrey Janner
Assume latest Tomcat 6.x for current deployment, and 7.x for future deployments. I host an app for a couple of dozen customers. Naturally, upgrade time can be a bit of a pain, and I'd like to simplify things. Assuming that all the customer-specific information (DB connection info, logger info,

Re: generic deployment question

2012-02-16 Thread André Warnier
Jeffrey Janner wrote: Assume latest Tomcat 6.x for current deployment, and 7.x for future deployments. I host an app for a couple of dozen customers. Naturally, upgrade time can be a bit of a pain, why ? and I'd like to simplify things. Assuming that all the customer-specific information

Re: mod_jk doesn't map to software-generated web address, but maps to this address when I enter it into browser

2012-02-16 Thread modjklist
Thanks so much Andre for taking the time to help me understand this. It's VERY helpful! I've attached the section of httpd.conf below related to virtual hosts. I think I'm starting to get the picture now. Whatever I input into Adobe's software, I ALWAYS see in the mod_jk.log file the

Free Memory vs. Total Memory vs. Max Memory

2012-02-16 Thread Robinson, Eric
What are the possible downsides of setting a low initial memory pool and a high max pool? If a tomcat app usually needs approximately 64MB of heap space, but sometimes as much as 300-400MB, would it cause any problems to set the initial pool to 16M and the max pool to 512M? -- Eric