Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. The Network Adapter could not establish the connection

The Network Adapter could not establish the connection

Scheduled Pinned Locked Moved Database
javadatabasecomsysadminhelp
7 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    Ish Kapila
    wrote on last edited by
    #1

    Hello All , I am getting the error message while opening the application. 2011-04-25 20:04:18,786 ERROR [[/adassetupdater]] Exception sending context initialized event to listener instance of class com.drutt.opensurf.tpim.servlet.Configuratio nLoader java.lang.RuntimeException: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection at com.drutt.util.jdbc.PooledConnectionManager.ensureCapacity(PooledConnectionManager.java:275) at com.drutt.util.jdbc.PooledConnectionManager.configure(PooledConnectionManager.java:165) at com.drutt.util.ConfigurationImpl$FactoryImpl.create(ConfigurationImpl.java:679) at com.drutt.mgen.arch.impl.AbstractManager.configure(AbstractManager.java:85) at com.drutt.util.ConfigurationImpl$FactoryImpl.create(ConfigurationImpl.java:679) at com.drutt.util.ConfigurationImpl$Record.createInstance(ConfigurationImpl.java:873)

    Ish Kumar Kapila

    D J L 3 Replies Last reply
    0
    • I Ish Kapila

      Hello All , I am getting the error message while opening the application. 2011-04-25 20:04:18,786 ERROR [[/adassetupdater]] Exception sending context initialized event to listener instance of class com.drutt.opensurf.tpim.servlet.Configuratio nLoader java.lang.RuntimeException: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection at com.drutt.util.jdbc.PooledConnectionManager.ensureCapacity(PooledConnectionManager.java:275) at com.drutt.util.jdbc.PooledConnectionManager.configure(PooledConnectionManager.java:165) at com.drutt.util.ConfigurationImpl$FactoryImpl.create(ConfigurationImpl.java:679) at com.drutt.mgen.arch.impl.AbstractManager.configure(AbstractManager.java:85) at com.drutt.util.ConfigurationImpl$FactoryImpl.create(ConfigurationImpl.java:679) at com.drutt.util.ConfigurationImpl$Record.createInstance(ConfigurationImpl.java:873)

      Ish Kumar Kapila

      D Offline
      D Offline
      dan sh
      wrote on last edited by
      #2

      It seems there is something wrong with the connection string. Can you verify if it is correct?

      "Your code will never work, Luc's always will.", Richard MacCutchan[^]

      I 1 Reply Last reply
      0
      • D dan sh

        It seems there is something wrong with the connection string. Can you verify if it is correct?

        "Your code will never work, Luc's always will.", Richard MacCutchan[^]

        I Offline
        I Offline
        Ish Kapila
        wrote on last edited by
        #3

        It is giving error could not connect to the portal database. Please us the following string to connect jdbc:oracle:thin:msdp/msdp@192.168.56.1:1521:orcl do not use where to use this and of no help :(

        Ish Kumar Kapila

        D 1 Reply Last reply
        0
        • I Ish Kapila

          It is giving error could not connect to the portal database. Please us the following string to connect jdbc:oracle:thin:msdp/msdp@192.168.56.1:1521:orcl do not use where to use this and of no help :(

          Ish Kumar Kapila

          D Offline
          D Offline
          dan sh
          wrote on last edited by
          #4

          Is that a correct IP? Try connecting using serverName@DomainName instead. Was there any change made to the database server recently?

          "Your code will never work, Luc's always will.", Richard MacCutchan[^]

          I 1 Reply Last reply
          0
          • D dan sh

            Is that a correct IP? Try connecting using serverName@DomainName instead. Was there any change made to the database server recently?

            "Your code will never work, Luc's always will.", Richard MacCutchan[^]

            I Offline
            I Offline
            Ish Kapila
            wrote on last edited by
            #5

            No change was made , and can u tell me where to use the format you mentioned.

            Ish Kumar Kapila

            1 Reply Last reply
            0
            • I Ish Kapila

              Hello All , I am getting the error message while opening the application. 2011-04-25 20:04:18,786 ERROR [[/adassetupdater]] Exception sending context initialized event to listener instance of class com.drutt.opensurf.tpim.servlet.Configuratio nLoader java.lang.RuntimeException: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection at com.drutt.util.jdbc.PooledConnectionManager.ensureCapacity(PooledConnectionManager.java:275) at com.drutt.util.jdbc.PooledConnectionManager.configure(PooledConnectionManager.java:165) at com.drutt.util.ConfigurationImpl$FactoryImpl.create(ConfigurationImpl.java:679) at com.drutt.mgen.arch.impl.AbstractManager.configure(AbstractManager.java:85) at com.drutt.util.ConfigurationImpl$FactoryImpl.create(ConfigurationImpl.java:679) at com.drutt.util.ConfigurationImpl$Record.createInstance(ConfigurationImpl.java:873)

              Ish Kumar Kapila

              J Offline
              J Offline
              jschell
              wrote on last edited by
              #6

              Are you writing code or running an application provided by someone else? If you yourself are writing code then either you wrote some java code that created a JDBC connection or you configured a JEE server/container to do the same. Thus you know where the connection string is or you need to find out. If instead you are running an application (one you did not create) then you need to contact the vendor of the application and/or read the documentation of the application to determine how to correctly use it. The error message indicates that the connection string, which is something you should be familar with in the first case is not set to value that allows it to establish a connection OR there is a network problem between the client box and the database box.

              1 Reply Last reply
              0
              • I Ish Kapila

                Hello All , I am getting the error message while opening the application. 2011-04-25 20:04:18,786 ERROR [[/adassetupdater]] Exception sending context initialized event to listener instance of class com.drutt.opensurf.tpim.servlet.Configuratio nLoader java.lang.RuntimeException: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection at com.drutt.util.jdbc.PooledConnectionManager.ensureCapacity(PooledConnectionManager.java:275) at com.drutt.util.jdbc.PooledConnectionManager.configure(PooledConnectionManager.java:165) at com.drutt.util.ConfigurationImpl$FactoryImpl.create(ConfigurationImpl.java:679) at com.drutt.mgen.arch.impl.AbstractManager.configure(AbstractManager.java:85) at com.drutt.util.ConfigurationImpl$FactoryImpl.create(ConfigurationImpl.java:679) at com.drutt.util.ConfigurationImpl$Record.createInstance(ConfigurationImpl.java:873)

                Ish Kumar Kapila

                L Offline
                L Offline
                loveangel888
                wrote on last edited by
                #7

                Maybe you should first check if the listener for the oracle database has started yet. Then the connection string.

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups