javax.management.RuntimeErrorException: Error occured in RequiredModelMBean while trying to invoke operation testDatabaseConnection

Oracle Community | User648426-Oracle | 8 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola and rafael . Or join the community to write better ones.
  1. 0

    Error establing a connection using OCI driver

    Oracle Community | 8 years ago | User648426-Oracle
    javax.management.RuntimeErrorException: Error occured in RequiredModelMBean while trying to invoke operation testDatabaseConnection
  2. 0

    cant get OCI jdbc driver working on Mac OS X

    Oracle Community | 1 decade ago | 435101
    java.lang.UnsatisfiedLinkError: /Users/michaelm/other/oracle/product/10.1.0/client_1/lib/libocijdbc10.jnilib:
  3. 0
    samebug tip
    Caused by fail to load the necessary libraries. Try to reinstall the app.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    Check if you have the latest version of SQLCipher and look if you loaded the libraries correctly. More info on this comment: https://goo.gl/tQQ5NO
  6. 0
    samebug tip
    If you're using proguard, check if you correctly configured it, otherwise, just disable proguard. More on this here: https://goo.gl/FP500o

  1. iferca 1 times, last 1 month ago
  2. filpgame 1 times, last 2 months ago
  3. Adrien 6 times, last 2 months ago
  4. PKeidel 9 times, last 2 months ago
  5. rafael 3 times, last 1 month ago
32 more registered users
63 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.UnsatisfiedLinkError

    no ocijdbc10 in java.library.path

    at java.lang.ClassLoader.loadLibrary()
  2. Java RT
    System.loadLibrary
    1. java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
    2. java.lang.Runtime.loadLibrary0(Runtime.java:822)
    3. java.lang.System.loadLibrary(System.java:993)
    3 frames
  3. Oracle jdbc
    OracleDataSource.getConnection
    1. oracle.jdbc.driver.T2CConnection.loadNativeLibrary(T2CConnection.java:3013)
    2. oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:228)
    3. oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:430)
    4. oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:142)
    5. oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:79)
    6. oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:608)
    7. oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:218)
    8. oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:159)
    8 frames
  4. oracle.oc4j.sql
    DataSourceConnectionFactoryImpl.testConnection
    1. oracle.oc4j.sql.DataSourceConnectionPoolDataSource.getPooledConnection(DataSourceConnectionPoolDataSource.java:57)
    2. oracle.oc4j.sql.xa.EmulatedXADataSource.getXAConnection(EmulatedXADataSource.java:92)
    3. oracle.oc4j.sql.DataSourceConnectionFactoryImpl.testConnection(DataSourceConnectionFactoryImpl.java:148)
    3 frames
  5. oracle.oc4j.admin
    J2EEApplication.testDatabaseConnection
    1. oracle.oc4j.admin.management.mbeans.J2EEApplication.testDatabaseConnection(J2EEApplication.java:1979)
    1 frame
  6. Java RT
    RequiredModelMBean.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:585)
    5. sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36)
    6. sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
    7. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    8. java.lang.reflect.Method.invoke(Method.java:585)
    9. sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:243)
    10. javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1073)
    11. javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:954)
    11 frames
  7. oracle.oc4j.admin
    DefaultModelMBeanImpl.invoke
    1. oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke(DefaultModelMBeanImpl.java:700)
    1 frame
  8. Java RT
    JmxMBeanServer.invoke
    1. com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
    2. com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
    3. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
    4. com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
    4 frames
  9. oracle.oc4j.admin
    LocalizationFilterMBeanServer.invoke
    1. oracle.oc4j.admin.jmx.server.state.ApplicationStateFilterMBeanServer.invoke(ApplicationStateFilterMBeanServer.java:572)
    2. oracle.oc4j.admin.jmx.shared.UserMBeanServer.invoke(UserMBeanServer.java:634)
    3. oracle.oc4j.admin.jmx.server.state.LocalizationFilterMBeanServer.invoke(LocalizationFilterMBeanServer.java:579)
    3 frames
  10. oracle.sysman.ias
    AbstractController.handleEvent
    1. oracle.sysman.ias.studio.jmx.spi.JMXConnectorImpl.invoke(JMXConnectorImpl.java:389)
    2. oracle.sysman.ias.studio.sdk.SDKJMXUtil.invokeOperation(SDKJMXUtil.java:413)
    3. oracle.sysman.ias.studio.oc4j.jdbc.JMXTestNewConnectionAdminBean.testConnection(JMXTestNewConnectionAdminBean.java:79)
    4. oracle.sysman.ias.studio.oc4j.jdbc.JMXCreateCPAdminBean.testConnection(JMXCreateCPAdminBean.java:214)
    5. oracle.sysman.ias.studio.oc4j.jdbc.CreateCPHelper.handleEvent(CreateCPHelper.java:200)
    6. oracle.sysman.ias.studio.sdk.AbstractController.handleEvent(AbstractController.java:769)
    6 frames
  11. oracle.sysman.emSDK
    EMServlet.doGet
    1. oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:378)
    2. oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:765)
    3. oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:283)
    3 frames
  12. oracle.sysman.ias
    StudioConsole.doGet
    1. oracle.sysman.ias.studio.app.StudioConsole.doGet(StudioConsole.java:385)
    1 frame
  13. oracle.cabo.servlet
    UIXServlet.doPost
    1. oracle.cabo.servlet.UIXServlet.doPost(Unknown Source)
    1 frame
  14. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    2 frames
  15. com.evermind.server
    ResourceFilterChain.doFilter
    1. com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    1 frame
  16. oracle.sysman.ias
    BrowserVersionFilter.doFilter
    1. oracle.sysman.ias.studio.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:75)
    1 frame
  17. com.evermind.server
    EvermindFilterChain.doFilter
    1. com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    1 frame
  18. oracle.sysman.ias
    MultipleJVMFilter.doFilter
    1. oracle.sysman.ias.studio.app.MultipleJVMFilter.doFilter(MultipleJVMFilter.java:85)
    1 frame
  19. com.evermind.server
    EvermindFilterChain.doFilter
    1. com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    1 frame
  20. oracle.sysman.ias
    PostLogonFilter.doFilter
    1. oracle.sysman.ias.studio.app.PostLogonFilter.doFilter(PostLogonFilter.java:80)
    1 frame
  21. com.evermind.server
    EvermindFilterChain.doFilter
    1. com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    1 frame
  22. oracle.sysman.ias
    ShortHostnameRedirectFilter.doFilter
    1. oracle.sysman.ias.studio.app.ShortHostnameRedirectFilter.doFilter(ShortHostnameRedirectFilter.java:68)
    1 frame
  23. com.evermind.server
    HttpRequestHandler.run
    1. com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    2. com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    3. com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    4. com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    5. com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    6. com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    7. com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    7 frames
  24. oracle.oc4j.network
    ServerSocketReadHandler$SafeRunnable.run
    1. oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    1 frame
  25. com.evermind.util
    ReleasableResourcePooledExecutor$MyWorker.run
    1. com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    1 frame
  26. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:595)
    1 frame