Google-sovellukset
Päävalikko

Post a Comment On: lo-fi

"Leopard for the Web Developer"

5 Comments -

1 – 5 of 5
Blogger billo said...

If you figure out how to connect Apache web server to Tomcat installations with modjk on leopard, let me know. I'm stumped. I built the connector, and Apache/Leopard apparently doesn't want to load one that is i386 only; it apparently wants x86_64.

From my system.log:

Oct 29 16:19:53 buffy org.apache.httpd[16415]: httpd: Syntax error on line 113 of /private/etc/apache2/httpd.conf: Cannot load /usr/libexec/apache2/mod_jk.so into server: dlopen(/usr/libexec/apache2/mod_jk.so, 10): no suitable image found. Did find:\n\t/usr/libexec/apache2/mod_jk.so: mach-o, but wrong architecture

10/29/2007 3:20 PM

Blogger Eric said...

Thanks for the heads up!

I have modjk connecting tomcat to apache in OS X 10.4, which was pretty straight forward to set up. I was really hoping that Leopard wouldn't present any surprises. I'll definitely post whatever I find.

10/29/2007 3:26 PM

Blogger billo said...

I had it all set up on Tiger no problem. It boils down to two problems:

1. Leopard is Apache 2.2 and not 1.3

2. The Makefile for tomcat jk connector set the architecture to i386, and you must hack the crap out of the Makefile to force it to x86_64.

It's working for me now.

10/29/2007 4:13 PM

Blogger Eric said...

Thanks for the info!

I checked out the Makefile for the version I have on Tiger, and I find nothing for x86_64. It's all i386.

Did you just swap out "x86_64" wherever you saw "i386"?

I'll also have you know that your valuable comments were the impetus for me to FINALLY throw some CSS at the commments on this blog :-)

10/29/2007 5:50 PM

Blogger billo said...

See my blog post for how-to

10/29/2007 9:07 PM

You can use some HTML tags, such as <b>, <i>, <a>

Comment moderation has been enabled. All comments must be approved by the blog author.

You will be asked to sign in after submitting your comment.
Please prove you're not a robot