You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Huang Hai - ES/BJ <Ha...@Sun.COM> on 2001/08/22 12:00:43 UTC
Please help
Dear Sir,
I got the same problem. Anyone can help?
Apache 1.3.20
Java 1.2.2
Tomcat 3.2.3 src
gcc
Thanks & Best Regards
Huang Hai - Enterprise Services
Sun Microsystems China Limited
Tel: +8610-68035588 Ext 28782
Fax: +8610-68020020
E-mail: Hai.Huang@sun.com
************************** Original Message ***********************
From: kun yan
Subject: mod_jk build on Solaris 2.6
Date: Thu, 5 Jul 2001 16:06:51 -0500 (CDT)
Hi,
I installed
Apache 1.3.20
Tomcat 3.2.2
on Solaris.
I tried to build mod_jk.so but get the following error.
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/mnt/sdt/kunyan/apache/include -I/usr/java1.2/include/solaris
-I../jk
-I/usr/java1.2/include -DSOLARIS -c mod_jk.c
:
:
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/mnt/sdt/kunyan/apache/include -I/usr/java1.2/include/solaris
-I../jk
-I/usr/java1.2/include -DSOLARIS -c ../jk/jk_worker.c
-o mod_jk.so jk_worker.o jk_util.o jk_uri_worker_map.o
jk_sockbuf.o
jk_pool.o jk_nwmain.o jk_msg_buff.o jk_map.o jk_lb_worker.o
jk_jni_worker.o jk_connect.o jk_ajp13_worker.o jk_ajp13.o
jk_ajp12_worker.o mod_jk.o -lposix4
apxs:Break: Command failed with rc=16777215
The command is:
apxs -o mod_jk.so -DSOLARIS
-I/usr/java1.2/include/solaris -I..
/jk -I/usr/java1.2/include -l posix4 -c *.c ../jk/*.c
Does anyone have faced the same problem? How did you solve it?
Any help or hint will be really appreciated.
Regards,
Kun
Q: Is it possible to connect to Tomcat on NT from mod_jk on Solaris/Apache?
Posted by Ben Kimball <bk...@home.com>.
I have Tomcat running on NT. I have Apache running on Solaris. I am trying to
get mod_jk.so (on Solaris) to connect to Tomcat running on NT. (Not my idea -
work wants me to try to get this to work)
However, it seems that the workers.properties file needs to be seen by both
Tomcat itself and the mod_jk module, BUT the version of Tomcat on NT writes
out workers.properties using Windows-style directory names (Drive letters and
backslashes) which is meaningless to mod_jk on Solaris, as it does not grok
drive letters and expects forward-slashes.
First, I don't quite understand why mod_jk needs to know about
workers.properties - I would think it would just need to forward requests to
Tomcat and it would figure it out. (Or does it? When I leave out the Apache
directive for the location of the workers.properties file it refuses to
start, so I assume it does)
Secondly, what exactly in the workers.properties file does mod_jk need to
know? Can I perhaps point non-essential information to dummy directories (say
/dev/null or something) and translate only the needed information to
unix-directory format? Since once I get this going, it will only host this
one application and the configuration will never change, I was hoping I could
just do a one time translation to get the two to talk to each other.
Is there a way to do this, or is this just a silly thing to attempt?
Thanks!
Re: mod_jk solaris
Posted by Jan Labanowski <jk...@osc.edu>.
On Wed, 22 Aug 2001, Huang Hai - ES/BJ wrote:
> Dear Sir,
>
> I got the same problem. Anyone can help?
>
> Apache 1.3.20
> Java 1.2.2
> Tomcat 3.2.3 src
> gcc
>
> Thanks & Best Regards
>
> Huang Hai - Enterprise Services
> Sun Microsystems China Limited
> Tel: +8610-68035588 Ext 28782
> Fax: +8610-68020020
> E-mail: Hai.Huang@sun.com
Try:
www.google.com
and enter:
mod_jk solaris
Jan K. Labanowski | phone: 614-292-9279, FAX: 614-292-7168
Ohio Supercomputer Center | Internet: jkl@osc.edu
1224 Kinnear Rd, | http://www.ccl.net/chemistry.html
Columbus, OH 43212-1163 | http://www.osc.edu/