----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Hi,
I wouldn't count on JServ 1.1 working with Apache 1.3.4.
The INSTALL file in the ApacheJServ-1.1 directory of the source distribution
says that
o Apache HTTP Server:
We have removed all support for Apache 1.2.x. Apache 1.3.9 and
higher is the current supported version. Apache 1.3.9 has
been out for quite some time now and we feel that it is best that
you always upgrade to the latest version of Apache. We also had
several bugs as a result of bugs in Apache 1.2.x that have been
resolved in Apache 1.3.9.
Stephen
At 06:55 PM 2/2/00 -0500, you wrote:
>----------------------------------------------------------------
>BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
>WHEN YOU POST, include all relevant version numbers, log files,
>and configuration files. Don't make us guess your problem!!!
>----------------------------------------------------------------
>
>
>#1. What version of Apache JServ you are using
>
>JServ version 1.1
>
>#2. What version of Apache you are using
>
>Apache version 1.3.4
>
>#3. What OS and OS version you are using
>
>IBM AIX version 4.3.3
>
>#4. An exact description of what is going wrong (pretend that we are not
>there and we cannot see what you are doing). Include any useful log file
>output as well.
>
>The `configure` goes through fine. After that point, during the `make` I
>receive the following compiler errors: (using GCC)
>
>From the below past, it looks like it's failing when it tries to do some
>IBM apache specific stuff. The code snipplet of one of the errors is also
>pasted below this output - the other errors have similiar code sniplets:
>
>
>gcc -DPACKAGE=\"ApacheJServ\" -DVERSION=\"1.1\" -DSTDC_HEADERS=1
>-DTIME_WITH_SYS_TIME=1 -DSTDC_HEADERS=1 -DHAVE_GETTIMEOFDAY=1
>-DHAVE_HTTPD_H=1 -DHAVE_HTTP_CONFIG_H=1 -DHAVE_HTTP_CORE_H=1
>-DHAVE_HTTP_LOG_H=1 -DHAVE_HTTP_MAIN_H=1 -DHAVE_HTTP_PROTOCOL_H=1
>-DHAVE_UTIL_SCRIPT_H=1 -DHAVE_UTIL_MD5_H=1 -DHAVE_OS_INLINE_C=1 -I. -I.
>-I/usr/lpp/HTTPServer/include -g -O2 -c -DPIC jserv_ajpv12.c -o
>jserv_ajpv12.lo
>jserv_ajpv12.c: In function `ajpv12_handle_in':
>jserv_ajpv12.c:335: structure has no member named `fd_in'
>jserv_ajpv12.c:347: structure has no member named `fd_in'
>jserv_ajpv12.c:362: structure has no member named `fd_in'
>jserv_ajpv12.c:373: structure has no member named `fd'
>jserv_ajpv12.c:375: structure has no member named `fd'
>jserv_ajpv12.c: In function `ajpv12_handler':
>jserv_ajpv12.c:510: warning: passing arg 1 of `ap_sub_req_lookup_uri'
>makes pointer from integer without a cast
>make[2]: *** [jserv_ajpv12.lo] Error 1
>make[2]: Leaving directory
>`/www/storage/drs/websoftware/servlets/ApacheJServ-1.1/src/c'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory
>`/www/storage/drs/websoftware/servlets/ApacheJServ-1.1/src'
>make: *** [all-recursive] Error 1^D #5. Your
>Apache JServ
>configuration in Apache
>
>-----
>Code snipplet for the first error is as follows:
>static int ajpv12_handle_in(jserv_config *cfg, jserv_request *req,
>request_rec *
>r, int *state, BUFF * buffsocket) {
> int ret;
>#ifdef HAVE_APFD /* IBM Apache */
> if( buffsocket->pfd_in->sd < 0 ) {
>#else
> if( buffsocket->fd_in < 0 ) {
>#endif
> jserv_error(JSERV_LOG_EMERG,cfg,"ajp12: ajpv12_handle_in: input
>socket n
>on existing");
> return 500;
> }
>
>it seems to be false for the #ifdef then tries to access the fd_in member
>and that's where it fails...
>
>
>Thanks much
>
>Anthony
>
>
>
>
>--
>--------------------------------------------------------------
>Please read the FAQ! <http://java.apache.org/faq/>
>To subscribe: [EMAIL PROTECTED]
>To unsubscribe: [EMAIL PROTECTED]
>Archives and Other: <http://java.apache.org/main/mail.html>
>Problems?: [EMAIL PROTECTED]
>
>
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]