This discussion is archived
2 Replies Latest reply: Apr 6, 2012 9:35 AM by 916827 RSS

com.sleepycat.je.EnvironmentFailureException after VMware tools upgrade

916827 Newbie
Currently Being Moderated
Hi All,

My APEX server lives on a Linux VM. I recently upgraded our VM environment which upgraded the VMware tools on the APEX VM. After the upgraded when I try to access APEX I get a HTTP Status 500 page with the following error:

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

oracle.dbtools.rt.service.ServiceLocatorException: Exception occurred in activate() method
     oracle.dbtools.rt.service.Provider.activate(Provider.java:56)
     oracle.dbtools.rt.service.Provider.match(Provider.java:111)
     oracle.dbtools.rt.service.Providers.match(Providers.java:22)
     oracle.dbtools.rt.service.ServiceLocator.acquireAll(ServiceLocator.java:97)
     oracle.dbtools.rt.service.ServiceLocator.acquire(ServiceLocator.java:74)
     oracle.dbtools.rt.service.Provider.inject(Provider.java:137)
     oracle.dbtools.rt.service.Provider.activate(Provider.java:39)
     oracle.dbtools.rt.service.Provider.match(Provider.java:111)
     oracle.dbtools.rt.service.Providers.match(Providers.java:22)
     oracle.dbtools.rt.service.ServiceLocator.acquireAll(ServiceLocator.java:97)
     oracle.dbtools.rt.service.ServiceLocator.acquire(ServiceLocator.java:74)
     oracle.dbtools.rt.service.Provider.inject(Provider.java:137)
     oracle.dbtools.rt.service.Provider.activate(Provider.java:39)
     oracle.dbtools.rt.service.Provider.match(Provider.java:111)
     oracle.dbtools.rt.service.Providers.match(Providers.java:22)
     oracle.dbtools.rt.service.ServiceLocator.acquireAll(ServiceLocator.java:97)
     oracle.dbtools.rt.service.ServiceLocator.acquireAll(ServiceLocator.java:104)
     oracle.dbtools.rt.web.RequestDispatchers.choose(RequestDispatchers.java:85)
     oracle.dbtools.rt.web.RequestDispatchers.dispatch(RequestDispatchers.java:52)
     oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:85)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

root cause

com.sleepycat.je.EnvironmentFailureException: (JE 4.0.103) Problem creating output files in: /var/lib/tomcat6/conf/apex/bdb/je.info UNEXPECTED_EXCEPTION: Unexpected internal Exception, may have side effects.
     com.sleepycat.je.EnvironmentFailureException.unexpectedException(EnvironmentFailureException.java:316)
     com.sleepycat.je.dbi.EnvironmentImpl.initFileHandler(EnvironmentImpl.java:1329)
     com.sleepycat.je.dbi.EnvironmentImpl.<init>(EnvironmentImpl.java:429)
     com.sleepycat.je.dbi.EnvironmentImpl.<init>(EnvironmentImpl.java:341)
     com.sleepycat.je.dbi.DbEnvPool.getEnvironment(DbEnvPool.java:181)
     com.sleepycat.je.Environment.makeEnvironmentImpl(Environment.java:229)
     com.sleepycat.je.Environment.<init>(Environment.java:211)
     com.sleepycat.je.Environment.<init>(Environment.java:165)
     oracle.dbtools.rt.home.DataStore.activate(DataStore.java:56)
     sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
     sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     java.lang.reflect.Method.invoke(Method.java:616)
     oracle.dbtools.rt.service.__Reflections.invoke(__Reflections.java:85)
     oracle.dbtools.rt.service.Provider.activate(Provider.java:43)
     oracle.dbtools.rt.service.Provider.match(Provider.java:111)
     oracle.dbtools.rt.service.Providers.match(Providers.java:22)
     oracle.dbtools.rt.service.ServiceLocator.acquireAll(ServiceLocator.java:97)
     oracle.dbtools.rt.service.ServiceLocator.acquire(ServiceLocator.java:74)
     oracle.dbtools.rt.service.Provider.inject(Provider.java:137)
     oracle.dbtools.rt.service.Provider.activate(Provider.java:39)
     oracle.dbtools.rt.service.Provider.match(Provider.java:111)
     oracle.dbtools.rt.service.Providers.match(Providers.java:22)
     oracle.dbtools.rt.service.ServiceLocator.acquireAll(ServiceLocator.java:97)
     oracle.dbtools.rt.service.ServiceLocator.acquire(ServiceLocator.java:74)
     oracle.dbtools.rt.service.Provider.inject(Provider.java:137)
     oracle.dbtools.rt.service.Provider.activate(Provider.java:39)
     oracle.dbtools.rt.service.Provider.match(Provider.java:111)
     oracle.dbtools.rt.service.Providers.match(Providers.java:22)
     oracle.dbtools.rt.service.ServiceLocator.acquireAll(ServiceLocator.java:97)
     oracle.dbtools.rt.service.ServiceLocator.acquireAll(ServiceLocator.java:104)
     oracle.dbtools.rt.web.RequestDispatchers.choose(RequestDispatchers.java:85)
     oracle.dbtools.rt.web.RequestDispatchers.dispatch(RequestDispatchers.java:52)
     oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:85)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

root cause

java.io.IOException: Couldn't get lock for /var/lib/tomcat6/conf/apex/bdb/je.info
     java.util.logging.FileHandler.openFiles(FileHandler.java:389)
     java.util.logging.FileHandler.<init>(FileHandler.java:363)
     com.sleepycat.je.util.FileHandler.<init>(FileHandler.java:54)
     com.sleepycat.je.dbi.EnvironmentImpl.initFileHandler(EnvironmentImpl.java:1323)
     com.sleepycat.je.dbi.EnvironmentImpl.<init>(EnvironmentImpl.java:429)
     com.sleepycat.je.dbi.EnvironmentImpl.<init>(EnvironmentImpl.java:341)
     com.sleepycat.je.dbi.DbEnvPool.getEnvironment(DbEnvPool.java:181)
     com.sleepycat.je.Environment.makeEnvironmentImpl(Environment.java:229)
     com.sleepycat.je.Environment.<init>(Environment.java:211)
     com.sleepycat.je.Environment.<init>(Environment.java:165)
     oracle.dbtools.rt.home.DataStore.activate(DataStore.java:56)
     sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
     sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     java.lang.reflect.Method.invoke(Method.java:616)
     oracle.dbtools.rt.service.__Reflections.invoke(__Reflections.java:85)
     oracle.dbtools.rt.service.Provider.activate(Provider.java:43)
     oracle.dbtools.rt.service.Provider.match(Provider.java:111)
     oracle.dbtools.rt.service.Providers.match(Providers.java:22)
     oracle.dbtools.rt.service.ServiceLocator.acquireAll(ServiceLocator.java:97)
     oracle.dbtools.rt.service.ServiceLocator.acquire(ServiceLocator.java:74)
     oracle.dbtools.rt.service.Provider.inject(Provider.java:137)
     oracle.dbtools.rt.service.Provider.activate(Provider.java:39)
     oracle.dbtools.rt.service.Provider.match(Provider.java:111)
     oracle.dbtools.rt.service.Providers.match(Providers.java:22)
     oracle.dbtools.rt.service.ServiceLocator.acquireAll(ServiceLocator.java:97)
     oracle.dbtools.rt.service.ServiceLocator.acquire(ServiceLocator.java:74)
     oracle.dbtools.rt.service.Provider.inject(Provider.java:137)
     oracle.dbtools.rt.service.Provider.activate(Provider.java:39)
     oracle.dbtools.rt.service.Provider.match(Provider.java:111)
     oracle.dbtools.rt.service.Providers.match(Providers.java:22)
     oracle.dbtools.rt.service.ServiceLocator.acquireAll(ServiceLocator.java:97)
     oracle.dbtools.rt.service.ServiceLocator.acquireAll(ServiceLocator.java:104)
     oracle.dbtools.rt.web.RequestDispatchers.choose(RequestDispatchers.java:85)
     oracle.dbtools.rt.web.RequestDispatchers.dispatch(RequestDispatchers.java:52)
     oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:85)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

Can anyone help me decipher this issue?

Thank you!
  • 1. Re: com.sleepycat.je.EnvironmentFailureException after VMware tools upgrade
    greybird Expert
    Currently Being Moderated
    Hi,

    We can't support APEX here, so you should really re-post to the forum for that product. We know nothing about it.
    java.io.IOException: Couldn't get lock for /var/lib/tomcat6/conf/apex/bdb/je.info
    Perhaps file permissions are wrong or two processes are running.

    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
  • 2. Re: com.sleepycat.je.EnvironmentFailureException after VMware tools upgrade
    916827 Newbie
    Currently Being Moderated
    Ooops, I will repost with APEX. Thanks for you suggestions.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points