----------------------------------------------------------------
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 problems accessing the JServ status pages for anything other
than the first JVM mount found. I am running three JVMs, one for general
servlets and two others, each for a major, high workload client.

The box is running Solaris 2.7, Apache 1.3.9 and Apache JServ 1.0.

Although all the zones and JVMs work fine, only the one on port 8007 comes
up in the /jserv/ status view. I can see all the zones in that JVM fine. I've
tried changing the default port to one of the other JVMs but it had no effect.

When I click on the configured hosts part of /jserv/ the output suggests that
jserv_status can see all the JVMs and zones fine:-

Parameter  Value
Server Name  x.lateral.net
ApJServManual  TRUE (STANDALONE OPERATION)
ApJServProperties  ./conf/jserv.properties (IGNORED)
ApJServDefaultProtocol  ajpv11 (PORT 8007)
ApJServDefaultHost  localhost (ADDR 127.0.0.1)
ApJServDefaultPort  8007
ApJServLogFile  /logs/misc/jserv.log (DESCRIPTOR 12)
ApJServMountCopy  TRUE

MountPoint  Server  Protocol  Host  Port  Zone
/servlet-bin/  x.lateral.net  ajpv11  localhost (ADDR 127.0.0.1)  8007
servlet-bin
/servlet-dev/  x.lateral.net  ajpv11  localhost (ADDR 127.0.0.1)  8007
servlet-dev
/chat/clientX/  x.lateral.net  ajpv11  localhost (ADDR 127.0.0.1) 8008 clientX
/chat/clientY/  x.lateral.net  ajpv11  localhost (ADDR 127.0.0.1) 8009
clientY

I've checked the FAQ, mailing lists, and the web. I even looked at the
source code
which was pointless really as I don't know any C but interesting all the
same (what
to all the -> mean. And the * before a variable???)

I know it's not a serious issue as everything else is running well but I
have a week before the box goes live and it's the only chance I get to have
a play
with "non-essential" (from the client's POV) features :-)

Ta for any pointers (no pun intended)

Lee


Conf files:

*** mod_jserv.conf (included in httpd.conf)

<IfModule mod_jserv.c>

ApJServManual on
ApJServLogFile "/logs/misc/jserv.log"
ApJServDefaultProtocol ajpv11
ApJServSecretKey DISABLED
ApJServDefaultPort 8007
ApJServMountCopy on

ApJServMount /servlet-bin ajpv11://localhost:8007/servlet-bin
ApJServMount /servlet-dev ajpv11://localhost:8007/servlet-dev
ApJServMount /chat/clientX ajpv11://localhost:8008/clientX
ApJServMount /chat/clientY ajpv11://localhost:8009/clientY

<Location /jserv/>
  SetHandler jserv-status

  order deny,allow
  allow from localhost,.lateral.net
</Location>

# Sets the security for the clientX servlet
<Location /chat/clientX/appA>
  AuthName "appA access"
  AuthType Basic
  AuthUserFile /usr/local/apache/htaccess/clientX
  require user clientX
</Location>

</IfModule>


*** jserv8007.properties
port=8007
wrapper.bin=/bin/java
wrapper.bin.parameters=-ms8m
wrapper.bin.parameters=-noverify
wrapper.bin.parameters=-mx32m
wrapper.classpath=/usr/local/jsdk/lib/jsdk.jar
wrapper.classpath=/usr/local/jserv/lib/ApacheJServ.jar

zones=servlet-bin,servlet-dev
servlet-bin.properties=/usr/local/jserv/zones/servlet-bin.properties
servlet-dev.properties=/usr/local/jserv/zones/servlet-dev.properties

security.selfservlet=true
security.remote.administration=true
security.allowedAddresses=127.0.0.1,193.131.12.165
security.authentication=false

log=true
log.file=/logs/misc/jserv.trace
log.timestamp=true
log.dateFormat=[yyyyMMdd.HHmmss.SSS]
log.channel.init=true
log.channel.terminate=true
log.channel.serviceRequest=false
log.channel.authentication=false
log.channel.requestData=false
log.channel.responseHeaders=false
log.channel.signal=true
log.channel.exceptionTracing=true
log.channel.servletManager=false
log.channel.singleThreadModel=false
log.channel.servletLog=true


*** jserv8008.properties

port=8008
wrapper.bin=/bin/java
wrapper.bin.parameters=-ms8m
wrapper.bin.parameters=-noverify
wrapper.bin.parameters=-mx32m
wrapper.classpath=/usr/local/jsdk/lib/jsdk.jar
wrapper.classpath=/usr/local/jserv/lib/ApacheJServ.jar

zones=clientX
clientX.properties=/usr/local/jserv/zones/clientX.properties


security.selfservlet=true
security.remote.administration=true
security.allowedAddresses=127.0.0.1,193.131.12.165
security.authentication=false

log=true
log.file=/logs/misc/jserv.trace
log.timestamp=true
log.dateFormat=[yyyyMMdd.HHmmss.SSS]
log.channel.init=true
log.channel.terminate=true
log.channel.serviceRequest=false
log.channel.authentication=false
log.channel.requestData=false
log.channel.responseHeaders=false
log.channel.signal=true
log.channel.exceptionTracing=true
log.channel.servletManager=false
log.channel.singleThreadModel=false
log.channel.servletLog=true


*** jserv8009.properties

port=8009
wrapper.bin=/bin/java
wrapper.bin.parameters=-ms8m
wrapper.bin.parameters=-noverify
wrapper.bin.parameters=-mx32m
wrapper.classpath=/usr/local/jsdk/lib/jsdk.jar
wrapper.classpath=/usr/local/jserv/lib/ApacheJServ.jar

zones=clientY
clientY.properties=/usr/local/jserv/zones/clientY.properties

security.selfservlet=true
security.remote.administration=true
security.allowedAddresses=127.0.0.1,193.131.12.165
security.authentication=false

log=true
log.file=/logs/misc/jserv.trace
log.timestamp=true
log.dateFormat=[yyyyMMdd.HHmmss.SSS]
log.channel.init=true
log.channel.terminate=true
log.channel.serviceRequest=false
log.channel.authentication=false
log.channel.requestData=false
log.channel.responseHeaders=false
log.channel.signal=true
log.channel.exceptionTracing=true
log.channel.servletManager=false
log.channel.singleThreadModel=false
log.channel.servletLog=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]

Reply via email to