Bug 45313 - mod_jk 1.2.26 & apache 2.2.9 static compiled on solaris not able to connect
Summary: mod_jk 1.2.26 & apache 2.2.9 static compiled on solaris not able to connect
Status: RESOLVED INVALID
Alias: None
Product: Tomcat Connectors
Classification: Unclassified
Component: Common (show other bugs)
Version: unspecified
Hardware: Sun Solaris
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-30 07:46 UTC by Andreas Schubert
Modified: 2017-12-07 12:49 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Schubert 2008-06-30 07:46:04 UTC
I tried a static compile of mod_jk 1.2.26 and apache 2.2.9 on solaris 8,9 and 10 (sparc) and solaris 10 (intel).

Compilation worked perfect, mod_jk worked in all cases when tomcat (or other servlet container) was on the same host. It did not work, when tomcat was on an other host on the same network on all sparc versions of solaris, but it worked for the intel version.

Some investigation showed, that nb_connect() in jk_connect.c fails when statically compiled into apache. Modular compilation works fine.

Compiler was gcc version 3.2.4, tried with sun "ld" and gnu "ld", no difference.
Comment 1 Rainer Jung 2008-07-12 05:30:41 UTC
Could you please provide the exact configure options for httpd and mod_jk you were using for the static build on Solaris 10 Sparc? This will help us minimalize efforts to reproduce.

Could there be any relation to IPV6 in your environment?
Comment 2 Andreas Schubert 2008-07-14 01:25:44 UTC
Hi,

configure option where as follows:

for mod_jk: --with-apache=<dir of apache source>
for apache: --with-mpm=worker --disable-so --disable-authn-file --disable-authn-default  --disable-authz-groupfile --disable-authz-user --disable-authz-default --disable-auth-basic --disable-include --disable-filter --disable-charset-lite  --disable-autoindex --disable-asis --disable-cgid --disable-cgi --disable-negotiation --disable-dir --disable-actions --disable-userdir  --enable-vhost-alias --enable-rewrite --with-mod_jk

I also tried different apache configure options (enabled all modules, even those, I don't intend to use) but that didn't work. What seems to work is using the Sun Studio C compiler.
Comment 3 Mark Thomas 2017-12-07 12:49:30 UTC
Looks to be a compiler issue on Solaris.