Multiline Error for File To JDBC

Hi All,
I am doing a File to JDBC Sync Scenario Multi line Scenario.
my data structure outbound is .....
<Record>
<Row>
<Id></Id>
<Name></Name>
<Job></Job>
<Company></Company>
</Row>
</Record>
and Inbound data structure is.......
<Employee>
<acction>TableName</acction>
<access>
     <Id></Id>
     <Name></Name>
     <Job></Job>
     <Company></Company>
</access>
</Employee>
<key>
     <Id></Id>
</key>
Error while parsing or executing XML-SQL document: Error processing request in sax parser: Error when executing statement for table/stored proc. 'Employee' (structure 'Table'): java.sql.SQLException: FATAL ERROR: Column 'Key' does not exist in table 'Employee'
I am using to send the data through Text File. File is picking but there is no response. The above Error is showing. Could you please help me to solve the problem.
Thanks,
Ashok.

Hi Ashok,
     In this File to JDBC Scenario,In receiver JDBC having standard structure u can follow,
Standard structure for receiver JDBC is:
Example:
STATEMENT NAME
    Action         Attribute
    TableName  Element
    Access       Element
      empid
      empname
      address
, I thought u mistake in structure itself, because the TableName can be passed to Action field.Please check it and do it.
Regards,
Sateesh

Similar Messages

  • Errors in file to jdbc

    possible errors in file to jdbc scenario

    1.mostly the error will be when you give a wrong message structure for corresponding database statements like insert,delete,select etc..
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'xxxxx' (structure 'STATEMENT'): com.microsoft.sqlserver.jdbc.SQLServerException: Cannot insert the value NULL into column 'xxxxx', table 'xxxx"
    2.if ur connection to database is not established properly because of improper driver and connection specification in the communication channel. u will get error as : connection to database cannot be established.

  • Gardei@gardei-lab:~$ ./firefox/firefox XPCOMGlueLoad error for file /home/gardei/firefox/libxpcom.so: libxul.so: cannot open shared object file: No such file or

    Friends:
    The latest Firefox won't launch. Here's what I get...
    gardei@gardei-lab:~$ ./firefox/firefox
    XPCOMGlueLoad error for file /home/gardei/firefox/libxpcom.so:
    libxul.so: cannot open shared object file: No such file or directory
    Couldn't load XPCOM.
    Both .so files exist in ./firefox
    Thanks. -- BG

    Hello,
    Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    Please report back to see if this helped you!
    Thank you.

  • Error in File-XI-JDBC Scenario

    Dear All,
    I am working on File-XI-JDBC scenario which is using stored procedure (SP_UPDATE). When I am processing the file it is giving me the following error in the message monitoring:
    Unable to execute statement for table or stored procedure. 'SP_UPDATE' (Structure 'Statement') due to java.sql.SQLException: ERROR: Invalid XML document format for stored procedure: 'type="<SQL-type>"' attribute is missing for element 'access' (Setting a SQL-type (e.g. INTEGER, CHAR, DATE etc.) is mandatory !)
    Please guide me what is this error all about and how this can be resolved.
    Warm Regards,
    N.Jain

    Dear All,
    Now, I am able to update the SQL Server database but only one record is coming at the target. Can anyone please guide me what is he error in my Data types o in my mappings. Following is the source Data Type:
    MT_TEST_FILE_T179T      1..1     DT_TEST_FILE_T179T
         ROOT                         1..unbounded
            PRODH                    1..unbounded     xsd:string
            VTEXT                      1..unbounded     xsd:string
            DATUM                     1..unbounded     xsd:string
    Following is the target Data Type:
    MT_TEST_JDBC_T179T      1..1     DT_TEST_JDBC_T179T
         STATEMENT                1..1
            SP_UPDATE             1..1
                action                    required     xsd:string
                TABLE                  1..1                     xsd:string     
                    PRODH             1..unbounded     xsd:string
                       type               optional            xsd:string
                    VTEXT               1..unbounded     xsd:string
                       type               optional            xsd:string
                    DATUM              1..unbounded     xsd:string
                       type               optional            xsd:string
    Following are the mappings done:
    EXECUTE-->@action
    storedprocedurename-->TABLE
    PRODH-->PRODH
    VTEXT-->VTEXT
    DATUM-->DATUM
    CHAR-->@type.
    With this stucture and mapping i am able to insert only one recored in the database even though there are multiple entries in the file.
    Please guide me in solving this error so that multiple records can be inserted.
    Warm Regards,
    N.Jain

  • Strange error in File-XI-JDBC scenario

    Dear All,
    I am working currently on File-XI-JDBC scenario and is facing with a stange problem.
    I have writtern one simple query which is downloading the data from R/3 and is sending to XI Server local folder. From that folder File is getting picked by XI and is posted into SQL database.
    Now, when I am generating the required file from R/3-DEV server then my scenario is getting executed successfully but if file is generated thru R/3-QAS Server then the scenario is giving the following error "Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'MARA_UPDATE' (structure 'Statement'): java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Error converting data type nvarchar to smalldatetime."
    Also, if I am copying the complete data from the error file and paste it into a new file and executing again then the scenario is executing correctly.
    I have checked the payload and didn't find anything there.
    Kindly help me in solving this error.
    Regards,
    N.J

    Hi Farooq,
    Thanx for your reply. But this scenario is running when we are sending the file from R/3-DEV Server and also if I am copying all the contents of the error file and pasting it into a new file and then processing the file then the scenario is getting executed and I am getting no error with the same data which I have processed earlier and has thrown error.
    Reg,

  • Error in File to Jdbc.

    Hi all
    I am trying to do a simple File to Jdbc scenario.table has 2 fields empno and empname.i am able to insert records into the database successfull without any data in empname ,but when trying to insert a record with value in empname it is giving me the error " Error when executing statement for table/stored proc. 'EMPLOYEE' (structure 'STATEMENT'): java.sql.SQLException: ORA-00984: column not allowed here  ".
    empname in database is of type varchar and length 100
    and in IR it is of type string.
    plz help me in resolving the issue
    <It is against the rules of Engagement to post a question with the catch of awarding points. Please refrain from the same.>
    Regards
    Bhasker
    Edited by: Bhavesh Kantilal on Dec 3, 2008 10:26 AM

    Hi all
    Thank u for response and feedback.
    my xml payload in adapter engine looks like this:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:employee_MT xmlns:ns0="http://filetojdbc.com/employee">
    -   <STATEMENT>
    -    <EMPLOYEE action="INSERT">
         <table>EMPLOYEE</table>
    -    <access>
            <EMP_NO>2548</EMP_NO>
            <EMP_NAME>abc</EMP_NAME>
         </access>
        </EMPLOYEE>
       </STATEMENT>
      </ns0:employee_MT>
    is anything wrong in this payload.?
    as mentioned earlier i am able to insert data without the any value in <EMP_NAME>
    please help me in resolve this issue.
    Regards
    Bhasker

  • Test cases for File to JDBC scenario?

    Hi Experts,
    I would like to know what are the things needs to be tested to ensure that the File to JDBC scenario holds good in the PI box. Your valuable inputs are required to verify /check my scenario configuration is free of errors.
    Thanks & Regards,
    Pcv.

    Hi,
    You can try the following:
    1) If the end systems require authentication and the same is not provided in PI then it should throw an error.
    2) Check what happens when you dont give a mandatory field.
    3) check what result you will get when you give a wrong input.
    4) Check whether all your restrictions (in mapping and/or in receiver determination) are working properly.
    5) Check what you need to do when the target system is down.
    6) If using any FCC then check whether the conversion is done properly.....
    7) See to it that you have defined a proper DB structure when you are communication with JDBC
    8) Check with the end system whether your statement (Insert/Update/Delete etc) is performed properly
    Regards,
    Abhishek.
    Edited by: abhishek salvi on Dec 4, 2008 9:58 AM

  • IS - XML validation error for file task.xml. (COR-10142)

    Hi,
    I am facing an issue while running column profile task on a text file.
    Version of BODS components below:
    IPS: IPS 4.1 SP2
    DS: DS 4.2 SP1
    IS: IS 4.2 SP1(14.2.1.220)
    All the above components are installed on linux RHEL 6.5 machine(single machine).
    Attached the error log file.
    Appreciate the quick response.
    Thanks,
    Lokesh

    Hi Lokesh,
    Check the KBA  1931128 which may help you to resolve your issue.
    Thanks,
    Ramakrishna Kamurthy

  • Adapter engine showing error for file adapters

    Hi,
    I had configured communication channel using FTP . Because of which the Adapter engine is showing red in the component monitoring. It is saying one of the communicaion channel has error. But when I do a check in the CCs they doesn't show any error. I am getting the same error for NFS as well.
    Has anyone come across such a kind of situation? Is it because of wrong entry in CC parameters or is it some BASIS configuration (patch) issue?
    Could anyone of you give some guidance on this?
    Thanks and Regards
    Sanil

    Sanil,
    Just for testing purpose , delete ur comm.channel and check whether still u r facing the errors. If no errors then its bcoz of u comm.channel. Then we can narrow down the approach. Even after deleting the comm.chanel u get error then check all the channels across all clusters.
    Note:After deleting the channel ,give some time and check the same.
    Best regards,
    raj.

  • "Application can't be found" error for files and folders

    This has become mind boggling for me.
    Starting last week, files I've created (namely in either Adobe Photoshop CS5 or Illustrator CS5) have started giving me "Application can't be found" errors when trying to open them. They show up when I use spotlight to search for the file, but they don't show up in Finder and can't be found when trying to browse for them via the apps used to create them.
    Now I can't open a particular folder either (same symptoms and errors as above), which should have nothing to do with any applications.
    Have rebooted numerous times and am up to date on all firmware. I know these files exist and did work at one point because I uploaded them to be printed last week with no issues. But sometime between now and then (and I haven't touched them since) they decided to stop working. Please help!

    I am annoyed by, I think, the same problem.  I would like to drag Pages files directly to the finder in the dock, but now with Mavericks I can not do this.  It is bothersome to have to click on the finder to open it up when I did not have to do that with the old operating system.  I hope someone can help us both out. 
    I also hope that in the next update Apple addresses the concerns many are having with the newest version of Pages.  Until something is changed, I am sticking with old Pages because I find it to be a much better program to use.  

  • Mapping error for file scenario.

    Hi ,
    I am working with the help of this scenario to pick only selected files.
    /people/mickael.huchet/blog/2006/09/18/xipi-how-to-exclude-files-in-a-sender-file-adapter
    I am getting error in mapping . Everything i have checked its correct . Mapping is correct . but still its giving error . how can i solve it .
    Error : RuntimeException in Message-Mapping transformatio~
    Thanks ,
    Syed.

    Dear Syed Kumar
    Based on the blog you are executing the scenario I guess. The scenario is clearly focusing on the picking up the files using the mask attribute in File Access Parameters.
    As you mentioned clearly, that you are getting mapping error plz concentrate on how to rectify the mapping errors.
    will guide to do so.
    1. Go to SXMB_MONI and in the integration server and check for the message you are trying send.( I hope you did this)
    2. As it is giving you mapping error, Double click onthe message Flag showing red.
    3.Plz check the Payload XML content copy that content and paste in the message mapping Test section of IR.
    4. Execute the Test. If you get the message at the receiver side there shouldn't be any error.
    If you still get the error let me know.
    Best of Luck
    Reward Points If found use ful.
    Edited by: Praveen Kurni on Jun 13, 2008 7:43 AM
    Do the Interface mapping test as well if you are successful in message mapping.

  • JMS adapter error for FILE - XI - WebSphere MQ

    Hi
    We are facing an issue for a File to websphere MQ (5.3) implementation.
    When we run the interface , it is giving an error in the run time work bench , Adapter error:
    Exception caught by adapter framework: null
    Delivery of the message to the application using connection AFW failed, due to: RecoverableException.
    Would also like to know if we need to mention  Channel Name while configuring the adapter.
    we have already placed the required driver for WebSphere MQ in XI server i.e com.ibm.mq.jar , com.ibm.mqjms.jar ,com.ibm.mqbind.jar

    Hi John,
    If you are working with IBM MQ 5.3, you would also need connection.jar deployed in the JMS driver.
    You can mention the MQ channel name in the Receiver channel configuration in XI.
    Ensure that the listener service on this channel is started.
    More info at Re: XI--WebSphereMQ : Receiver Channel Inactive in MQ
    regards,
    Paparao

  • Biztalk AS2 encryption error for file bigger than 100MB

    I am getting following error when I am trying to receive file bigger than 100 MB. I was getting same error when I was trying file bigger than 5MB and I applied windows CU5. Now I can receive big file (I tested till 60 MB). New file which is coming is 110MB
    and we start getting this error. 
    Can somebody help me to figure out this issue.
    I am using Biztalk 2010 with windows 2008 server
    A message received by adapter "HTTP" on receive location "RecLocAS2All" with URI "/xxxxxx/BTSHTTPReceive.dll" is suspended. 
     Error details: An output message of the component "Microsoft.BizTalk.EdiInt.PipelineComponents" in receive pipeline "Microsoft.BizTalk.EdiInt.DefaultPipelines.AS2Receive, Microsoft.BizTalk.Edi.EdiIntPipelines, Version=3.0.1.0, Culture=neutral,
    PublicKeyToken=31bf3856ad364e35" is suspended due to the following error: 
         An error occurred when decrypting an AS2 message..
     The sequence number of the suspended message is 2.  

    I tried passthrough pipeline and I can receive encrypted file.Now trying to write code to decrypt it but I can not. Based on certificate I can say it is RSASHAI, so using it for decrypt. But getting error at  Convert.FromBase64String(text) where text
    is encrypted test from file.
    I am getting following error 
    The input is not a valid Base-64 string as it contains a non-base 64 character,
    more than two padding characters, or an illegal character among the padding characters.
    Can somebody help me to understand it and resolve this. Mean time trying
    to convene customer for compressed file .Please help me to understand above error. 

  • Unexpected error for file explorer

    I have a user that was trying to browse her document lib by using the explorer feature in sharepoint.  At first we were unable to even get the explorer working.. but then I followed these steps:
    1- patch IE
    For windows 7 x32 machines this update needs to be installed:
    http://www.microsoft.com/downloads/details.aspx?FamilyId=27df4b80-e71b-457a-9a5f-02668b1651c8
    For windows 7 x64 machines this update needs to be installed:
    http://www.microsoft.com/downloads/details.aspx?FamilyId=2aa7d8a3-d48d-4b7b-bfb6-770af0536fe1
    2 - trusted sites
    Under the trusted sites in IE these need to be added:
    https://*.lync.com
    https://*.microsoftonline.com
    https://*.outlook.com
    https://*.sharepoint.com
    3 - made sure this was running.
    In the windows services the WebClient must be running.
    Once I did that everything was working correctly.  The explorer now came up for the user with no issues.  However, when the user tried to copy or move a file they received this error: "An unexpected error is keeping you from copying the file. 
    If you continue to receive this error, you can use the error code to search for help with this problem.  Error 0x800700E0: Access Denied.  Before opening files in this location, you must first add the web site to your trusted sites list, browse to
    the web site, and select the option to login automatically."
    The option to login automatically has already been selected for this user.  I also checked the permissions to the site and she has full control selected.  So i'm now at a dead end.  Anyone have any suggestions?  She is running office
    2010 and I tested this on my office 2010 machine and it worked with no issues... However I am an Admin to the site.  Cheers.

    here this guy is talking about the permission on the computer.
    This is often caused because you are not an Administrator, or do not have administrator priveleges. A well phrased problem is half of the cure, and in this case just make
    sure tht your account has the 'top dog' administrator priveleges, and is using them.
    http://www.computerperformance.co.uk/Logon/code/code_80070005.htm
    Also please try your account on her computer and see if you able to copy the files or not?
    Thanks -WS SharePoint administrator, MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog *Please remember to mark your question as answered & Vote helpful,if this solves/helps your problem.*

  • Error for File to Netezza transfer

    Hi,
    Iam doing file to netezza table transfer. Iam getting the following error while load to staging area step.
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
    File "<string>", line 1, in ?
    File "<string>", line 172, in load
    File "<string>", line 189, in simpleload
    Load Error: See /tmp/TestFile.log for details
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
         at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.h.y(h.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Thread.java:595)
    I am checking for the log file in /tmp directory on the server where my agent is residing.But no such file is generated.
    Iam using File to netezza (NZLOAD) LKM and 10.1.3.5 ODI
    Any help on this is much appreciated.

    Hi Sutritha,
    The OUT direcotry and the temp directory are the same.ie /tmp. But i couldnt find any file in /tmp.
    Thanks,
    Naveen.

Maybe you are looking for