I'm installing dspace 7.2 backend on Suse with an Oracle server on another
machine.

After the *ant fresh_install* command, the following database error occurs:



*dspace@dspace:/data/dspace-src-backend/dspace/target/dspace-installer> ant
fresh_install*

























































*Buildfile:
/data/dspace-src-backend/dspace/target/dspace-installer/build.xmlinit_installation:prepare_configs:
  [mkdir] Created dir:
/data/dspace-src-backend/dspace/target/dspace-installer/config-temp
 [copy] Copying 193 files to
/data/dspace-src-backend/dspace/target/dspace-installer/config-temp
 [copy] Copying 1 file to
/data/dspace-src-backend/dspace/target/dspace-installer/config-temp
 [copy] Copying 14 files to
/data/dspace-src-backend/dspace/target/dspace-installer/config-tempinit_configs:
   [copy] Copying 1 file to /dspace/config   [delete] Deleting directory
/data/dspace-src-backend/dspace/target/dspace-installer/config-temptest_database:
   [java] 2022-06-08 18:44:49,681 WARN
 org.dspace.servicemanager.DSpaceServiceManager @ Unable to locate bean by
name or id=database. Will try to look up bean by type next.     [java]
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
named 'database' available     [java]     at
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:816)
~[spring-beans-5.2.20.RELEASE.jar:5.2.20.RELEASE]     [java]     at
org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1288)
~[spring-beans-5.2.20.RELEASE.jar:5.2.20.RELEASE]     [java]     at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
~[spring-beans-5.2.20.RELEASE.jar:5.2.20.RELEASE]     [java]     at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:207)
~[spring-beans-5.2.20.RELEASE.jar:5.2.20.RELEASE]     [java]     at
org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1115)
~[spring-context-5.2.20.RELEASE.jar:5.2.20.RELEASE]     [java]     at
org.dspace.servicemanager.DSpaceServiceManager.getServiceByName(DSpaceServiceManager.java:426)
[dspace-services-7.2.1.jar:7.2.1]     [java]     at
org.dspace.scripts.ScriptServiceImpl.getScriptConfiguration(ScriptServiceImpl.java:33)
[dspace-api-7.2.1.jar:7.2.1]     [java]     at
org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:125)
[dspace-api-7.2.1.jar:7.2.1]     [java]     at
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:98)
[dspace-api-7.2.1.jar:7.2.1]     [java] Caught exception:     [java]
java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
   [java]     [java]     at
oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:447)     [java]
  at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
 [java]     at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:951)
   [java]     at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:513)
   [java]     at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:227)
 [java]     at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
 [java]     at
oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:208)
   [java]     at
oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:886)
   [java]     at
oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1175)
   [java]     at
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1296)
   [java]     at
oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3613)
   [java]     at
oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3657)
   [java]     at
oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1495)
   [java]     at
org.apache.commons.dbcp2.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:122)
   [java]     at
org.apache.commons.dbcp2.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:122)
   [java]     at
org.dspace.storage.rdbms.DatabaseUtils.getCurrentFlywayState(DatabaseUtils.java:1414)
   [java]     at
org.dspace.storage.rdbms.FlywayUpgradeUtils.upgradeFlywayTable(FlywayUpgradeUtils.java:83)
   [java]     at
org.dspace.storage.rdbms.DatabaseUtils.main(DatabaseUtils.java:112)
 [java]     at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)     [java]     at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
   [java]     at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   [java]     at
java.base/java.lang.reflect.Method.invoke(Method.java:568)     [java]
at
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:277)
   [java]     at
org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:133)
   [java]     at
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:98)
 [java] 2022-06-08 18:44:50,182 WARN
 org.dspace.services.sessions.StatelessRequestServiceImpl @ Request
interceptor
(org.dspace.services.events.SystemEventService$EventRequestInterceptor@22848820)
failed to execute on end (request-16-1654724689695): Cannot invoke
"org.dspace.services.model.Cache.getKeys()" because "queueCache" is
nullBUILD
FAILED/data/dspace-src-backend/dspace/target/dspace-installer/build.xml:770:
Java returned: 1*

*Total time: 5 seconds*

Has anyone had this problem and managed to solve it?
Thanks in advance for any help.

Aroldo Rique
Recife/Brasil

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CACKFi%2Bc8a0TCLOYzJqJ0aphrNr50%3DnZzEkOaWciaDPtY9OgFMw%40mail.gmail.com.

Reply via email to