Skip to Main Content

ORDS, SODA & JSON in the Database

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Issues Installing ORDS With TomCat

Joseph UpshawAug 22 2014 — edited Aug 26 2014

TomCat 7.0.54

ORDS 2.0.9

I'm going through the steps in the documentation (Installing Oracle REST Data Services)to install and configure ORDS (which is a pretty simple set of steps). The install (unzip) and configuration went fine without any errors.

TomCat is up and I can reach the front page at http://hostname:8080

I can reach the apex images that were copied into webapps/i. For example, http://hostname:8080/i/oralogo.gif

As instructed, I've copied the ords.war file to the webapps folder in the tomcat directory.

However, when I then try to access the pages http://hostname:8080/ords I get a 404 error page

HTTP Status 404 - /ords


type Status report

message /ords

description The requested resource is not available.


Apache Tomcat/7.0.54

I know this is vague but, anyone have any ideas what could be wrong?

-Joe

Here is a snippet from TomCat's catalina log file (no idea what any of it means).

INFO: Using configuration folder: /var/opt/tomcat-7.0.54/webapps/i/ords/config/ords

Aug 22, 2014 5:30:19 PM oracle.dbtools.rt.web.SCListener contextInitialized

SEVERE: Error occurred while injecting: private oracle.dbtools.rt.oauth.bdb.Approvals oracle.dbtools.rt.oauth.builtin.BuiltIns.approvals

oracle.dbtools.common.service.ServiceLocatorException: Error occurred while injecting: private oracle.dbtools.rt.oauth.bdb.Approvals oracle.dbtools.rt.oauth.builtin.BuiltIns.approvals

        at oracle.dbtools.common.service.Provider.inject(Provider.java:161)

        at oracle.dbtools.common.service.Provider.inject(Provider.java:214)

        at oracle.dbtools.common.service.Provider.activate(Provider.java:43)

        at oracle.dbtools.common.service.Provider.activateIfImmediate(Provider.java:74)

        at oracle.dbtools.common.service.Providers.activateImmediates(Providers.java:20)

        at oracle.dbtools.common.service.ServiceLocator.activateImmediates(ServiceLocator.java:211)

        at oracle.dbtools.rt.web.SCListener.contextInitialized(SCListener.java:92)

        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973)

        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)

        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)

        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)

        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)

        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1083)

        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1880)

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)

        at java.util.concurrent.FutureTask.run(FutureTask.java:166)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

        at java.lang.Thread.run(Thread.java:722)

Caused by: oracle.dbtools.common.service.ServiceLocatorException: Error occurred while injecting: protected oracle.dbtools.rt.home.DataStore oracle.dbtools.rt.home.tenants.TenantEntityStorageProviderBase.stor

e

        at oracle.dbtools.common.service.Provider.inject(Provider.java:161)

        at oracle.dbtools.common.service.Provider.inject(Provider.java:214)

        at oracle.dbtools.common.service.Provider.activate(Provider.java:43)

        at oracle.dbtools.common.service.Provider.match(Provider.java:122)

        at oracle.dbtools.common.service.Providers.match(Providers.java:45)

        at oracle.dbtools.common.service.ServiceLocator.acquireAll(ServiceLocator.java:133)

        at oracle.dbtools.common.service.ServiceLocator.acquire(ServiceLocator.java:111)

        at oracle.dbtools.common.service.Provider.inject(Provider.java:150)

        ... 20 more

Caused by: oracle.dbtools.common.service.ServiceLocatorException: Exception occurred in activate() method

        at oracle.dbtools.common.service.Provider.activate(Provider.java:63)

        at oracle.dbtools.common.service.Provider.match(Provider.java:122)

        at oracle.dbtools.common.service.Providers.match(Providers.java:45)

        at oracle.dbtools.common.service.ServiceLocator.acquireAll(ServiceLocator.java:133)

        at oracle.dbtools.common.service.ServiceLocator.acquire(ServiceLocator.java:111)

        at oracle.dbtools.common.service.Provider.inject(Provider.java:150)

        ... 27 more

Caused by: java.lang.IllegalArgumentException: Environment home /var/opt/tomcat-7.0.54/webapps/i/ords/config/ords/bdb/ael-oWBBrd0gwqyoQpIUG_Z6Rw doesn't exist

        at com.sleepycat.je.log.FileManager.<init>(FileManager.java:346)

        at com.sleepycat.je.dbi.EnvironmentImpl.<init>(EnvironmentImpl.java:439)

        at com.sleepycat.je.dbi.EnvironmentImpl.<init>(EnvironmentImpl.java:341)

        at com.sleepycat.je.dbi.DbEnvPool.getEnvironment(DbEnvPool.java:181)

        at com.sleepycat.je.Environment.makeEnvironmentImpl(Environment.java:229)

        at com.sleepycat.je.Environment.<init>(Environment.java:211)

        at com.sleepycat.je.Environment.<init>(Environment.java:165)

        at oracle.dbtools.rt.home.DataStoreHelper.<init>(DataStoreHelper.java:38)

        at oracle.dbtools.rt.home.TransientDataStore.activate(TransientDataStore.java:82)

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

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:601)

        at oracle.dbtools.common.service.__Reflections.invoke(__Reflections.java:85)

        at oracle.dbtools.common.service.Provider.activate(Provider.java:47)

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Sep 23 2014
Added on Aug 22 2014
5 comments
4,184 views