----------------------------------------------------------------
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!!!
----------------------------------------------------------------
Dear All,
I have correctly followed the various FAQ's for setting up JSP on Apache
JServ 1.1. At present I am using the JSWDK1.0.1 on my Windows NT Apache
Server 1.1.13, but I am having problems. JServ correctly compiles the JSP
page into a .java file and correctly compiles this into a byte code .class
file, but when it actually runs the created JSP servlet the following
exception is thrown:
java.lang.AbstractMethodError: org/apache/jserv/JServConnection.encodeURL
at
com.sun.jsp.runtime.PageContextImpl.initialize(PageContextImpl.java:78)
at
com.sun.jsp.runtime.JspFactoryImpl.getPageContext(JspFactoryImpl.java:41)
at
d_0003a.www.cgi_0002dbin.index_jsp_1._jspService(index_jsp_1.java:59)
at com.sun.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
at
com.sun.jsp.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:88)
at
com.sun.jsp.runtime.JspServlet.serviceJspFile(JspServlet.java:218)
at com.sun.jsp.runtime.JspServlet.service(JspServlet.java:294)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
at
org.apache.jserv.JServConnection.processRequest(JServConnection.java:314)
at org.apache.jserv.JServConnection.run(JServConnection.java:188)
at java.lang.Thread.run(Thread.java:479)
I believe I have correctly set up my JServ, with the following declarations
in my jserv.properties file:
wrapper.classpath=D:\jdk1.2.2\lib\tools.jar
wrapper.classpath=D:\Apache\Apache JServ 1.1\ApacheJServ.jar
wrapper.classpath=d:\JSWDK-1.0.1\lib\servlet.jar
wrapper.classpath=d:\JSWDK-1.0.1\lib\jspengine.jar
and the following in my JSP zone directory properties file:
repositories=D:\Apache\Apache JServ 1.1\jsp
servlet.jsp.code=com.sun.jsp.runtime.JspServlet
servlet.jsp.initArgs=keepgenerated=true,scratchdir=D:\Apache\Apache JServ
1.1\jsp\scratch,sendErrToClient=true
I have a feeling that this may have something to do with the fact that I am
not referencing the correct repositories in my zone.properties file, but any
changes I make to these seem to have no effect. I have been messing around
with this for days now and it is getting desperate: all I want to do is
execute a JSP script. Yours gratefully...
--
Ricardo Gladwell, Web Developer
Demon Internet, Westhumble House,
Dorking Business Park, Dorking. RH4 1HJ
Tel: +44 (0)1306 732 356
--
--------------------------------------------------------------
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]