org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Io exception: The Network Adapter could not establish the connection)

Oracle Community | 807567 | 1 decade ago
  1. 0

    Error regarding to the configuration of "Data Source" in Struts-config.xml

    Oracle Community | 1 decade ago | 807567
    org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Io exception: The Network Adapter could not establish the connection)
  2. 0

    db:: 4.43::Cannot create PoolableConnectionFactory da

    hivmr.com | 9 months ago
    org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Io exception: The Network Adapter could not establish the connection)
  3. 0

    How to use an Oracle RAC database? - Forums | Liferay

    liferay.com | 1 year ago
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SQuirreL SQL Client / Bugs / #1182 Unable to connect to database using oracle thin driver

    sourceforge.net | 1 year ago
    java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
  6. 0

    Cannot create PoolableConnectionFactory | Oracle Community

    oracle.com | 1 year ago
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection

  1. rp 1 times, last 2 weeks ago
26 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.sql.SQLException

    Io exception: The Network Adapter could not establish the connection

    at oracle.jdbc.dbaccess.DBError.throwSqlException()
  2. oracle.jdbc.dbaccess
    DBError.throwSqlException
    1. oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    2. oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
    3. oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:333)
    3 frames
  3. Oracle jdbc
    OracleDriver.connect
    1. oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:404)
    2. oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:468)
    3. oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:314)
    3 frames
  4. Commons DBCP
    BasicDataSource.setLogWriter
    1. org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:37)
    2. org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
    3. org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:877)
    4. org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:851)
    5. org.apache.commons.dbcp.BasicDataSource.setLogWriter(BasicDataSource.java:598)
    5 frames
  5. struts
    ActionServlet.init
    1. org.apache.struts.action.ActionServlet.initModuleDataSources(ActionServlet.java:808)
    2. org.apache.struts.action.ActionServlet.init(ActionServlet.java:335)
    2 frames
  6. JavaServlet
    GenericServlet.init
    1. javax.servlet.GenericServlet.init(GenericServlet.java:261)
    1 frame
  7. 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
  8. Glassfish Core
    SecurityUtil$1.run
    1. org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
    1 frame
  9. Java RT
    Subject.doAsPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    2. javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
    2 frames
  10. Glassfish Core
    StandardContext.start
    1. org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
    2. org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    3. org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:118)
    4. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1093)
    5. org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:931)
    6. org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4183)
    7. org.apache.catalina.core.StandardContext.start(StandardContext.java:4536)
    7 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.GeneratedMethodAccessor22.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.GeneratedMethodAccessor61.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:185)
    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