Now, We have a matter.We have installed jserv on linux,but it can't run successfully.Why?
Our installed step:
1. gzip-d-c apache-1.3.12.tar.gz|tar xvf-
2. gzip-d-c ajserv1.2.1.tar.gz|tar xvf-
3. .../apache_.3.12/:./configure
4. .../apache_.3.12/:make
5. .../apache_.3.12/:make install
6. cd ../apache1.2
7. ./configure --prefix=/usr/local/jserv
apache-apxs=/usr/local/apache/bin/apxs --
with-jdk-home=/home/hero/jdk1.2.2 --w
8. make
9. make install
10. Then we cut a part of
and copy it into
Then we excute
usr/local/apache/bin/:httpd -l .
We can see mod_so.c,but can't see
mod_jserv.c as the install specification.But we can find it at the libexec directory.
As the install specification,we type the URL http://bizweb1:SERVER_PORT/servlets/Hello on the browser(IE5.0),but the browser display that the page can't be displayed.The error displayed in
/usr/local/apache/logs/mod_jserv.log is :
[27/09/2000 18:25:53:035] (ERROR) wrapper: printing debugging information (command line, env)
[27/09/2000 18:25:53:036] (ERROR) wrapper: argument[ 0] /home/hero/jdk1.2.2/bin/java
[27/09/2000 18:25:53:036] (ERROR) wrapper: argument[ 1] org.apache.jserv.JServ
[27/09/2000 18:25:53:036] (ERROR) wrapper: argument[ 2] /usr/local/apache/conf/jserv/jserv.properties
[27/09/2000 18:25:53:036] (ERROR) wrapper: environment[ 0] PATH=/bin:/usr/bin:/usr/local/bin
[27/09/2000 18:25:53:036] (ERROR) wrapper: environment[ 1] CLASSPATH=/usr/local/apache/libexec/ApacheJServ.jar:/home/hero/JSDK2.0/lib/jsdk.jar
[27/09/2000 18:26:03:044] (ERROR) wrapper: printing debugging information (command line, env)
What can we to do now? Please tell us.