----------------------------------------------------------------
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 All,
   I am trying to install apache1.3.12 and apache Jserv1.0 on Red Hat Linux
6.2

I was able to compile apache1.3.12 source code and was able to get
http://linuxmc:8080 up

Then, i compiled and configured it iwth Jserv1.0 source code and when I do :
$/usr/local/apache/bin/httpd -l
        it does show me mod_jserv.c

So, I guess mod_jserv has been configured successfully onto apache server.

But, whenever I try to start the apache server , in mod_jserv.log file:
(EMERGENCY) Error setting defaults: ApJServDefaultHostname "localhost" can't
be resolved

Following are my conf files:

httpd.conf
-------------
ServerType standalone
ServerRoot "/usr/local/apache"
PidFile /usr/local/apache/logs/httpd.pid
Port 80
User nobody
Group nobody
ServerAdmin [EMAIL PROTECTED]
ServerName linux
DocumentRoot "/usr/local/apache/htdocs"
Include /usr/local/ApacheJServ-1.0/conf/jserv.conf

jserv.conf
------------

<IfModule mod_jserv.c>

ApJServManual off

ApJServProperties /usr/local/ApacheJServ-1.0/conf/jserv.properties

ApJServLogFile /usr/local/ApacheJServ-1.0/logs/mod_jserv.log

ApJServLogLevel notice

ApJServDefaultProtocol ajpv11

# Default host on which Apache JServ is running
# Syntax: ApJServDefaultHost [hostname]
# Default: "localhost"
#ApJServDefaultHost java.apache.org

ApJServDefaultPort 8007

ApJServSecretKey DISABLED

ApJServMount /servlets /root

ApJServMountCopy on

<Location /jserv/>
  SetHandler jserv-status

  order deny,allow
  deny from all
  allow from localhost
</Location>
</IfModule>

jserv.properties
-------------------

wrapper.bin=/home/jdk1.2.2/bin/java
wrapper.classpath=/usr/local/ApacheJServ-1.0/src/java/ApacheJServ.jar
wrapper.classpath=/home/JSDK2.0/lib/jsdk.jar
port=8007
zones=root
root.properties=/usr/local/ApacheJServ-1.0/conf/zone.properties

zone.properties
-------------------
repositories=/usr/local/ApacheJServ-1.0/servlets

When I try to start:
$/usr/local/apache/bin/apachectl start
: httpd could not be started

and in the mod_jserv.log file it says:
(EMERGENCY) Error setting defaults: ApJServDefaultHostname "localhost" can't
be resolved

Can anyone please help me out? thanks in advance.

Susmitha.
---------------------------
Susmitha Vuyyuru
Developer
<mailto:[EMAIL PROTECTED]>
1.650.314.0936
Portal Wave, Inc.
The Fastest Track to Integrated e-Business
www.portalwave.com




--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives: 
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to