I'm hoping someone can help. The below snippet is the error message the "jrunServletError" log spews out when I try to run a certain servlet.

Let me give a little insight. I'm running a win32 system, oreilly web server, with Jrun 2.1.3. he orielly server is installed on C:\website\ and the sevlet directory is c:\website\java\jrun\servlets. May classpath is as follows:

--------classpath---------------------

C:\WEBSITE\java\classes;C:\WebSite\Java\jre\1.1\lib;C:\WEBSITE\java\classes\WSJava.zip;C:\WEBSITE\java\jrun\lib\jrun.jar;C:\WebSite\Java\jre\1.1\lib\rt.jar;C:\WEBSITE\java\jrun\classes

---------------classpath-------------------------

The servlet that I'm trying to run is in the servlets directory in the javaservlets.db package and is called FastEmployeeList2. This servlet is very basically a servlet that makes a call to an MS access database via JDBC. The only difference is that it uses a connection pool to hold a minimum/maximum number of connections (per the cfg file. For some reason I CANNOT get this dang script to execute. When I hit the script via a browser it waits for about one minute and then gives me a "document contains no data" error. It's really weird. But according to the error message below it looks as if I have some kind of class format error. I have tried putting the jdk and jsdk files and API's in just about every directory I can think of so it will find the class files and execute.....obviously with no such luck.

If anyone has any idea, please let me know. I'm stuck.........

BTW - The servlet FastEmployeeList2 is out the book Java Servlets Second edition by Karl Moss. Great Book!! The servlet is in chapter 9, if anyone happens to have the same book...or if Karl happens to be on this mailing list :-)

Thanks, in advance.

John McDonald
 
--------------------Jrun Servlet error log---------------------------------
 
javaservlets.db.FastEmployeeList2
Sun Aug 01 14:29:56 PDT 1999: Running servlet
{ java.lang.ClassFormatError: Duplicate name
 at java.lang.ClassLoader.defineClass(ClassLoader.java:227)
 at java.lang.ClassLoader.defineClass(ClassLoader.java:205)
 at com.livesoftware.jrun.JRunServletLoader.loadLocalClass(JRunServletLoader.java)
 at com.livesoftware.jrun.JRunServletLoader.loadClass(JRunServletLoader.java)
 at com.livesoftware.jrun.JRunServletLoader.loadClass(JRunServletLoader.java)
 at com.livesoftware.jrun.JRunServletLoader.getServlet(JRunServletLoader.java)
 at com.livesoftware.jrun.JRunServletLoader.loadServlet(JRunServletLoader.java)
 at com.livesoftware.jrun.JRun.getServlet(JRun.java)
 at com.livesoftware.jrun.JRun.getServlet(JRun.java)
 at com.livesoftware.jrun.JRun.runServlet(JRun.java)
 at com.livesoftware.jrun.JRunGeneric.handleConnection(JRunGeneric.java)
 at com.livesoftware.jrunwsapi.JRunWSAPI.HandleConnection(JRunWSAPI.java)
 }
-------------------end Jrun Server servlet error log--------------------------------------------
 

Reply via email to