Try using this servlet script for debugging information. You must compile this servlet though. Can't send attachments to this lister.
*****************************************************
import java.io.*;
import java.util.Date;
import java.util.Hashtable;
import java.lang.System;
import javax.servlet.*;
import javax.servlet.http.*;
/**
* Date Servlet
*
* This is a simple servlet to demonstrate server-side include
* It returns a string representation of the current time.
* @author Scott Atwood
* @version 1.11, 05/22/97
*/
public class langtest extends HttpServlet {
public void service(HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException
{
Date today = new Date();
res.setContentType("text/plain");
ServletOutputStream out = res.getOutputStream();
out.println(today.toString());
//System nick = new System();
out.println("User.Dir=" + System.getProperty("user.dir") + "<BR>");
out.println("java.version=" + System.getProperty("java.version") + " Java version number <BR>");
out.println("java.vendor=" + System.getProperty("java.vendor") + " Java vendor-specific string <BR>");
out.println("java.vendor.url=" + System.getProperty("java.vendor.url") + " Java vendor URL <BR>");
out.println("java.home=" + System.getProperty("java.home") + " Java installation directory <BR>");
out.println("java.class.version=" + System.getProperty("java.class.version") + " Java class format version number <BR>");
out.println("java.class.path=" + System.getProperty("java.class.path") + " Java class path <BR>");
out.println("os.name=" + System.getProperty("os.name") + " Operating system name <BR>");
out.println("os.arch=" + System.getProperty("os.arch") + " Operating system architecture <BR>");
out.println("os.version=" + System.getProperty("os.version") + " Operating system version <BR>");
out.println("file.separator=" + System.getProperty("file.separator") + " File separator ([/] on UNIX) <BR>");
out.println("path.separator=" + System.getProperty("path.separator") + " Path separator ([:] on UNIX) <BR>");
out.println("line.separator=" + System.getProperty("line.separator") + " Line separator ([\\n] on UNIX) <BR>");
out.println("user.name=" + System.getProperty("user.name") + " User's account name <BR>");
out.println("user.home=" + System.getProperty("user.home") + " User's home directory <BR>");
out.println("user.dir=" + System.getProperty("user.dir") + " User's current working directory <BR>");
}
public String getServletInfo() {
return "Returns a string representation of the current time";
}
}
The above script will show some system information for you. It's a saver if you are debugging scripts on multiple platforms.
I'm having the same similar problem with the JServ Server Side Includes. I had to fully extract the JSSI.jar to a directory in order for it to work. It's not a solution, but it might help temporarily. I added the the jar file to the .classpath and didn't help me either.
Thanks,
Nicholas Neuberger
Software Developer
PaylinX Corporation
Electronic Commerce. Today. PaylinX.
http://www.paylinx.com/
-----Original Message-----
From: Henner Zeller [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 28, 1999 6:43 PM
To: Java-Servlets
Subject: Re: GNU Java Server Pages
Hi,
On Tue, 28 Sep 1999, Michael Jozwik wrote:
MJ| [28/09/1999 16:26:31:486 EDT] java.lang.NoClassDefFoundError:
MJ| sun/tools/javac/Main
try to call it directly, explicitly setting the classpath for the VM with
the values used in your jserv.properties
java -classpath $JAVA_HOME/jre/lib/tools.jar sun.tools.javac.Main
to find out what is missing.
ciao,
-hen
---
Henner Zeller [EMAIL PROTECTED]
PGP pub key [77F75B39]: finger [EMAIL PROTECTED]
Microsoft is not the answer, it's the question. The answer is 'NO'
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]