Hi Krishna,

Krishna wrote:
>  
> I am trying a java program to insert an item into DSpace but i am 
> getting the below exceptions:

The information you're getting doesn't really help narrow it down much 
unfortunately. The DatabaseManager is failing to initialize and there 
are a whole host of reasons why that might happen. Try creating a 
log4j.properties file like the listing below and including it on the 
classpath when you run your program: -

log4j.rootLogger=DEBUG, A1

log4j.appender.A1=org.apache.log4j.ConsoleAppender
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n

Hopefully that will give you more information on the root exception.

Best regards,

jim


PS Please include relevant version information (in this case DSpace, 
PostgreSQL and PostgreSQL driver)

PPS Reposting after just a day is usually considered a little impatient 
on most OS support lists!

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to