java.lang.UnsatisfiedLinkError: Native Library C:\oraclexe\app\oracle\product\10.2.0\server\BIN\ocijdbc10.dll already loaded in another classloader

Oracle Community | 807581 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Classloader problems

    Oracle Community | 1 decade ago | 807581
    java.lang.UnsatisfiedLinkError: Native Library C:\oraclexe\app\oracle\product\10.2.0\server\BIN\ocijdbc10.dll already loaded in another classloader
  2. 0

    JBoss7-UnsatisfiedLinkError: Native Library dll already loaded in another classloader

    Coderanch | 2 years ago | James Dinho
    java.lang.UnsatisfiedLinkError: Native Library C:\app\client\mypc\12.1.0\dbhome_1\bin\ocijdbc12.dll already loaded in another classloader
  3. 0

    Flyway connection fails with Oracle OCI

    Stack Overflow | 2 years ago | pipo_dev
    java.lang.UnsatisfiedLinkError: Native Library /Applications/oracle/product/instantclient_11_2_0_3_0/libocijdbc11.dylib already loaded in another classloader
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    getting java.lang.UnsatisfiedLinkError when trying to connect to oracle db

    Stack Overflow | 3 years ago | PeterYoshi
    java.lang.UnsatisfiedLinkError: C:\Users\Yeslan to the Coa\workspace\KWIKI\instantclient_11_2\ocijdbc11.dll: Can't find dependent libraries
  6. 0

    UnsatisfiedLinkError on Websphere Application Server 6.1 Data Source

    Stack Overflow | 7 years ago | user338154
    java.lang.UnsatisfiedLinkError: no ocijdbc10 in java.library.path

  1. Adrien 6 times, last 2 weeks ago
  2. PKeidel 9 times, last 1 month ago
  3. rafael 2 times, last 1 month ago
  4. Reich 7 times, last 1 month ago
  5. gamebusterz 1 times, last 2 months ago
31 more registered users
64 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

    Native Library C:\oraclexe\app\oracle\product\10.2.0\server\BIN\ocijdbc10.dll already loaded in another classloader

    at java.lang.ClassLoader.loadLibrary0()
  2. Java RT
    System.loadLibrary
    1. java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1551)
    2. java.lang.ClassLoader.loadLibrary(ClassLoader.java:1511)
    3. java.lang.Runtime.loadLibrary0(Runtime.java:788)
    4. java.lang.System.loadLibrary(System.java:834)
    4 frames
  3. Oracle jdbc
    T2CConnection$1.run
    1. oracle.jdbc.driver.T2CConnection$1.run(T2CConnection.java:3135)
    1 frame
  4. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  5. Oracle jdbc
    OracleOCIConnectionPool.setPoolConfig
    1. oracle.jdbc.driver.T2CConnection.loadNativeLibrary(T2CConnection.java:3131)
    2. oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:221)
    3. oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:414)
    4. oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:132)
    5. oracle.jdbc.driver.OracleOCIConnection.<init>(OracleOCIConnection.java:59)
    6. oracle.jdbc.driver.OracleOCIConnection.<init>(OracleOCIConnection.java:45)
    7. oracle.jdbc.oci.OracleOCIConnection.<init>(OracleOCIConnection.java:38)
    8. oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:71)
    9. oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
    10. oracle.jdbc.pool.OracleOCIConnectionPool.createConnectionPool(OracleOCIConnectionPool.java:893)
    11. oracle.jdbc.pool.OracleOCIConnectionPool.setPoolConfig(OracleOCIConnectionPool.java:494)
    11 frames
  6. Java RT
    Method.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:324)
    4 frames
  7. Spring Beans
    DefaultListableBeanFactory.preInstantiateSingletons
    1. org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:596)
    2. org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:469)
    3. org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:626)
    4. org.springframework.beans.BeanWrapperImpl.setPropertyValues(BeanWrapperImpl.java:653)
    5. org.springframework.beans.BeanWrapperImpl.setPropertyValues(BeanWrapperImpl.java:642)
    6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1023)
    7. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:824)
    8. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:345)
    9. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
    10. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
    11. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:275)
    11 frames
  8. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:320)
    1 frame
  9. Spring
    ContextLoaderListener.contextInitialized
    1. org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
    2. org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
    3. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
    4. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
    4 frames
  10. Glassfish Core
    StandardContext.start
    1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4010)
    2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4522)
    2 frames
  11. Glassfish
    WebModule.start
    1. com.sun.enterprise.web.WebModule.start(WebModule.java:241)
    1 frame
  12. Glassfish Core
    ContainerBase$PrivilegedAddChild.run
    1. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:827)
    2. org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:125)
    3. org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:147)
    3 frames
  13. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  14. Glassfish Core
    StandardHost.addChild
    1. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:809)
    2. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
    2 frames
  15. Glassfish
    WebContainer.loadWebModule
    1. com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1279)
    2. com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1006)
    2 frames
  16. com.sun.enterprise
    WebModuleDeployEventListener.moduleDeployed
    1. com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:160)
    2. com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:238)
    2 frames
  17. admin-util
    AdminEventMulticaster.multicastEvent
    1. com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:918)
    2. com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:905)
    3. com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:427)
    4. com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:139)
    4 frames
  18. com.sun.enterprise
    ApplicationsConfigMBean.start
    1. com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:288)
    2. com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:155)
    3. com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:258)
    4. com.sun.enterprise.deployment.phasing.StartPhase.runPhase(StartPhase.java:87)
    5. com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
    6. com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:633)
    7. com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:361)
    8. com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:396)
    9. com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:702)
    9 frames
  19. Java RT
    Method.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:324)
    4 frames
  20. GlassFish Admin
    MBeanHelper.invokeOperationInBean
    1. com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:302)
    1 frame
  21. com.sun.enterprise
    BaseConfigMBean.invoke
    1. com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:357)
    1 frame
  22. Java RT
    Method.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)
    5. sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
    6. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    7. java.lang.reflect.Method.invoke(Method.java:324)
    7 frames
  23. admin-util
    ProxyClass.invoke
    1. com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
    1 frame
  24. Unknown
    $Proxy1.invoke
    1. $Proxy1.invoke(Unknown Source)
    1 frame
  25. com.sun.enterprise
    RemoteJmxConnectorServlet.doPost
    1. com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:272)
    2. com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:38)
    3. com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:92)
    4. com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:69)
    5. com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:94)
    5 frames
  26. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:767)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
    2 frames
  27. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    3. java.lang.reflect.Method.invoke(Method.java:324)
    3 frames
  28. Glassfish Core
    SecurityUtil$1.run
    1. org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
    1 frame
  29. Java RT
    Subject.doAsPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    2. javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
    2 frames
  30. Glassfish Core
    ApplicationFilterChain$1.run
    1. org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
    2. org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    3. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
    4. org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    5. org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
    5 frames
  31. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  32. Glassfish Core
    ContainerBase.invoke
    1. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    2. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
    3. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    4. org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
    5. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
    6. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    7. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
    8. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
    10. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    11. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
    11 frames
  33. org.apache.coyote
    CoyoteAdapter.service
    1. org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:184)
    1 frame
  34. Glassfish Core
    WorkerThread.run
    1. com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)
    2. com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)
    3. com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403)
    4. com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)
    4 frames