Hello,
I am attempting to use the REST API against a test repository. I am  
using dspace 1.8.0 and Oracle express.  My repository is working fine  
(using the xmlui, I can add, change, and view communities,  
collections, and items).  I've checked out and built the REST API  
after having changed its web.xml to point at my dspace.cfg. I can get  
to all the documentation (e.g.,  
http://192.168.56.111:8008/rest/describe and yes, I am using port 8008  
since oracle apex is listening on 8080). When I attempt to retrieve  
any communities (e.g.,  
http://192.168.56.111:8008/rest/communities.xml), collections, or  
items, in either json or xml format, I get 500 - Internal server  
errors.  The tomcat (v6.0.33) log shows:

Setting the REST servlet context to: /rest
Setting the manager servlet context to: /rest
stor2/communities.xml
WARN Could not process entity: SQL error (500)[null]: Internal server error

The dspace log shows:

2012-02-22 10:45:55,996 WARN  org.dspace.storage.rdbms.DataSourceInit  
@ Exception initializing DB pool
java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
         at  
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
         at  
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:186)
         at  
org.dspace.storage.rdbms.DataSourceInit.getDatasource(DataSourceInit.java:38)
         at  
org.dspace.storage.rdbms.DatabaseManager.initialize(DatabaseManager.java:1513)
         at  
org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:585)
         at org.dspace.core.Context.<init>(Context.java:95)
.
.
.
I've set the logging level to FINE and verified that the proper  
dspace.cfg is working. I've searched the dspace open issue database  
and the web but haven't found anything.

What am I missing? Any suggestions will be much appreciated.

Thanks very much,
Maury Bouchard
Simmons College, GSLIS



------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to