Apologies first off if this is a simple problem, but i would appreciate a
little direction on how to solve a config problem with JServ 1.0b3 on
Apache 1.3.3 on Solaris 7 for SPARC.

I have a directory in /usr/local/apache/share/htdocs/servlets and i have
made the gratiutous hello world servlet.  i have set up a zone of
servlets and it's config file is jserv.servlets.properties, which is
referenced in jserv.properties.  When I pull up
http://localhost/servlets/HelloWorldServlet my jserv.log file has the
following errors:

[27/02/1999 17:41:48:110] (INFO) wrapper: watching processes
(PID=13593,PPID=130
96,VM PID=13599)
[27/02/1999 17:41:48:109] (INFO) wrapper classpath:
/usr/local/JDSK2.0/lib/jsdk.
jar:/usr/local/jserv/lib/Apache-JServ.jar
[27/02/1999 17:41:48:113] (INFO) wrapper: Java VM spawned
(PID=13599|PPID=13593)
[27/02/1999 17:41:51:111] (INFO) wrapper: JVM Exited, restarting it (my
PID=1359
3)
[27/02/1999 17:41:51:122] (INFO) wrapper: Java VM spawned
(PID=13614|PPID=13593)
[27/02/1999 17:41:53:150] (INFO) wrapper: JVM Exited, restarting it (my
PID=1359
3)
[27/02/1999 17:41:53:160] (INFO) wrapper: Java VM spawned
(PID=13629|PPID=13593)
[27/02/1999 17:41:55:150] (INFO) wrapper: JVM Exited, restarting it (my
PID=1359
3)
[27/02/1999 17:41:55:160] (INFO) wrapper: Java VM spawned
(PID=13643|PPID=13593)
[27/02/1999 17:41:57:151] (INFO) wrapper: JVM Exited, restarting it (my
PID=1359
3)
[27/02/1999 17:41:57:161] (INFO) wrapper: Java VM spawned
(PID=13657|PPID=13593)
[27/02/1999 17:41:59:151] (INFO) wrapper: JVM Exited, restarting it (my
PID=1359
3)
[27/02/1999 17:41:59:161] (INFO) wrapper: Java VM spawned
(PID=13671|PPID=13593)
[27/02/1999 17:42:01:151] (INFO) wrapper: JVM Exited, restarting it (my
PID=1359
3)
[27/02/1999 17:42:01:162] (INFO) wrapper: Java VM spawned
(PID=13685|PPID=13593)
[27/02/1999 17:42:03:169] (INFO) wrapper: VM died too many times w/in 5
second i
ntervals (6); no more tries
[27/02/1999 17:42:03:170] (INFO) wrapper: printing debugging information
(comman
d line, env)
[27/02/1999 17:42:03:170] (INFO) wrapper: argument[ 1] /bin/java
[27/02/1999 17:42:03:171] (INFO) wrapper: argument[ 2]
org.apache.jserv.JServ
[27/02/1999 17:42:03:171] (INFO) wrapper: argument[ 3]
/usr/local/apache/etc/jse
rv.properties
[27/02/1999 17:42:03:171] (INFO) wrapper: environment[ 1]
PATH=/bin:/usr/bin:/us
r/local/bin
[27/02/1999 17:42:03:172] (INFO) wrapper: environment[ 2]
CLASSPATH=/usr/local/J
DSK2.0/lib/jsdk.jar:/usr/local/jserv/lib/Apache-JServ.jar
[27/02/1999 17:42:05:344] (EMERGENCY) ajp11: can not connect to host
127.0.0.1:8
007
[27/02/1999 17:42:05:345] (EMERGENCY) ajp11: connection fail
[27/02/1999 17:42:05:346] (ERROR) an error returned handling request via
protoco
l "ajpv11"

This puzzles me because I have my JVM and classpath declared in
jserv.properties as:

wrapper.bin=/bin/java
wrapper.classpath=/usr/local/JDSK2.0/lib/jsdk.jar
wrapper.classpath=/usr/local/jserv/lib/Apache-JServ.jar

If I connect to http://localhost/status/jserv I do get the status page,
but there is a slight problem there, which might be related to this.  The
link for configured hosts points to
http://localhost/status/status=?module=sparky.spinweb.net.
sparky.spinweb.net is the Cname of the box.  this url is invalid and
gives a 404 not found response.

If i just look up http://loalhost/servlets/ it get an internal server
error.

Again, many thanks if someone can point me where to go from here.  I
suspect I have overlooked something.  I'll be happy to furnish any config
files if it would be helpful.

Duane Gran

Got unix?  Get Solaris Central.

  http://www.SolarisCentral.org

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to