calvez / xcoaitoolkit

Automatically exported from code.google.com/p/xcoaitoolkit
0 stars 0 forks source link

Can view information on website #90

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

Original issue reported on code.google.com by atkins...@gmail.com on 19 Jun 2012 at 1:19

Attachments:

GoogleCodeExporter commented 9 years 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

Original comment by atkins...@gmail.com on 19 Jun 2012 at 8:28

GoogleCodeExporter commented 9 years 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?

Original comment by atkins...@gmail.com on 19 Jun 2012 at 8:31

GoogleCodeExporter commented 9 years ago
http://extensiblecatalog.lib.rochester.edu:8080/browse/OAI-32   Jira issue

Original comment by rc...@library.rochester.edu on 26 Jun 2012 at 1:28