----------------------------------------------------------------
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!!!
----------------------------------------------------------------

I downloaded jsdk2_1-solsparc.tar.Z
and put the jar files server.jar and servlet.jar into the
/usr/java1.2/jre/lib/ext/ directory.
I changed the symlink to point /usr/java to the java1.2 directory.  
Jserv now starts up.  Servlets appear to be working.  But when I try to run
a JSP page (GNU JSP 1.0), I get:
        
java.lang.AbstractMethodError: org/apache/jserv/JServContext.getResource
        at org.gjt.jsp.JspServlet$Page.getResourceImpl(JspServlet.java:684)
        at org.gjt.jsp.JspServlet$Page.needToRecompile(Compiled Code)
        at org.gjt.jsp.JspServlet$Page.process(Compiled Code)
        at org.gjt.jsp.JspServlet.service(JspServlet.java:284)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
        at
org.apache.jserv.JServConnection.processRequest(JServConnection.java:335)
        at org.apache.jserv.JServConnection.run(JServConnection.java:197)
        at java.lang.Thread.run(Thread.java:485)

Any suggestions?

This is on SunOS 5.7.



> -----Original Message-----
> From: Jim Miani [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 18, 2000 5:20 PM
> To: [EMAIL PROTECTED]
> Subject: Re: upgraded to java1.2.1
> 
> 
> ----------------------------------------------------------------
> 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!!!
> ----------------------------------------------------------------
> 
> 
> download the JSDK 2.0 from Sun's site, and make sure
> the jsdk.jar file in that package is in the server's CLASSPATH,
> restart it, and it should work.
> 
> At 05:10 PM 4/18/2000 -0500, Chris Busch wrote:
> >----------------------------------------------------------------
> >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!!!
> >----------------------------------------------------------------
> >
> >We upgraded to java1.2.1, but when I try to restart jserv 1.0, I get:
> >
> >Exception in thread "main" java.lang.NoClassDefFoundError:
> >javax/servlet/http/HttpServlet
> >        at java.lang.ClassLoader.defineClass0(Native Method)
> >        at java.lang.ClassLoader.defineClass(ClassLoader.java:404)
> >        at
> >java.security.SecureClassLoader.defineClass(SecureClassLoader
> .java:101)
> >        at 
> java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
> >        at java.net.URLClassLoader.access$1(URLClassLoader.java:216)
> >        at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
> >        at java.security.AccessController.doPrivileged(Native Method)
> >        at java.net.URLClassLoader.findClass(URLClassLoader.java:191)
> >        at java.lang.ClassLoader.loadClass(ClassLoader.java:281)
> >        at 
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:275)
> >        at java.lang.ClassLoader.loadClass(ClassLoader.java:238)
> >
> >Apparently, it can't find the package 
> javax.servlet.http.HttpServlet.  So I
> >have to install that especially on our Solaris box?  I just 
> followed the
> >sparc instructions...
> >
> >
> >
> >--
> >--------------------------------------------------------------
> >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]
> >
> >
> 
> ==============================================================
> ============
> Jim Miani
> ICANON Associates, Inc.
> Phone: 610-313-1850 x 121
> Fax: 610-313-1848
> 
> NEWZware(tm) is a product of ICANON Inc. - Visit our web site at
> http://www.icanon.com/ for more information on ICANON, the 
> company, and its
> suite of products and services.
> 
> 
> --
> --------------------------------------------------------------
> 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]
> 


--
--------------------------------------------------------------
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]

Reply via email to