Answering myself here - copying log4j.jar and commons-logging.jar into the
tomcat/common/lib directory got rid of all these errors
From: Bernadette Houghton [mailto:[email protected]]
Sent: Tuesday, 13 October 2009 11:03 AM
To: '[email protected]'
Subject: [Fedora-commons-users] Installing oaiprovider
Encountering problems installing oaiprovider-1.1.1 on my windows XP machine.
Using Fedora 2.2.4. The demo objects weren't in the file I downloaded, so I
haven't installed those, but otherwise have followed all installation
instructions. Here's the various errors -
* Tomcat is throwing errors on startup for all wars, immediately after
deploying oaiprovider.war -
INFO: Deploying web application archive oaiprovider.war
13/10/2009 10:36:36 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive saxon.war
13/10/2009 10:36:36 org.apache.catalina.startup.HostConfig deployWAR
SEVERE: Error deploying web application archive saxon.war
org.apache.commons.logging.LogConfigurationException:
java.lang.ClassNotFoundException: org.apache.commons.logging.impl.Log4jFactory
(Caused by java.lang.ClassNotFoundException:
org.apache.commons.logging.impl.Log4jFactory)
at
org.apache.commons.logging.LogFactory.createFactory(LogFactory.java:1276) ...
* Proai.log seems to think all is well at time of installation
(although it doesn't find any records - understandable at this point, since
there were no demo objects loaded???? We do have other objects loaded, all with
a RELS-EXT) -
INFO 2009-10-13 10:08:35.017 [main] (RecordCache) Initializing Record Cache...
DEBUG 2009-10-13 10:08:35.017 [main] (RecordCache) Record Cache Initialized
DEBUG 2009-10-13 10:08:35.251 [main] (RecordCache) Got db connection from pool
after 234ms. Now idle = 0 and active = 1
DEBUG 2009-10-13 10:08:35.282 [main] (RecordCache) Released db connection to
pool. Now idle = 1 and active = 0
INFO 2009-10-13 10:08:35.329 [Thread-10] (Updater) Update cycle initiated
INFO 2009-10-13 10:08:35.345 [Thread-10] (Updater) Processing old records in
queue...
DEBUG 2009-10-13 10:08:35.345 [Thread-10] (RecordCache) Got db connection from
pool after 0ms. Now idle = 0 and active = 1
DEBUG 2009-10-13 10:08:35.361 [Thread-10] (RecordCache) Released db connection
to pool. Now idle = 1 and active = 0
INFO 2009-10-13 10:08:35.361 [Thread-10] (Updater) Queue is empty. No
processing needed.
* Proai.log seems to show that it it trying to poll regularly, but not
finding anything -
INFO 2009-10-13 10:08:35.329 [Thread-10] (Updater) Update cycle initiated
INFO 2009-10-13 10:08:35.345 [Thread-10] (Updater) Processing old records in
queue...
DEBUG 2009-10-13 10:08:35.345 [Thread-10] (RecordCache) Got db connection from
pool after 0ms. Now idle = 0 and active = 1
DEBUG 2009-10-13 10:08:35.361 [Thread-10] (RecordCache) Released db connection
to pool. Now idle = 1 and active = 0
INFO 2009-10-13 10:08:35.361 [Thread-10] (Updater) Queue is empty. No
processing needed.
DEBUG 2009-10-13 10:08:35.361 [Thread-10] (RecordCache) Got db connection from
pool after 0ms. Now idle = 0 and active = 1
DEBUG 2009-10-13 10:08:35.392 [Thread-10] (FedoraClient) FedoraClient is
getting http://localhost:8080/fedora/describe
INFO 2009-10-13 10:08:36.111 [Thread-10] (FedoraOAIDriver) Current date
reported by Fedora is 2009-10-12T23:08:36.000Z
INFO 2009-10-13 10:08:36.142 [Thread-10] (Updater) Starting update process;
source data of interest may have changed.
INFO 2009-10-13 10:08:36.142 [Thread-10] (Updater) Getting 'Identify' xml from
remote source...
DEBUG 2009-10-13 10:08:36.157 [Thread-10] (FedoraClient) FedoraClient is
getting http://localhost:8080/fedora/get/demo:MyRepository/Identify.xml
DEBUG 2009-10-13 10:08:36.626 [Thread-10] (RecordCache) Released db connection
to pool. Now idle = 1 and active = 0
ERROR 2009-10-13 10:08:36.626 [Thread-10] (Updater) Update cycle failed
proai.error.ServerException: Update cycle phase one aborted
at proai.cache.Updater.pollAndUpdate(Updater.java:280)
at proai.cache.Updater.run(Updater.java:95)
Caused by: proai.error.ServerException: Error writing stream to file in cache:
2009/10/13/10/08/36.142.xml
at proai.cache.RCDisk.write(RCDisk.java:84)
at proai.cache.Updater.updateIdentify(Updater.java:299)
at proai.cache.Updater.pollAndUpdate(Updater.java:254)
... 1 more
Caused by: proai.error.RepositoryException: Error getting identify.xml from
http://localhost:8080/fedora/get/demo:MyRepository/Identify.xml
at
fedora.services.oaiprovider.FedoraOAIDriver.write(FedoraOAIDriver.java:118)
at proai.cache.RCDisk.write(RCDisk.java:80)
... 3 more
Caused by: java.io.IOException: Request failed [404 Not Found]
at fedora.client.FedoraClient.get(FedoraClient.java:352)
at fedora.client.FedoraClient.get(FedoraClient.java:303)
at fedora.client.FedoraClient.get(FedoraClient.java:257)
at
fedora.services.oaiprovider.FedoraOAIDriver.write(FedoraOAIDriver.java:115)
... 4 more
Any suggestions?
TIA
Bernadette Houghton, Library Business Applications Developer
Deakin University Geelong Victoria 3217 Australia.
Phone: 03 5227 8230 International: +61 3 5227 8230
Fax: 03 5227 8000 International: +61 3 5227 8000
MSN: [email protected]
Email:
[email protected]<mailto:[email protected]>
Website: http://www.deakin.edu.au
<http://www.deakin.edu.au/>Deakin University CRICOS Provider Code 00113B (Vic)
Important Notice: The contents of this email are intended solely for the named
addressee and are confidential; any unauthorised use, reproduction or storage
of the contents is expressly prohibited. If you have received this email in
error, please delete it and any attachments immediately and advise the sender
by return email or telephone.
Deakin University does not warrant that this email and any attachments are
error or virus free
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users