[greenstone-devel] about LibraryServlet and web.xml

From Suthanya Doung-In
DateTue Oct 28 06:40:22 2008
Subject [greenstone-devel] about LibraryServlet and web.xml
Dear Aupama and everyone

I try to load LibraryServlet in Eclipse and run, I used
libraryServlet.java and web.xml file as I have ever downloaded
greenstone 3? source codes from greenstone web site. I got a problem
when I run it on URL. It shown errors.
This is message error:

==================================================================================

HTTP status 500
type Exception report
message
description The server encountered an internal error () that prevented
it from fulfilling this request.
exception
javax.servlet.ServletException: Error instantiating servlet class
LibraryServlet
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:732)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:688)
java.lang.Thread.run(Unknown Source)
root cause
java.lang.NoClassDefFoundError: org/greenstone/gsdl3/core/Receptionist
java.lang.Class.getDeclaredConstructors0(Native Method)
java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
java.lang.Class.getConstructor0(Unknown Source)
java.lang.Class.newInstance0(Unknown Source)
java.lang.Class.newInstance(Unknown Source)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:732)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:688)
java.lang.Thread.run(Unknown Source)
------------------------------------------------------------------------------------------------


I am not sure that some thing
missed(org/greenstone/gsdl3/core/Receptionist) or not . or something
missed in web.xml
I do you have more updated LibraryServlet.java or web.xml? I think
maybe I have both incomplete files. Could you please help me by sending
these files to me? And then I can test it in eclipse again?

Many thanks again.
Suthanya