Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error in Servletrunner

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi *,
I am new to servlets, and I was trying to run the examples given by sunsoft with JSDK2.0 and it gives me this error. Can somebody tell me what this means..
C:\JSDK2.0>servletrunner
servletrunner starting with settings:
port = 8080
backlog = 50
max handlers = 100
timeout = 5000
servlet dir = .\examples
document dir = .\examples
servlet propfile = .\examples\servlet.properties
java.lang.AbstractMethodError: sun/servlet/http/HttpServletConfig.getServletName
at javax.servlet.GenericServlet.getServletName(GenericServlet.java:368)
at javax.servlet.GenericServlet.log(GenericServlet.java:300)
at javax.servlet.GenericServlet.init(GenericServlet.java:257)
at sun.servlet.ServletLoader.loadServlet(ServletLoader.java:102)
at sun.servlet.http.HttpServer.getServlet(HttpServer.java:330)
at sun.servlet.http.HttpServerHandler.sendResponse(HttpServerHandler.jav
a:152)
at sun.servlet.http.HttpServerHandler.handleConnection(Compiled Code)
at sun.servlet.http.HttpServerHandler.run(Compiled Code)
at java.lang.Thread.run(Thread.java:479)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic