Error using transferTo function on VMS for long files

Here is the code snippet that fails, as you can tell I am not giving all the code since it is not required to understand the problem.
This occurs on OpenVMS
Welcome to OpenVMS (TM) Alpha Operating System, Version V7.3-2
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition
Classic VM (build 1.4.2-5, 03/06/2006-23:29, native threads, nojit)
The error only occurs on files with very long line lengths (20 000+ characters in the line) and file size is not an issue.
Thanks in advance for your help in resolving this issue.
private FileChannel fileChannelInbound;
private SocketChannel socketChannelOutbound;
private Socket client;
client = new Socket(hostname,portNumber);
socketChannelOutbound = SocketChannel.open(client.getRemoteSocketAddress());
File fIn = new File(file);
fileChannelInbound = new FileInputStream(fIn).getChannel();
fileChannelInbound.transferTo(0,fileChannelInbound.size(),socketChannelOutbound);
fileChannelInbound.close();This is the trace of the error.
java.io.IOException: invalid buffer length
at sun.nio.ch.FileDispatcher.write0(Native Method)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java)
at sun.nio.ch.IOUtil.write(IOUtil.java)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java)
at sun.nio.ch.FileChannelImpl.transferToTrustedChannel(FileChannelImpl.java)
at sun.nio.ch.FileChannelImpl.transferTo(FileChannelImpl.java)
at WebReturnResult.sendFile(WebReturnResult.java)
at WebReturnResult.sendResults(WebReturnResult.java)
at WebReturnResult.<init>(WebReturnResult.java)
at WebReturnResult.main(WebReturnResult.java)

Hi ,
Unfortunately this is an issue in the underlying driver for the USB device. It should be fixed in the next DAQ release.
One way you could work around this problem is by having a delay after the read and the next line of code.
i.e
Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
DAQmxErrChk DAQmxReadAnalogScalarF64(taskHandle, 10#, data, ByVal 0&
Sleep(250)
acquisitionDataTextBox.Text = CStr(data)
Hope this helps...
Nandan Dharwadker
Staff Software Engineer
Measurement Studio Hardware Team

Similar Messages

  • How to use the functionality of Simulation for the Transaction MIRO

    Hi Group,
    I have a requirement to call SAP from MS Excel and check for the SImulation option as under:
    The Excel will pass the values of Invoice Number, Posting date, PO number, PO Item number, Company code and etc., through the call of BAPI   -   'BAPI_INCOMINGINVOICE_CREATE'  in order to create Invoice in the SAP system.
    But the above BAPI is creating the Invoices in SAP system. Rather, I need to just check(thru SIMULATION) the records and come back to MS Excel with the MIRO numbers that will be created and the errror messages that will be returned back.
    In summary, I have to add two Buttons as:
       POST : this has to create MIRO(invoice Numbers) in the SAP System(populating the Success/Error Messages by calling
                   the above BAPI   -  This functionality is working fine now
       SIMULATE: this has to do  same functionality of "POST" option but should not create MIROs in the SAP system
                          Currently I am not able to achieve this as the above BAPI is creating MIROs in SAP.
    Kindly provide your inputs on how to go about incorporating the above SIMULATION functionality, by giving some simulation BAPIs that can be used for my functionality.
    Thanks for your help in advance.
    Regards,
    Vishnu.

    Hi Group,
    In continuation to my previous posting, I would like to give more inputs as under:
    when I was using the BAPI - BAPI_INCOMINGINVOICE_CREATE (unless I commit the transaction), MIRO would not be created in the system.
    Now, when I run the BAPI again with a different set of data, the Invoice Number is getting incremented by one.... this I dont need, if the Invoice is not committed and if I run the next time, I need to get the same Invoice Number....
    How can I achieve this task?
    Kindly let me know your inputs on this.
    Regards,
    Vishnu.

  • Error using Rank function in Answers

    Hi All,
    Am trying to generate a report in Answers which lists Top Accounts with Revenue.
    I Ranked the Revenue field and it is returning me correct values. ( Rank(account.revenue) )
    But, when I try to filter on this field and restrict the rows which shows only top 10 Accounts, it is returning the following error:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 17001] Oracle Error code: 1792, message: ORA-01792: maximum number of columns in a table or view is 1000 at OCI call OCIStmtExecute. [nQSError: 17010] SQL statement preparation failed. (HY000)
    Can any one help me on this.
    Thanks in Advance,
    Imtiaz.

    Hi Joe,
    This is the Physical query generated when I use Rank function and the report is fine.
    select distinct D1.c1 as c1,
    D1.c2 as c2,
    D1.c3 as c3,
    D1.c4 as c4,
    D1.c5 as c5,
    D1.c6 as c6,
    D1.c7 as c7,
    D1.c8 as c8,
    D1.c9 as c9,
    D1.c10 as c10,
    D1.c11 as c11,
    D1.c12 as c12,
    D1.c13 as c13,
    D1.c14 as c14,
    D1.c15 as c15
    from
    (select D1.c1 as c1,
    D1.c2 as c2,
    D1.c3 as c3,
    D1.c4 as c4,
    D1.c5 as c5,
    D1.c6 as c6,
    D1.c7 as c7,
    D1.c8 as c8,
    D1.c9 as c9,
    D1.c10 as c10,
    D1.c11 as c11,
    D1.c12 as c12,
    D1.c13 as c13,
    D1.c14 as c14,
    D1.c15 as c15
    from
    (select Case when D1.c1 is not null then Rank() OVER ( ORDER BY D1.c1 DESC NULLS LAST ) end as c1,
    D1.c2 as c2,
    D1.c3 as c3,
    D1.c1 as c4,
    D1.c4 as c5,
    D1.c5 as c6,
    D1.c6 as c7,
    D1.c7 as c8,
    D1.c8 as c9,
    D1.c9 as c10,
    D1.c10 as c11,
    D1.c11 as c12,
    D1.c12 as c13,
    D1.c13 as c14,
    D1.c14 as c15,
    ROW_NUMBER() OVER (PARTITION BY D1.c1, D1.c2, D1.c3, D1.c4, D1.c5, D1.c6, D1.c7, D1.c8, D1.c9, D1.c10, D1.c11, D1.c12, D1.c13, D1.c14 ORDER BY D1.c1 ASC, D1.c2 ASC, D1.c3 ASC, D1.c4 ASC, D1.c5 ASC, D1.c6 ASC, D1.c7 ASC, D1.c8 ASC, D1.c9 ASC, D1.c10 ASC, D1.c11 ASC, D1.c12 ASC, D1.c13 ASC, D1.c14 ASC) as c16
    from
    (select distinct T690.SUM_REVN_AMT as c1,
    T690.NAME as c2,
    T2216.NAME as c3,
    T690.X_PETROFAC_REVN as c4,
    T690.SUM_WIN_PROB as c5,
    T690.X_PERCENT_GET as c6,
    T690.SUM_WIN_PROB * T690.X_PERCENT_GET / nullif( 100, 0) as c7,
    T690.X_EC_PRIORITY as c8,
    T19028.LOGIN as c9,
    T690.X_COUNTRY as c10,
    T690.X_REGION as c11,
    T18311.NAME as c12,
    T18641.NAME as c13,
    T18238.NAME as c14
    from
    SIEBEL.S_BU T18238 left outer join (
    SIEBEL.S_USER T19028 left outer join (
    SIEBEL.S_OPTY T690 left outer join SIEBEL.S_STG T2216 On T690.CURR_STG_ID = T2216.ROW_ID) left outer join SIEBEL.S_ORG_EXT T1189 On T690.PR_DEPT_OU_ID = T1189.ROW_ID) left outer join SIEBEL.S_ORG_EXT T18311 /* Competitor */ On T690.PR_CMPT_OU_ID = T18311.ROW_ID) left outer join SIEBEL.S_ORG_EXT T18641 /* Partner */ On T690.PR_PRTNR_ID = T18641.ROW_ID) left outer join SIEBEL.S_POSTN T19114 On T690.PR_POSTN_ID = T19114.PAR_ROW_ID) left outer join SIEBEL.S_OPTY_BU T18280 On T690.ROW_ID = T18280.OPTY_ID) left outer join SIEBEL.S_OPTY_X T19415 On T690.ROW_ID = T19415.PAR_ROW_ID) On T19028.PAR_ROW_ID = T19114.PR_EMP_ID) On T18238.ROW_ID = T18280.BU_ID
    ) D1
    ) D1
    where ( D1.c16 = 1 )
    ) D1
    order by c1 desc
    But When I apply Filter on this Rank column then it gives me the error. THis is the Physical query for that
    select distinct Case when D1.c1 is not null then Rank() OVER ( ORDER BY D1.c1 DESC NULLS LAST ) end as c1,
    D1.c2 as c2,
    D1.c3 as c3,
    D1.c1 as c4,
    D1.c4 as c5,
    D1.c5 as c6,
    D1.c6 as c7,
    D1.c7 as c8,
    D1.c8 as c9,
    D1.c9 as c10,
    D1.c10 as c11,
    D1.c11 as c12,
    D1.c12 as c13,
    D1.c13 as c14,
    D1.c14 as c15
    from
    (select D1.c1 as c1,
    D1.c2 as c2,
    D1.c3 as c3,
    D1.c4 as c4,
    D1.c5 as c5,
    D1.c6 as c6,
    D1.c7 as c7,
    D1.c8 as c8,
    D1.c9 as c9,
    D1.c10 as c10,
    D1.c11 as c11,
    D1.c12 as c12,
    D1.c13 as c13,
    D1.c14 as c14
    from
    (select T690.SUM_REVN_AMT as c1,
    T690.NAME as c2,
    T2216.NAME as c3,
    T690.X_PETROFAC_REVN as c4,
    T690.SUM_WIN_PROB as c5,
    T690.X_PERCENT_GET as c6,
    T690.SUM_WIN_PROB * T690.X_PERCENT_GET / nullif( 100, 0) as c7,
    T690.X_EC_PRIORITY as c8,
    T19028.LOGIN as c9,
    T690.X_COUNTRY as c10,
    T690.X_REGION as c11,
    T18311.NAME as c12,
    T18641.NAME as c13,
    T18238.NAME as c14,
    Case when T690.SUM_REVN_AMT is not null then Rank() OVER ( ORDER BY T690.SUM_REVN_AMT DESC NULLS LAST ) end as c15
    from
    SIEBEL.S_BU T18238 left outer join (
    SIEBEL.S_USER T19028 left outer join (
    SIEBEL.S_OPTY T690 left outer join SIEBEL.S_STG T2216 On T690.CURR_STG_ID = T2216.ROW_ID) left outer join SIEBEL.S_ORG_EXT T1189 On T690.PR_DEPT_OU_ID = T1189.ROW_ID) left outer join SIEBEL.S_ORG_EXT T18311 /* Competitor */ On T690.PR_CMPT_OU_ID = T18311.ROW_ID) left outer join SIEBEL.S_ORG_EXT T18641 /* Partner */ On T690.PR_PRTNR_ID = T18641.ROW_ID) left outer join SIEBEL.S_POSTN T19114 On T690.PR_POSTN_ID = T19114.PAR_ROW_ID) left outer join SIEBEL.S_OPTY_BU T18280 On T690.ROW_ID = T18280.OPTY_ID) left outer join SIEBEL.S_OPTY_X T19415 On T690.ROW_ID = T19415.PAR_ROW_ID) On T19028.PAR_ROW_ID = T19114.PR_EMP_ID) On T18238.ROW_ID = T18280.BU_ID
    ) D1
    where ( D1.c15 <= 10 )
    ) D1
    order by c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15
    Thanks,
    Imtiaz

  • Using aggregate function along with for all entries: sugest alternative

    My requirement:
    For each record in i_vbap for which 'charg' is initial, need to determine batch using the following logic:
    For the material (MATNR) in i_vbap, select the batch (CHARG) which has the largest (MAX) unrestricted inventory quantity (CLABS) from MCHB table.
    How do I implement this logic without using select statement inside a loop as I cannot use MAX ( CLABS ) function along with FOR ALL ENTRIES in a SELECT?
    Suggest an alternative.

    For each record in i_vbap for which 'charg' is initial ,fetch all the existing 'clabs' value.
    [ Remember to include all the key fields in selct ]
    Sort the new table .
    Put a loop,use at end of 'charg' and append to another table. U get ur solution
    I think this should be the most economic way to do so.

  • Error using LISTAGG function to aggregate the strings.

    HI
    I am using LISTAGG function to aggregate the strings but throws a error ORA - 19011
    The output of the aggregated function exeeds the varchar limit.
    I dont know how to change it to a LOB.
    Can you please help me.
    This is the code.
    I have used both the functions.
    RTRIM(XMLAGG(XMLELEMENT(e,FDCT.USER_NAME || ' ')).extract('//text()'), ' ')
    or
    LISTAGG(FDCT.USER_NAME, ',') WITHIN GROUP (ORDER BY FDCT.USER_NAME)
    Edited by: 787819 on Jun 22, 2011 1:46 PM

    If a function returns a VARCHAR2, then it will error (or sometimes truncate depending on function) when reaching the limit of the datatype.
    Perhaps an alternative would be to write your own user-defined aggregate function that works with a CLOB.
    http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10765/aggr_functions.htm#ADDCI2120
    A comma-separated string over 32767 in length sounds of dubious value to me anyway...

  • How to use the function SOMME.SIS for a specific month ?

    Hello,
    I want to use the function SOMME.SIS with a condition that would be a specific month of the year. Does anyone know how to do that ?

    Hi Amir,
    Ahaa! SUMIFS
    Here is Table 1
    Date
    Month
    Product
    Sold
    2 January
    January
    A
    20
    3 January
    January
    A
    40
    3 January
    January
    B
    50
    5 February
    February
    A
    10
    6 February
    February
    B
    5
    7 February
    February
    A
    15
    8 February
    February
    B
    2
    Table 2
    Month
    A
    B
    January
    60
    50
    February
    25
    7
    March
    0
    0
    April
    0
    0
    May
    0
    0
    June
    0
    0
    July
    0
    0
    Formula in B2 (and Fill down and Right)
    =SUMIFS(Table 1::$D,Table 1::$B,$A2,Table 1::$C,B$1)
    Regards,
    Ian.
    Edit: Your region may use ; instead of , in formulas. Ian.

  • Error using Message Transform Bean in SimplePlain2XML in file sender

    Hi guys.
    Im using  Message Transform Bean to convert from file to xml in file sender.
    My structure look like this:
    ROW (1..n)
    >TRANSPORTES (1)
    >ENTREGAS (1..n)
    And I have configured the module like this:
    AF_Modules/MessageTransformBean - transform
    transform - Transform.Class - com.sap.aii.messaging.adapter.Conversion
    transform - xml.ENTREGAS.endSeparator - 'nl'
    transform - xml.ENTREGAS.fieldFixedLengths - 1,30
    transform - xml.ENTREGAS.fieldNames - TIPO,NUM_ENTREGA
    transform - xml.ENTREGAS.keyFieldValue - E
    transform - xml.TRANSPORTES.endSeparator - 'nl'
    transform - xml.TRANSPORTES.fieldFixedLengths - 1,30
    transform - xml.TRANSPORTES.fieldNames - TIPO,NUM_TRANSPORTE
    transform - xml.TRANSPORTES.keyFieldValue - T
    transform - xml.conversionType - SimplePlain2XML
    transform - xml.documentName - MPrueba_Zip
    transform - xml.documentNamespace - http:/XXXXXX.es/XXXX/sap/prueba
    transform - xml.keyFieldName - TIPO
    transform - xml.processFieldNames - fromConfiguration
    transform - xml.recordsetName - row
    transform - xml.recordsetStructure - TRANSPORTES,1,ENTREGAS,*
    Im getting this error and I don´t know why:
    Error: com.sap.aii.messaging.adapter.trans.TransformException: Transformer Conversion3.0.5227 Error initializing Class: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: (4408) Parameter 'xml.fieldFixedLengths' or 'xml.fieldSeparator' is missing (4409) Parameter 'xml.fieldNames' is missing (4403) ; nested exception caused by: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: (4408) Parameter 'xml.fieldFixedLengths' or 'xml.fieldSeparator' is missing (4409) Parameter 'xml.fieldNames' is missing (4403)
    Why am i doing wrong?????
    Thanks a lot!!!

    Hi
    For Complex conversion you have to use xml.conversionType as "StructPlain2XML"
    http://help.sap.com/saphelp_nw04/helpdata/en/24/4cad3baabd4737bab64d0201bc0c6c/content.htm
    Regards
    Ramg

  • Error while updating default media player for audio files??

    Ever since I received a replacement iPod Nano for my original through the AppleCare program, I frequently get the following message while syncing podcasts:
    "An error occurred while updating the default player for audio file types. You do not have enough access privileges for this operation."
    How can I correct this problem?
    HP Pavilion zv6000   Windows XP   Athlon 64 Processor 4000+

    Check out this thread for a possible resolution to your problem: http://discussions.apple.com/message.jspa?messageID=6825681

  • Using my TM backup disc for other files

    The help file for TM suggests you shouldn't use your TM backup disc for anything else.
    Can anyone tell me why this is? If I have a very large backup disc, what is the downside of storing stuff on it other than the TM backup?
    Thanks

    You can make a separate partition for the other stuff, but you'll need another way to back that up. 
    See #3 in  Time Machine - Frequently Asked Questions.

  • Firefox 24 uses its own stricter umask for downloaded files then 23, where do I set this ?

    Apparently, Firefox24 uses its own umask (0077) setting for downloaded files (in libxul.so ?) , whereas Firexfox23 seems to use the inherited umask from the calling process (0022 in my case).
    Securitywise this is change fine, but in my case I need to use my own umask setting.
    Anyway to specifies this ? (had checked about:config)
    thanks !
    Note:question https://support.mozilla.org/en-US/questions/971876?esab=a&as=aaq seems related, but IMHO an existing directory hasn't a umask setting.

    hello trummel7, please try to upgrade to firefox 25 which got released today and should contain a fix for this issue. thank you!

  • Error Using DataExport function in Essbase

    Hi there,
    I'm using Hyperion Essbase version 9.3.1.
    And rite now I'm trying to export data in Essbase by the new CalcScript function DataExport directly to SQL server.
    I have 11 dimensions in my Essbase application. I did create 10 fields in SQL server for storing members information and 12 other fields for periodic data. Just, the time when I export data, all the rows returned with only 7 fields for members information and 12 data fields for periodic data.
    Can anyone help? Please help!
    Best regards,
    Antony

    Antony,
    So when you use a calc script like the below:
    SET DATAEXPORTOPTIONS
         DataExportLevel ALL ;
         DataExportDynamicCalc OFF ;
         DataExportRelationalFile ON ;
         DataExportOverwriteFile ON ;
    DATAEXPORT "File" "," "b:\exports\jan.txt" "#MI";
    Your export works just as you want? (I realize you have lots of other logic, but for the sake of argument use the above).
    And then when you take the exact same code except that the DATAEXPORT command now looks like:
    SET DATAEXPORTOPTIONS
         DataExportLevel ALL ;
         DataExportDynamicCalc OFF ;
         DataExportRelationalFile ON ;
         DataExportOverwriteFile ON ;
    DATAEXPORT "DSN" "cur_sale" "newyork" "admin" "password";
    You don't get the same results?
    I get the same results regardless. Yes, one is written to a table as defined by the DSN and the other a text file but the contents are exactly the same.
    Are you seeing different rows/columns? If so, that would either suggest your table is somehow limiting what gets written to the RDBMS (it would be nice to think that Essbase would log this as an error/fail) or there is a bug in the export. I have not come across this issue.
    Regards,
    Cameron Lackpour

  • Error using @MDShift Function

    I'm trying to create a calc script that will move the prior month's ending balance into the current month's beginning balance. After looking through the technical reference guide, I thought using the @MDshift function would be my best option. My calc script is as follows: FIX ("Test Scenario") "1016 LB Beg Balance" = @MDSHIFT("101600", 1, YTD, -1, Scenario,); ENDFIX Receiving the following error message: Error: 1200366 Error parsing formula for [1016 LB Beg Balance] (line 3): invalid arguments number in macro[@MDSHIFTMBR] What does this error message indicate? Where can I find the information needed to resolve this? A sample of my outline structure is as follows:YTD Time (Active Dynamic Time Series Member Y-T-D, Q-T-D) Quarter 1 03 02 01 Quarter 2 06 05 04Fiscal Year 2003 2004 2005Scenerio Actual Average Budget Test Scenario Any suggestions?

    Is this using Planning?I had the same, fixed it with a loop statement. Loop for the number of years you have plus one (for backcalc). First fix on BegBalance, second on the elements of the time dimension. Hope this formats ok ...Loop(4)Fix(Begbalance)"Beginning Balance" = @mdshift("Beginning Balance", 12,"Time Periods",,-1,Years, );"Ending Balance" = @mdshift("Ending Balance", 12,"Time Periods",,-1,Years, );EndfixEndLoopLoop (4)Fix(@levmbrs(Time,0))"Beginning Balance" = @PRIOR("Ending Balance");"Ending Balance" = "Beginning Balance" - "A" - "B";EndfixEndloopHope this helps.

  • Error using "LDF Database Open.vi" for LDF 2.1 file

    Hi there,
    I use the USB-LIN for a simulation for LIN bus. We had the LDF file of version 2.0 before but now we get a new LDF file which is in version 2.1.
    We used 
    LDF Starter Kit for LIN 1.0.1
    to read the LDF file but it seems that the kit doesn't work any more with the LDF version 2.1.
    It there a workaround for the LDF file with version 2.1.
    Thx,
    Wilbur

    Hi,
    The NI USB-LIN was created to work with the version 1.3 network standard. However, version 2.0 and 2.1 are backwards compatible, so the NI USB-LIN will work with these networks as well.
    there is currently not a plan to update it for LIN 2.1.
    Note: The new features introduced in version 2.0 and 2.1 network standards will not be natively supported with the NI USB-LIN.
    LIN Version 1.3, 2.0, and 2.1 Comparison
    Feature
    Supported by NI USB-LIN
     LIN 1.3
     Yes
     LIN 2.0
     Yes* 
     Enhanced checksum
     Yes
     Off the shelf slave node concept
     Yes*
     NCF format
     Yes*
     Diagnostics and slave node configuration
     Yes*
     Byte arrays
     Yes
    LIN 2.1
     Yes*
    New slave node configuration services
     Yes*
    Slave diagnostics class I-III
     Yes*
    Functional addressing
     Yes*
    Resolution table
     Yes*

  • Getting error using  getXMLString() function

    When I use the getXMLString() function I get the following error at compile time.
    Error(57,23): cannot access class org.w3c.dom.Node; file org\w3c\dom\Node.class not found
    I don't understand why I am getting this error or how to resolve the issue. Is there a work around ? Any help is appreciated. Below is the code.
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.PrintWriter;
    import java.io.IOException;
    import java.sql.*;
    import oracle.jdbc.driver.*;
    import oracle.xml.sql.query.OracleXMLQuery;
    public class LoginServlet extends HttpServlet
    private static final String CONTENT_TYPE = "text/html; charset=windows-1252";
    public void init(ServletConfig config) throws ServletException
    super.init(config);
    public void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException
    response.setContentType(CONTENT_TYPE);
    String username = request.getParameter("UserName");
    String password = request.getParameter("Password");
    String domain = request.getParameter("Domain");
    System.out.println("going to try to connect");
    try
    // register the JDBC driver..
    DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
    // Create the connection using the OCI8 driver
    Connection conn =
    DriverManager.getConnection("jdbc:oracle:thin:@" + domain ,username,password);
    out.println("connected to database "+ domain);
    String sqlString = "select * from atu_service";
    //OracleXMLQuery qry = new OracleXMLQuery(conn, sqlString);
    OracleXMLQuery qry = new OracleXMLQuery(conn, "select * from attrib_def ");
    // Get the XML string
    String str = qry.getXMLString(); // error occurs here.
    // Print the XML output
    out.println(str);
    // Always close the query to get rid of any resources..
    qry.close();
    out.close();
    catch(Exception e )
    e.printStackTrace();

    You need to include the Oracle XML Parse v2 class library in JDeveloper.

  • XSLT mapping error using document function

    Hello,
    We migrated from XI 3.0 to PI 7.1. XSL is made use of for mapping. We are encountering this error of 'File not found' when we use the document funcion to look into an xml file. The xml file along with the xsl map is zipped and uploaded. I am not sure of why this is happening in PI 7.1. What is the cause. Looking forward to your early replies with solutions.
    Kind Regards,
    InduShekar

    Check the file contents and see whether the content is same as that of the older version.  You can export the same file from xi and pi and  see both are same and having same contents. Check the file is imported in the right namespace.

Maybe you are looking for

  • Only Financial modules implementation

    Hello Everybody, I have two different issues which I want to resolve and want to know what the best process would be. # New Implementation # Release 12.1.3 # One Company from another big ERP System to EBS # Other Companies from different legacy syste

  • Having trouble upgrading to iTunes 9

    I Tried Upgrading to iTunes 9 and it looked like everything installed okay but when I tried to open iTunes it give me this message : "Quicktime version 7.5.5 installed, iTunes requires Quicktime version 7.6.4 or later Please uninstall iTunes and then

  • PDF Splitting

    Is it possible to use the Acrobat SDK to split 1 document out of a very large pdf file using it's known bookmark? For example, if I have a very large pdf with thousands of bookmarks, and I already know the name of a particular bookmark, can I use the

  • Adobe Support Advisor tool

    how do i install Adobe Support Advisor tool and whare do i find the link for it

  • Comment importer des fichiers RAW de mon EOS 7D Mark II

    Bonjour, Je viens de recevoir mon nouvel EOS 7D Mark II et je n'arrive pas à importer mes fichiers RAW sur Lightroom. Quelqu'un a t-il une idée ? Merci par avance.