----------------------------------------------------------------
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!!!
----------------------------------------------------------------

Hello ApacheJserv ocean of gray matter, here is my bottled message:

I recently saw a thread on the aforementioned problem ( see Subject:), but
the resolution did not make sense (....use Glibc 2.1 as suggested in the IBM
documentation). The reason this did not make sense.....would be that the
greater percentage of the libraries in Linux 6.1 (glbic 2.1.1) seem to have
backwards compatibility to the previous version (glbic 2.1)(#ldd -v /lib/* |
more .....gives a lib reference of glibc {2.1.1} {2.1} & {2.0}
compatibility). Also to Note: When configuring jdk1.2 I used the suggested
configure.options (actually created a jdk12.configure.options and
jdk118.configure.options to substitute for BOOTFILE var in the configure
script) to give directives (see Excerpt below) for make; make install and
had no problems. When I tried the same thing (with the obvious changes
mentioned below -actually substituting the second BOOTFILE that was setup
for jdk118- the compile failed during the ApacheJserv.jar creation phase).
Hmmm, I thought, how strange. So I removed the BOOTFILE variable load at the
beginning of the configure script and loaded two system variables by hand
(see System variables for jdk118 configure, below) Note again:(had kept
things plain vanilla up to this point -global variable wise- to cut down on
the possible wild goose eggs). Well, this worked, compile class-path finally
came up during configure, and all the kings horses seemed to line up during
make; make install (although one warning did show during the compile of the
module.....also see below mod_jserv.so compile warning during make). But
alas, when trying to start-up Jserv I received the following error messages
(see log file excerpts below). Any info on this combination, thoughts,
points where I may have FUBAR'ED would be helpful (I scanned the docs,
Apache FAQs, and newsgroups with no luck other than v1.1 ref
(http://java.apache.org/faq/fom-serve/cache/222.html) and more recently
(http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/msg06
179.html).

Note: The same combination of packages (see below) works fine with
BalckDown's jdk1.2 VM substituted in.

##### mod_jserv.so compile warning during make
##################################
gcc -DPACKAGE=\"ApacheJServ\" -DVERSION=\"1.1b3\" -DSTDC_HEADERS=1
-DTIME_WITH_S
YS_TIME=1 -DSTDC_HEADERS=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_HTTPD_H=1
-DHAVE_HTTP_CO
NFIG_H=1 -DHAVE_HTTP_CORE_H=1 -DHAVE_HTTP_LOG_H=1 -DHAVE_HTTP_MAIN_H=1
-DHAVE_HT
TP_PROTOCOL_H=1 -DHAVE_UTIL_SCRIPT_H=1 -DHAVE_UTIL_MD5_H=1
-DHAVE_OS_INLINE_C=1
-I. -I. -I/usr/include/apache -g -O2 -c  -fPIC -DPIC jserv_watchdog.c -o
jserv_w
atchdog.lo
jserv_watchdog.c: In function `watchdog_init':
<<-------------------------------- Make warning
jserv_watchdog.c:160: warning: comparison between pointer and integer
<<---------- Make warning
/bin/sh ../../libtool --mode=compile gcc -DPACKAGE=\"ApacheJServ\"
-DVERSION=\"1
.1b3\" -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DSTDC_HEADERS=1
-DHAVE_GETTIMEOF
DAY=1 -DHAVE_HTTPD_H=1 -DHAVE_HTTP_CONFIG_H=1 -DHAVE_HTTP_CORE_H=1
-DHAVE_HTTP_L
OG_H=1 -DHAVE_HTTP_MAIN_H=1 -DHAVE_HTTP_PROTOCOL_H=1 -DHAVE_UTIL_SCRIPT_H=1
-DHA
VE_UTIL_MD5_H=1 -DHAVE_OS_INLINE_C=1  -I. -I.    -I/usr/include/apache  -g
-O2 -
c jserv_utils.c
############################################################################
#######  

##### tail jserv_log
##############################################################
[11/11/1999 15:48:59:649 PST] jsp/org.gjt.jsp.JSPServlet: destroy
[11/11/1999 15:48:59:651 PST]
jsp/_jsp._home._httpd._html._portal._admin._generic_2ejsp: destroy
[11/11/1999 15:48:59:653 PST]
jsp/_jsp._home._httpd._html._portal._admin._templates_2ejsp: destroy
[11/11/1999 15:48:59:654 PST]
jsp/_jsp._home._httpd._html._portal._admin._guest_no_frame_2ejsp: destroy
[11/11/1999 15:48:59:656 PST]
jsp/_jsp._home._httpd._html._portal._admin._add_module_2ejsp: destroy
[11/11/1999 15:48:59:657 PST]
jsp/_jsp._home._httpd._html._portal._index_2ejsp:destroy
[11/11/1999 15:48:59:658 PST]
jsp/_jsp._home._httpd._html._portal._admin._edit_module_2ejsp: destroy
[11/11/1999 15:48:59:659 PST]
jsp/_jsp._home._httpd._html._portal._my_layout_2ejsp: destroy
[11/11/1999 15:48:59:661 PST]
jsp/_jsp._home._httpd._html._portal._admin._guest_user_2ejsp: destroy
[11/11/1999 17:38:58:745 PST] jsp/org.gjt.jsp.JSPServlet: init  
############################################################################
#######

##### tail mod_jserv.log
##########################################################
[11/11/1999 19:51:52:176] (INFO) wrapper: Java VM spawned (PID=462,
PPID=319)
[11/11/1999 19:52:05:198] (EMERGENCY) ajp12: can not connect to host
127.0.0.1:8007
[11/11/1999 19:52:05:198] (EMERGENCY) ajp12: function connection fail
[11/11/1999 19:52:05:198] (INFO) wrapper: Java VM is not responding
(PID=319)
[11/11/1999 19:52:10:244] (INFO) wrapper: Java VM restarting (PID=319)
[11/11/1999 19:52:10:245] (INFO) wrapper: Java VM spawned (PID=503,
PPID=319)
[11/11/1999 19:52:23:264] (EMERGENCY) ajp12: can not connect to host
127.0.0.1:8007
[11/11/1999 19:52:23:264] (EMERGENCY) ajp12: function connection fail
[11/11/1999 19:52:23:264] (INFO) wrapper: Java VM is not responding
(PID=319)
[11/11/1999 19:52:28:314] (INFO) wrapper: Java VM restarting (PID=319)
[11/11/1999 19:52:28:315] (INFO) wrapper: Java VM spawned (PID=520,
PPID=319)
[11/11/1999 19:52:39:735] (INFO) Apache Module was cleaned-up
[11/11/1999 19:52:39:738] (INFO) Wrapper: Shutting down JServ (PID=319) (sig
15)
[11/11/1999 19:52:39:738] (INFO) wrapper: Terminating JServ (PID=319, VM
PID=520)
[11/11/1999 19:52:39:738] (INFO) ajp12: sending shutdown signal
[11/11/1999 19:52:39:739] (EMERGENCY) ajp12: can not connect to host
127.0.0.1:8007
[11/11/1999 19:52:39:739] (EMERGENCY) ajp12: function connection fail
[11/11/1999 19:52:49:834] (EMERGENCY) wrapper: JServ (520) didn't die
nicely, killing it

############################################################################
######

##### tail error_log
##########################################################
[Thu Nov 11 18:49:58 1999] [info] created shared memory segment #896
[Thu Nov 11 18:49:58 1999] [notice] Apache/1.3.6 (Unix)  (Red Hat/Linux)
ApacheJ
Serv/1.1b3 configured -- resuming normal operations
[Thu Nov 11 18:49:58 1999] [info] Server built: Apr  7 1999 17:17:41
[Thu Nov 11 18:51:43 1999] [info] removed PID file /var/run/httpd.pid
(pid=6778)
[Thu Nov 11 18:51:43 1999] [notice] caught SIGTERM, shutting down
[Thu Nov 11 19:51:16 1999] [info] created shared memory segment #0
[Thu Nov 11 19:51:16 1999] [notice] Apache/1.3.6 (Unix)  (Red Hat/Linux)
ApacheJ
Serv/1.1b3 configured -- resuming normal operations
[Thu Nov 11 19:51:16 1999] [info] Server built: Apr  7 1999 17:17:41
[Thu Nov 11 19:52:39 1999] [info] removed PID file /var/run/httpd.pid
(pid=314)
[Thu Nov 11 19:52:39 1999] [notice] caught SIGTERM, shutting down
############################################################################
######

##### System variables for jdk118 configure (bash)#####
JDK_HOME=/usr/local/jdk118
CLASSPATH=/usr/local/jdk118/lib/classes.zip
already set.........
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
#######################################################

##### Excerpt from jdk118.configure.options, loaded into BOOTFILE variable
in configure script.....Note: directives are
##### the same for jdk1.2, with the obvious exception of jdk118 begin
substituted with jdk1.2 (vi_nrd_action... %s/jdk118/jdk1.2/g) and 
##### java-platform being removed (vi_nrd_action2... :set nu ... :7d).
--prefix=/usr/local/jserv
--with-apxs=/usr/sbin/apxs
--with-jdk-home=/usr/local/jdk118
--with-java=/usr/local/jdk118/bin/java
--with-javac=/usr/local/jdk118/bin/javac
--enable-debugging
--with-java-platform=1
--with-JSDK=/usr/local/JSDK2.0/lib/jsdk.jar
#######################################################

My problematic combo platter............

########## OS #######################################
Mandrake Linux 6.1 (2.2.13-4mdk #1) (full install)
########## Libc #####################################
libc = {
glibc-2.1.1-15mdk
compat-glibc-5.3-2.0.7.1
glibc-devel-2.1.1-15mdk
glibc-localedata-2.1.1-13mdk
glibc-profile-2.1.1-15mdk
libc-5.3.12-31mdk  }
########## Apache ###################################
apache-devel-1.3.6-7 & x.9 (tried both)
apache-1.3.6-7 & x.9 (tried both)
########## ApacheJserv ##############################
ApacheJServ-1.1b3
########## JSDK #####################################
JSDK2.0
########## Jserv Config Files #######################
Standard setup wrapper.bin and wrapperclasspath(s)
all defined down to the jar & zip - all other items
are default except for logging (debug mode on). Also
all log files & directories are #chmod ug+rw #chown nobody:nobody
#####################################################

Well, hope that is enough to go on. Thanks ahead of time - Jon N.




--
--------------------------------------------------------------
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]

Reply via email to