Dear all

I try to install Dspace-CRIS but I *restart* tomcat after error



Installation environment

      jdk1.8.0_101
      postgresSQL 9.4
      tomcat 8.0.37    
     dspace-cris 5_x_x  => use   
https://github.com/Cineca/DSpace/tree/dspace-5_x_x-cris


catalina.log 

 [localhost-startStop-1] 
org.dspace.storage.rdbms.DatabaseManager.getDataSource SQL getDataSource 
Error - 
 java.sql.SQLException: org.postgresql.util.PSQLException: ������������: 
������������������������������ non-replication superuser
    at 
org.dspace.storage.rdbms.DataSourceInit.getDatasource(DataSourceInit.java:171)
    at 
org.dspace.storage.rdbms.DatabaseManager.initDataSource(DatabaseManager.java:1516)
    at 
org.dspace.storage.rdbms.DatabaseManager.initialize(DatabaseManager.java:1409)
    at 
org.dspace.storage.rdbms.DatabaseManager.getDataSource(DatabaseManager.java:724)
    at 
org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:703)
    at org.dspace.core.Context.init(Context.java:155)
    at org.dspace.core.Context.<init>(Context.java:129)
    at 
org.dspace.app.util.AbstractDSpaceWebapp.register(AbstractDSpaceWebapp.java:80)
    at 
org.dspace.app.util.DSpaceContextListener.contextInitialized(DSpaceContextListener.java:128)
    at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4853)
    at 
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
    at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
    at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
    at 
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1092)
    at 
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1834)
    at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
Caused by: org.postgresql.util.PSQLException: ������������: 
������������������������������ non-replication superuser
    at org.postgresql.Driver$ConnectThread.getResult(Driver.java:348)
    at org.postgresql.Driver.connect(Driver.java:271)
    at java.sql.DriverManager.getConnection(DriverManager.java:664)
    at java.sql.DriverManager.getConnection(DriverManager.java:247)
    at 
org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:75)
    at 
org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
    at 
org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1188)
    at 
org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:106)
    at 
org.dspace.storage.rdbms.DataSourceInit.getDatasource(DataSourceInit.java:140)
    ... 21 more



[localhost-startStop-1] 
org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The 
web application [oai] registered the JDBC driver [org.postgresql.Driver] 
but failed to unregister it when the web application was stopped. To 
prevent a memory leak, the JDBC Driver has been forcibly unregistered.
 
警告 [localhost-startStop-1] 
org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The 
web application [oai] registered the JDBC driver [org.postgresql.Driver] 
but failed to unregister it when the web application was stopped. To 
prevent a memory leak, the JDBC Driver has been forcibly unregistered.

警告 [localhost-startStop-1] 
org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The 
web application [oai] appears to have started a thread named 
[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0] but has 
failed to stop it. This is very likely to create a memory leak. Stack trace 
of thread:
 java.lang.Thread.sleep(Native Method)
 
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805)
 
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)



I don't know what i'm doing wrong... 
Thanks in advance!!

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to