Bill -

Thanx for answering. To set the wrapper.env doesn't help. But I posted a new message 
before. The JVM-Problem seems
to be solved anyway (although I really don't know what the reason was  :-) , maybe 
there have been old processes
running. It seems, that apachectl restart doesn't kill all of them before the 
restart!?)

my troubles now concentrate on jserv.log after status-page request:

> [26/03/1999 03:21:23:133] (EMERGENCY) ajp11: connection fail
> [26/03/1999 03:21:23:134] (ERROR) an error returned handling request via
> protocol "ajpv11"
> [26/03/1999 03:21:23:135] (ERROR) an error returned handling request via
> protocol "status"
> [26/03/1999 03:23:59:832] (EMERGENCY) ajp11: can not connect to host
> 192.168.1.1:8007
>

after servlet request

> [26/03/1999 03:23:59:833] (EMERGENCY) ajp11: connection fail
> [26/03/1999 03:23:59:834] (ERROR) an error returned handling request via
> protocol "ajpv11"
> [26/03/1999 03:24:54:752] (EMERGENCY) ajp11: can not connect to host
> 192.168.1.1:8007
> #####################

-Rudi

Bill Sofko wrote:

> Rudolf -
>
> If your running the Blackdown Java on a machine with the X/Windows libraries not 
>installed, then your
> jserv.properties file should include a line to set the NS_JAVA environmental 
>variable. I had problems that
> looked similar to yours until this simple fact dawned on me. If this might be the 
>case, just add the following
> to the aforementioned configuration file...
>
> wrapper.env=NS_JAVA=N
>
> Hope this helps.
>
> - Bill
>
> Rudolf Melcher wrote:
>
> > Hi,
> >
> > found one more hint from error_log (apache):
> > httpd: [Fri Mar 26 10:49:03 1999] [notice] SIGHUP received.  Attempting to resta
> > rt
> > httpd: [Fri Mar 26 10:49:03 1999] [notice] Apache/1.3.4 (Unix) ApacheJServ/1.0b3
> >  configured -- resuming normal operations
> > Apache JServ: Exception creating the server socket: java.net.BindException: Addr
> > ess already in use
> > Apache JServ: Exception creating the server socket: java.net.BindException: Addr
> > ess already in use
> > Apache JServ: Exception creating the server socket: java.net.BindException: Addr
> > ess already in use
> > Apache JServ: Exception creating the server socket: java.net.BindException: Addr
> > ess already in use
> >
> > What does this mean in the context of my configuration?
> >
> > Thanx,
> > Rudi
> >
> > Rudolf Melcher wrote:
> >
> > > Hi,
> > >
> > > I have big difficulties setting up JSERV. The problem described bellow seems
> > > to relate to the diskussion topic: "problems getting JVM to run by matthew
> > > zeier <[EMAIL PROTECTED]> 21.03.99"
> > >
> > > But the solution for Matthew doesn't work for me!? After studying the docs and
> > > mailing list and several materials I have no idea how to solve this!
> > >
> > > Bellow you'll find the important (error) part from "jserv.log".
> > > Hint: Because there was a diskussion about the damaged *jars, I tried to start
> > > "org.apache.jserv.JServ" from Shell. It worked ( only the
> > > configuration-options were not set up the right way, so it stopped)!!!
> > >
> > > It's a Linux box (SuSE5.2), Apache1.3.4, jserv1.0b3, JSDK2.0, JDK117_v1a
> > > (Blackdown)..
> > >
> > > ## httpd.conf -- Apache HTTP server configuration file
> > > ...
> > > # Dynamic Shared Object (DSO) Support
> > > LoadModule info_module libexec/mod_info.so
> > > LoadModule jserv_module libexec/mod_jserv.so
> > > AddModule mod_jserv.c
> > > ...
> > > # RM:990303
> > > # JServ directives
> > > <IfModule mod_jserv.c>
> > >         ApJServManual off
> > >         ApJServSecretKey /usr/local/apache/etc/jserv.secret.key
> > >         ApJServProperties /usr/local/apache/etc/jserv.properties
> > >         ApJServDefaultPort 8007
> > >         ApJServLogFile /usr/local/apache/var/log/jserv.log
> > >         ApJServMount /rudi/servlets ajpv11://doma.reka.at:8007/rudi
> > > </IfModule>
> > > <Location /jserv/>
> > >         SetHandler jserv-status
> > >         Order deny,allow
> > >         Deny from all
> > >         Allow from .reka.at
> > > </Location>
> > > ...
> > > ###################################
> > >
> > > jserv.properties:
> > >
> > > wrapper.bin=/usr/local/jdk117_v1a/bin/java
> > > wrapper.classpath=/usr/local/jdk117_v1a/lib/classes.zip
> > > wrapper.classpath=/usr/local/jserv/lib/Apache-JServ.jar
> > > wrapper.classpath=/usr/local/JSDK2.0/lib/jsdk.jar
> > > port=8007
> > > zones=rudi
> > > rudi.properties=/home/rudi/servlets/servlets.properties
> > > security.selfservlet=true
> > > security.maxConnections=50
> > > security.allowedAddresses=127.0.0.1,192.168.1.1,192.168.1.2
> > > security.authentication=true
> > > security.secretKey=/usr/local/apache/etc/jserv.secret.key
> > > security.challengeSize=5
> > > log=true
> > > log.file=/usr/local/apache/var/log/jserv.trace
> > > log.timestamp=true
> > > log.dateFormat=[dd/MM/yyyy HH:mm:ss:SSS zz]
> > > log.channel.init=true
> > > log.channel.terminate=true
> > > log.channel.serviceRequest=true
> > > log.channel.authentication=true
> > > log.channel.requestData=true
> > > log.channel.responseHeaders=true
> > > log.channel.signal=true
> > > log.channel.exceptionTracing=true
> > > log.channel.servletManager=true
> > > #######################################
> > >
> > > jserv.log after apache restart:
> > > [26/03/1999 10:39:04:905] (INFO) Apache Module was cleaned-up
> > > [26/03/1999 10:39:04:906] (INFO) Wrapper: Shutting down JServ (PID=30559) (sig
> > > 15)
> > > [26/03/1999 10:39:05:035] (INFO) wrapper: Terminating JServ (PID=30559, VM
> > > PID=31272)
> > > [26/03/1999 10:39:05:036] (INFO) ajp11: sending shutdown signal
> > > [26/03/1999 10:39:08:090] (INFO) wrapper: watching processes
> > > (PID=32000,PPID=14080,VM PID=32006)
> > > [26/03/1999 10:39:08:092] (INFO) wrapper classpath:
> > > 
>/usr/local/jdk117_v1a/lib/classes.zip:/usr/local/jserv/lib/Apache-JServ.jar:/usr/local/JSDK2.0/lib/jsdk.jar
> > >
> > > [26/03/1999 10:39:08:093] (INFO) wrapper: Java VM spawned
> > > (PID=32006|PPID=32000)
> > > [26/03/1999 10:39:21:231] (INFO) wrapper: JVM Exited, restarting it (my
> > > PID=32000)
> > > [26/03/1999 10:39:21:237] (INFO) wrapper: Java VM spawned
> > > (PID=32048|PPID=32000)
> > > [26/03/1999 10:39:33:230] (INFO) wrapper: JVM Exited, restarting it (my
> > > PID=32000)
> > > [26/03/1999 10:39:33:241] (INFO) wrapper: Java VM spawned
> > > (PID=32090|PPID=32000)
> > > [26/03/1999 10:39:44:240] (INFO) wrapper: JVM Exited, restarting it (my
> > > PID=32000)
> > > ...
> > > jserv.log a while later:
> > > [26/03/1999 03:21:23:133] (EMERGENCY) ajp11: connection fail
> > > [26/03/1999 03:21:23:134] (ERROR) an error returned handling request via
> > > protocol "ajpv11"
> > > [26/03/1999 03:21:23:135] (ERROR) an error returned handling request via
> > > protocol "status"
> > > [26/03/1999 03:23:59:832] (EMERGENCY) ajp11: can not connect to host
> > > 192.168.1.1:8007
> > > [26/03/1999 03:23:59:833] (EMERGENCY) ajp11: connection fail
> > > [26/03/1999 03:23:59:834] (ERROR) an error returned handling request via
> > > protocol "ajpv11"
> > > [26/03/1999 03:23:59:835] (ERROR) an error returned handling request via
> > > protocol "status"
> > > [26/03/1999 03:24:54:752] (EMERGENCY) ajp11: can not connect to host
> > > 192.168.1.1:8007
> > > [26/03/1999 03:24:54:753] (EMERGENCY) ajp11: connection fail
> > > [26/03/1999 03:24:54:753] (ERROR) an error returned handling request via
> > > protocol "ajpv11"
> > > #####################
> > >
> > > jserv.trace after apache.restart everything seems ok!?
> > > [26/03/1999 06:49:44:668 GMT+04:30] Session timeout: 1800 seconds
> > > [26/03/1999 06:49:44:670 GMT+04:30] Session check frequency: 5 seconds
> > > [26/03/1999 06:49:44:671 GMT+04:30] Autoreload on zone file changes: true
> > > [26/03/1999 06:49:44:673 GMT+04:30] Autoreload on classfile changes: true
> > > [26/03/1999 06:49:44:698 GMT+04:30] Default initArgs: {}
> > > [26/03/1999 06:49:44:744 GMT+04:30] Servlet name: snoop
> > > [26/03/1999 06:49:44:745 GMT+04:30] Servlet name: survey
> > > [26/03/1999 06:49:44:746 GMT+04:30] Servlet name: session
> > > [26/03/1999 06:49:44:747 GMT+04:30] Servlet name: simpleservlet
> > > [26/03/1999 06:49:44:755 GMT+04:30] Servlet Zone rudi initialization complete
> > >
> > > I checked out the configs several times and can't find any mistakes. Thanks
> > > for help in advance!
> > > ______________________________________________________
> > > rudolf melcher
> > > user interface engineer
> > >
> > > cure - center for usability research & engineering
> > >        eusc - european usability support centre
> > >        jcca - java competence center austria
> > >
> > > institute for applied computer science
> > > department for advanced computer engineering
> > > university of vienna
> > > lenaugasse 2/8, a-1080 wien, austria, europe
> > > mobile: +43-676-5223025 fax: +43-1-4080450
> > > email: [EMAIL PROTECTED] web: www.cure.at
> > > ________________________________________________________
> > >
> > > ----------------------------------------------------------------
> > > To subscribe:        [EMAIL PROTECTED]
> > > To unsubscribe:      [EMAIL PROTECTED]
> > > Archives and Other:  <http://java.apache.org/main/mail.html/>
> > > Problems?:           [EMAIL PROTECTED]
> >
> > --
> > _______________________________________________________
> > rudolf melcher
> > user interface engineer
> >
> > cure - center for usability research & engineering
> >        eusc - european usability support centre
> >        jcca - java competence center austria
> >
> > institute for applied computer science
> > department for advanced computer engineering
> > university of vienna
> > lenaugasse 2/8, a-1080 wien, austria, europe
> > mobile: +43-676-5223025 fax: +43-1-4080450
> > email: [EMAIL PROTECTED] web: www.cure.at
> > ________________________________________________________
> >
> > ----------------------------------------------------------------
> > To subscribe:        [EMAIL PROTECTED]
> > To unsubscribe:      [EMAIL PROTECTED]
> > Archives and Other:  <http://java.apache.org/main/mail.html/>
> > Problems?:           [EMAIL PROTECTED]
>
> --
> Bill Sofko
> Publisher, Contrariwise
>
> ----------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html/>
> Problems?:           [EMAIL PROTECTED]

--
_______________________________________________________
rudolf melcher
user interface engineer

cure - center for usability research & engineering
       eusc - european usability support centre
       jcca - java competence center austria

institute for applied computer science
department for advanced computer engineering
university of vienna
lenaugasse 2/8, a-1080 wien, austria, europe
mobile: +43-676-5223025 fax: +43-1-4080450
email: [EMAIL PROTECTED] web: www.cure.at
________________________________________________________




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