---------------------------------------------------------------- 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 there, I have been trying to get JServ1.1 up and running with Apache1.3.12 on RedHat Linux6.0. I have JavaSoft's jdk1.2.2 and JSDK2.0 installed. Whenever I try and access a servlet with Netscape, I get an error saying "The document contained no data". My jserv.log has this error "[12/04/2000 10:04:46:124 CDT] AJP Protocol Error: java.io.IOException: Stream broken". And my mod_jserv.log file says this when I start Apache: "[11/04/2000 17:12:17:623] (INFO) Apache Module was cleaned-up [11/04/2000 17:12:20:653] (INFO) wrapper classpath: /usr/lib/apache/libexec/ApacheJServ.jar:/usr/local/bin/JSDK2.0/lib/jsdk.jar:/usr/local/bin/jdk1.2.2/lib/dt.jar: /usr/local/bin/jdk1.2.2/lib/jpda.jar:/usr/local/bin/jdk1.2.2/lib/tools.jar:/usr/local/bin/jdk1.2.2/jre/lib/i18n.jar: /usr/local/bin/jdk1.2.2/jre/lib/rt.jar [11/04/2000 17:12:20:653] (INFO) wrapper: Java VM spawned (PID=14248, PPID=14242) [11/04/2000 17:12:30:661] (INFO) wrapper: watching processes (PID=14242,PPID=14241,JVM PID=14248)" I have ApJServDefaultProtocol set to ajpv12. ApJServDefaultPort is set to 8007. All I have done is install JServ, make sure to include my jserv.conf file in my http.conf file, give the appropriate permissions on my log files, and then try and access the servlets that come installed with JServ. I have looked at the answers on the FAQ's and tried those tricks to get it working and still nothing. I have altered my java.policy file as one FAQ has said ( I am assuming I have entered the correct information into it): grant codeBase "file:/usr/local/bin/JSDK2.0/lib/jsdk.jar" { //will grant this rights only to JServ //FileRead Permissions to class files that should be loaded via //the the JServ class loader. permission java.io.FilePermission "/usr/lib/apache/servlets/-", "read"; //FileRead Permissions to .properties files permission java.io.FilePermission "/usr/lib/apache/conf/jserv/-", "read"; //FileRead Permissions to any properties loaded by any of your own servlets/classes //that are in turn loaded by the JServ ClassLoader. permission java.io.FilePermission "/usr/lib/apache/servlets/-" , "read"; //ClassLoader creation permission to allow JServ deploying its own //ClassLoader. permission java.lang.RuntimePermission "createClassLoader"; //Socket listening and accepting permissions permission java.net.SocketPermission "*:","connect,accept,listen,resolve"; }; I have also included the following lines into my java.properties file: wrapper.classpath=/usr/lib/apache/libexec/ApacheJServ.jar wrapper.classpath=/usr/local/bin/JSDK2.0/lib/jsdk.jar wrapper.classpath=/usr/local/bin/jdk1.2.2/lib/dt.jar wrapper.classpath=/usr/local/bin/jdk1.2.2/lib/jpda.jar wrapper.classpath=/usr/local/bin/jdk1.2.2/lib/tools.jar wrapper.classpath=/usr/local/bin/jdk1.2.2/jre/lib/i18n.jar wrapper.classpath=/usr/local/bin/jdk1.2.2/jre/lib/rt.jar I am a definite beginner and am at loss as to what to try next. Any help would be greatly appreciated. Thanks, -john johnson -- -------------------------------------------------------------- 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]
