----------------------------------------------------------------
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 List Members,

I'm getting, configuration error while trying to load a simple HelloWorld
Servlet.

Environment:
        OS:             NT
        Apache: 1.3.9
        JServ:  1.1b3
        JDK:            1.2.2
        JSDK:           1.2

I can start Apache server.
the following things work
        1. http:\\localhost
        2. http:\\localhost\jserv\

When I tried http:\\localhost\servlets\HelloWorld it returns error 500.

Pls. help me.
Saravan.

file info: httpd.conf

ServerType standalone
ServerRoot "C:/Program Files/Apache Group/Apache"
PidFile logs/httpd.pid
ScoreBoardFile logs/apache_status
Port 80
DocumentRoot "C:/Program Files/Apache Group/Apache/htdocs"
<Directory "C:/Program Files/Apache Group/Apache/htdocs">
UserDir "C:/Program Files/Apache Group/Apache/users/"
AccessFileName .htaccess
UseCanonicalName On
TypesConfig conf/mime.types
DefaultType text/plain
HostnameLookups Off
ErrorLog logs/error.log
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
ServerSignature On
Include "C:\Program Files\Apache Group\Apache JServ 1.1b3\conf\jserv.conf"

file jserv.conf
LoadModule jserv_module "C:\Program Files\Apache Group\Apache JServ
1.1b3\ApacheModuleJServ.dll"
<IfModule mod_jserv.c>
ApJServManual off
ApJServProperties "C:\Program Files\Apache Group\Apache JServ
1.1b3\conf\jserv.properties"
ApJServLogFile "C:\Program Files\Apache Group\Apache JServ
1.1b3\logs\mod_jserv.log"
ApJServLogLevel notice
ApJServDefaultProtocol ajpv12
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>

file jserv.properties
wrapper.bin=c:\jdk1.2.2\bin\java.exe
wrapper.classpath=C:\Program Files\Apache Group\Apache JServ
1.1b3\ApacheJServ.jar
wrapper.classpath=c:\j2sdkee1.2\lib\jsdk.jar
bindaddress=localhost
port=8007
zones=root
root.properties=C:\Program Files\Apache Group\Apache JServ
1.1b3\servlets\zone.properties
pool=false
pool.capacity=10
pool.controller=org.apache.java.recycle.DefaultController
security.selfservlet=true
security.maxConnections=50
security.authentication=false
log=true
log.file=C:\Program Files\Apache Group\Apache JServ 1.1b3\logs\jserv.log

file mod_jserv.log
[11/01/2000 21:32:27:616] (EMERGENCY) ajp12: can not connect to host
127.0.0.1:8007
[11/01/2000 21:32:27:616] (EMERGENCY) ajp12: connection fail
[11/01/2000 21:32:27:616] (ERROR) an error returned handling request via
protocol "ajpv12"


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