----------------------------------------------------------------
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 increased the timeout parameter ApJServVMTimeout from 30 to 50 and
suddenly it worked (JServ could start in automatic mode)!
Although I cannot imagine that it would take this long on this powerfull &
idle machine because as I started it manually, the JServ started quite
quickly.
Do you have an explanation for this behaviour?
Roman
>
> I cannot figure out why nobody responds to my problem (from
> 19.4.)!?!? Is
> this out of interest or too weird to deal with? At least if
> someone would
> give me a hint...
> Roman
>
>
> >
> > Hi
> >
> > I found out an interesting thing:
> > I set the startup of JServ to manual in jserv.conf and
> > started Apache &
> > JServ manually with exactly the same parameters as in the
> > jserv.properties -
> > and it worked!!! No error messages like above!
> > So there must be something wrong about the automatic start of
> > JServ!?!?
> >
> > For additional information:
> > With previous situation (auto start), as I wanted to look the
> > status with
> > "http://servername/jserv/", I could get into the "Configured
> > hosts" link but
> > not to the "Mapped servlet engines" i.e.
> "ajpv12://localhost:8007" (->
> > browser: internal server error; error-log: Premature end of
> > script headers).
> > With the manual start, it's no problem.
> >
> > I also recompiled Apache & SSL & JServ and rebooted the
> > machine without any
> > change.
> >
> > Please help me to make it work with auto modus!
> > Roman
> >
> > >
> > > Hi all
> > >
> > > I'm quite desperate about new JServ making to run! I've
> read all the
> > > corresponding FAQ's and tried many things and I get nowhere!
> > >
> > > my config:
> > > - Sun Solaris 2.6 SPARC
> > > - Solaris VM (build Solaris_JDK_1.2.1_04, native threads, sunwjit)
> > > - JSDK 2.0
> > > - Apache 1.3.12
> > > - JServ 1.1
> > > - OpenSSL 0.9.5 (with apache_1.3.12+ssl_1.39)
> > > - GNU make 3.76.1
> > > - GNU gcc 2.8.1
> > >
> > > Before, there was Apache 1.3.9 with JServ 1.0 and OpenSSL
> > > 0.9.4 running o.k.
> > > I compiled, installed, configured the above new versions -
> > > since I had a
> > > reference installation on another machine with JServ 1.1
> > > already working.
> > >
> > > In the JServ logfile, I get:
> > > ==============================================================
> > > ==============
> > > ===
> > > [19/04/2000 12:53:44:616] (INFO) Apache Module was cleaned-up
> > > [19/04/2000 12:53:47:666] (INFO) wrapper classpath:
> > > /usr/local/jserv/libexec/Apa
> > > cheJServ.jar:/usr/JSDK2.0/lib/jsdk.jar:/export/home/teledata/l
> > > ib/816classes1
> > > 2.zi
> > > p:/export/home/teledata/lib/TOPLink.jar:/export/home/teledata/
> > > lib/TOPLinkX.j
> > > ar:/
> > > export/home/teledata/lib/Tools.jar:/export/home/teledata/lib/m
> > > ail.jar:/expor
> > > t/ho
> > > me/teledata/lib/activation.jar:/export/home/teledata/lib/ssl.j
> > > ar:/export/hom
> > > e/te
> > >
> >
> ledata/servlet/TeledataCompiled:/export/home/teledata/lib/jintegra.jar
> > > [19/04/2000 12:53:47:667] (INFO) wrapper: Java VM spawned
> (PID=369,
> > > PPID=357)
> > > [19/04/2000 12:54:17:663] (INFO) wrapper: watching processes
> > > (PID=357,PPID=356,J
> > > VM PID=369)
> > > [19/04/2000 12:54:47:663] (INFO) wrapper: Java VM not
> > > responding (PID=357)
> > > [time
> > > out]
> > > [19/04/2000 12:54:47:676] (EMERGENCY) ajp12[1]: cannot scan
> > > servlet headers
> > > (50
> > > 0)
> > > [19/04/2000 12:54:47:677] (ERROR) an error returned handling
> > > request via
> > > protoco
> > > l "ajpv12"
> > > [19/04/2000 12:54:47:681] (EMERGENCY) ajp12[1]: cannot scan
> > > servlet headers
> > > (50
> > > 0)
> > > [19/04/2000 12:54:47:681] (ERROR) an error returned handling
> > > request via
> > > protoco
> > > l "ajpv12"
> > > [19/04/2000 12:54:47:686] (EMERGENCY) ajp12[1]: cannot scan
> > > servlet headers
> > > (50
> > > 0)
> > > [19/04/2000 12:54:47:686] (ERROR) an error returned handling
> > > request via
> > > protoco
> > > l "ajpv12"
> > > [19/04/2000 12:54:48:663] (EMERGENCY) ajp12: ping: no reply (-1)
> > > Ple
> > > ase make sure that the wrapper.classpath is pointing
> > > to the
> > > correct
> > > version of ApacheJServ.jar
> > > [19/04/2000 12:54:48:663] (INFO) wrapper: Java VM
> > restarting (PID=357)
> > > ...
> > > ...
> > > [19/04/2000 12:59:04:806] (ERROR) wrapper: argument[ 0]
> > > /usr/java1.2/bin/java
> > > [19/04/2000 12:59:04:806] (ERROR) wrapper: argument[ 1] -native
> > > [19/04/2000 12:59:04:806] (ERROR) wrapper: argument[ 2] -Xms64m
> > > [19/04/2000 12:59:04:806] (ERROR) wrapper: argument[ 3] -Xmx128m
> > > [19/04/2000 12:59:04:806] (ERROR) wrapper: argument[ 4]
> -Xnoclassgc
> > > [19/04/2000 12:59:04:806] (ERROR) wrapper: argument[ 5] -verbosegc
> > > [19/04/2000 12:59:04:807] (ERROR) wrapper: argument[ 6]
> > > org.apache.jserv.JServ
> > > [19/04/2000 12:59:04:807] (ERROR) wrapper: argument[ 7]
> > > /usr/local/apache/conf/j
> > > serv.properties
> > > [19/04/2000 12:59:04:807] (ERROR) wrapper: environment[ 0]
> > > PATH=/bin:/usr/bin:/u
> > > sr/local/bin
> > > [19/04/2000 12:59:04:807] (ERROR) wrapper: environment[ 1]
> > > LD_LIBRARY_PATH=/expo
> > > rt/home/teledata/lib
> > > [19/04/2000 12:59:04:807] (ERROR) wrapper: environment[ 2]
> > > CLASSPATH=/usr/local/
> > > jserv/libexec/ApacheJServ.jar:/usr/JSDK2.0/lib/jsdk.jar:/expor
> > > t/home/teledat
> > > a/li
> > > b/816classes12.zip:/export/home/teledata/lib/TOPLink.jar:/expo
> > > rt/home/teleda
> > > ta/l
> > > ib/TOPLinkX.jar:/export/home/teledata/lib/Tools.jar:/export/ho
> > > me/teledata/li
> > > b/ma
> > > il.jar:/export/home/teledata/lib/activation.jar:/export/home/t
> > > eledata/lib/ss
> > > l.ja
> > > r:/export/home/teledata/servlet/TeledataCompiled:/export/home/
> > > teledata/lib/j
> > > inte
> > > gra.jar
> > > [19/04/2000 12:59:04:807] (INFO) wrapper: Java VM died 5
> > > times in a row with
> > > les
> > > s than 120 seconds between successive failures, setting delay
> > > to 60 seconds
> > > befo
> > > re restarting. Check the Apache error log and the Apache
> > > JServ log files for
> > > mor
> > > e details; for maximum log information be sure to enable the
> > > Apache JServ
> > > log f
> > > ile in the main jserv properties file by: setting the 'log'
> > > property to
> > > true, t
> > > he 'log.file' property to a file writable by the uid as whom
> > > Apache JServ
> > > is ru
> > > n, and by enabling log channels using the 'log.channel.*'
> > properties)
> > > [19/04/2000 12:59:04:807] (INFO) wrapper: Java VM
> > restarting (PID=357)
> > > [19/04/2000 12:59:04:807] (INFO) wrapper: Java VM
> > restarting (PID=357)
> > > [19/04/2000 12:59:04:809] (INFO) wrapper: Java VM spawned
> (PID=474,
> > > PPID=357)
> > > [19/04/2000 12:59:05:413] (EMERGENCY) ajp12: can not
> connect to host
> > > 127.0.0.1:8
> > > 007
> > > [19/04/2000 12:59:05:413] (EMERGENCY) ajp12: connection fail
> > > [19/04/2000 12:59:05:413] (ERROR) an error returned handling
> > > request via
> > > protoco
> > > l "ajpv12"
> > > [19/04/2000 13:00:07:836] (INFO) wrapper: Java VM not
> > > responding (PID=357)
> > > [time
> > > out]
> > > ...
> > > ...
> > > ==============================================================
> > > ==============
> > > ===
> > >
> > > I checked:
> > > - the path & priviledges & version of ApacheJServ.jar & jsdk.jar
> > > (directories are executable)
> > > - the paths & priviledges of apache & jserv log files
> > > (writable to all)
> > > - ApJServDefaultHost & bindaddress (=localhost) - I tried
> > > also the local
> > > address
> > > - wrapper.protocol & ApJServDefaultProtocol (=ajpv12)
> > > - ApJServDefaultPort & port (=8007) - I tried also a different one
> > > - ApJServVMTimeout set to 30
> > > - enabled all loggings
> > >
> > > After starting Apache, I also checked with 'netstat | grep
> > > 8007' that the
> > > ports are being used by JServ (first I get 0, then 2, 4, 6
> > > entries, then 0
> > > again).
> > >
> > > What can I do else? Please help!
> > > Roman
> > >
> > >
>
>
>
> --
> --------------------------------------------------------------
> 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]
>
> ---
> This message has been checked for viruses and resulted clean
>
--
--------------------------------------------------------------
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]