Vincenzo
If you are using Fedora 3.x the fcfg file no longer has a 'retainPIDs'
entry. In our experience, a 3.x repository will accept any valid,
incoming PID that does not already exist.
Richard
___________________________________________________________________
Richard Green
Manager, RepoMMan, RIDIR and REMAP Projects
e-Services Integration Group
www.hull.ac.uk/esig/repomman
www.hull.ac.uk/ridir
www.hull.ac.uk/remap
http://edocs.hull.ac.uk
-----Original Message-----
From: Vincenzo Galella [mailto:[email protected]]
Sent: 17 February 2009 10:40
To: [email protected]
Subject: Re: [Fedora-commons-developers] Problems with
oaiproviderinstallation
I have this problem:
1. Make sure your Fedora Repository installation is configured to
retain (rather than re-generate) PIDs of objects in the "demo" PID
namespace on ingest. You can check this in your |fedora.fcfg|
file: If one of the values of "retainPIDs" is "demo" or "*"
(asterisk), your repository is configured correctly. Otherwise,
you should add this value and re-start it.
In my fedora.fcfg I haven't no one "retainPIDs" value. I'm also enabled
to use Resource Index (It work fine)
What'is the problem?
Thank's
V.Galella
Vincenzo Galella ha scritto:
> Hi,
> I had some problems during oaiprovider installation, following these
> instructions.
>
>
> I copied oaiprovider.war into tomcat/webapp directory
> I started WA.
> I modified the proai.properties file, changing the proai db info, in
> this way (I use MySQL):
> proai.db.url =
>
jdbc:mysql://localhost/proai?useUnicode=true&characterEncoding=UTF-8&aut
oReconnect=true<
>
> proai.db.driverClassName = com.mysql.jdbc.Driver
> I restarted the WA
> I tried to open the example url :
> http://localhost:8080/oaiprovider/?verb=Identify
>
> this is the error:
>
>> *type* Exception report
>>
>> *message*
>>
>> *description* _The server encountered an internal error () that
>> prevented it from fulfilling this request._
>>
>> *exception*
>>
>> javax.servlet.ServletException: Unable to initialize ProviderServlet
>> proai.service.ProviderServlet.init(ProviderServlet.java:240)
>> javax.servlet.GenericServlet.init(GenericServlet.java:212)
>>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:117)
>>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
74)
>>
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:87
4)
>>
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:665)
>>
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:528)
>>
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.java:81)
>>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:689)
>> java.lang.Thread.run(Thread.java:595)
>>
>>
>> *root cause*
>>
>> proai.error.ServerException: Multiple instances of RecordCache not
allowed
>> proai.cache.RecordCache.init(RecordCache.java:226)
>> proai.cache.RecordCache.<init>(RecordCache.java:157)
>> proai.service.Responder.<init>(Responder.java:61)
>> proai.service.ProviderServlet.init(ProviderServlet.java:245)
>> proai.service.ProviderServlet.init(ProviderServlet.java:238)
>> javax.servlet.GenericServlet.init(GenericServlet.java:212)
>>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:117)
>>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
74)
>>
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:87
4)
>>
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:665)
>>
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:528)
>>
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.java:81)
>>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:689)
>> java.lang.Thread.run(Thread.java:595)
>>
>>
>> *note* _The full stack trace of the root cause is available in the
>> Apache Tomcat/5.5.26 logs._
>>
>>
>
> What is the problem?
>
> Thank's
> Vincenzo Galella
>
>
>
>
------------------------------------------------------------------------
------
> Open Source Business Conference (OSBC), March 24-25, 2009, San
Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the
Enterprise
> -Strategies to boost innovation and cut costs with open source
participation
> -Receive a $600 discount off the registration fee with the source
code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> Fedora-commons-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers
>
------------------------------------------------------------------------
------
Open Source Business Conference (OSBC), March 24-25, 2009, San
Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the
Enterprise
-Strategies to boost innovation and cut costs with open source
participation
-Receive a $600 discount off the registration fee with the source code:
SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Fedora-commons-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers*****************************************************************************************
To view the terms under which this email is distributed, please go to
http://www.hull.ac.uk/legal/email_disclaimer.html
*****************************************************************************************
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Fedora-commons-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers