eXtensibleCatalog / OAI-Toolkit

Synchronize MARC metadata in most ILSs with XC
5 stars 1 forks source link

Can view information on website #164

Open patrickzurek opened 8 years ago

patrickzurek commented 8 years ago

JIRA issue created by: rcook Originally opened: 2012-06-26 09:25 AM

Issue body: Was GC Issue http://code.google.com/p/xcoaitoolkit/issues/detail?id=90 Note that I did not move attachments

Reported by atkins245, Jun 19, 2012

What steps will reproduce the problem?

  1. Install xcoaitoolkit
  2. run convertload.sh
  3. Goto http://localhost:8080/OAIToolkit/ and OAI Sample Request/... then click ListRecords

What is the expected output? What do you see instead? I expected to see the 20 records which I processed in step 2 (Success - view all logs in OAI Log) What I see instead: 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: Servlet execution threw an exception

root cause

java.lang.NoClassDefFoundError: Could not initialize class info.extensiblecatalog.OAIToolkit.api.Facade info.extensiblecatalog.OAIToolkit.struts.action.OaiRequestAction.execute(OaiRequestAction.java:58) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

note The full stack trace of the root cause is available in the Apache Tomcat/6.0.33 logs.

What version of the product are you using? On what operating system?

Please provide any additional information below. OS: linux - openSUSE 64 bit 12.1 mySQL: 5.3 PHP: 5.3.8 Apache Web: 2.2.21 Apache Tomcat 6.0.33

I attach the localhost.log in tomcat log

localhost.2012-06-19.log

5.3 KB View Download
Delete comment Comment 1 by atkins245, Jun 19 (6 days ago)

I saw in /var/log/tomcat6/catalina.out a line: INFO: Deploying web application archive OAIToolkit.war log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources). log4j:WARN Please initialize the log4j system properly. ApplInfo::init(/srv/tomcat6/bin) --->>>> Note below ApplInfo::init(OAIToolkit)

Notes: in my system - it should be /usr/share/tomcat6/bin because $CATALINA_HOME is /usr/share/tomcat6

Delete comment Comment 2 by atkins245, Jun 19 (6 days ago)

localhost log: Jun 19, 2012 12:49:34 PM org.apache.catalina.core.ApplicationContext log INFO: InitializerServlet: The Name for webapp Dir is OAIToolkit Jun 19, 2012 12:49:34 PM org.apache.catalina.core.ApplicationContext log INFO: InitializerServlet: The new Tomcat/bin directory is /srv/tomcat6/webapps/OAIToolkit Jun 19, 2012 12:49:34 PM org.apache.catalina.core.ApplicationContext log INFO: InitializerServlet: The Tomcat/bin directory is /srv/tomcat6/bin Jun 19, 2012 12:49:34 PM org.apache.catalina.core.ApplicationContext log INFO: InitializerServlet: ERROR: The computed Tomcat/bin directory doesn't exist. Jun 19, 2012 12:49:34 PM org.apache.catalina.core.ApplicationContext log INFO: InitializerServlet: Initializer Servlet loaded, initializing ... Jun 19, 2012 12:52:23 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet action threw exception

The Tomcat/bin directory is /srv/tomcat6/bin??? I don't know where they get that information?