Connection error in JDBC Adapter

Hi All,
I am using PI 7.1 and created a JDBC Receiver Comm. Channel.
When I try to create an External Definition in ESR using the mentioned JDBC Channel, I get the following error:
Serialized cause: com.sap.aii.mapping.lookup.LookupException: Connection to system RUNTIME using application RUNTIME lost. Detailed information: Error accessing "http://pidev.ndpl.com:50000/run/system/int?container=web" with user "PIREPUSER". Response code is 500, response message is "Internal Server Error"
+     at com.sap.aii.ibrep.server.lookup.LookupServiceProvider$RemoteClientDelegator.call(LookupServiceProvider.java:122)+
Please help!!!!
regards,
Piyush

Hi Raj,
I am not using any look up function.
My only intention is to test the jdbc connection.
I am usinng "SQL Server JDBC Driver 2.0" with PI 7.1 and MS SQL Server 2000.
I also deployed the test appliction for jdbc test as per the note 1085539. It also gives the following error:
Exception Occurred : The TCP/IP connection to the host 192.168.164.129, port 445 has failed. Error: "connect timed out. Verify the connection properties, check that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port, and that no firewall is blocking TCP connections to the port.".
Exception Stack Trace : com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host 192.168.164.129, port 445 has failed. Error: "connect timed out. Verify the connection properties, check that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port, and that no firewall is blocking TCP connections to the port.".
     at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:170)
regards,
Piyush
Edited by: Piyush Mathur SAP on Nov 7, 2009 6:21 AM

Similar Messages

  • Error in JDBC Adapter Configuration....

    Hi,
      My scenario is like this FTP->XI->Oracle Database.
    The problem is that the files are not getting posted to the database though it is running well.
    In XI receiver comm channel in JDBC adapter, I have provided the Connection path as   jdbc:oracle:thin:@esealmw275.al.sw.ericsson.se:1521:S14. Whereas in channel monitoring it is taking jdbc:oracle:THIN:@esealmw275.al.sw.ericsson.se:1521:S14. Please note it is taking THIN as in caps.
    Can anybody suggest me is this the proposed error for that, if it is so, then pls provide me the suitable solution for that.
    BR
    Soumya

    Hi Soumya,
    Have a look at ths blog...
    <a href="/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30 to JDBC Adapter using SAP XI 3.0</a> by Anirban Ghatak
    Also have a look at this wiki
    https://wiki.sdn.sap.com/wiki/display/XI/JDBCTOJDBC
    Regards
    Santi
    <a href="Remember to set the thread to solved when you have received a solution to set the thread to solved when you have received a solution</a>
    Where There is a <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/weblogs?blog=/weblogs/topic/16">blog</a> there is a Way.

  • Error in JDBC Adapter-"Error establishing socket"

    Hi,
    I am getting an error in the seander JDBC adapter. PFB the error:
    Error during database connection to the database URL 'jdbc:microsoft:sqlserver://Server Name;DatabaseName=DB Name;SelectMethod=cursor' using the JDBC driver 'com.microsoft.jdbc.sqlserver.SQLServerDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:microsoft:sqlserver://Server Name;DatabaseName=DB Name;SelectMethod=cursor': SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.'
    Can any one hlep me to resolve the error.
    Thanks,
    RK

    Hi,
    Also check whether you have given database connection parameters in the following format:
    JDBC Driver:
    com.microsoft.jdbc.sqlserver.SQLServerDriver
    Connection:   jdbc:microsoft:sqlserver://<HOSTNAME>:1433;DatabaseName=<xxxx>;SelectMethod=cursor
    I think the deployment is done, because you have not got "SAPClassNotFoundException" error.(If the deployment is not done, the driver file cant be located so this will be thrown...)
    Thanks & Regards,
    Senthil.

  • RecoverableException error in JDBC ADAPTER after stack11

    DEAR ALL,
    We have applied the Stack 11 in our XI 3.0 Development system and after
    that we are with some problems in the Adapter Framework.
    In the JDBC adapter, when we send a message it's arrive in the database
    and execute the SQL statement perfectaly but It's don't return to the
    Server the status of the message so the message status stays in error
    status. That's the error message:
    2005-04-27 20:14:12 Error Delivery of the message to the application
    using connection AFW failed, due to: RecoverableException.
    Thanks guys , for the help!

    Hi,
    did you solved the problem?
    Thanks

  • Invalid column name error in JDBC adapter

    Hi all,
    My scenario is Proxy->XI->JDBC.
    I get the following error in receiver JDBC  adapter.
    Unable to execute statement for table or stored procedure. 'Account_Master' (Structure 'STATEMENT') due to com.microsoft.sqlserver.jdbc.SQLServerException: Invalid column name 'A7'.
    There is no column by name A7 in the table nor there is a field by that name in the data type.
    Can anyone provide any help

    Hi Swatantra,
    compare your message-type with the database table!
    There must be difference!
    Regards Mario

  • SAX Parser Error in JDBC Adapter

    I am using a JDBC adapter to execute SQL statements during mapping runtime. However, it issues me an error regarding the SAX Parser when I have a '&' character in the SQL statement. I am not able to remove the & since it is in the database that I access and it will result to data inconsistency. I think that when the JDBC adapter of XI converts the SQL string to the XML format, it does not include the amp; string to the &, thus causing the SAX Parser to throw the error.
    Is there someway I can configure the JDBC adapter in such a way that it will replace the & with &amp;. Or is there a way to display how the JDBC adapter converts the SQL statement to its the XML representation of it?
    Thanks a lot.

    Hi,
    For this kind of situation use some unique character combination  like "#@!" for replacing "&" then parse the document and the restore the "&" later .
    For this convert the input stream into Strring and then replace the occurences of "&".
    regards.

  • Date Formatting error in JDBC adapter

    Hi,
    While inserting date using a Receiver JDBC Adapter i am getting a "Month not valid" error can anyone please tell me how do i pass date in the required format. Database is Oracle.

    Hi Vinay,
    Oracle's default format for DATE is "DD-MON-YY"
    With the functions to_char and to_date, a date format can be used. Example:
    select to_char(sysdate,'DD/MM/YYYY HH24:MI:SS') from dual;
    will return something like: 24/03/2006 14:36:43
    Regards,
    Prateek

  • Connection Pooling in JDBC Adapter

    Does anybody know if the JDBC Adapter uses connection pooling? If yes, how can one adjust the pool size etc.
    Thanks!

    Hi Roland,
    Refer this note 831162...
    9. J2EE JDBC Connector and Connection Pooling
    Q: Does the JDBC Adapter support the use of the SAP WebAS J2EE engine's JDBC Connector and connection pool?
    A: Currently, each JDBC channel will create its own JDBC connection. The use of the J2EE engine's JDBC Connector and connection pooling mechanism is not supported.
    Regards
    Anand

  • ERROR in JDBC adapter...

    HI
    My call to a stored proc in SQLServer fails with SQL exception
    Error processing request in sax parser: Error when executing statement for table/stored proc. 'EmployeeFetch': java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Can't start a cloned connection while in manual transaction mode.
    I understand this error is because call to DB uses SETAUTOCOMMIT false and SelectMethod=should be set to cursor..
    But where do i set these methods' for my adapter..Is it in the connections string??
    Would appreciate ur help in this..
    Regards
    Sriram V.

    Hey thx..
    Resolved the pbm..we need to set the method in Connection parameter of adapter config..and it works.. )
    jdbc:microsoft:sqlserver://10.201.103.82:1433;DatabaseName=ScottDB;SelectMethod=cursor

  • FTPS connection error in the adapter monitoring

    Hi people,
    I make a FTPS connection and the adapter monitor give me this error:
    Error: Error connecting to ftp server 'ithppbd0':  
    ConnectException: Connection timed out (errno:238)
    I use a certificate to make this connection.
    Is obligatory the use of the private key? or I can use a public key and how?
    Thanks!

    You may verify the URL, Login ID and Password with logging in via a browser or command prompt.
    Some FTP sites allow only a limited number of connections, so check with the FTP site administrator. In the adapter, make sure that you have specified the correct Connection Security and the Command Order.
    FTPS does not need the keys, unless you have specified the X.509 Cetificate for Client Authentication.
    Lastly, Make sure that the connect mode is per File Transfer.
    Hope this helps,
    Bhanu

  • BPM Mapping Error using JDBC adapter JDBC - SAP -  JDBC

    Hi
    I am facing an issue in XI BPM in my QA system .
    My scenario involves a JDBC sender adapter which calls an SQL in the legacy database , a BPM which process the SQL resultset and IDoc send from BPM to R/3.Once IDoc is send successfully to R/3 XI BPM sends a response back to legacy database.
    There are 4 mapping transforations inside BPM.
    First XI executes an SQL in the database and then transforms it using BPM steps.
    I  have not made any changes in the mapping or within BPM.
    However since last week the BPM is failing . When I checked the error log I found out the error due to mapping transformation in one of the steps.
    In fact XI fails to successfully map in that step.
    The same BPM and mapping works fine in the Production system.
    However when I manually tried to test the BPM and the mappings with Production payload in XI QA system it again failed.
    I believe the message is failing not due to data problem.
    I also tried by deactivating and reactivating the XI sender channel which calls the SQL in the database.
    Then I tried by restarting all backgrounds jobs related to BPM.
    Both apprpoaches failed.
    I am getting the following error in transformation step.
    <b>com.sap.aii.utilxi.misc.api.BaseRuntimeExceptionRuntimeException in Message-Mapping transformatio~</b>.
    Any inputs will be very helpful and rewarded.
    Thanks in advance.

    Please provide more detailed exception trace.
    Also, I have seen some cases where the imported/deployed classes simply disapeared!!!
    I had to make dummy changes in all my message mappings and activate them in order to get them working.
    Regards,
    Henrique

  • Teradata connection error in jdbc -- DriverManager.getConnection()

    I have issue while connecting to teradata DB from a sampel jave jdbc code.
    the code is as below.
    String url="jdbc:teradata://10.33.22.27/AMRROCD";
    Class.forName("com.teradata.jdbc.TeraDriver");
    Properties x = new Properties();
    x.put("user","user123");
    x.put("password","pwd123");
    Connection con = DriverManager.getConnection (url, x);--> i am getting error at this line as
    GSSException: Failure unspecified at GSS-API level (Mechanism level: UserFile parameter null)
    at com.teradata.tdgss.jtdgss.TdgssParseXml.<init>(DashoA1*..)
    at com.teradata.tdgss.jtdgss.TdgssConfigApi.<init>(DashoA1*..)
    at com.teradata.tdgss.jtdgss.TdgssManager.<init>(DashoA1*..)
    at com.teradata.tdgss.jtdgss.TdgssManager.getInstance(DashoA1*..)
    at com.teradata.jdbc.jdbc.GenericTeraEncrypt.getGSSM(GenericTeraEncrypt.java:583)
    at com.teradata.jdbc.jdbc.GenericTeraEncrypt.getConfig(GenericTeraEncrypt.java:601)
    at com.teradata.jdbc.jdbc.GenericTeraEncrypt.getUserNameForOid(GenericTeraEncrypt.java:694)
    at com.teradata.jdbc.AuthMechanism.<init>(AuthMechanism.java:50)
    at com.teradata.jdbc.jdbc.GenericInitDBConfigState.action(GenericInitDBConfigState.java:105)
    at com.teradata.jdbc.jdbc.GenericLogonController.run(GenericLogonController.java:49)
    at com.teradata.jdbc.jdbc_4.TDSession.<init>(TDSession.java:195)
    at com.teradata.jdbc.jdbc_3.ifjdbc_4.TeraLocalConnection.<init>(TeraLocalConnection.java:94)
    at com.teradata.jdbc.jdbc.ConnectionFactory.createConnection(ConnectionFactory.java:55)
    at com.teradata.jdbc.TeraDriver.doConnect(TeraDriver.java:216)
    at com.teradata.jdbc.TeraDriver.connect(TeraDriver.java:149)
    at java.sql.DriverManager.getConnection(DriverManager.java:512)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at dbValidation.main(dbValidation.java:25)
    Error java.lang.NullPointerException
    could anybody have an idea on this , its urgent for me to solve this.
    I am able to execute the code in windows OS . this error is occourring in UNIX system

    You'd have to pursue Teradata for support/help with their JDBC driver. This has nothing
    to do with Oracle though...

  • Error in JDBC Adapter Configuration...Pls help..

    Hi,
      My scenario is like that..XI has to pick up the xml files from FTP and has to insert them into a particular table "clientsystemlog"in database. From sxmb_moni I can see that it is success, but there are no data in the database.
    Here are the details of the error in the Channel Monitoring:-
    Error while parsing or executing XML-SQL document: Error processing request in sax parser: No 'action' attribute found in XML document (attribute "action" missing or wrong XML structure)
    Any hlp would be appreciated
    BR
    Soumya

    Hi,
      Here is my table structure for DB:-
    ACK_RM_MT=>Action(INSERT)(attribute)->xsd.string
                        =>Table(clientsystemlog)(element)==>>GlobalID
                                                                          ==>>LocalID
                                                                          ==>>DistributedTime, etc etc
    That is what I have created in IR for DB.
    Can you pls check whether the structure is in correct format or not.I have to insert all the elements of Table(clientsystemlog) into the table clientsystemlog in oracle database.
    But still facing the error in Action. In channel monitoring Attribute Action contains error. It seems this Action cannot be performed in the DB table clientsystemlog.
    That is why I can see in sxmb_moni msg processed successfully, but in DB, there are no records at all.
    Tell me one thing, is the table name and the elements of the table are case sensitive?
    Please provide a solution to me, I was braeking my head since last week to sort it out, but unable to sort it out.
    BR
    Soumya

  • Alerting: Use error header [ JDBC Adapter Error ]

    Hi all,
      In my scenario when I execute the store procedure I have one error. This error is saved in the error section into the message header.
      The question is, I would like to use this error message for sending an alert message but I don't know how to get the tag SAP:AdditionalText contained by SAP:Error xml message.
    Example:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Inbound Message
    -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
    <SAP:Category>XIAdapterFramework</SAP:Category>
    <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
    <SAP:P1 />
    <SAP:P2 />
    <SAP:P3 />
    <SAP:P4 />
    <SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'Create_Well_Finder' (structure 'StatementName'): java.sql.SQLException: ORA-01403: no data found ORA-06512: at "XXXX.XXXXXXXXXXXXXX", line 200 ORA-06512: at line 1</SAP:AdditionalText>
    <SAP:Stack />
    <SAP:Retry>M</SAP:Retry>
    </SAP:Error>
    Is it possible to get the exception below in my alert?
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'Create_Well_Finder' (structure 'StatementName'): java.sql.SQLException: ORA-01403: no data found ORA-06512: at "XXXX.XXXXXXXXXXXXXX", line 200 ORA-06512: at line 1
    Thanks in advanced
    Iván
    Edited by: Mark Smyth on May 28, 2009 11:01 AM

    create Alert category with variable SXMS_ERROR_CODE and use it in the Long Text section of the alert category....you can even use SXMS_TO_ADAPTER_ERRTXT to get error from AE....check this link for more help:
    http://help.sap.com/saphelp_nw70/helpdata/EN/d0/d4b54020c6792ae10000000a155106/content.htm
    Regards,
    Abhishek.

  • JDBC Adapter Level Error

    Hi Guys,
    i am getting below error at JDBC Adapter Level.
    Can any one please help me on how to resolve this issue.
    JDBC Message processing failed, due to Channel has reached maximum concurrency (5,000 concurrent messages) and no free resource found within 5,000 milliseconds; increase the maximum concurrency level
    MP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: Channel has reached maximum concurrency (5,000 concurrent messages) and no free resource found within 5,000 milliseconds; increase the maximum concurrency level
    Adapter Framework caught exception: Channel has reached maximum concurrency (5,000 concurrent messages) and no free resource found within 5,000 milliseconds; increase the maximum concurrency level
    Delivering the message to the application using connection JDBC_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Channel has reached maximum concurrency (5,000 concurrent messages) and no free resource found within 5,000 milliseconds; increase the maximum concurrency level. Setting message to status failed.
    Thanks,
    Siva.

    Hi Raj,
      Thanks for ur help.
    created 4 JDBC communication channels in ID. This error i got in Production system. now i can not change in production environment. can u pls give me some other solution..?
    how i will set max concurency value as 3 ? and where i will set these parameter ..? can u pls send me step by step procedure pls...
    Regards,
    Siva.

Maybe you are looking for

  • How can I print out a document on an '05 version of iLife (iWorkPages)  es)

    How can I print out a document on an '05 version of iLife that includes iWork? I want to make a document in Pages and print it. It tells me that I have to buy Pages, but doesn't tell me where to go to do that.

  • Posting settled internal order costs to PM Order

    Hi, Our client doesn't have PM module upto now. So they posted all the maintenance costs to internal orders. All the internal orders are settled properly. Now they want to implement PM module. They want the costs previously posted in internal order s

  • Using Get-ADGroup Member recursively across multiple domains in a Forest

    Quick question for the gurus around here.... We are using a script that is querying the Local Administrators group on a Server.   It will pull the Users as well as the Groups that are a member of the Local Admins group on a server/system and using th

  • header tag in soap

    i just read through Axis user doc, but all sample app it mention doesn't show how to use the <HEADER> tag inside soap request / response. 1 -- is <HEADER> tag not much a use when doing 1 - 1 host to host request /response? 2 -- <HEADER> is only usefu

  • Af:panelPage facets not working

    I'm using ADF Faces EA11 and I'm having trouble with several of the facets on af:panelPage. None of infoReturn, infoStatus, and infoFootnote render at all. Is this a bug, or a known limitation of the early access release? Is there some trick to makin