5 Replies Latest reply on Jun 19, 2020 7:31 PM by Juan S.

    Question about installing APEX and ORDS

    Juan S.

      Hi all,

       

      I'm new to ORDS and APEX and I've been asked to install both in order to run a complementary solution to ERP Cloud.

       

      I create the DB system (Oracle Vmstandard2.2) on OCI and I downloaded the ORDS and APEX installation files. I following along this doc: https://docs.oracle.com/en/database/oracle/oracle-rest-data-services/19.4/aelig/installing-REST-data-services.html#GUID-… and I got the following error when executing the java -jar ords.war install advanced command:

       

      ERROR

      [oracle@lacls ords19]$ java -jar ords.war install advanced

      2020-06-18T18:26:04.861Z SEVERE No provider found for:  requires oracle.dbtools.common.pools.legacy.ConfigurationFilesProvider

      oracle.dbtools.common.di.MissingDependencyException: No provider found for:  requires oracle.dbtools.common.pools.legacy.ConfigurationFilesProvider

              at oracle.dbtools.common.di.DependencyInjectionException.convert(DependencyInjectionException.java:56)

              at oracle.dbtools.common.di.Services.newInstance(Services.java:251)

              at oracle.dbtools.common.di.Services$SelfServices.newInstance(Services.java:532)

              at oracle.dbtools.cmdline.DefaultCommand.command(DefaultCommand.java:171)

              at oracle.dbtools.cmdline.DefaultCommand.execute(DefaultCommand.java:120)

              at oracle.dbtools.cmdline.Commands.execute(Commands.java:208)

              at oracle.dbtools.cmdline.Commands.main(Commands.java:164)

              at oracle.dbtools.cmdline.Commands.main(Commands.java:370)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

              at java.lang.reflect.Method.invoke(Unknown Source)

              at oracle.dbtools.jarcl.Entrypoint.invoke(Entrypoint.java:66)

              at oracle.dbtools.jarcl.Entrypoint.main(Entrypoint.java:77)

      Caused by: oracle.dbtools.injector.impl.MissingDependencyException: No provider found for:  requires oracle.dbtools.common.pools.legacy.ConfigurationFilesProvider

              at oracle.dbtools.injector.impl.MissingDependencyException.noProvider(MissingDependencyException.java:75)

              at oracle.dbtools.injector.impl.MissingDependencyException.noProvider(MissingDependencyException.java:62)

              at oracle.dbtools.injector.impl.DependencyInjectionException.instantationError(DependencyInjectionException.java:107)

              at oracle.dbtools.injector.impl.ServiceFactory.instantiate(ServiceFactory.java:122)

              at oracle.dbtools.injector.impl.ServiceFactory.access$300(ServiceFactory.java:29)

              at oracle.dbtools.injector.impl.ServiceFactory$ResolvedDependenciesFactory.newInstance(ServiceFactory.java:366)

              at oracle.dbtools.injector.impl.ServiceFactory$ResolvedSingletons.newInstance(ServiceFactory.java:393)

              at oracle.dbtools.injector.impl.SingletonsBase.get(SingletonsBase.java:35)

              at oracle.dbtools.injector.impl.ServiceFactory.resolveDependencies(ServiceFactory.java:244)

              at oracle.dbtools.injector.impl.ServiceFactory.instantiate(ServiceFactory.java:97)

              at oracle.dbtools.injector.impl.ServiceFactory.access$200(ServiceFactory.java:29)

              at oracle.dbtools.injector.impl.ServiceFactory$InstanceFactory.newInstance(ServiceFactory.java:348)

              at oracle.dbtools.injector.impl.Singletons.newInstance(Singletons.java:121)

              at oracle.dbtools.injector.impl.SingletonsBase.get(SingletonsBase.java:35)

              at oracle.dbtools.injector.impl.ServiceFactory.newInstance(ServiceFactory.java:55)

              at oracle.dbtools.injector.impl.InjectorImpl.newInstance(InjectorImpl.java:107)

              at oracle.dbtools.common.di.Services.newInstance(Services.java:249)

              ... 12 more

      Caused by: oracle.dbtools.plugin.api.types.TypeDependencyNotAvailableException: The type: (provides oracle.dbtools.common.pools.legacy.ConfigurationFilesProvider) could not be instantiated due to the following error: java.nio.file.AccessDeniedException: /u01/ords-19.4/ords

              at oracle.dbtools.plugin.api.types.TypeDependencyNotAvailableException.from(TypeDependencyNotAvailableException.java:92)

              at oracle.dbtools.plugin.api.types.TypeDependencyNotAvailableException.from(TypeDependencyNotAvailableException.java:40)

              at oracle.dbtools.plugin.api.types.TypeDependencies.newInstance(TypeDependencies.java:154)

              at oracle.dbtools.plugin.api.types.TypeReflections$ReflectiveInstantiator.load(TypeReflections.java:568)

              at oracle.dbtools.injector.impl.ServiceFactory.instantiate(ServiceFactory.java:119)

              ... 25 more

      Caused by: java.lang.IllegalStateException: java.nio.file.AccessDeniedException: /u01/ords-19.4/ords

              at oracle.dbtools.common.pools.legacy.ConfigurationFilesBase.ensureDefaultsExist(ConfigurationFilesBase.java:204)

              at oracle.dbtools.common.pools.legacy.ConfigurationFilesBase.<init>(ConfigurationFilesBase.java:47)

              at oracle.dbtools.common.pools.legacy.ConfigurationFilesProvider.<init>(ConfigurationFilesProvider.java:30)

              at java.lang.invoke.MethodHandle.invokeWithArguments(Unknown Source)

              at oracle.dbtools.plugin.api.types.TypeDependencies.newInstance(TypeDependencies.java:151)

              ... 27 more

      Caused by: java.nio.file.AccessDeniedException: /u01/ords-19.4/ords

              at sun.nio.fs.UnixException.translateToIOException(Unknown Source)

              at sun.nio.fs.UnixException.rethrowAsIOException(Unknown Source)

              at sun.nio.fs.UnixException.rethrowAsIOException(Unknown Source)

              at sun.nio.fs.UnixFileSystemProvider.createDirectory(Unknown Source)

              at java.nio.file.Files.createDirectory(Unknown Source)

              at java.nio.file.Files.createAndCheckIsDirectory(Unknown Source)

              at java.nio.file.Files.createDirectories(Unknown Source)

              at oracle.dbtools.common.util.Files.mkdirs(Files.java:359)

              at oracle.dbtools.common.pools.legacy.ConfigurationFilesBase.ensureDefaultsExist(ConfigurationFilesBase.java:202)

              ... 31 more

       

      The DB system version is 19c

      JDK is Java HotSpot(TM) 64-Bit Server VM (build 25.231-b11, mixed mode)

       

      Could you help me out?

       

      Thanks in advance.

      Juan