Operating System - HP-UX
1827294 Members
3000 Online
109960 Solutions
New Discussion

Re: Problem running Apache 1.3.27 with Tomcat 4.1.x

 
Hofmann Mario
New Member

Problem running Apache 1.3.27 with Tomcat 4.1.x

Hello,
the following error occurs

./apachectl configtest
/usr/lib/dld.sl: Unresolved symbol: ajp_init (code) from /usr/local/apache27/libexec/mod_jk.so
/usr/lib/dld.sl: Unresolved symbol: ajp_destroy (code) from /usr/local/apache27/libexec/mod_jk.so
/usr/lib/dld.sl: Unresolved symbol: ajp14_worker_factory (code) from /usr/local/apache27/libexec/mod_jk.so
/usr/lib/dld.sl: Unresolved symbol: ajp_get_endpoint (code) from /usr/local/apache27/libexec/mod_jk.so
/usr/lib/dld.sl: Unresolved symbol: ajp_validate (code) from /usr/local/apache27/libexec/mod_jk.so
Syntax error on line 8 of /opt/tomcat/conf/jk/mod_jk.conf-auto:
Cannot load /usr/local/apache27/libexec/mod_jk.so into server: Unresolved external

have anyone a solution?
test
6 REPLIES 6
benoit Bruckert
Honored Contributor

Re: Problem running Apache 1.3.27 with Tomcat 4.1.x

Hi,
Did you build your apache and/or tomcat from sources ? if it's the case, search the patch database, there's somethink about the linker (ld)
see
PHSS_22514
or
PHSS_19866

hope that help
Benoit
"C'est fou ce qu'un python boa, on dirait un cameleon citerne."
Une application mal pansée aboutit à une usine à gaze (GHG)
Steven E. Protter
Exalted Contributor

Re: Problem running Apache 1.3.27 with Tomcat 4.1.x

After installing Benoit's patches, you'll need to relink apache and tomcat

You also might want to just jump in and put the December 2002 Patch set, which you can download from HP.

Unless you are doing significant customization, you're probably better off with depot versions of apache and tomcat, available at the links displayed below:

Apache 2.x(kinda cutting edge)
https://payment.ecommerce.hp.com/cgi-bin/swdepot_parser.cgi/cgi/try.pl?productNumber=B9416BAPA2043&date=

Apache 1.3.x
What you are using.

https://payment.ecommerce.hp.com/cgi-bin/swdepot_parser.cgi/cgi/try.pl?productNumber=B9415AAPA1327&date=

tomcat

https://payment.ecommerce.hp.com/cgi-bin/swdepot_parser.cgi/cgi/try.pl?productNumber=HPUXWST100001&date=

This post assumes you are runing on PA-RISC, not Itanium.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Hofmann Mario
New Member

Re: Problem running Apache 1.3.27 with Tomcat 4.1.x

The two patches are allready exist on the system!
The depot version of apache and tomcat include the tomcat 3.x version and this is not supported by the application.
So i install apache from the source with dso option and download tomcat binary and the connector source for building mod_jk.so.
test
benoit Bruckert
Honored Contributor

Re: Problem running Apache 1.3.27 with Tomcat 4.1.x

Hi again,
If I was you, I would install also tomcat from complete sources,
If you have an error, it's more often at compile time, and then easier to solve !!
But I don't use tomcat, then I'm not sure, I already had this kind of trouble with Apache DSO (with php), and I solved it by changing some libs options in the makefile...

hth
Benoit
____
"Comme les maladies contagieuses, les id??es neuves demandent une certaine p??riode d'incubation avant que elles soient reconnus." Arthur Koestler, les somnambules
Une application mal pansée aboutit à une usine à gaze (GHG)
Hofmann Mario
New Member

Re: Problem running Apache 1.3.27 with Tomcat 4.1.x

Hi,
the problem building tomcat from source is you need more then 30 requirements.
The tomcat-connectore is source and the building runs without errors. The Problem is using the module with apache.

Mario
test
benoit Bruckert
Honored Contributor

Re: Problem running Apache 1.3.27 with Tomcat 4.1.x

try
ldd usr/local/apache27/libexec/mod_jk.so
to check if all is OK about this shared lib. You should have a trouble at this step.
I think that there's something missing during compile of the connector, did you get any warning about dld or dyn lib ?
The mod_jk.so was the lib build from the connector sources ?? Or is it coming from tomcat binaries ?? If it's from the last, then it means that you have error in the binary (hope not), if it comes from sources, then it can be solved more easily, you have just to find where these symbol come from (which lib) and add it in the makefile..


regards
Benoit
Une application mal pansée aboutit à une usine à gaze (GHG)