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

Weird

The original message I sent took two days to hit the mailing list.

The problem I had 'was' a combination of bad permissions AND the fact that I
am a meathead and was pointing to the 'JWV' directory and not the binary.

:)

Ya live and learn I guess!

> -----Original Message-----
> From: Brett Knights [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 28, 2000 11:39 PM
> To: 'Java Apache Users'
> Subject: RE: Jserv status works, servlets don't.
> 
> 
> ----------------------------------------------------------------
> 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!!!
> ----------------------------------------------------------------
> 
> So far in my experience the file not found message has meant 
> a permissions problem. (when it didn't mean a typing problem ;-)
> 
> This is in the FAQ but: Java requires read and execute 
> permissions on all directories down to the file that is not 
> being found. 
> 
> 
> HTH
> 
> ***********************************************************
> Brett Knights                             626-432-5767 work
> [EMAIL PROTECTED]                 626-355-1017 home 
> ***********************************************************
> 
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of John
> > Bateman
> > Sent: Friday, February 25, 2000 11:25 AM
> > To: 'Java Apache Users '
> > Subject: RE: Jserv status works, servlets don't.
> > 
> > 
> > ----------------------------------------------------------------
> > 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 am having a very hard time finding information on how to 
> > get my Jserv
> > install working.
> > 
> > I am using the following:
> > Apache 1.3.9
> > Jserv 1.1
> > RedHat Linux 6.1
> > JDK 1.1.8_v1 from Blackdown.
> > 
> > The http://localhost/jserv/ page loads fine (it seems), but I 
> > can't seem to
> > get any servlets to run.. I.E. The IsItWorking servlet.
> > 
> > Any and I mean ANY help would be appreciated.
> > 
> > These are the error message I get in my mod_jserv.log file.
> > 
> > [25/02/2000 14:02:32:878] (INFO) wrapper: Java VM 
> restarting (PID=737)
> > [25/02/2000 14:02:32:879] (INFO) wrapper: Java VM spawned (PID=1651,
> > PPID=737)
> > [25/02/2000 14:02:32:880] (INFO) wrapper: Java Virtual 
> > Machine unable to
> > start (ERR=2: No such file or directory)
> > [25/02/2000 14:02:32:880] (ERROR) wrapper: printing debugging 
> > information
> > (command line, env)
> > [25/02/2000 14:02:32:880] (ERROR) wrapper: argument[ 0]
> > /usr/local/java/bin/java
> > [25/02/2000 14:02:32:880] (ERROR) wrapper: argument[ 1]
> > org.apache.jserv.JServ
> > [25/02/2000 14:02:32:880] (ERROR) wrapper: argument[ 2]
> > /etc/httpd/conf/jserv/jserv.properties
> > [25/02/2000 14:02:32:880] (ERROR) wrapper: environment[ 0]
> > PATH=/bin:/usr/bin:/usr/local/bin
> > [25/02/2000 14:02:32:880] (ERROR) wrapper: environment[ 1]
> > CLASSPATH=/usr/lib/apache/ApacheJServ.jar:/home/httpd/classes/
> > servlet-2.0.ja
> > r
> > [25/02/2000 14:02:45:898] (INFO) wrapper: Java VM exited (PID=737)
> > 
> > Here are what my configuration files look like.
> > (httpd.conf, jserv.conf and jserv.properties)
> > I removed the comments to lessent he size of this email.
> > 
> > ================================
> > ********** HTTPD.CONF **********
> > ================================
> > 
> > # ServerType is either inetd, or standalone.
> > ServerType standalone
> > Port 80
> > HostnameLookups off
> > User nobody
> > Group nobody
> > ServerAdmin root@localhost
> > ServerRoot /etc/httpd
> > #BindAddress *
> > ErrorLog logs/error_log
> > LogLevel warn
> > #LoadModule mmap_static_module modules/mod_mmap_static.so
> > LoadModule jserv_module modules/mod_jserv.so
> > LoadModule env_module         modules/mod_env.so
> > LoadModule config_log_module  modules/mod_log_config.so
> > LoadModule agent_log_module   modules/mod_log_agent.so
> > LoadModule referer_log_module modules/mod_log_referer.so
> > #LoadModule mime_magic_module  modules/mod_mime_magic.so
> > LoadModule mime_module        modules/mod_mime.so
> > LoadModule negotiation_module modules/mod_negotiation.so
> > LoadModule status_module      modules/mod_status.so
> > LoadModule info_module        modules/mod_info.so
> > LoadModule includes_module    modules/mod_include.so
> > LoadModule autoindex_module   modules/mod_autoindex.so
> > LoadModule dir_module         modules/mod_dir.so
> > LoadModule cgi_module         modules/mod_cgi.so
> > LoadModule asis_module        modules/mod_asis.so
> > LoadModule imap_module        modules/mod_imap.so
> > LoadModule action_module      modules/mod_actions.so
> > #LoadModule speling_module     modules/mod_speling.so
> > LoadModule userdir_module     modules/mod_userdir.so
> > LoadModule proxy_module       modules/libproxy.so
> > LoadModule alias_module       modules/mod_alias.so
> > LoadModule rewrite_module     modules/mod_rewrite.so
> > LoadModule access_module      modules/mod_access.so
> > LoadModule auth_module        modules/mod_auth.so
> > LoadModule anon_auth_module   modules/mod_auth_anon.so
> > #LoadModule dbm_auth_module    modules/mod_auth_dbm.so
> > LoadModule db_auth_module     modules/mod_auth_db.so
> > LoadModule digest_module      modules/mod_digest.so
> > #LoadModule cern_meta_module   modules/mod_cern_meta.so
> > LoadModule expires_module     modules/mod_expires.so
> > LoadModule headers_module     modules/mod_headers.so
> > LoadModule usertrack_module   modules/mod_usertrack.so
> > #LoadModule example_module     modules/mod_example.so
> > #LoadModule unique_id_module   modules/mod_unique_id.so
> > LoadModule setenvif_module    modules/mod_setenvif.so
> > 
> > # Extra Modules
> > #LoadModule php_module         modules/mod_php.so
> > #LoadModule php3_module        modules/libphp3.so
> > #LoadModule perl_module        modules/libperl.so
> > 
> > #AddModule mod_mmap_static.c
> > AddModule mod_jserv.c
> > AddModule mod_env.c
> > AddModule mod_log_config.c
> > AddModule mod_log_agent.c
> > AddModule mod_log_referer.c
> > #AddModule mod_mime_magic.c
> > AddModule mod_mime.c
> > AddModule mod_negotiation.c
> > AddModule mod_status.c
> > AddModule mod_info.c
> > AddModule mod_include.c
> > AddModule mod_autoindex.c
> > AddModule mod_dir.c
> > AddModule mod_cgi.c
> > AddModule mod_asis.c
> > AddModule mod_imap.c
> > AddModule mod_actions.c
> > #AddModule mod_speling.c
> > AddModule mod_userdir.c
> > AddModule mod_proxy.c
> > AddModule mod_alias.c
> > AddModule mod_rewrite.c
> > AddModule mod_access.c
> > AddModule mod_auth.c
> > AddModule mod_auth_anon.c
> > #AddModule mod_auth_dbm.c
> > AddModule mod_auth_db.c
> > AddModule mod_digest.c
> > #AddModule mod_cern_meta.c
> > AddModule mod_expires.c
> > AddModule mod_headers.c
> > AddModule mod_usertrack.c
> > #AddModule mod_example.c
> > #AddModule mod_unique_id.c
> > AddModule mod_so.c
> > AddModule mod_setenvif.c
> > 
> > # Extra Modules
> > #AddModule mod_php.c
> > #AddModule mod_php3.c
> > #AddModule mod_perl.c
> > 
> > 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
> > 
> > # If you would like to have an agent and referer logfile 
> uncomment the
> > # following directives.
> > 
> > #CustomLog logs/referer_log referer
> > #CustomLog logs/agent_log agent
> > 
> > # If you prefer a single logfile with access, agent and 
> > referer information
> > # (Combined Logfile Format) you can use the following directive.
> > 
> > #CustomLog logs/access_log combined
> > 
> > # PidFile: The file the server should log its pid to
> > PidFile /var/run/httpd.pid
> > 
> > ScoreBoardFile /var/run/httpd.scoreboard
> > 
> > #LockFile /var/lock/httpd.lock
> > 
> > #ServerName new.host.name
> > 
> > UseCanonicalName on
> > 
> > #CacheNegotiatedDocs
> > 
> > # Timeout: The number of seconds before receives and sends time out
> > 
> > Timeout 300
> > 
> > # KeepAlive: Whether or not to allow persistent connections 
> (more than
> > # one request per connection). Set to "Off" to deactivate.
> > 
> > KeepAlive On
> > 
> > MaxKeepAliveRequests 100
> > 
> > # KeepAliveTimeout: Number of seconds to wait for the next request
> > 
> > KeepAliveTimeout 15
> > 
> > MinSpareServers 8
> > MaxSpareServers 20
> > 
> > # Number of servers to start --- should be a reasonable 
> > ballpark figure.
> > 
> > StartServers 10
> > 
> > MaxClients 150
> > 
> > MaxRequestsPerChild 100
> > 
> > #ProxyRequests On
> > 
> > # To enable the cache as well, edit and uncomment the 
> following lines:
> > 
> > #CacheRoot /var/cache/httpd
> > #CacheSize 5
> > #CacheGcInterval 4
> > #CacheMaxExpire 24
> > #CacheLastModifiedFactor 0.1
> > #CacheDefaultExpire 1
> > #NoCache a_domain.com another_domain.edu joes.garage_sale.com
> > 
> > #Listen 3000
> > #Listen 12.34.56.78:80
> > 
> > # Any httpd.conf or srm.conf directive may go into a 
> > VirtualHost command.
> > # See also the BindAddress entry.
> >  
> > #<VirtualHost host.some_domain.com>
> > #ServerAdmin [EMAIL PROTECTED]
> > #DocumentRoot /www/docs/host.some_domain.com
> > #ServerName host.some_domain.com
> > #ErrorLog logs/host.some_domain.com-error_log
> > #TransferLog logs/host.some_domain.com-access_log
> > #</VirtualHost>
> > 
> > <IfModule mod_jserv.c>
> > Include /etc/httpd/conf/jserv/jserv.conf
> > </IfModule>
> > 
> > ================================
> > ********** JSERV.CONF **********
> > ================================
> > 
> > # Tell Apache on win32 to load the Apache JServ communication module
> > #LoadModule jserv_module modules/ApacheModuleJServ.dll
> > 
> > # Tell Apache on Unix to load the Apache JServ communication module
> > # For shared object builds only!!!
> > #LoadModule jserv_module /usr/lib/apache/mod_jserv.so
> > 
> > <IfModule mod_jserv.c>
> > 
> > # Whether Apache must start Apache JServ or not (On=Manual 
> > Off=Autostart)
> > # Syntax: ApJServManual [on/off]
> > # Default: "Off"
> > ApJServManual off
> > 
> > # Properties filename for Apache JServ in Automatic Mode. 
> > # In manual mode this directive is ignored
> > # Syntax: ApJServProperties [filename]
> > # Default: "./conf/jserv.properties"
> > ApJServProperties /etc/httpd/conf/jserv/jserv.properties
> > 
> > ApJServLogFile /var/log/httpd/mod_jserv.log
> > ApJServLogLevel debug
> > ApJServDefaultProtocol ajpv12
> > #ApJServDefaultHost java.apache.org
> > ApJServDefaultPort 8007
> > #ApJServVMTimeout 10
> > #ApJServSecretKey DISABLED
> > ApJServSecretKey /etc/httpd/conf/jserv/jserv.secret.key
> > 
> > ApJServMount /servlets /root
> > ApJServMount /servlet /root
> > 
> > ApJServMountCopy on
> > 
> > #ApJServAction .jsp /servlets/org.gjt.jsp.JSPServlet
> > #ApJServAction .gsp /servlets/com.bitmechanic.gsp.GspServlet
> > #ApJServAction .jhtml /servlets/org.apache.servlet.ssi.SSI
> > #ApJServAction .xml /servlets/org.apache.cocoon.Cocoon
> > 
> > <Location /jserv/>
> >   SetHandler jserv-status
> >   
> >   order deny,allow
> >   # deny from all
> >   allow from localhost
> > </Location>
> > 
> > </IfModule>
> > 
> > 
> > ======================================
> > ********** JSERV.PROPERTIES **********
> > ======================================
> > 
> > wrapper.bin=/usr/local/java/bin/java
> > 
> > wrapper.classpath=/usr/lib/apache/ApacheJServ.jar
> > wrapper.classpath=/home/httpd/classes/servlet-2.0.jar
> > 
> > bindaddress=localhost
> > 
> > port=8007
> > 
> > zones=root
> > 
> > root.properties=/etc/httpd/conf/jserv/zone.properties
> > 
> > pool=false
> > 
> > pool.capacity=10
> > 
> > pool.controller=org.apache.java.recycle.DefaultController
> > 
> > security.selfservlet=true
> > 
> > security.maxConnections=50
> > 
> > #security.allowedAddresses=127.0.0.1
> > 
> > security.authentication=true
> > 
> > security.secretKey=/etc/httpd/conf/jserv/jserv.secret.key
> > 
> > #security.challengeSize=5
> > 
> > log=true
> > 
> > log.file=/var/log/httpd/jserv.log
> > 
> > log.timestamp=true
> > 
> > log.dateFormat=[dd/MM/yyyy HH:mm:ss:SSS zz]
> >  
> > log.queue.maxage = 5000
> > 
> > log.queue.maxsize = 1000
> > 
> > 
> > # log.channel=false
> > 
> > # Default: false
> > 
> > # log.channel.info=true
> > 
> > log.channel.servletException=true
> > 
> > log.channel.jservException=true
> > 
> > log.channel.warning=true
> > 
> > log.channel.servletLog=true
> > 
> > log.channel.critical=true
> > 
> > # log.channel.debug=true
> > 
> > 
> > --
> > --------------------------------------------------------------
> > 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