File Adapter - WinXP at compile time, Unix at run time

Regarding File Adapter - WinXP at compile time, Unix at run time
I want to specify polling of a directory using Unix type directory notation but this doesn't compile under windows. (I'll read up re. logical directories)
Has anyone done polling of a unix directory using BPEL (but compiled this under windows JDeveloper)?
thanks,
Allan

Using a logical directory should help you with this problem.

Similar Messages

  • HOw to update XML file residing in DAM by component JSP in run-time?

    i have made a component which reads xml file residing in DAM.
    Content Author can fill some values in dialog of this component, as soon as author provide the values,i have to update these values in XML file and component reloadsby reading the updated xml file.
    i am trying to achieve this by making object of XML file and giving it's path., but i ma unable to access the XML file.
    Can anyone help me out to how to update XML file by component JSP in run-time?

    Now the changed data must be exported back into the XML file, meaning that the content of certain elements must be updated. How can this be done with XSLT?
    XSLT approach:  check these online tutorial
    http://www.xml.com/pub/a/2000/08/02/xslt/index.html
    http://www.xml.com/pub/a/2000/06/07/transforming/index.html
    ABAP approach:
    for example you have the xml (original) in a string called say xml_out .
    data: l_xml  type ref to cl_xml_document ,
            node type ref to if_ixml_node  .
    create object l_xml.
    call method l_xml->parse_string
      exporting
        stream = xml_out.
    node = l_xml->find_node(
        name   = 'IDENTITY'
       ROOT   = ROOT
    l_xml->set_attribute(
        name    = 'Name'
        value   = 'Charles'
        node    = node
    (the above example reads the element IDENTITY and sets attribute name/value to the same)
    like wise you can add new elements starting from IDENTITY using various methods available in class CL_XML_DOCUMENT
    so how do I access the XML file in order to update it?
    you have already read this XML into a ABAP variable right?
    Sorry couldnt understand your whole process, why do you need to read local XML file?
    Raja

  • Crystal Report looks the design time xml at run time

    Hi,
    I have a question about crystal report. I am using VS 2008. My PC is Windows XP SP2.
    The reporst was using xml datasource. At design time, I specifiy the datasource as a xml file (D:\Report\myReport.xml). At run time, on a different pc where the design time xml file does not exist, I prepare the datasource like:
    DataSet data = new DataSet();
    XmlTextReader reader = new XmlTextReader(xml, XmlNodeType.Document, context);
    data.ReadXml(reader);
    and then
    report.Load("myReport.rpt");
    report.SetDataSource(data);
    report.Refresh();
    Edited by: Don Williams on Aug 7, 2010 10:02 AM

    Hi Bhushan,
    No it's still not working.               
    Following is what my code looks like after applying your fix. Is it correct? Does the ConnectionInfo.ServerName have to be my report xml or any xml file will work?
    Please let me know if my code is correct or wrong and how to fix it if it's wrong.
    Thanks for your help.
    report.Load(reportFile);
    foreach (Table t in report.Database.Tables)
                        ConnectionInfo crConnectionInfo = t.LogOnInfo.ConnectionInfo;
                        crConnectionInfo.ServerName = "D:
    UpdateConfig.xml";
                        crConnectionInfo.DatabaseName = "D:
    UpdateConfig.xsd";
                        TableLogOnInfo crTableLogOnInfo = t.LogOnInfo;
                        crTableLogOnInfo.ConnectionInfo = crConnectionInfo;
                        t.ApplyLogOnInfo(crTableLogOnInfo);
    report.SetDataSource(data);
    report.Refresh();

  • Compile-time v/s Run-time

    I have an servlet based application that is compiled in JDK 1.1.7 and for running it, my application server (Tomcat) used JRE 1.3.1 (JIT enabled).
    The question is if I compile my application in JDK 1.3.1 (using a new IDE) would my application performance in terms of speed be faster.
    Thanks in advance.
    TP

    If you change some implementations, such as
    replacing Vectors with ArrayLists, you will see
    (perhaps) a marginal improvement, but do so only if
    you need no synchronization.If you try to execute a java app that uses the Java 1.2 Collections API in a Java 1.1 VM, you will certainly get java.lang.NoClassDefFoundErrors thrown.
    The Collections API is downloadable for Java 1.1

  • What files get installed where when I install LabVIEW run-time?

    Hey all,
    I am unable to run any installer on my current computer.  As a possible solution, could I run the installer on another machine, save the installed files to a USB drive, and then move them to the respective locations on my current computer without running an installer?
    If this is possible, what specific files should I look for regarding the LabVIEW Runtime, and in what locations should I put them?
    Thanks for any help that you can provide me!
    Justin

    Hi JustinJames.
    As ramses64 said, this process is practically impossible.  The installer even for just the runtime engine of LabVIEW does a bit more than just copying files/executables to certain locations.  That being said, it will undoubtedly be far easier to solve the problem you are experiencing with installing the software on the first system.  Can you please elaborate as to what is happening?  Are you seeing any errors?  Are there codes associated?  At what point do you see these errors?  The more details you can provide, the better we will be able to provide advice with the matter.  
    Regards. 
    Michael G
    Michael G.
    Applications Engineer
    National Instruments
    Self-realization: I was thinking of the immortal words of Socrates, who said, "... I drank what?"

  • How to keep the font in the design time appear in run time with forms 10g

    hi guys
    did anyone know if we can keep the font we choose at
    design time in form 10g r2
    appear in runtime cuz the java applet transformer it to
    fonts that it recognise and the original font disappear

    You need to map the font you are using for development to one of the proper Java fonts that is used by the server by editing the related lines in the Registry.dat file located under the BI installation (of the iAS server) The file is located under the BI_HOME/forms/java/oracle/forms/registry/ subdirectory.
    Here is an example from my Registry.dat file. I am using Helvetica when developing (I am on Linux for both iDS and iAS) and mapping it to Dialog (Java font). You can search this form and OTN white papers, I am sure you can find similar mappings for your font (for development) and deployment. I simply used trial and see method to find a solution for my case.
    # Default Font Face mapping.
    # appFontname represents a comma delimited list of Application Font Names.
    # javaFontname represents a comma delimited list of Java Font Names.
    # The number of entries in the appFontname list should match the number in
    # the javaFontname list. The elements of the list are comma separated and
    # all characters are taken literally, leading and trailing spaces are
    # stripped from Face names.
    # Note that this file uses the Java 1.1 Font names in order to be able to
    # handle the NLS Plane (BUG #431051)
    default.fontMap.appFontnames=Courier New,Courier,courier,System,Terminal,Fixed,Fixedsys,Times,Times New Roman,MS Sans Serif,Arial,Helvetica
    default.fontMap.javaFontnames=MonoSpaced,MonoSpaced,MonoSpaced,Dialog,MonoSpaced,Dialog,Dialog,Serif,Serif,Dialog,SansSerif,Dialog
    Hope this proves useful.
    R/ Zaf

  • Reg: UNIX shell script at File Adapter

    Hi all,
    I am doing a File to file scenario and using command line arguments in Sending file adapter. I am using UNIX shell script ".sh" file for executing the command.
    I gave the following path at "Run OS command before message processing" parameter:
    /temp/xidelivery/send/FILOSC004_shell.sh
    and this file contains following code:
    <b>#!/user/bin/sh cp /temp/xidelivery/send/FILOSC004_in.txt /temp/xidelivery/send/FILOSC004_input_copy4.txt</b>
    I put the source file, FILOSC004_in.txt and shell script files at the respective paths.
    If I give "cp" command directly in command line it is working fine. But I could not execute this with shell script. Can any body give me the reason where I gone wrong.
    Regards,
    Pavani.

    Hi,
    can you try this,
    bash /temp/xidelivery/send/FILOSC004_shell.sh
    let me know.
    hey you can check the blog below to catch the OS errors,
    /people/michal.krawczyk2/blog/2005/08/17/xi-operation-system-command--error-catching
    Prasad Babu.
    Message was edited by:
            PrasadBabu Koribilli

  • Synchronous Read in File Adapter

    Hi,
    Could you please explain one example scenario for Synchronous Read in File Adapter?
    Thanks,
    kpr

    This is end to end case
    Assume u have file coming from 2 differnt source in 2 differet inbound file adapter you can read this at a same time and do assign,transform etc in bpel and send one file to next process for further processing. in this type of scenario we use a Sync file read
    Note: the 2 files come at same time to inbound file adapter.

  • File Adapter Query, when PI server restarts polling starts

    Hi Experts,
    I have one problem with File sender adapter if someone can suggest solution or easy way to handle situation.
    I have a interface with 50 file adapters.
    I am activating all file adapters with poling interval 24 Hours.
    And I am activating all adapters after 10 minutes interval so that all should not run at same time.
    So every thing is good.
    But the problem is that whenever BASIS team restarts the SAP-PI server. All 50 file sender adapters get restart at same time (i.e. all poling starts at same time which I do not want because of file size of all files and dependency of one interface i/p on other file o/p).
    So every time when server is getting re-started, I have to re-activate all 50 adapters by sitting for many hours after every 10 minute interval.
    Can someone suggest any solution for above problem, or itu2019s not possible to control sender file adapter poling start when server starts instead of time when I activate it originally?
    Regards

    Hi Rohan,
    As far as I know, it is not possible to schedule the adapter when the server gets restarted.
    Lets see what experts say on the same.
    Thanks,

  • File adapter and clustered application

    Hi !
    I have a question about how to use correctly file adpter at sca application in clustered server. My application very simple. Folder with xml files. Composite application - file adapter read folder with mask *.xml. Some times file adapter read one file twice. How I can set lock file when read one server from folder ?
    Edited by: user5427713 on Nov 26, 2012 5:38 AM

    You need to setup the File Adapter for high availability to ensure proper functioning in a clustered environment. Check out the details here in section 5.9.2.2
    http://docs.oracle.com/cd/E12839_01/core.1111/e10106/ha_soa.htm#CHDJFDAI
    In summary you will need following:
    1. A shared filesystem for the managed servers
    2. Same value for control directory in connection factories
    3. Use eis/HAFileAdapter instead of eis/FileAdapter as connection factory in JCA file.

  • Find out which java files really needed to compile

    Hi,
    I wan't to create WebStart jar files from a big library. Most times I only need a part of the lib (e.g. 30%). It is overhead to complie and pack the hole library.
    I need a tool (favor for ant) - I can give a hand full of "initial java files" and it give me back a list of java files I have to compile and pack to run without ClassNotFound Exception.
    This expects dynamic class loading.
    Have you the same problem or solved this problem?
    Using ant it is only possible to select a bundle of java classes and it is comiling exactly this classes :-/

    You could use the verbose option while compiling. It will list the dependent source files that are required during compilation.
    For command line, javac ... -verbose
    From ant, you could specify verbose="yes" withing the <javac> task. :)

  • How to insert a link of file in the form and view it at any time i need

    Hi
    I'm using developer 2000/Form designer form version 4.5
    how i can insert a link of any file Word, Excel, PDF, JPG in the form run time
    and open it from the form at any time i need
    example
    i have employ table which contain details of the employ and i want to attach a link of his photo which i already saved it in local drive
    so when i have a new employ i enter his details and brows of his photo and when i select the link of the photo will be with his other details
    and when i need to view the details of the employ just enter the emp_no and i will get details including the photo link and when i want to open the photo just double click the link
    any body can help me on this
    regards

    Hi,
    I think you should investigate in how to upload the information into the database. If the employee keeps the photo on the local drive then this isn't realy for everyone to use
    Your options are : Upload to the database as ImageItem
    Frank
    Ps.: Forms 4.5 is desupported

  • Throws Run time error at runtime.

    Hi freinds,
    I've downloaded special jar file and placed in "C:\j2sdk1.4.2_11\jre\lib\ext".
    I've used one of the IO class from this jar file in my Candies.java class.
    When i going to compile it from command prompt it compiles dine but at run time while running following command ,
    D:\TP>javac Candies.java
    D:\TP>java Candies
    Exception in thread "main" java.lang.NoClassDefFoundError: ncst/pgdst/IOException
    When i compile and run this code with IDE 'JCreator' it works fine.
    Why the same application throws run time error at command prompt?
    How could i resolve this issue ?
    Note:I've also set classpath to "C:\j2sdk1.4.2_11\jre\lib\ext\." .
    Regards,
    Sachin Warang.

    If i placed the jar file some where else how could
    used it in my source file?To use a class in your source code, you just import its package and make sure the jar is on the classpath, nothing else is necessary.
    I'm stick to command prompt as i want include the
    input file(which contains big input) at run time
    using the command
    D:\TP>java Candies < input
    Is it possible with any IDE to include such text file
    at run time , if so how could i do this?All IDEs let their users specify parameters for programs they start from within the IDE. See doc of your IDE. (But people here don't recommend IDEs for beginners ;)
    But why it compiles fine and giving me Error at run
    time if it is not set in the classpath?Looks like it is because that class is not used directly in your code but your code calls another class that uses that missing class.
    I've also change the classpath to
    "C:\j2sdk1.4.2_11\jre\lib\ext\pgdst.jar\." still the
    problem exist , why is it so as i'm giving the actual
    path now?You still don't specify the exact jar! E.g: C:\j2sdk1.4.2_11\jre\lib\ext\pgdst.jar\aa.jar
    Hope it helps...

  • ORA-06502: PL/SQL: numeric or value error(Run Time Error)

    Hi,
    Intially the table structure goes something like this.
    CREATE TABLE CLARITY_RESPONSE_LOG
      REQUEST_CODE   NUMBER,
      RESPONSE_FILE  BLOB,
      DATE_CRATED    DATE                           NOT NULL,
      CREATED_BY     NUMBER                         NOT NULL,
      UPDATED_BY     NUMBER                         DEFAULT 1,
    )The content of the RESPONSE_FILE column which is a BLOB data type has some XML content(XML file).
    The compiled proc which uses the above table is as follows.
    CREATE OR REPLACE PROCEDURE "MWF_ONLINE_RESPONSE_XML"
    AS
       v_file            UTL_FILE.FILE_TYPE;
       v_text            VARCHAR2 (20);
       v_filename        VARCHAR2 (200);
       v_delimitedchar   CHAR (1);
    ----log
      v_process_name  VARCHAR2(100) := 'MWF_ONLINE_RESPONSE_XML';
      v_sqlerrorcd          VARCHAR2(10);
      v_sqlerrormsg         VARCHAR2(255);
      v_seq_auto_email_job  NUMBER;
      v_cnt                 NUMBER := 0;
      v_user_name    VARCHAR2(30);
    BEGIN
      --- for log use
      SELECT sys_context('USERENV','OS_USER') INTO  v_user_name  FROM dual;
      INSERT INTO PROCESS_ERROR_LOG
                 (seq_num,
                  process_name,
                  status,
                  process_date,
                  user_name)
      VALUES     (seq_dataxprocesslog.NEXTVAL,
                  v_process_name,
                  'STA',
                  SYSDATE,
                  v_user_name);
       v_delimitedchar := CHR (124);
       v_filename := 'online_response_xml.txt';
       v_file := UTL_FILE.FOPEN ('MWF_DATA_EXTRACTS', v_filename, 'W');
       UTL_FILE.PUT_LINE
         (v_file,
           'online_response_xml'
       FOR online_response IN
          (SELECT XMLTYPE (response_file, NLS_CHARSET_ID ('char_cs')).getclobval () AS Online_Respone_xml
          FROM CLARITY_RESPONSE_LOG
          WHERE TRUNC(date_crated ) = TRUNC(SYSDATE-1)
          LOOP
          UTL_FILE.PUT_LINE (v_file, online_response.Online_Respone_xml);
        v_cnt := v_cnt + 1;
      END LOOP;
      UTL_FILE.FCLOSE(v_file);
      INSERT INTO PROCESS_ERROR_LOG
                 (seq_num,
                  process_name,
                  status,
                  process_date,
                  cnt,
                  user_name)
      VALUES     (seq_dataxprocesslog.NEXTVAL,
                  v_process_name,
                  'COM',
                  SYSDATE,
                  v_cnt,
                  v_user_name);
      COMMIT;
    EXCEPTION
      WHEN OTHERS THEN
        v_sqlerrorcd := SQLCODE;
        v_sqlerrormsg := SUBSTR(SQLERRM,1,255);
        INSERT INTO PROCESS_ERROR_LOG
                   (seq_num,
                    process_name,
                    status,
                    process_date,
                    error_msg,
                    error_id,
                    user_name)
        VALUES     (seq_dataxprocesslog.NEXTVAL,
                    v_process_name,
                    'ERR',
                    SYSDATE,
                    v_sqlerrormsg,
                    v_sqlerrorcd,
                    v_user_name);
        COMMIT;
    END;The above code has been compiled without any compilation errors but at run time I am getting the error:
    ORA-06502: PL/SQL: numeric or value error.
    Is it because of below statement in the above proc:
    SELECT XMLTYPE (response_file, NLS_CHARSET_ID ('char_cs')).getclobval () AS Online_Respone_xml
          FROM CLARITY_RESPONSE_LOG
          WHERE TRUNC(date_crated ) = TRUNC(SYSDATE-1)Please advice

    vine wrote:
    Is it because of below statement in the above proc:
    SELECT XMLTYPE (response_file, NLS_CHARSET_ID ('char_cs')).getclobval () AS Online_Respone_xml
    FROM CLARITY_RESPONSE_LOG
    WHERE TRUNC(date_crated ) = TRUNC(SYSDATE-1)Please adviceto see where the line code that gets the error try using dbms_output.put_line() and before you run your procedure use the SQL*Plus command set serveroutput on. see this example below using the dbms_output.put_line().
    CREATE OR REPLACE PROCEDURE "MWF_ONLINE_RESPONSE_XML" AS
       v_file            UTL_FILE.FILE_TYPE;
       v_text            VARCHAR2 (20);
       v_filename        VARCHAR2 (200);
       v_delimitedchar   CHAR (1);
    ----log
      v_process_name  VARCHAR2(100) := 'MWF_ONLINE_RESPONSE_XML';
      v_sqlerrorcd          VARCHAR2(10);
      v_sqlerrormsg         VARCHAR2(255);
      v_seq_auto_email_job  NUMBER;
      v_cnt                 NUMBER := 0;
      v_user_name    VARCHAR2(30);
    BEGIN
      --- for log use
      SELECT sys_context('USERENV','OS_USER') INTO  v_user_name  FROM dual;
    dbms_output.put_line('1');
      INSERT INTO PROCESS_ERROR_LOG
                 (seq_num,
                  process_name,
                  status,
                  process_date,
                  user_name)
      VALUES     (seq_dataxprocesslog.NEXTVAL,
                  v_process_name,
                  'STA',
                  SYSDATE,
                  v_user_name);
    dbms_output.put_line('2');
       v_delimitedchar := CHR (124);
       v_filename := 'online_response_xml.txt';
       v_file := UTL_FILE.FOPEN ('MWF_DATA_EXTRACTS', v_filename, 'W');
       UTL_FILE.PUT_LINE(v_file,'online_response_xml');
    dbms_output.put_line('3');
       FOR online_response IN
          (SELECT XMLTYPE (response_file, NLS_CHARSET_ID ('char_cs')).getclobval () AS Online_Respone_xml
             FROM CLARITY_RESPONSE_LOG
            WHERE TRUNC(date_crated ) = TRUNC(SYSDATE-1)) LOOP
          UTL_FILE.PUT_LINE (v_file, online_response.Online_Respone_xml);                                                  
          v_cnt := v_cnt + 1;
    dbms_output.put_line('4');
       END LOOP;
      UTL_FILE.FCLOSE(v_file);
    dbms_output.put_line('5');
      INSERT INTO PROCESS_ERROR_LOG
                 (seq_num,
                  process_name,
                  status,
                  process_date,
                  cnt,
                  user_name)
      VALUES     (seq_dataxprocesslog.NEXTVAL,
                  v_process_name,
                  'COM',
                  SYSDATE,
                  v_cnt,
                  v_user_name);
      COMMIT;
    dbms_output.put_line('6');
    EXCEPTION
      WHEN OTHERS THEN
        v_sqlerrorcd := SQLCODE;
        v_sqlerrormsg := SUBSTR(SQLERRM,1,255);
        INSERT INTO PROCESS_ERROR_LOG
                   (seq_num,
                    process_name,
                    status,
                    process_date,
                    error_msg,
                    error_id,
                    user_name)
        VALUES     (seq_dataxprocesslog.NEXTVAL,
                    v_process_name,
                    'ERR',
                    SYSDATE,
                    v_sqlerrormsg,
                    v_sqlerrorcd,
                    v_user_name);
        COMMIT; 
    END;

  • Getting LabVIEW load error code 59 using LabVIEW 2010 with a Run Time Engine.

    I use a vi compiled with a run time engine to run separate vi’s in my application directory. Once a file association is made with this exe file any Vi in my application directory is available to be loaded as needed. This is a process that has been very successful for me over the years and would prefer to continue using this process. Most of my applications are running in LabVIEW 8.6 and have moved them to 2009. First indications are in 2009 this process is still working. However, I plan to go on to 2010 before upgrading my test stations.
    In 2010 I get the error 59: “The source file’s compiled code has been separated, and this version of LabVIEW does not have access to separated compiled code.”
    The same dialog box also presents, (Hex 0x626)  “Cannot open a VI with separated compiled code in a Run Time Engine that has no access to the VIObjCache.”
    What can I do in the build that will get around this error?
    Thank you

    Thank you for the solution. I am sure this works until the next vi in the vi library gets this option selected.
     The bigger issue is I was doing something that National Instruments did not support. When I started in the days of LV 4.0 it was recommended to me that I use this method as virtually all my applications were for in house projects. This is still my preference because it gives the most versatility and allows modifications of single files rather than compiling the entire application.
    The final solution I ended up with for those who may be having the same issues. My recommendation for what it is worth, is to compile the application as an executable. This is from what I can tell the only acceptable and supported method. Using this method the problem is solved.
    I have accepted this as the solution. I still don't like it. I could list the reasons why but it is a mute point.
    Thanks again for taking the time to respond to this issue and offer the solution you found.

Maybe you are looking for

  • Some applications installed on my macbook do not appear as installed

    Hi what can I do so that the app Store "see" all the app which are installed on my macbook For example Pages, the latest version is installed but in the app store ... I could buy it once again... it is not written installed like for example for iphot

  • Resetting a Mac mini to original factory settings without a disc.

    I have a Mac mini that the previous owner did not erase all content. I was hoping to reset to factory settings without a disc. The on-line restore to factory settings seems to suggest that I need to enter an Apple ID. I have one, but I'm not the orig

  • ???   Links:   PDF File Links to Files On CD

    Ok I have a CD that automatically opens a PDF page On the PDF page I want 3 links and or buttons to will open files located on a CD How do I create the links/buttons to open the files located on the CD? (I can create a button and link it to a file on

  • Exceed budget when create po

    hi expert! when I create po,  the system give me warning message exceed  item 010 **(cost center name) /**(commitment item name) budget message NO  BP629 Diagnosis In document item 010 ***(cost center name)/***(Commitment item name), payment budget *

  • JMS Queue Not bound

    Configured JMS communication to connect to external JMS Queue. When i see the status in Adapter monitor, it shows an error "Receiver channel details:<queuename> not bound". Would like to know , where is the problem this error is related to? Thnx Suni