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

I have checked repositories, and think the problem is not
in repositories configuration.
There is a  file IsItWorking.class in /home/httpd/servlets
directory, and the zone.properties is also described
in jserv.properties, and jserv.properties is described
in jserv.conf.

but the result still has problem:
http://202.103.147.202    (OK)
http://202.103.147.202/jserv/   (OK)
http://202.103.147.202/jserv/engine/   (not OK)
http://202.103.147.202/jserv/engine/0/202.103.147.202?status   (not OK)
http://202.103.147.202/servlets/IsItWorking  (not OK)

I know java can be run correctly, but there is some error
message in error_log file
"/usr/local/jdk1.2.2/bin/i386/native_threads/java:
error in loading shared libraries: /usr/local/jdk1.2.2
/jre/lib/i386/native_threads/libhpi.so: symbol sem_init,
version GLIBC_2.1 not defined in file libpthread.so.0
with link time reference
"

I have installed JServ both in Win98 and RH6 Linux
successfully in my local machine, but I am muddled by
these error in the remote machine, which runs BluePoint
Linux .

 environment
___________
BluePoint(version previewer)
 Apache 1.3.9
 JServ 1.1b2
 Perl 5.005
 BlackDown JDK1.2.2-RC2



JackWang




>The "Internal server error" means that your JServ isn't handling it
>properly.  This error is reported by the Apache Web Server.  The Web
>server is just saying it doesn't know how to handle this
>URL.  Theoretically, it should be able to send the request on to JServ and
>have it handled properly.
>
>It looks like you haven't set up your repositories correctly.  This is a
>tedious thing to get right, I know, but the fastest way to fix something
>like this is to read the FAQ and go through your set-up step by step.
>
>Steve Lewis
>Unix Systems Group
>University of Texas at Dallas
>


>> Hi,
>>
>> When I configure JServ in BluePoint Linux Apache,
>> I met some problem. I will detail it following.
>> Anyone can help me, will be appreciated very much.
>>
>> Thanks.
>>
>>
>>
>> 1. environment:
>>  BluePoint Linux
>>  Apache 1.3.9
>>  JServ 1.1b2
>>  Perl 5.005
>>  BlackDown JDK1.2.2-RC2
>>
>>
>> 2. result
>>  $javac HelloWorld.java          (OK)
>>  $java HelloWorld                (OK)
>>  http://202.103.147.202    (OK)
>>  http://202.103.147.202/jserv/   (OK)
>>  http://202.103.147.202/servlets/IsItWorking  (not OK)
>>  The detailed message:
>> "Internal Server Error. The server encountered
>> an internal error or misconfiguration and was
>> unable to complete your request.Please contact
>> the server administrator, root@localhost and
>> inform them of the time the error occurred, and
>> anything you might have done that may have
>> caused the error.More information about this
>> error may be available in the server error log."
>>
>> 3. configure file
>>
>> "error_log"
>> -------------
>> [Fri Jan  7 06:10:39 2000] [notice] caught SIGTERM,
>> shutting down
>> [Fri Jan  7 06:12:11 2000] [notice] Apache/1.3.9
>> (Unix)  (Red Hat/Linux) ApacheJServ/1.1b2 configured
>>  -- resuming normal operations
>> [Fri Jan  7 06:12:11 2000] [notice] suEXEC mechanism
>> enabled (wrapper: /usr/sbin/suexec)
>> /usr/local/jdk1.2.2/bin/i386/native_threads/java:
>> error in loading shared libraries: /usr/local/jdk1.2.2
>> /jre/lib/i386/native_threads/libhpi.so: symbol sem_init,
>>  version GLIBC_2.1 not defined in file libpthread.so.0
>>  with link time reference
>> /usr/local/jdk1.2.2/bin/i386/native_threads/java: error
>> in loading shared libraries: /usr/local/jdk1.2.2/jre/lib/
>> i386/native_threads/libhpi.so: symbol sem_init, version
>> GLIBC_2.1 not defined in file libpthread.so.0 with link
>> time reference
>>
>> "mod_jserv.log"
>> -------------
>> [07/01/2000 06:12:50:312] (INFO) wrapper: Java VM exited (PID=528)
>> [07/01/2000 06:12:50:312] (INFO) wrapper: Java VM restarting (PID=528)
>> [07/01/2000 06:12:50:313] (INFO) wrapper: Java VM spawned (PID=758,
>> PPID=528)
>> [07/01/2000 06:13:03:332] (INFO) wrapper: Java VM exited (PID=528)
>> [07/01/2000 06:13:03:332] (INFO) wrapper: Java VM restarting (PID=528)
>> [07/01/2000 06:13:03:333] (INFO) wrapper: Java VM spawned (PID=778,
>> PPID=528)
>> [07/01/2000 06:13:16:352] (INFO) wrapper: Java VM exited (PID=528)
>> [07/01/2000 06:13:16:352] (ERROR) wrapper: printing debugging information
>> (command line, env)
>> [07/01/2000 06:13:16:352] (ERROR) wrapper: argument[ 0]
>> /usr/local/jdk1.2.2/bin/java
>> [07/01/2000 06:13:16:352] (ERROR) wrapper: argument[ 1]
>> org.apache.jserv.JServ
>> [07/01/2000 06:13:16:352] (ERROR) wrapper: argument[ 2]
>> /etc/httpd/conf/jserv/jserv.properties
>> [07/01/2000 06:13:16:352] (ERROR) wrapper: environment[ 0]
>> PATH=/bin:/usr/bin:/usr/local/bin
>> [07/01/2000 06:13:16:352] (ERROR) wrapper: environment[ 1]
>>
CLASSPATH=/usr/lib/apache/ApacheJServ.jar:/home/httpd/classes/servlet-2.0.ja
>> r
>> [07/01/2000 06:13:16:352] (INFO) wrapper: Java VM died 5 times in a row
with
>> less than 120 seconds between successive failures, setting delay to 60
>> seconds before restarting. Check the Apache error log and the Apache
JServ
>> log files for more details; for maximum log information be sure to enable
>> the Apache  JServ log file in the main jserv properties file by: setting
the
>> 'log' property to true, the 'log.file' property to a file writable  by
the
>> uid as whom Apache JServ is run, and by enabling log channels  using the
>> 'log.channel.*' properties)
>> [07/01/2000 06:14:04:512] (INFO) wrapper: Java VM restarting (PID=528)
>> [07/01/2000 06:14:04:513] (INFO) wrapper: Java VM spawned (PID=798,
>> PPID=528)
>> [07/01/2000 06:14:17:532] (INFO) wrapper: Java VM exited (PID=528)
>> [07/01/2000 06:14:19:595] (EMERGENCY) ajp12: can not connect to host
>> 202.103.147.202:8007
>> [07/01/2000 06:14:19:595] (EMERGENCY) ajp12: connection fail
>> [07/01/2000 06:14:19:595] (ERROR) an error returned handling request via
>> protocol "ajpv12"
>>
>> "httpd.conf"
>> -------------
>> ServerType standalone
>> Port 80
>> StartServers 10
>> MinSpareServers 8
>> MaxSpareServers 20
>> KeepAlive 0
>> KeepAliveTimeout 15
>> MaxClients 150
>> MaxRequestsPerChild 100
>> PidFile /var/run/httpd.pid
>> Timeout 300
>> ScoreBoardFile /var/run/httpd.scoreboard
>> ServerRoot /etc/httpd
>> HostnameLookups off
>> ServerAdmin root@localhost
>> BindAddress 202.103.147.202
>> ErrorLog logs/error_log
>> User nobody
>> Group nobody
>> LoadModule jserv_module modules/mod_jserv.so
>> LoadModule env_module         modules/mod_env.so
>> ...
>> ClearModuleList
>> # AddModule mod_mmap_static.c
>> AddModule mod_jserv.c
>> AddModule mod_env.c
>> ...
>> LogLevel warn
>> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
>> combined
>> LogFormat "%h %l %u %t \"%r\" %>s %b" common
>> LogFormat "%{Referer}i -> %U" referer
>> LogFormat "%{User-agent}i" agent
>> CustomLog logs/access_log common
>> ServerName 202.103.147.202
>> UseCanonicalName on
>> MaxKeepAliveRequests 100
>> <Directory /home/httpd/hwg/>
>>  Options ExecCgi MultiViews SymLinksIfOwnerMatch
>>  AllowOverride AuthConfig FileInfo Indexes Limit Options
>> </Directory>
>> #<VirtualHost www.infosd.com>
>> #ServerAdmin [EMAIL PROTECTED]
>> #DocumentRoot /home/www.infosd.com/html
>> #ServerName www.infosd.com
>> #ErrorLog /home/www.infosd.com/logs/error_log
>> #TransferLog /home/www.infosd.com/logs/access_log
>> #</VirtualHost>
>> <IfModule mod_jserv.c>
>>       Include /etc/httpd/conf/jserv/jserv.conf
>> </IfModule>
>>
>> "jserv.conf"
>> -------------
>> ...
>> ApJServManual off
>> ApJServProperties /etc/httpd/conf/jserv/jserv.properties
>> ApJServDefaultHost 202.103.147.202
>> ApJServMount /servlets /root
>> ...
>>
>>
>> "jserv.properties"
>> -------------
>> wrapper.bin=/usr/local/jdk1.2.2/bin/java
>> wrapper.classpath=/usr/lib/apache/ApacheJServ.jar
>> wrapper.classpath=/home/httpd/classes/servlet-2.0.jar
>> zones=root
>> root.properties=/etc/httpd/conf/jserv/zone.properties
>> security.allowedAddresses=202.103.147.202
>>
>>
>> "zone.properties"
>> -------------
>> ...
>> repositories=/home/httpd/servlets
>>
>>
>>
>>
>> --
>> --------------------------------------------------------------
>> 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]
>




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