July 12th, 2000, 05:01 AM
-
I have successfully build jserv and I want it to be dynamically loaded by apache. But there is no mod_jserv.so generated!? How do I get Jserv into Apache now (without recompiling)?
July 12th, 2000, 05:27 AM
-
>>I have successfully build jserv
How can you tell?
>>But there is no mod_jserv.so generated!?
That means you screwed up somewhere.
>>How do I get Jserv into Apache now (without recompiling)?
You need to give more details and be specific about the procedures you have done.
July 13th, 2000, 05:15 AM
-
First of all, thank you for help. Okay, let me be more specific: I am using Linux Mandrake 7.1 with sort of very optimized Apache 1.3.12 (they say so). First, I run ./configure --with-jsdk=/(...) and it does not give me any errors. But I wonder whether it finds the Apache installation dir - I am sort of new to Linux and actually I do not know how to identify the Apache installation dir. There are some files in /etc/httpd, but httpd is located in /usr/sbin. So maybe somebody can just tell me which files have to be created by a succesful Jserv-DSO installation. At the moment, there are 2 dirs created namely /docs and /lib. /lib only contains a .jar file. Should I re-install/compile Apache?
July 13th, 2000, 05:01 PM
-
>>which files have to be created by a succesful Jserv-DSO installation
At the very least, you need to have mod_jserv.so. But having it doesn't guarantee it will loaded properly or installed correctly.
>>I am using Linux Mandrake 7.1 with sort of very optimized Apache 1.3.12 (they say so).
>>Should I re-install/compile Apache?
RPM is good and easy to install but lacks of flexibility and custom-configuration. For programs like Apache and PHP, you almost certainly need to compile from source. The reason is that there is no way for RPM to know what options (too many) you want to configure/build. The minus side is that you have to compile from source all the ways for any apache-related, jserv in your case.
Since the whole process including jserv is kinda complicated. All I can offer is a sample of my jserv's Makefile options. You should
--prefix=/usr/local/jserv
--with-apxs=${LOCALBASE}/apache/sbin/apxs
--with-jdk-home=${LOCALBASE}/jdk1.1.8
--with-JSDK=${LOCALBASE}/share/java/classes/jsdk.jar
--with-java=${LOCALBASE}/jdk1.1.8/bin/java
--with-javac=${LOCALBASE}/bin/jikes
--with-javadoc=${LOCALBASE}/jdk1.1.8/bin/javadoc
--with-jar=${LOCALBASE}/jdk1.1.8/bin/jar
--with-logdir=/var/log/httpd/jserv
--enable-compressed-jar
--with-gnu-ld
--disable-debugging
${LOCALBASE} is /usr/local in this case
BE SURE to read the requirements for building jserv "README.build", this file can be found once you extracted ApacheJServ-1.x.
Be sure to check out -> http://www.devshed.com/Talk/Forums/F...ML/000020.html for apache's configuration.