www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From B J Hellstrom <bjhellst...@hotmail.com>
Subject mod_jserv/6252: AbstractMethodError
Date Wed, 28 Jun 2000 15:58:05 GMT

>Number:         6252
>Category:       mod_jserv
>Synopsis:       AbstractMethodError
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    jserv
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Jun 28 09:00:01 PDT 2000
>Originator:     bjhellstrom@hotmail.com
>Release:        1.3.12
WinNT4 sp6
Jdk1.3 (also fails with 1.2.2)
JServ 1.2.2
[28/06/2000 11:52:32:124 EDT] ECHservlets.Test2: init
[28/06/2000 11:52:32:184 EDT] java.lang.AbstractMethodError
	at org.apache.jserv.JServConnection.processRequest(JServConnection.java:323)
	at org.apache.jserv.JServConnection.run(JServConnection.java:188)
	at java.lang.Thread.run(Thread.java:479)
package ECHservlets;

import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;

public class Test2 extends HttpServlet
  public void doGet( HttpServletRequest req, HttpServletResponse res )
    throws IOException, ServletException
    System.out.println( "getServletConfig" );
    System.out.println( "getServletContext" );
    getServletConfig().getServletContext().setAttribute( "Test", this );
    System.out.println( "setAttribute" );
    Writer w = res.getWriter();
    w.write("<BODY><H1>Test Succeded!</H1></BODY></HTML>");

Tried to rebuild JServ, src distribution is missing "SimpleFileFilter".
Pulled it out of the jar file.  Got many compilation errors -

JServ.java:171: class org.apache.jserv.JServConnection is an abstract class. It
can't be instantiated.
   JServConnection connection = new JServConnection();
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]

View raw message