Dear Andrea Bollini I am sorry that my English is not good
I deleted all the databases and users on the postgreSQL after that I try again dspace-cris The test was successful . Thank :D Bollini Andrea於 2016年11月10日星期四 UTC+8上午5時39分29秒寫道: > > Hi 陳彥棠, > > it looks to me as a database connectivity issue. Maybe you have too much > databases and users on the same postgres instance and it is not possible to > establish new connections. Check the postgres server status (it can be > easily done using pgAdmin). Unfortunately there are some locale specific > message in your log that I'm unable to check. > > Please note that the current maintained code for DSpace-CRIS can be found > here: > > https://github.com/4Science/DSpace/tree/dspace-5_x_x-cris > > Andrea > > > > Il 08/11/2016 07:36, 陳彥棠 ha scritto: > > 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] <javascript:>. > To post to this group, send email to [email protected] > <javascript:>. > Visit this group at https://groups.google.com/group/dspace-tech. > For more options, visit https://groups.google.com/d/optout. > > > -- > Andrea Bollini > Chief Technology and Innovation Officer > > 4Science, www.4science.it > office: Via Edoardo D'Onofrio 304, 00155 Roma, Italy > mobile: +39 333 934 1808 > skype: a.bollini > linkedin: andreabollini > orcid: 0000-0002-9029-1854 > > an Itway Group Company > Italy, France, Spain, Portugal, Greece, Turkey, Lebanon, Qatar, U.A.Emirates > > -- 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.
