Get Data Moving 1
Results 1 to 8 of 8

Thread: What does the error "[J0014] Return code is -2,220" mean?

  1. #1
    ehan is offline Junior Member
    Join Date
    Jun 2008
    Posts
    8
    Rep Power
    0

    What does the error "[J0014] Return code is -2,220" mean?

    does anyone know what this return code is?
    Last edited by DrorHarari; 01-29-2009 at 05:05 AM.

  2. #2
    ehan is offline Junior Member
    Join Date
    Jun 2008
    Posts
    8
    Rep Power
    0

    Stack Trace

    java.sql.SQLException: [J0014] Return code is -2,220. .
    at com.attunity.jdbc.NvSQLWarning.createSQLException( Unknown Source)
    at com.attunity.comm.Server.checkCallRetOld(Unknown Source)
    at com.attunity.navapi.SysTdp.bindTdpAndDestroy(Unkno wn Source)
    at com.attunity.jdbc.NvConnectionBase.open(Unknown Source)
    at com.attunity.jdbc.NvConnectPropertiesBase.openConn ection(Unknown Sour
    ce)
    at com.attunity.jdbc.NvDriverCoreBase.connect(Unknown Source)
    at com.attunity.jdbc.NvDriverCoreBase.connect(Unknown Source)
    at java.sql.DriverManager.getConnection(DriverManager .java:562)
    at java.sql.DriverManager.getConnection(DriverManager .java:208)
    at com.pst.datasource.PSTConnect.makeConnection(PSTCo nnect.java:217)
    at com.pst.datasource.PSTConnect.getConnection(PSTCon nect.java:197)
    at com.pst.datasource.PSTConnect.getConnection(PSTCon nect.java:166)
    at com.pst.datasource.PSTConnector.getConnection(PSTC onnector.java:144)
    at com.pst.optim.siebel.SiebelArc.getConnection(Siebe lArc.java:605)
    at com.pst.optim.siebel.SiebelArc.initArc(SiebelArc.j ava:215)
    at com.pst.optim.servlet.ServletReqInfo.getSiebelArc( ServletReqInfo.java
    :229)
    at com.pst.optim.servlet.ServletReqInfo.processReques t(ServletReqInfo.ja
    va:173)
    at com.pst.optim.servlet.ServletReqInfo.doPost(Servle tReqInfo.java:205)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:713)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:806)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(Appl
    icationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationF
    ilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperV
    alve.java:230)
    at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextV
    alve.java:175)
    at org.apache.geronimo.tomcat.valve.DefaultSubjectVal ve.invoke(DefaultSu
    bjectValve.java:56)
    at org.apache.geronimo.tomcat.GeronimoStandardContext $SystemMethodValve.
    invoke(GeronimoStandardContext.java:353)
    at org.apache.geronimo.tomcat.valve.GeronimoBeforeAft erValve.invoke(Gero
    nimoBeforeAfterValve.java:47)
    at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.j
    ava:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.j
    ava:104)
    at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineVal
    ve.java:109)
    at org.apache.catalina.valves.AccessLogValve.invoke(A ccessLogValve.java:
    563)
    at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.jav
    a:261)
    at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java
    :844)
    at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.proce
    ss(Http11Protocol.java:581)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:44
    7)
    at java.lang.Thread.run(Thread.java:810)
    java.sql.SQLException: [J0014] Return code is -2,220. .
    at com.attunity.jdbc.NvSQLWarning.createSQLException( Unknown Source)
    at com.attunity.comm.Server.checkCallRetOld(Unknown Source)
    at com.attunity.navapi.SysTdp.bindTdpAndDestroy(Unkno wn Source)
    at com.attunity.jdbc.NvConnectionBase.open(Unknown Source)
    at com.attunity.jdbc.NvConnectPropertiesBase.openConn ection(Unknown Sour
    ce)
    at com.attunity.jdbc.NvDriverCoreBase.connect(Unknown Source)
    at com.attunity.jdbc.NvDriverCoreBase.connect(Unknown Source)
    at java.sql.DriverManager.getConnection(DriverManager .java:562)
    at java.sql.DriverManager.getConnection(DriverManager .java:208)
    at com.pst.datasource.PSTConnect.makeConnection(PSTCo nnect.java:217)
    at com.pst.datasource.PSTConnect.getConnection(PSTCon nect.java:197)
    at com.pst.datasource.PSTConnect.getConnection(PSTCon nect.java:166)
    at com.pst.datasource.PSTConnector.getConnection(PSTC onnector.java:144)
    at com.pst.optim.siebel.SiebelArc.getConnection(Siebe lArc.java:605)
    at com.pst.optim.siebel.SiebelArc.initArc(SiebelArc.j ava:215)
    at com.pst.optim.servlet.ServletReqInfo.getSiebelArc( ServletReqInfo.java
    :229)
    at com.pst.optim.servlet.ServletReqInfo.processReques t(ServletReqInfo.ja
    va:173)
    at com.pst.optim.servlet.ServletReqInfo.doPost(Servle tReqInfo.java:205)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:713)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:806)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(Appl
    icationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationF
    ilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperV
    alve.java:230)
    at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextV
    alve.java:175)
    at org.apache.geronimo.tomcat.valve.DefaultSubjectVal ve.invoke(DefaultSu
    bjectValve.java:56)
    at org.apache.geronimo.tomcat.GeronimoStandardContext $SystemMethodValve.
    invoke(GeronimoStandardContext.java:353)
    at org.apache.geronimo.tomcat.valve.GeronimoBeforeAft erValve.invoke(Gero
    nimoBeforeAfterValve.java:47)
    at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.j
    ava:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.j
    ava:104)
    at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineVal
    ve.java:109)
    at org.apache.catalina.valves.AccessLogValve.invoke(A ccessLogValve.java:
    563)
    at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.jav
    a:261)
    at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java
    :844)
    at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.proce
    ss(Http11Protocol.java:581)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:44
    7)
    at java.lang.Thread.run(Thread.java:810)
    14:37:50,960 ERROR [[ServletReqInfo]] Servlet.service() for servlet ServletReqIn
    fo threw exception
    java.lang.NullPointerException
    at com.pst.optim.siebel.SiebelArc.getFields(SiebelArc .java:242)
    at com.pst.optim.siebel.SiebelArc.initArc(SiebelArc.j ava:218)
    at com.pst.optim.servlet.ServletReqInfo.getSiebelArc( ServletReqInfo.java
    :229)
    at com.pst.optim.servlet.ServletReqInfo.processReques t(ServletReqInfo.ja
    va:173)
    at com.pst.optim.servlet.ServletReqInfo.doPost(Servle tReqInfo.java:205)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:713)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:806)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(Appl
    icationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationF
    ilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperV
    alve.java:230)
    at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextV
    alve.java:175)
    at org.apache.geronimo.tomcat.valve.DefaultSubjectVal ve.invoke(DefaultSu
    bjectValve.java:56)
    at org.apache.geronimo.tomcat.GeronimoStandardContext $SystemMethodValve.
    invoke(GeronimoStandardContext.java:353)
    at org.apache.geronimo.tomcat.valve.GeronimoBeforeAft erValve.invoke(Gero
    nimoBeforeAfterValve.java:47)
    at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.j
    ava:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.j
    ava:104)
    at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineVal
    ve.java:109)
    at org.apache.catalina.valves.AccessLogValve.invoke(A ccessLogValve.java:
    563)
    at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.jav
    a:261)
    at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java
    :844)
    at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.proce
    ss(Http11Protocol.java:581)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:44
    7)
    at java.lang.Thread.run(Thread.java:810)

  3. #3
    ehan is offline Junior Member
    Join Date
    Jun 2008
    Posts
    8
    Rep Power
    0

    Attunity Connect Driver version

    4.08.02.00

  4. #4
    ehan is offline Junior Member
    Join Date
    Jun 2008
    Posts
    8
    Rep Power
    0

    Jdbc

    nvapispy2, nvjdbc2, nvlog2: all 4.8.2

  5. #5
    Join Date
    Sep 2006
    Posts
    233
    Rep Power
    10
    The JDBC exception code [J0014] means a remote call failure (here the 'bind' call to attach to the target database failed) and the return code is -2220 (not -2200 as the original thread suggested) signifies a startup error at the server - typically some problem loading the driver to the target database on the server or connecting to the target database.

    Please see the log files of the server for more information on the cause of this issue.
    Last edited by DrorHarari; 01-29-2009 at 05:08 AM.
    By Dror Harari

    To Find Out more About Attunity Technology:
    Attunity
    or:
    Contact Us

  6. #6
    ehan is offline Junior Member
    Join Date
    Jun 2008
    Posts
    8
    Rep Power
    0
    Quote Originally Posted by DrorHarari View Post
    The JDBC exception code [J0014] means a remote call failure (here the 'bind' call to attach to the target database failed) and the return code is -2220 (not -2200 as the original thread suggested) signifies a startup error at the server - typically some problem loading the driver to the target database on the server or connecting to the target database.

    Please see the log files of the server for more information on the cause of this issue.
    are you talking about the attunity server? if so, which log files? the ones i've seen under the tmp dir don't contain any information

  7. #7
    ehan is offline Junior Member
    Join Date
    Jun 2008
    Posts
    8
    Rep Power
    0
    in the attdiag.log

    01/30/09T14:09:01(pid=1444,tid=4788 in .\envcatch.c:541) PlatformInit Extended Error Block:RetCode: -1,ExtCode: -122,AuxCode: 0,AncCode: 0,IntCode: 0,OpsCode: 126,Token1: LoadBuilderFail,Token2: ,Token3: ,Token4:

    01/30/09T14:09:27(pid=5200,tid=3644 in .\envcatch.c:541) PlatformInit Extended Error Block:RetCode: -1,ExtCode: -122,AuxCode: 0,AncCode: 0,IntCode: 0,OpsCode: 126,Token1: LoadBuilderFail,Token2: ,Token3: ,Token4:

    01/30/09T14:45:43(pid=5684,tid=4748 in .\envcatch.c:541) PlatformInit Extended Error Block:RetCode: -1,ExtCode: -122,AuxCode: 0,AncCode: 0,IntCode: 0,OpsCode: 126,Token1: LoadBuilderFail,Token2: ,Token3: ,Token4:

    01/30/09T14:48:11(pid=4124,tid=3188 in .\envcatch.c:541) PlatformInit Extended Error Block:RetCode: -1,ExtCode: -122,AuxCode: 0,AncCode: 0,IntCode: 0,OpsCode: 126,Token1: LoadBuilderFail,Token2: ,Token3: ,Token4:

    01/30/09T14:50:31(pid=5296,tid=2100 in .\envcatch.c:541) PlatformInit Extended Error Block:RetCode: -1,ExtCode: -122,AuxCode: 0,AncCode: 0,IntCode: 0,OpsCode: 126,Token1: LoadBuilderFail,Token2: ,Token3: ,Token4:

    01/30/09T14:53:22(pid=496,tid=5436 in .\envcatch.c:541) PlatformInit Extended Error Block:RetCode: -1,ExtCode: -122,AuxCode: 0,AncCode: 0,IntCode: 0,OpsCode: 126,Token1: LoadBuilderFail,Token2: ,Token3: ,Token4:

  8. #8
    Join Date
    Sep 2006
    Posts
    233
    Rep Power
    10
    The text in the last log looks like an Optim error message. Please contact the Optim support for more information.
    By Dror Harari

    To Find Out more About Attunity Technology:
    Attunity
    or:
    Contact Us

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •