Hi Ryan,

I should have asked this earlier, but are you using the RPM version of Apache or compiling the source tarball ? I notice that your directory is /usr/local, which indicates that you are probably using the source tarball (for RH9 rpms, it would be /etc/httpd).

If you are using the source tarball, there are a LOT of things that are different. I believe you are missing a package, hence the gdbm error. I cannot recall at the moment what the name of the package is -- can you do a search on rpmfind ? Another thing: apxs is located inside /usr/local/httpd-2.0.49 -- just do a "find /usr/local/httpd-2.0.49 -name apxs" to locate it.

Did you do a Minimal install for Red Hat ? You will need to ensure that you have the necessary packages installed. See this for a short list : http://cymulacrum.net/writings/tomcat5/c875.html#JK2_INTEGRATION_SETUP

You probably don't need apr and apr-util because you installed Apache from source.

Regards,
pascal chong


Ryan McConigley wrote:

At 10:09 PM 23/06/2004 +0800, you wrote:

Hi Ryan,

It sounds like an error similar to one Andrew Clute encountered on Red Hat Enterprise Linux 3 (apr_md5_final). I transcribed some of the steps he took here : http://cymulacrum.net/writings/tomcat5/a1375.html

Can you test it first ? If it works, I would like to add a comment to the document that says that the steps apply to Red Hat 9 as well.

Regards,
pascal chong


Thanks for that. I gave that a whirl, putting in the extra library and that solved the problem of the "undefined symbol apr_md5_final" error, but now I'm getting the following error instead:

INFO: APR not loaded, disabling jni components: java.io.IOException: java.lang.UnsatisfiedLinkError: /usr/local/httpd-2.0.49/modules/jkjni.so: /usr/local/httpd-2.0.49/lib/libaprutil-0.so.0: undefined symbol: gdbm_errno

        Which would appear that that linked library isn't correct.

        Any hints?




Ryan McConigley wrote:


Greetings,

I have a problem. I am trying to get Tomcat (5.0.25), Apache (2.0.49) and mod_jk2 (2.0.4) all to talk to each other under RedHat 9.0.

So far I can get Apache up and working on port 80 and Tomcat works fine on port 8080. However, my users want to be able to use .jsp pages on their virtual hosts.

I did have it working fine on the old machine we had (Redhat 7.3, Apache 1.3, Tomcat 4 and mod_jk) but we upgraded and now its not working.

One thing I have noticed is when Tomcat starts up there is the message:
INFO: APR not loaded, disabling jni components: java.io.IOException: java.lang.UnsatisfiedLinkError: /usr/local/httpd-2.0.49/modules/jkjni.so: /usr/local/httpd-2.0.49/modules/jkjni.so: undefined symbol: apr_md5_final


I assumed I was getting this because Apache was not compilied in with apr support, so I recompiled it with --with-apr and --with-apr-util. Apache still works, but when I tried to recompile mod_jk2 it tells me now that my apxs can not be found, even though prior it was finding it ok and its quite clearly in the location specified.

I'm not sure if that is a critical error or not or how to overcome it. I have been trying different compile options, but still not getting much luck.

When you click on a .jsp page, all that happens is the browser just sits there continually loading. In the tomcat logs you get a line which says "INFO: No next" and thats it.

Can anyone shed some light on my problem, before I do physical harm to the box in question. The configuration files are as follows: Also, can I have .jsp files enabled for some virtual servers and not for others, or is it an all or nothing affair?


<*snip*>
--
Ryan McConigley - Systems Administrator _.-,
Computer Science University of Western Australia .--' '-._
Tel: (+61 8) 6488 7082 - Fax: (+61 8) 6488 1089 _/`- _ '.
[EMAIL PROTECTED] - http://www.csse.uwa.edu.au/~ryan '----'._`.----. \
` \;
"You're just jealous because the voices are talking to me" ;_\





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to