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&autoReconnect=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:174)
>>
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
>>
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
>>
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
>>
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.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:174)
>>
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
>>
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
>>
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
>>
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.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