java.sql.SQLException

JNDI Package failure javax.naming.CommunicationException: localhost:389 \[Root exception is java.net.ConnectException: Connection refused: connect\]

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web94

  • via schemaspy by clausfod
    ,
  • via Unknown by Unknown author,
  • Stack trace

    • java.sql.SQLException: JNDI Package failure javax.naming.CommunicationException: localhost:389 \[Root exception is java.net.ConnectException: Connection refused: connect\] at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:412) at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:531) at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:221) at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:503) at net.sourceforge.schemaspy.SchemaAnalyzer.getConnection(SchemaAnalyzer.java:582) at net.sourceforge.schemaspy.SchemaAnalyzer.analyze(SchemaAnalyzer.java:157) at net.sourceforge.schemaspy.Main.main(Main.java:42) Caused by: oracle.net.ns.NetException: JNDI Package failure javax.naming.CommunicationException: localhost:389 \[Root exception is java.net.ConnectException: Connection refused: connect\] at oracle.net.jndi.JndiAttrs.<init>(JndiAttrs.java:159) at oracle.net.resolver.AddrResolution.<init>(AddrResolution.java:190) at oracle.net.ns.NSProtocol.connect(NSProtocol.java:216) at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1042) at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:301) ... 7 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    tomthomastomthomas
    Once,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    8 more bugmates