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

Problems with the Install


Hi All,

I have installed gnujsp on my MacOS X Server under Apache 1.3.9 with 
Apache JServ 1.1b3. I got everything running, or at least it looks 
like it in jserv-status, but when I try to load date.jsp I get a 
bunch of compile errors in the jserv.log.

[08/01/2000 18:44:07:379 EST] gnujsp/org.gjt.jsp.JspServlet: Parsing 
file://www/metadogs/public_html/date.jsp
[08/01/2000 18:44:08:038 EST] gnujsp/org.gjt.jsp.JspServlet: GNUJSP: 
unhandled exception
[08/01/2000 18:44:08:063 EST] gnujsp/org.gjt.jsp.JspServlet: 
sun.net.ftp.FtpLoginException: user
         at java.lang.Throwable.<init>(Compiled Code)
         at java.lang.Exception.<init>(Compiled Code)
         at java.io.IOException.<init>(IOException.java:53)
         at 
sun.net.ftp.FtpProtocolException.<init>(FtpProtocolException.java:36)
         at sun.net.ftp.FtpLoginException.<init>(FtpLoginException.java:36)
         at sun.net.ftp.FtpClient.login(FtpClient.java:219)
         at 
sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.jav 
a:77)
         at 
sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnect 
ion.java:87)
         at java.net.URL.openStream(URL.java:597)
         at org.gjt.jsp.JspServlet$Page.process(JspServlet.java:582)
         at org.gjt.jsp.JspServlet.service(JspServlet.java:284)
         at javax.servlet.http.HttpServlet.service(Compiled Code)
         at org.apache.jserv.JServConnection.processRequest(Compiled Code)
         at org.apache.jserv.JServConnection.run(Compiled Code)
         at java.lang.Thread.run(Compiled Code)


Does anyone have a suggestion for this?

Thanks,

Chris

BTW: I started working my way through the servlet source to see if I 
could figure out what was going on. After making a few changes to the 
src, I also found that I was unable to compile the code properly.

JspClassLoader.java
../../../org/gjt/jsp/JspServlet.java:99: Wrong number of arguments in method.
         } else super.log(message, throwable);
                         ^
../../../org/gjt/jsp/JspServlet.java:684: Method 
getResource(java.lang.String) not found in interface 
javax.servlet.ServletContext.
                 retval = sc.getResource(path);
                                        ^
../../../org/gjt/jsp/JspParser.java:597: Method 
getResource(java.lang.String) not found in interface 
javax.servlet.ServletContext.
                     resource = config.getServletContext().getResource(file);
                                                                      ^
../../../org/gjt/jsp/PageContextImpl.java:174: Method 
setAttribute(java.lang.String, java.lang.Object) not found in 
interface javax.servlet.ServletRequest.
                 request.setAttribute(name, attribute);
                                     ^
../../../org/gjt/jsp/PageContextImpl.java:185: Method 
setAttribute(java.lang.String, java.lang.Object) not found in 
interface javax.servlet.ServletContext.
                 getServletContext().setAttribute(name, attribute);
                                                 ^
../../../org/gjt/jsp/PageContextImpl.java:221: Method 
setAttribute(java.lang.String, null) not found in interface 
javax.servlet.ServletRequest.
                 request.setAttribute(name, null);
                                     ^
../../../org/gjt/jsp/PageContextImpl.java:232: Method 
removeAttribute(java.lang.String) not found in interface 
javax.servlet.ServletContext.
                 getServletContext().removeAttribute(name);
                                                    ^
../../../org/gjt/jsp/PageContextImpl.java:254: Method 
getAttributeNames() not found in interface 
javax.servlet.ServletRequest.
             return JSDK20 ? ((HttpServletRequestWrapper) 
request).getAttributeNames() : request.getAttributeNames();
 
^
../../../org/gjt/jsp/PageContextImpl.java:260: Method 
getAttributeNames() not found in interface 
javax.servlet.ServletContext.
                 : getServletContext().getAttributeNames();
                                                        ^
../../../org/gjt/jsp/PageContextImpl.java:337: Method 
getRequestDispatcher(java.lang.String) not found in interface 
javax.servlet.ServletContext.
             : getServletContext().getRequestDispatcher(path);
                                                       ^
../../../org/gjt/jsp/PageContextImpl.java:392: Method 
setAttribute(java.lang.String, java.lang.Exception) not found in 
interface javax.servlet.ServletRequest.
                 request.setAttribute(EXCEPTION,e);
                                     ^
Note: 2 files use deprecated APIs.  Recompile with "-deprecation" for details.
11 errors, 1 warning
make: *** [JspClassLoader.class] Error 1
_____________________________//////////////////////////////////////
Christopher Stetson          DataGimble
cstetson@metadogs.com        http://www.metadogs.com/
                              (718) 858-5604
An Oblique Strategy
"Water"   brian eno