Bob Alex and I just fought with this a month ago. First off make sure the JDK you installed has the tools.jar I found mine did not plus it was missing a number of other needed files.
Here was the setup I used to get it going. You might not need all the setting but it did work for me. Good luck! Win Environment classpath D:\Java\jre\lib;D:\Java\jre\lib\rt.jar;D:\Java\lib\tools.jar;%JAVA_HOME% \lib JAVA_HOME D:\Java\jre PATH D:\Java\jre\bin\server\;%SystemRoot%\system32;%SystemRoot%;%PATH%;% JAVA_HOME%\bin # # Mapping File. # # CGI, WinCGI, Modules and ISAPI Extension Assocaitions # [servlet-aliases] *.jhtml = org.apache.servlet.ssi.SSI *.jsp = org.apache.jasper.servlet.JspServlet # INI file 'D:/sambar/config/javaeng.ini' # Last modified: Fri, 02 May 2003 08:31:44 [initParameters] classpath = D:/sambar/tmp compiler = debug = false largefile = true mappedfile = true keepgenerated = true sendErrToClient = false classdebuginfo = true enablePooling = true checkInterval = 300 development = false reloading = true [javaeng] Verbose = false Servlet Extension = /servlet/ Servlets Directory = /servlets [properties] traceServlets = false sessionTimeout = 1800000 sessionCheckFrequency = 5000 JSPTrace = error JSPLog = D:/sambar/log/java.log -----Original Message----- From: "Bob Mittenzwei" <[EMAIL PROTECTED]> To: "sambar List Member" <[EMAIL PROTECTED]> Date: Sat, 7 Jun 2003 15:00:03 -0400 Subject: [sambar] help with javaengine exception error > Can anyone help or have any thoughts? > > I have jdk 1.4.1 installed on Win2K workstation running Sambar 5.3 pro, > when I try to enable javaengine I the error below in the server.log. I > get a similar error when I try to run a jsp page. I believe I have the > configuration right (per http://www.sambar.com/syshelp/javaeng.htm) > > [2003-06-07 13:50:28] INFO: JavaEngine initialized... > [2003-06-07 13:50:29] INFO: JavaEngine > org.apache.jasper.servlet.JspServlet: init > [2003-06-07 13:50:29] ERROR: JavaEngine Exception: > org.apache.jasper.servlet.JspServlet - java.lang.NullPointerException > [2003-06-07 13:50:29] INFO: JavaEngine interface initialized... > > classpath = > c:\jdk141\jre\lib;c:\jdk141\jre\lib\rt.jar;c:\jdk141\lib\tools.jar; > > path = > %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Progra > m Files\Resource Pro Kit\;C:\Program Files\Support > Tools\;c:\jdk141\jre\bin;c:\jdk141\jre\bin\server; > > Thanks > Bob ~ [EMAIL PROTECTED] > > ------------------------------------------------------- > To unsubscribe please go to http://www.sambar.ch/list/ > > ------------------------------------------------------- To unsubscribe please go to http://www.sambar.ch/list/
