Error in configuring JDBC Adapter

Hi All,
I have configured a sender JDBC Adapter with the following parameters.
JDBC Drivers: com.microsoft.jdbc.sqlserver.SQLServerDriver
Connection: jdbc:microsoft:sqlserver://MIS-SERVER\MIS_DEV_SVR;DatabaseName=SEPG_NEWDB
But in Runtime, I am getting error as follows...
Error during database connection to the database URL 'jdbc:microsoft:sqlserver://MIS-SERVER\MIS_DEV_SVR;DatabaseName=SEPG_NEWDB' using the JDBC driver 'com.microsoft.jdbc.sqlserver.SQLServerDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:microsoft:sqlserver://MIS-SERVER\MIS_DEV_SVR;DatabaseName=SEPG_NEWDB': SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]The requested instance is either invalid or not running.'
It has been confirmed that JDBC Drivers are properly deployed.
Any suggestions to resolve this issue?
Regards
Pavan

Hi Pavan,
I think Port is missing and also it should be look like this. (microsoft not required for SQL SERVER 2000).
Make sure msbase.jar, msutil.jar, mssqlserver.jar are the driver files and deployment.
Connection: jdbc:sqlserver://MIS-SERVER\MIS_DEV_SVR<b>:PORT</b>;DatabaseName=SEPG_NEWDB
Regards,
Sarvesh

Similar Messages

  • How to configure JDBC Adapter(Sender & Receiver)

    How to configure JDBC Adapter(Sender & Receiver)
    Rgds
    Ruchitha

    Hi ruchitha thakur ,
    These r the following web-sites which give u detailed information about configuring of JDBC Adapter(Sender & Receiver)
    JDBC is a technical Adapter provided by SAP.
    Configuring the Sender JDBC Adapter
    http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/1d/756b3c0d592c7fe10000000a11405a/content.htm
    Configuring the Receiver JDBC Adapter
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b0/676b3c255b1475e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/content.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6d36d51d-0b01-0010-b3aa-9cb313b63cf4
    SAP XI Utilize SAP Adapters to connect to heterogenous systems
    https://wwwn.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3fc4bd90-0201-0010-68bd-ab931b06f9c2
    cheers!
    gyanaraj
    ***Pls reward points if u find this useful

  • Error while configuring B2B adapter in Jdev 11.1.1.6

    Hi All,
    While configuring B2B adapter in jdev 11.1.1.6, i'm getting the following error at the Document definition step,
    Unable to connect to URL: https://ip address:port no/integration/services/b2b/B2BMetadataWSPort due to javax.xml.soap.SOAPException: Message send failed: sun.security.validator.ValidatorException: Violated path length constraints
    please let me know if anyone of you faced this issue and has a resolution. We have SSL configured and using Rosettanet protocol.
    Thanks,
    Terry

    Terry,
    It seems like a SSL issue related to the certificate. Can you make sure that certificate being presented by the server (hosting URL https://ip address:port no/integration/services/b2b/B2BMetadataWSPort) is valid and you have complete cert chain in the keystore of SOA server?
    Regards,
    Anuj

  • RWB error in Sender JDBC adapter

    Hi All,
    I am using SP at sender communication channel. When I am activating the Sendr CC I am getting the The statement did not return a result set. error.
    But when I lgged to database server and checked the SP it was working fine and giving the values in table. means SP is producing result set.
    what could be the possible resong for the error.
    regards
    rams

    Hi,
    1. turn on the logging in SQL server
    2. start jdbc adapter on XI
    3. check logs on SQL server
    Regards,
    Michal Krawczyk

  • Error in configuring Mail Adapter

    Hello Friends,
    I am working in XI 2.0
    I am trying to configure the Outbound file adapter for sending the Mail.
    and i configure my adapter as
    File adapter java class
    classname=com.sap.aii.messaging.adapter.ModuleXMB2File
    mode=XMB2FILE
    ##Adress for XMB endpoint
    XMB.httpPort=8220
    XMB.httpService=/mailSender
    ##File Adapter specific parameters
    file.createDir=1
    file.targetDir=e:/oraclejdbc/mail
    file.targetFilename=mail.txt
    #file.writeMode=append
    file.writeMode=overwrite
    uncomment and adjust parameters for using a dispatcher ***
    Dispatcher.class=com.sap.aii.messaging.adapter.ConversionDispatcher
    Dispatcher.namespace=namespace1
    namespace1.ConversionDispatcher.logPayload=true
    ##namespace1.MailClient.contentType=text/html
    namespace1.Service.1=MailClient
    namespace1.MailClient.class=MailSender
    namespace1.MailClient.smtpHost=POWAI
    namespace1.MailClient.smtpPort=25
    namespace1.MailClient.from=[email protected]
    namespace1.MailClient.to=[email protected]
    namespace1.MailClient.subject=NewXI Message
    namespace1.MailClient.contentType=text/html
    And when I am trying to start the adapter engine it gives me error as
    Tue Nov 23 10:46:47 IST 2004 *****
    10:46:47 (4115): File adapter listener initialized successfully
    10:46:47 (8200): Conversion dispatcher 2.0.0904 initializing
    10:46:47 (4024): Attempt to initialize file adapter failed with
    java.lang.NullPointerException
    10:46:47 : Error(s) in adapter configuration parameters found:
    10:46:47 (4108): Unable to start file adapter (not initialized)
    If any one know please help me to solve this problem.
    Thanks & Regards,
    Gaurav Jain

    Could you check, if the file Mail.jar is installed correctly in your Adapter Framework folder and the starting program of the Adapter Framework (e.g. runadapter.bat or install_service.bat) is enhanced with this library file?
    Regards
    Stefan

  • Error in reciever JDBC adapter

    My interface is Proxy to JDBC, in my JDBC adapter while checking with adapter monitoring ---> communication monitoring it is showing green light and saying fuctioning for log
    but inthe case of message monitoring it is showing system error, but i am not able to see what is the error , will any one help me

    Message Data
    Attribute Value
    Engine All
    Status System Error
    Repeatable Yes
    Cancelable Yes
    Start 29.12.2008 13:02:01
    End 29.12.2008 13:17:03
    Sender Party  
    Sender Service DK2
    Sender Interface urn:sXX:message
    MI_PROXY_TO_CCD_SOURCE
    Receiver Party  
    Receiver Service XXX_oracle
    Receiver Interface urn:xxx:message
    MI_PROXY_TO_CCD_DBMS
    Quality of Service Exactly Once
    Error Category  
    Error Code  
    Message 4958509E2CEB26D6E10000000A0A0125
    Reference  
    this is what i am getting nothing else i am getting

  • Error when calling JDBC Adapter parallel

    Hello,
    we have several interfaces which consume data from an AS400 machine via JDBC Adapter.
    Interfaces were running for several months without any problem. Now we get the following error message when few interfaces try to deliver data at the same time:
    com.sap.aii.af.ra.ms.api.DeliveryException: Channel has reached maximum concurrency (5,000 concurrent messages) and no free resource found within 5,000 milliseconds; increase the maximum concurrency level
    Unfortunatly we didn't find any hints what could cause the appearence of this Error.
    Can anyone help me?
    Thanks
    Carsten

    Hi,
    By default Maximum Concurrency = 1 in communication channel. Which will open one connection with the Database. Since your data volume and call is large so if you define it more then 1 then it will open multiple connection for you and your transaction rate will be faster.
    1. Maximum Concurrency = 1
    This is the default value of Maximum Concurrency. This means a single receiver JDBC channel can acquire only one DB connection.
    This case does not offer any parallel processing of messaging by single channel.
    2. Maximum Concurrency > 1
    This ensures that resource pool size(DB conneciton size) is limited to specified value per single JDBC receiver channel. For instance, setting this parameter to 2 will ensure that a single receiver JDBC channel can acquire 2 DB connections in parallel(if needed).
    And also:
    if You are Using PI 7.0 SP 12, You can set the maximum concurrency level for Receiver File & JDBC Adapter.
    By Default Maximum Concurrency level=1.
    Procedure to change:
    Go to Receiver Comm Chann of File/JDBC adapter.
    Goto Processing Parameters and then check Max Concurrency level
    Plz do refer the following docs:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4042611d-04e5-2910-bd9d-f97627b1c164
    check this doc
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70ada5ef-0201-0010-1f8b-c935e444b0ad
    "Reward points if found useful"
    Regards,
    Vinod.

  • Error in receiver JDBC Adapter

    Hi,
       I get the following error in the Adapter monitor
    Receiver Adapter v1027 for Party '', Service 'HEMAS_SQLREC':
    Configured at 11:18:57 2005-10-12
    Last message processing started 11:38:46 2005-10-14, Error: Transform error in xml processor class, rollback:
    ERROR:Processing request: Error when executing statement for table/stored proc. 'SAPPrimaryInvoiceDetail': java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Connection reset by peer: socket write error
         at com.sap.aii.adapter.jdbc.xml2sql.service(xml2sql.java:175)
         at com.sap.aii.adapter.jdbc.XI2JDBC.onInternalMessage(XI2JDBC.java:266)
         at com.sap.aii.adapter.jdbc.SapAdapterServiceFrameImpl.callSapAdapter_i(SapAdapterServiceFrameImpl.java:170)
         at com.sap.aii.adapter.jdbc.SapAdapterServiceFrameImpl.callSapAdapter(SapAdapterServiceFrameImpl.java:146)
         at com.sap.aii.af.modules.CallAdapterWithMessageBean.process_receiver(CallAdapterWithMessageBean.java:206)
         at com.sap.aii.af.modules.CallAdapterWithMessageBean.process(CallAdapterWithMessageBean.java:161)
         at com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl1.process(ModuleLocalLocalObjectImpl1.java:103)
         at com.sap.aii.af.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:221)
         at com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0.process(ModuleProcessorLocalLocalObjectImpl0.java:103)
         at com.sap.aii.af.listener.AFWListenerBean.onMessage(AFWListenerBean.java:216)
         at com.sap.aii.af.listener.AFWListenerLocalObjectImpl0.onMessage(AFWListenerLocalObjectImpl0.java:103)
         at com.sap.aii.af.ra.ms.impl.ServicesImpl.deliver(ServicesImpl.java:262)
         at com.sap.aii.adapter.xi.ms.XIEventHandler.onDeliver(XIEventHandler.java:611)
         at com.sap.aii.af.ra.ms.impl.core.queue.ReceiveConsumer.invokeHandler(ReceiveConsumer.java:353)
         at com.sap.aii.af.ra.ms.impl.core.queue.ReceiveConsumer.onMessage(ReceiveConsumer.java:98)
         at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:419)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    Can anyone help me in correcting it?
    Thanks and Regards,
    Jishi

    Looks like you are passing a char value into a numeric field or something like that.
    Check your output XML.
    regards
    Shravan

  • Error in configuring soap adapter

    Hai!
    Iam working with rfc to webservice scenario.
    In that while configuring the soap adapter, the following errors have occured.
    SOAP: failed to sign the message due to java.security.PrivilegedActionException: com.sap.aii.af.security.impl.exception.MessageSecurityException: AccessControlException in Method: apply( Message, CPALookupObject ). The Code-Permission processing failed.
    SOAP: error occured: com.sap.aii.messaging.srt.BubbleException: WS-Security privileged action exception [null "null"]; nested exception caused by: java.security.PrivilegedActionException: com.sap.aii.af.security.impl.exception.MessageSecurityException: AccessControlException in Method: apply( Message, CPALookupObject ). The Code-Permission processing failed.
    Please! help me in sorting it out.
    Regards,
    Saritha.

    try this link
    check with  all settings
    http://www.****************/Tutorials/XI/RFCtoSOAP/page1.htm

  • Error While Configuring DB adapter in Admin Server

    Hello All,
    i am unable to configure the DB adapter 's settings in the Console.
    DBAdapter->Configuration->outbound Connection Pools ->
    There was an error reading the descriptor files.
    Errors occured while initializing a new deployment plan.
    [J2EE Deployment SPI:260080]Unable to define application install directory at 'C:\Oracle\Middleware\Oracle_SOA1\soa\connectors'. Directory could not be created or is a file.

    Hi,
    The message is pretty clear, either you don't have the directory or the user starting weblogic is not able to read/write there.
    If you don't have the dir, you probably have an installation problem.
    If it's pointing to the wrong place you can try and fix it editing the config.xml file.
    If none of the above are true, verify if the user starting weblogic has read/write permissions on that directory.
    Cheers,
    Vlad
    Give points - it is good etiquette to reward an answerer points (5 - helpful; 10 - correct) for their post if they answer your question. If you think this is helpful, please consider giving points

  • Error while configuring BC Adapter

    Hi,
    I am trying to send a message from xi to bc using bc receiver adapter,but while configuring i am not sure about the parameters like url etc.
      To invoke a service of bc through xi what url has to be provided?
      Could you please brief me more about bc adapter configuration parameters?
       What settings we have to perform in bc?
    Could you give me brief idea about the process?
    Thanks.

    Hi Shweta,
    Go through these help documents..
    http://help.sap.com/saphelp_nw2004s/helpdata/en/92/3bc0401b778031e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/2c/4fb240ac052817e10000000a1550b0/frameset.htm
    Hope these help!
    cheers,
    Prashanth

  • Configuring JDBC Adapter

    Hi
    Following is my scenorio, we need to do posting in SAP from Java Application.
    For example create Material master in SAP from Java application.
    Can we make it synchonous, since i need to send the response back to Java application from SAP
    Pls let me know, step by step procedue for the same.
    Regards
    MD

    Java Proxoies are used to allows your java Applications ( j2ee, j2se applications )to interact directly to the Integration Server of XI without any special adapters.
    All documents are available on SDN itself .
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7d4db211-0d01-0010-1e8e-9b07fc2113ab - How To Work with XI 3.0 Java Proxies
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9- Java Proxies and SAP XI - The Inside Story, Part 1
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d - Java Proxies and SAP XI - The Inside Story, Part 2
    Proxies help you achieve non-standard functionality for which the out of box XI adapters do not suffice. Just to give you an example, consider a system with which XI has to integrate , the only interface the system offers is a TCP / IP socket based interface. You could write a Java proxy which would interact over sockets with your target system, which is not possible with other standard adapters which are shipped with your XI installation
    You can refer demo on SDN TV, on this link
    https://www.sdn.sap.com/irj/sdn?rid=/webcontent/uuid/110ff05d-0501-0010-a19d-958247c9f798

  • JDBC adapter error

    I am working on proxy to jdbc scenario where iam seeing error log  in jdbc adapter of communication channel monitering  like below:
    Kindly do the needful?
    Could not execute statement for table/stored proc. "ACU_LVL_ADDR_SRC" (structure "Statement_ACU_LVL_ADDR_SRC") due to java.sql.SQLException: ORA-00001: unique constraint (FSSMGR.ACU_LVL_ADDR_SRC_PK) violated
    JDBC Message processing failed, due to Error processing request in sax parser: Error when executing statement for table/stored proc. 'ACU_LVL_ADDR_SRC' (structure 'Statement_ACU_LVL_ADDR_SRC'): java.sql.SQLException: ORA-00001: unique constraint (FSSMGR.ACU_LVL_ADDR_SRC_PK) violated
    MP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'ACU_LVL_ADDR_SRC' (structure 'Statement_ACU_LVL_ADDR_SRC'): java.sql.SQLException: ORA-00001: unique constraint (FSSMGR.ACU_LVL_ADDR_SRC_PK) violated
    Adapter Framework caught exception: null
    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: Error processing request in sax parser: Error when executing statement for table/stored proc. 'ACU_LVL_ADDR_SRC' (structure 'Statement_ACU_LVL_ADDR_SRC'): java.sql.SQLException: ORA-00001: unique constraint (FSSMGR.ACU_LVL_ADDR_SRC_PK) violated

    Use structure like as below .....
    <StatementName1>
    <dbTableName action=u201DUPDATEu201D | u201CUPDATE_INSERTu201D>
        <table>realDbTableName</table>
    <access>
    <col1>val1</col1>
    <col2>val2new</col2>
    </access>
    <key1>
    <col2>val2old</col2>
    <col4>val4</col4>
    </key1>
    <key2>
    <col2>val2old2</col2>
    </key2>
    </dbTableName>
      </StatementName1>

  • Message error ORA-00936 when using JDBC adapter

    Hi all,
    I'm using the folow scenario:
    RFC --> XI --> JDBC
    RFC <-- XI <-- JDBC (response)
    It's a SYNCHRONOUS interface.
    RFC call without COMMIT WORK:
    CALL FUNCTION 'Y_TESTE_NEI'
        DESTINATION 'RFC_XI'
    EXPORTING
       DATE_FROM       =  v_data_from
       DATE_TO         =  v_data_to
      TABLES
        t_return        = t_dados.
    I'm not using KEY in JDBC message, because for test I want to get entiry table, and I set the communication channel JDBC to KEY not mandatory.
    I'm not having mapping error, in SXMB_MONI I can see the two messages of interface, but both with SYSTEM ERROR.
    In JDBC adapter in Runtime Workbench apears the follow message error:
    com.sap.aii.af.ra.ms.api.DeliveryException: Error processing request in sax parser: Error when executing statement for table/stored proc. 't7_productionorder' (structure 't7_productionorder'): java.sql.SQLException: ORA-00936: missing expression
    And DUMP in function call in R/3: CALL_FUNCTION_REMOTE_ERROR
    Could anyone help me about this problem ?
    Thanks in advance.
    Regis Ferrato

    Hi Regis,
    I did the same scenario just now. The error you get is, you need to check whether the fields you are entering into the database have correct datatypes.
    Check out your database structure with your structure in XI, and also test in Message Mapping, to make sure you are sending correct values.
    In my case I was sending date like this '10-12-06', but my DB accepts only '101206'. So I removed the '-'. It was fine .
    The Dumping error is not due to your ABAP, due to the DB operation.
    Let me know Whether I am correct.
    Raj.

  • 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

Maybe you are looking for

  • Prompt for bind variables in SQL developer

    Hi! Just installed the latest 3.2 version of SQL Developer, and tried to do an explain plan. Now the tool prompts me for values for the bind variable. It didn't do that in my previous version (version 3. something). Thats anoying :-) How do I disable

  • Web service XML String

    Hello, I have javax.jws web service, I have method which return Document or String as well formed XML. And I need to my web service return this String as XML. @WebMethod(operationName = "operation") public String operation() { XMLvystup pom = new XML

  • Org.w3c.dom.Element

    I want to use constructor of class : com.waveset.object.WSUser.Delegate WSUser.Delegate(org.w3c.dom.Element e) i have a user object and want to pass here as argument. So can anyone tell me how to convert it into Element class object? Thanks

  • Installation of J2EE in a local machine

    Hello, I wonder if would set the J2EE in just a machine for testing, because the J2EE still not installed on the server, this solution is possible? and how can I do it?

  • GWTDOMAIN terminated and tuxedo not responding.

    I had the following problem once in production      - In one of our Tuxedo server GWTDOMAIN was restarted (dont know the reason)      - After some i started receving message as "Message dropped by gw_msg_recv()" intermettenly but the server was proce