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

Ranga S wrote:

> Hello,
>
> I just installed Apache JServ 1.1.2 in a Linux box running Apache 1.3.12.
> Apache runs fine. But am not able to test whether Apache JServ has been
> configured properly. I need help with the following:
>
> * Setting up PATH and CLASSPATH. When I tried compiling Hello.java (it comes
> with Apache JServ) I get the following error:
> "Can't find method setContentType(java.lang.String)", this is a method of
> the "HttpResponse" object.

In you shell, the CLASSPATH is supposed to look something like this:
/usr/local/jsdk/lib/jsdk.jar:/usr/local/mysql/jdbc/mysql.jar:/usr/java1.2/lib/dt.jar:/usr/java1.2/lib/tools.jar:/data/javaclasses:.

(I have java1.2, so if you use 1.1.8 or whatever, just use the classes.zip
instead of dt.jar and tools.jar). Don't forget to set the classpath in you
jserv.properties.

> * How to test whether JServ has been configured properly?

Try to get Hello from the web

> * Apache listens on port 8080. Do I need to change the default port setting
> in JServ?

As the previous post pointed out, no. I forget which port



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives: 
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to