Hi, there!

I�ve had this problem myself.
It was somehow strange. But after I inserted a 'getTitle' method to my
servlet, it all worked well, at least for simle servlets.

For more complex servlets: check whether your servlet needs to load some
classes via the FileLoader.
Whenever this is the case, you won�t find it in the log-file.

You can determine such errors when you let your servlet send its
error-output to a Form and then
inspecting it. Possibly you run into a native-Method which cannot be called.
If that is the case, you�ll
be in trouble.
Would be nice if someone could say how to get along with that problem

-----Urspr�ngliche Nachricht-----
Von: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]Im Auftrag von ram
Gesendet: Tuesday, September 14, 1999 1:13 PM
An: [EMAIL PROTECTED]
Betreff: Jserv/Apache configuration problem


Hello ,
I have configured ApacheJServ-1.0 for Apache 1.3.9 on RedHat6.I have
configured in the normal way.

for jserv:

./configure \
--prefix=/usr/local/java/jserv \
--with-jdk-home=/usr/local/java/jdk \
--enable-compressed-jar \
--with-jsdk=/usr/local/java/JSDK2.0/lib/jsdk.jar \
--with-apache-install=/usr/local/apache

make && make install

for apache:

./configure --prefix=/usr/local/apache \
--enable-module=so --enable-rule=SHARED_CORE

Then after this when i tried to access http://localhost/example/Hello i
got an Internal server error.
So i added
LoadModule ................
and
AddModule ............. lines to httpd.conf
and also copied jserv.conf and pasted in httpd.conf.
example.properties=/home/ram/ApacheJServ-1.0/example/example.properties

Now when i give http://localhost/jserv i get the creen
but when i give
http://localhost/example/Hello
I again get an Internal server error
Could someone point out the error
Thanking you
Ram

___________________________________________________________________________
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