[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index] [Home]

Re: GNUJSP Problem



This is the exact error we spent two days hunting down.  What ended up 
fixing it for us was replacing the jsdk jar in the wrapper.classpath with 
the servlet-2.0-plus.jar from the GnuJSP distribution.  Putting the 
servlet-2.0-plus.jar solely in the repositories key in the zone file does 
not appear to work (and it doesn't make all that much sense to me 
anyway...the servlet library itself is not something you'd want 
reloadable).  Once this entry to made to wrapper.classpath things work.  
Note that the jsdk 2.0 jsdk.jar /can/ live in the wrapper.classpath with 
servlet-2.0-plus.jar, but the jsdk 2.1 jars cannot (a different error 
occurs in that case...the jsdk 2.1 jars do work by themselves for 
servlets alone, though).

Short answer:

jserv.properties:

wrapper.classpath=C:\apache\ApacheJServ.jar
#wrapper.classpath=C:\apache\lib\jsdk.jar
wrapper.classpath=C:\apache\lib\servlet-2.0-plus.jar
...

Aaron Hamid

On Sat, 6 May 2000, Daly, Michael wrote:

> I followed the installation instructions and am having a problem.  I am
> running on WinNT4.0, Apache 1.3.11, JServ 1.1, jdk1.1.8, jsdk2.0.
> 
> The messages I am getting in the JServ console after I request the hello.jsp
> in my browser follows:
> [Loaded org/apache/jserv/Ajpv12InputStream.class from c:\Program
> Files\Apache JServ 1.1\ApacheJServ.
> jar]
> [Loaded java/net/SocketInputStream.class from C:\JDK1.1.8\lib\classes.zip]
> [Loaded java/net/SocketOutputStream.class from C:\JDK1.1.8\lib\classes.zip]
> [Loaded sun/io/ByteToCharDefault.class from C:\JDK1.1.8\lib\classes.zip]
> [Loaded java/lang/InstantiationException.class from
> C:\JDK1.1.8\lib\classes.zip]
> [Loaded java/lang/IllegalAccessException.class from
> C:\JDK1.1.8\lib\classes.zip]
> [Loaded org/apache/jserv/JServUtils.class from c:\Program Files\Apache JServ
> 1.1\ApacheJServ.jar]
> [Loaded javax/servlet/http/Cookie.class from C:\jsdk2.0\lib\jsdk.jar]
> [Loaded org/apache/java/lang/AdaptiveClassLoader$ClassCacheEntry.class from
> c:\Program Files\Apache
> JServ 1.1\ApacheJServ.jar]
> [Loaded java/util/zip/ZipFileInputStream.class from
> C:\JDK1.1.8\lib\classes.zip]
> [Loaded java/io/FileReader.class from C:\JDK1.1.8\lib\classes.zip]
> [Loaded java/io/StringReader.class from C:\JDK1.1.8\lib\classes.zip]
> [Loaded java/io/StringWriter.class from C:\JDK1.1.8\lib\classes.zip]
> [Loaded org/apache/jserv/JServContext.class from c:\Program Files\Apache
> JServ 1.1\ApacheJServ.jar]
> [Loaded javax/servlet/ServletContext.class from C:\jsdk2.0\lib\jsdk.jar]
> [Loaded org/apache/java/lang/Lock.class from c:\Program Files\Apache JServ
> 1.1\ApacheJServ.jar]
> [Loaded java/lang/NoSuchMethodException.class from
> C:\JDK1.1.8\lib\classes.zip]
> GNUJSP: Detected JSDK version 2.0
> [Loaded java/text/FieldPosition.class from C:\JDK1.1.8\lib\classes.zip]
> java.util.MissingResourceException: can't find resource for
> org.gjt.jsp.prop.JspMsgRes_en_US
> 
> The last message is the one I am concerned about.  There is no
> JspMsgRew_en_US file in the prop directory.
> 
> Any assistance would be greatly appreciated.
> 
> Michael S. Daly
> Merck & Co., Inc.
> P.O. Box 4 WP97-A369
> West Point, PA 19486
> Phone: 215-652-4735
> Fax: 215-652-8846
> E-mail: Michael_Daly@Merck.com
> 
>