tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Gomez <henri.go...@gmail.com>
Subject Re: Notice : No more IBM support JK/Tomcat on i5/OS V6R1
Date Wed, 05 Aug 2009 05:54:20 GMT
The question here is :

Why did we use unixd_set_global_mutex_perms/ap_unixd_set_global_mutex_perms
since both call didn't exist in i5/OS V6R1 and I had to set
JK_NEED_SET_MUTEX_PERMS to 0 to have them excluded.

I'll commit the patches for i5/OS after I some testing on the mod_jk
1.2.28 built on the V6R1.

Regards

2009/8/4 Henri Gomez <henri.gomez@gmail.com>:
> Hi to all,
>
> I'm working right now on the V6R1 port (very needed for our company update).
>
> the unixd.h didn't exist under i5/OS.
>
> In mod_jk.c I could see :
>
> /* Yes; sorta sucks - with luck we will clean this up before httpd-2.2
>  * ships, leaving AP_NEED_SET_MUTEX_PERMS def'd as 1 or 0 on all platforms.
>  */
> #ifdef AP_NEED_SET_MUTEX_PERMS
> # define JK_NEED_SET_MUTEX_PERMS AP_NEED_SET_MUTEX_PERMS
> #else
>  /* A special case for httpd-2.0 */
> # if !defined(OS2) && !defined(WIN32) && !defined(BEOS) &&
> !defined(NETWARE) && !defined(AS400)
> #  define JK_NEED_SET_MUTEX_PERMS 1
> # else
> #  define JK_NEED_SET_MUTEX_PERMS 0
> # endif
> #endif
>
> #if JK_NEED_SET_MUTEX_PERMS
> #include "unixd.h"      /* for unixd_set_global_mutex_perms */
> #endif
>
> What's this AP_NEED_SET_MUTEX_PERMS ?
>
> On my Linux box I could see :
>
> /usr/include/apache2/os.h:#define AP_NEED_SET_MUTEX_PERMS 1
>
> See it also on i5/OS V6R1 :
>
> /QIBM/ProdData/HTTPA/Include/os.h  :
>
> /* On platforms where AP_NEED_SET_MUTEX_PERMS is defined, modules
> #define AP_NEED_SET_MUTEX_PERMS 1       /* @A1A */
>
> Later I could see :
>
> #if JK_NEED_SET_MUTEX_PERMS
> #if (MODULE_MAGIC_NUMBER_MAJOR >= 20090208)
>        rv = ap_unixd_set_global_mutex_perms(jk_log_lock);
> #else
>        rv = unixd_set_global_mutex_perms(jk_log_lock);
> #endif
>
> MODULE_MAGIC_NUMBER_MAJOR is which version of Apache 2.2.x ?
>
>
> 2009/7/29 Henri Gomez <henri.gomez@gmail.com>:
>> We allready have a V6R1 partition available but some pre-requisite are
>> still missing (like OpenSSH).
>>
>> When they will, I'll do the build.
>>
>> BTW, ASF will have to provide two binaries, one for V5R3/V5R4 and one
>> for V6R1 ;)
>>
>>
>>
>>
>> 2009/7/29 Josh Gooding <josh.gooding@gmail.com>:
>>> I never had V6.  V5R3 and 4 are the last ones I had.  I like the i5.  I wish
>>> I could find one of the smaller ones with a small expansion cabinet to play
>>> with.
>>>
>>> On Wed, Jul 29, 2009 at 11:49 AM, Mladen Turk <mturk@apache.org> wrote:
>>>
>>>> On 29/07/09 17:25, Rainer Jung wrote:
>>>>
>>>>>
>>>>> Of course first you need to get access to V6R1...
>>>>>
>>>>>
>>>> I had V6 once, but it was Peugeot Coupe. Nasty beast :)
>>>>
>>>> Anyhow, perhaps Henri can upload some binaries
>>>> inside the dist if relevant.
>>>>
>>>>
>>>> Cheers
>>>> --
>>>> ^TM
>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
>>>> For additional commands, e-mail: dev-help@tomcat.apache.org
>>>>
>>>>
>>>
>>
>

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


Mime
View raw message