You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by mikhail malamud <mi...@drexel.edu> on 2001/02/12 21:22:50 UTC

mod_jk.so

Has anyone successfuly compile mod_jk.so on FreeBSD? Or perhaps you know
the answer to the question below. Please help.

I had been searching archives for the past two days. This problem pops
up both with Linux and FreeBSD. I still cant find the solution. After
compiling compiling mod_jk.so from 3.2.1 source files and adjusting
httpd.conf, I receive following error when trying to start Apache.

**********
Cannot load /usr/local/libexec/apache/mod_jk.so into server:
/usr/local/libexec/apache/mod_jk.so: Undefined symbol "map_name_at"
/usr/local/sbin/apachectl start: httpd could not be started
*********

I am running FreeBSD 4.2 + Apache 1.3.17 + Tomcat 3.2.1 +(Sun JDK1.3
emul | jdk1.1.8 native).

Please help. I am going nuts.

---
www.netflexity.com


RE: mod_jk.so

Posted by mikhail malamud <mi...@drexel.edu>.
I used a port makefile which I downloaded from freebsd.org
http://www.freebsd.org/cgi/ports.cgi?query=jdk&stype=all. Then
downloaded jdk1.3....bin from the javasoft website. When you run the
makefile, it actually tells you where to download jdk and then you need
to put into /usr/ports/distfiles. Ports makefile actually contains all
the necessary intructions for patching and will do it automatically. Let
me know once you get to this point and I will try to help you further.

---
www.netflexity.com

-----Original Message-----
From: Michael Dewhirst [mailto:mike@dolphintime.com]
Sent: Monday, February 12, 2001 6:14 PM
To: tomcat-user@jakarta.apache.org
Subject: Re: mod_jk.so


Mikhail,

My name is actually also Mikhail (Mike), so maybe now you'll be even
more
willing to help me :)

I have had nothing but problems (partlt because I'm learning as I'm
going
along) trying to install Tomcat 3.2.1 on FreeBSD. I understand you have
it
running?

I've not been able to fully install jdk1.3, since it requires (to finish
the
install) patching sys files with a diff file, and I don't know how to do
this. Can you tell me how/ point me to a guide to how? I've not been
able to
find anything for at least a week and a 1/2 now.

Thanks very much in advance!

Mike
----- Original Message -----
From: "mikhail malamud" <mi...@drexel.edu>
To: <to...@jakarta.apache.org>
Sent: Monday, February 12, 2001 8:22 PM
Subject: mod_jk.so


> Has anyone successfuly compile mod_jk.so on FreeBSD? Or perhaps you
know
> the answer to the question below. Please help.
>
> I had been searching archives for the past two days. This problem pops
> up both with Linux and FreeBSD. I still cant find the solution. After
> compiling compiling mod_jk.so from 3.2.1 source files and adjusting
> httpd.conf, I receive following error when trying to start Apache.
>
> **********
> Cannot load /usr/local/libexec/apache/mod_jk.so into server:
> /usr/local/libexec/apache/mod_jk.so: Undefined symbol "map_name_at"
> /usr/local/sbin/apachectl start: httpd could not be started
> *********
>
> I am running FreeBSD 4.2 + Apache 1.3.17 + Tomcat 3.2.1 +(Sun JDK1.3
> emul | jdk1.1.8 native).
>
> Please help. I am going nuts.
>
> ---
> www.netflexity.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
>
>


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


Re: mod_jk.so

Posted by Michael Dewhirst <mi...@dolphintime.com>.
Mikhail,

My name is actually also Mikhail (Mike), so maybe now you'll be even more
willing to help me :)

I have had nothing but problems (partlt because I'm learning as I'm going
along) trying to install Tomcat 3.2.1 on FreeBSD. I understand you have it
running?

I've not been able to fully install jdk1.3, since it requires (to finish the
install) patching sys files with a diff file, and I don't know how to do
this. Can you tell me how/ point me to a guide to how? I've not been able to
find anything for at least a week and a 1/2 now.

Thanks very much in advance!

Mike
----- Original Message -----
From: "mikhail malamud" <mi...@drexel.edu>
To: <to...@jakarta.apache.org>
Sent: Monday, February 12, 2001 8:22 PM
Subject: mod_jk.so


> Has anyone successfuly compile mod_jk.so on FreeBSD? Or perhaps you know
> the answer to the question below. Please help.
>
> I had been searching archives for the past two days. This problem pops
> up both with Linux and FreeBSD. I still cant find the solution. After
> compiling compiling mod_jk.so from 3.2.1 source files and adjusting
> httpd.conf, I receive following error when trying to start Apache.
>
> **********
> Cannot load /usr/local/libexec/apache/mod_jk.so into server:
> /usr/local/libexec/apache/mod_jk.so: Undefined symbol "map_name_at"
> /usr/local/sbin/apachectl start: httpd could not be started
> *********
>
> I am running FreeBSD 4.2 + Apache 1.3.17 + Tomcat 3.2.1 +(Sun JDK1.3
> emul | jdk1.1.8 native).
>
> Please help. I am going nuts.
>
> ---
> www.netflexity.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
>
>


Correct order for starting tomcat and apache

Posted by "Peter B. West" <pb...@powerup.com.au>.
What is the correct order for starting apache and tomcat, and why?

I currently have a linux redhat 7.0 system, and the chkconfig values for
/etc/rc.d/init.d/tomcat and ..../httpd are
# chkconfig: 345 80 20
 and
# chkconfig: 345 85 15
respectively.  I.e., tomcat starts first and finishes second.  This
seems to work, and I suppose that it then makes sense that I seem to
have problems if I just stop and restart tomcat while apache (httpd) is
still running.  Is this to be expected?  What if I stop and restart
httpd while tomcat is running?  Should I expect problems?

Peter
-- 
Peter B. West  pbwest@powerup.com.au  http://powerup.com.au/~pbwest
"Lord, to whom shall we go?"

RE: mod_jk.so

Posted by "John P. Dodge" <do...@cruciate.ca.boeing.com>.
This is a link problem, the compiled object was not linked with the
library file that contains the definition on the symbol "map_name_at". You
need to find the lib file and add it to the linker directive (i.e.
-L<libdir> -l<libname>). I don't know about FreeBSD but on Solaris you can
use the nm command to dump the symbol tables of lib files:

Try (from the standard lib dirs):

nm lib* | grep map_name_at

or

for f in lib*
do
echo $f
nm $f | grep map_name_at
done


On Tue, 13 Feb 2001, mikhail malamud wrote:

> I give up. Can someone send me mod_jk.so compiled on freebsd.
> 
> **********
> Cannot load /usr/local/libexec/apache/mod_jk.so into server:
> /usr/local/libexec/apache/mod_jk.so: Undefined symbol "map_name_at"
> /usr/local/sbin/apachectl start: httpd could not be started
> *********
> 

------------------------------------------------
"Mon aeroglisseur est plein d'anguilles"

John P. Dodge
Boeing Shared Services Group



RE: mod_jk.so

Posted by mikhail malamud <mi...@drexel.edu>.
I give up. Can someone send me mod_jk.so compiled on freebsd.



-----Original Message-----
From: mikhail malamud [mailto:mikhail.malamud@drexel.edu]
Sent: Monday, February 12, 2001 3:23 PM
To: tomcat-user@jakarta.apache.org
Subject: mod_jk.so


Has anyone successfuly compile mod_jk.so on FreeBSD? Or perhaps you know
the answer to the question below. Please help.

I had been searching archives for the past two days. This problem pops
up both with Linux and FreeBSD. I still cant find the solution. After
compiling compiling mod_jk.so from 3.2.1 source files and adjusting
httpd.conf, I receive following error when trying to start Apache.

**********
Cannot load /usr/local/libexec/apache/mod_jk.so into server:
/usr/local/libexec/apache/mod_jk.so: Undefined symbol "map_name_at"
/usr/local/sbin/apachectl start: httpd could not be started
*********

I am running FreeBSD 4.2 + Apache 1.3.17 + Tomcat 3.2.1 +(Sun JDK1.3
emul | jdk1.1.8 native).

Please help. I am going nuts.

---
www.netflexity.com


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