You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Alex Samad - Yieldbroker <Al...@yieldbroker.com> on 2012/07/24 07:11:01 UTC

issue with iis 7.5 ajpconnector

 Hi
 
 I have II 7.5 setup and currently 2 vhosts each vhost has its own applicati= on
 pool and it's on copy of the ajp connector
 
 We did this so that we can say run prod and uat at different version and al=
 so make sure that bringing one down doesn't affect the other !
 
 Now I went to add another vhost with another ajp connector and  when I
 went=  to try and access it... it locked up my other ajp application pools.
 Almo= st like there was a locking issue.
 
 So my new application pool / ajp connect never ever started !
 My uat threw lots of time outs
 My prd threw some time outs.
 
 Is there an issue with the locking ?
 
 Alex


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: issue with iis 7.5 ajpconnector

Posted by Alex Samad - Yieldbroker <Al...@yieldbroker.com>.
Yep I understand, one can hope 

> -----Original Message-----
> From: Rainer Jung [mailto:rainer.jung@kippdata.de]
> Sent: Thursday, 26 July 2012 7:38 AM
> To: users@tomcat.apache.org
> Subject: Re: issue with iis 7.5 ajpconnector
> 
> On 25.07.2012 22:40, Alex Samad - Yieldbroker wrote:
> > Oh so your saying there was an issue that has been fixed since then ..
> >
> > Okay I get the drill. I had just presumed that there had been no changes
> since then on the mutex code that ...
> > Any way ...
> >
> > Back  once I run up a test box... with the latest release version
> 
> I'm not pretending that your problems will be fixed by a newer version but
> analyzing a problem on the basis of a non-released (broken) version seems
> inefficient. Thanks for updating.
> 
> Regards,
> 
> Rainer
> 
> >> -----Original Message-----
> >> From: Rainer Jung [mailto:rainer.jung@kippdata.de]
> >> Sent: Thursday, 26 July 2012 12:38 AM
> >> To: users@tomcat.apache.org
> >> Subject: Re: issue with iis 7.5 ajpconnector
> >>
> >> On 25.07.2012 13:23, Alex Samad - Yieldbroker wrote:
> >>> Hi Andre
> >>>
> >>> Apologies for the sparseness.
> >>>
> >>>
> >>>> -----Original Message-----
> >>>> From: André Warnier [mailto:aw@ice-sa.com]
> >>>> Sent: Tuesday, 24 July 2012 5:14 PM
> >>>> To: Tomcat Users List
> >>>> Subject: Re: issue with iis 7.5 ajpconnector
> >>>>
> >>> [snip]
> >>>
> >>>>>
> >>>>
> >>>> Just to avoid any future misunderstandings and (additional) loss of time
> :
> >>>> When you write "II 7.5", you mean the IIS webserver version 7.5,
> >>>> under Windows, right ?
> >>>
> >>> Dropped the s in the message. But yes this is Windows 2008 R2 with
> >>> NLB (network load balancer installed), IIS 7.5 and ajpconnector
> >>> 1.2.34_8
> >>>
> >>> I initially raised a bug about the locking and shared memory. This
> >>> was the
> >> first working version after that bug. I haven't as yet had a chance
> >> to check the newer version.  But I haven't seen any bugs that might
> >> have caused my problems.
> >>>
> >>>> And exactly which "AJP connector" are you using, downloaded from
> >>>> where, and which precise
> >>>   From the tomcat web site, I believe actually from here
> >>> http://people.apache.org/~mturk/tomcat-connectors/jk-1.2.34/)
> >>
> >> Version 1.2.34 was never released. Choose an official version from
> >>
> >> http://tomcat.apache.org/download-connectors.cgi
> >>
> >> probably 1.2.37.
> >>
> >> Regards,
> >>
> >> Rainer
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: issue with iis 7.5 ajpconnector

Posted by Alex Samad - Yieldbroker <Al...@yieldbroker.com>.
[snip]
> 
> Without rubbing it in too forcefully, this is exactly the reason why it is
> important to provide precise technical details right from the start.

Lack of details yep, my fault. You write thing presuming people who deal with it every day know and think the same way. Always better for more info 

> The people on this list are trying to be helpful, and they do this for fun.
And greatly appreciated

> At the same time, it is a bit frustrating spending time to exchange multiple
> messages back and forth, to end up realising that we may be talking about
> some unknown or broken or unsupported piece of software (or hardware, as
> the case may be).

True

> It just wastes time for everyone, and also delays the eventual resolution of
> your problem.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: issue with iis 7.5 ajpconnector

Posted by André Warnier <aw...@ice-sa.com>.
Rainer Jung wrote:
> On 25.07.2012 22:40, Alex Samad - Yieldbroker wrote:
>> Oh so your saying there was an issue that has been fixed since then ..
>>
>> Okay I get the drill. I had just presumed that there had been no 
>> changes since then on the mutex code that ...
>> Any way ...
>>
>> Back  once I run up a test box... with the latest release version
> 
> I'm not pretending that your problems will be fixed by a newer version 
> but analyzing a problem on the basis of a non-released (broken) version 
> seems inefficient. Thanks for updating.
> 

Without rubbing it in too forcefully, this is exactly the reason why it is important to 
provide precise technical details right from the start.
The people on this list are trying to be helpful, and they do this for fun.
At the same time, it is a bit frustrating spending time to exchange multiple messages back 
and forth, to end up realising that we may be talking about some unknown or broken or 
unsupported piece of software (or hardware, as the case may be).
It just wastes time for everyone, and also delays the eventual resolution of your problem.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: issue with iis 7.5 ajpconnector

Posted by Rainer Jung <ra...@kippdata.de>.
On 25.07.2012 22:40, Alex Samad - Yieldbroker wrote:
> Oh so your saying there was an issue that has been fixed since then ..
>
> Okay I get the drill. I had just presumed that there had been no changes since then on the mutex code that ...
> Any way ...
>
> Back  once I run up a test box... with the latest release version

I'm not pretending that your problems will be fixed by a newer version 
but analyzing a problem on the basis of a non-released (broken) version 
seems inefficient. Thanks for updating.

Regards,

Rainer

>> -----Original Message-----
>> From: Rainer Jung [mailto:rainer.jung@kippdata.de]
>> Sent: Thursday, 26 July 2012 12:38 AM
>> To: users@tomcat.apache.org
>> Subject: Re: issue with iis 7.5 ajpconnector
>>
>> On 25.07.2012 13:23, Alex Samad - Yieldbroker wrote:
>>> Hi Andre
>>>
>>> Apologies for the sparseness.
>>>
>>>
>>>> -----Original Message-----
>>>> From: André Warnier [mailto:aw@ice-sa.com]
>>>> Sent: Tuesday, 24 July 2012 5:14 PM
>>>> To: Tomcat Users List
>>>> Subject: Re: issue with iis 7.5 ajpconnector
>>>>
>>> [snip]
>>>
>>>>>
>>>>
>>>> Just to avoid any future misunderstandings and (additional) loss of time :
>>>> When you write "II 7.5", you mean the IIS webserver version 7.5,
>>>> under Windows, right ?
>>>
>>> Dropped the s in the message. But yes this is Windows 2008 R2 with NLB
>>> (network load balancer installed), IIS 7.5 and ajpconnector 1.2.34_8
>>>
>>> I initially raised a bug about the locking and shared memory. This was the
>> first working version after that bug. I haven't as yet had a chance to check the
>> newer version.  But I haven't seen any bugs that might have caused my
>> problems.
>>>
>>>> And exactly which "AJP connector" are you using, downloaded from
>>>> where, and which precise
>>>   From the tomcat web site, I believe actually from here
>>> http://people.apache.org/~mturk/tomcat-connectors/jk-1.2.34/)
>>
>> Version 1.2.34 was never released. Choose an official version from
>>
>> http://tomcat.apache.org/download-connectors.cgi
>>
>> probably 1.2.37.
>>
>> Regards,
>>
>> Rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: issue with iis 7.5 ajpconnector

Posted by Alex Samad - Yieldbroker <Al...@yieldbroker.com>.
Oh so your saying there was an issue that has been fixed since then ..

Okay I get the drill. I had just presumed that there had been no changes since then on the mutex code that ...
Any way ...

Back  once I run up a test box... with the latest release version

A

> -----Original Message-----
> From: Rainer Jung [mailto:rainer.jung@kippdata.de]
> Sent: Thursday, 26 July 2012 12:38 AM
> To: users@tomcat.apache.org
> Subject: Re: issue with iis 7.5 ajpconnector
> 
> On 25.07.2012 13:23, Alex Samad - Yieldbroker wrote:
> > Hi Andre
> >
> > Apologies for the sparseness.
> >
> >
> >> -----Original Message-----
> >> From: André Warnier [mailto:aw@ice-sa.com]
> >> Sent: Tuesday, 24 July 2012 5:14 PM
> >> To: Tomcat Users List
> >> Subject: Re: issue with iis 7.5 ajpconnector
> >>
> > [snip]
> >
> >>>
> >>
> >> Just to avoid any future misunderstandings and (additional) loss of time :
> >> When you write "II 7.5", you mean the IIS webserver version 7.5,
> >> under Windows, right ?
> >
> > Dropped the s in the message. But yes this is Windows 2008 R2 with NLB
> > (network load balancer installed), IIS 7.5 and ajpconnector 1.2.34_8
> >
> > I initially raised a bug about the locking and shared memory. This was the
> first working version after that bug. I haven't as yet had a chance to check the
> newer version.  But I haven't seen any bugs that might have caused my
> problems.
> >
> >> And exactly which "AJP connector" are you using, downloaded from
> >> where, and which precise
> >  From the tomcat web site, I believe actually from here
> > http://people.apache.org/~mturk/tomcat-connectors/jk-1.2.34/)
> 
> Version 1.2.34 was never released. Choose an official version from
> 
> http://tomcat.apache.org/download-connectors.cgi
> 
> probably 1.2.37.
> 
> Regards,
> 
> Rainer
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: issue with iis 7.5 ajpconnector

Posted by Rainer Jung <ra...@kippdata.de>.
On 25.07.2012 13:23, Alex Samad - Yieldbroker wrote:
> Hi Andre
>
> Apologies for the sparseness.
>
>
>> -----Original Message-----
>> From: André Warnier [mailto:aw@ice-sa.com]
>> Sent: Tuesday, 24 July 2012 5:14 PM
>> To: Tomcat Users List
>> Subject: Re: issue with iis 7.5 ajpconnector
>>
> [snip]
>
>>>
>>
>> Just to avoid any future misunderstandings and (additional) loss of time :
>> When you write "II 7.5", you mean the IIS webserver version 7.5, under
>> Windows, right ?
>
> Dropped the s in the message. But yes this is Windows 2008 R2 with NLB (network load balancer installed), IIS 7.5 and ajpconnector 1.2.34_8
>
> I initially raised a bug about the locking and shared memory. This was the first working version after that bug. I haven't as yet had a chance to check the newer version.  But I haven't seen any bugs that might have caused my problems.
>
>> And exactly which "AJP connector" are you using, downloaded from where,
>> and which precise
>  From the tomcat web site, I believe actually from here
> http://people.apache.org/~mturk/tomcat-connectors/jk-1.2.34/)

Version 1.2.34 was never released. Choose an official version from

http://tomcat.apache.org/download-connectors.cgi

probably 1.2.37.

Regards,

Rainer


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: issue with iis 7.5 ajpconnector

Posted by Alex Samad - Yieldbroker <Al...@yieldbroker.com>.
Hi Andre

Apologies for the sparseness.


> -----Original Message-----
> From: André Warnier [mailto:aw@ice-sa.com]
> Sent: Tuesday, 24 July 2012 5:14 PM
> To: Tomcat Users List
> Subject: Re: issue with iis 7.5 ajpconnector
> 
[snip]

> >
> 
> Just to avoid any future misunderstandings and (additional) loss of time :
> When you write "II 7.5", you mean the IIS webserver version 7.5, under
> Windows, right ?

Dropped the s in the message. But yes this is Windows 2008 R2 with NLB (network load balancer installed), IIS 7.5 and ajpconnector 1.2.34_8

I initially raised a bug about the locking and shared memory. This was the first working version after that bug. I haven't as yet had a chance to check the newer version.  But I haven't seen any bugs that might have caused my problems.

> And exactly which "AJP connector" are you using, downloaded from where,
> and which precise
>From the tomcat web site, I believe actually from here
http://people.apache.org/~mturk/tomcat-connectors/jk-1.2.34/)



> version ?
> And while you are at it, you may want to add the precise OS and Java and
> Tomcat versions

So I have 3 vhosts setup 

a) goes to RHEL6.1 Jboss 6.1.0Final
b) goes to RHEL6.1 jboss 6.1.0Final
c) (the new one I was trying to add) Windows 2008r2 Tomcat 6.0.20

My previous setup was

Internet -> IIS (on public server   [not the reverse proxies] ) -> ajpconnector to tomcat (all on the same box)
I was trying to

Internet -> IIS (on my reverse proxies) -> ajpconnector  to tomcat on the public server ) .. I have checked the firewall rules and connectivity was there ie from the RPs -> 8009 on the public web server

But I really think this extra info is not the problem. 
Why

When I added in config c) from above ... so its on vhost  the ajp connector never ever sent out a request.

So my directory setup is such

X:\<companyX>\local\<vhost>\logs                   <iis logs>
X:\<companyX>\local\<vhost>\                           <ajpconnector logs>
X:\<companyX>\Shared\<vhost>\
X:\<companyX>\Shared\<vhost>\ajpconnector <all the config files and dll for ajpconfig>
X:\<companyX>\Shared\<vhost>\wwwroot        <iis www root>


So happy working system, with 2 vhosts. We have tested with 1.5K concurrent connection attempts and concurrent connects to each of the 2 RP and 2 vhost simultaneously.. all happy don't miss a beat.

Oh and I have ajpconnector turned onto error only logging
I have 2 threads allocated per vhost - 2 threasd in the application pool and concurrent recycles allowed.

I configure the 3rd vhost, start application pool, attempt to hit the jkstatus / jkmanager page.  Then the other ajp connector start to time our.  Even with debugging turned on in the 3 vhost - the new one. I don't get any line entries...

Which leads me to believe it is a semaphore/ locking issue.


I will note MTurk, in previously emails thought the setup should have just 1 pool for all the vhost. But this didn't allow us to run different versions in UAT / SIM / PROD and testing...


Any other questions happy to add any more info 

> too, rather than forcing other people to pry this information out of you.
Sorry, it did seem rather clear when I wrote it :)  But obviously not !

> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: issue with iis 7.5 ajpconnector

Posted by André Warnier <aw...@ice-sa.com>.
Alex Samad - Yieldbroker wrote:
>  Hi
>  
>  I have II 7.5 setup and currently 2 vhosts each vhost has its own applicati= on
>  pool and it's on copy of the ajp connector
>  
>  We did this so that we can say run prod and uat at different version and al=
>  so make sure that bringing one down doesn't affect the other !
>  
>  Now I went to add another vhost with another ajp connector and  when I
>  went=  to try and access it... it locked up my other ajp application pools.
>  Almo= st like there was a locking issue.
>  
>  So my new application pool / ajp connect never ever started !
>  My uat threw lots of time outs
>  My prd threw some time outs.
>  
>  Is there an issue with the locking ?
>  

Just to avoid any future misunderstandings and (additional) loss of time :
When you write "II 7.5", you mean the IIS webserver version 7.5, under Windows, right ?
And exactly which "AJP connector" are you using, downloaded from where, and which precise 
version ?
And while you are at it, you may want to add the precise OS and Java and Tomcat versions 
too, rather than forcing other people to pry this information out of you.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org