Upload attachment using BPM File Chooser in OBPM 10g

Hi,
I am currently working on OBPM 10g.
Can anyone please help me with upload attachment using BPM File Chooser using BPM Presentation?????

Do not use the existing Fuego.Ui.FileChooser component. This OOTB Oracle BPM component would work fine if you're trying to get a file from the server where the Engine is running, but will not work if you want a file from the end user client's machine.
Take a look at a project I uploaded to http://www.4shared.com/file/aq-cY2qN/_2__FileChooserDemo.html
It has both a JSP and a BPM Object presentation. The BPM Object presentation has a button called "Attach File", If you click in the presentation editor and then click the Properties tab you'll see that its "Name" property is "AttachFile" and the Action property is set to "submit". This means that it will return the text "AttachFile" in the result predefined variable in the screenflow. If you open the screenflow, you'll see the conditional transition from the "AttachmentViewerInteractive" to the "FileChooser" task. The name of this transition is "AttachFile". Because this was named "AttachFile", the logic behind this transition evaluates if "result ==AttachFile".
Be careful with this example project. It will succeed when a small text or binary file < 100k is selected. It will go to the "File is too big" task in the screenflow shown below when the file > 100k. To make this maximum size limit larger, simply add a new line in your
<Oracle BPM Enterprise Home Directory>\webapps\workspace\WEB-INF\workspace.properties file:
# Max size of a file coming from a client machine (default is 100k)
fuego.workspace.servlet.Attachment.MAX_ATTACHMENT_SIZE=2000000
Once the file has been retrieved, do not store this as an instance variable unless it has been marked as a “Separated” instance variable.
The “AttachView1.jsp” is invoked from the Interactive activity’s “FileChooser” task in the screenflow.
Once the end user selects the file from the JSP, work flows to the “Add file” task. This is where you can retrieve the selected file’s:
- Name: fileHolder.file_filename variable
- Content type: fileHolder.file_content_type variable
- Contents: fileHolder.file binary variable
Dan

Similar Messages

  • How to find if the user has selected one or many files using a file chooser

    I have a file chooser but want it to return either a file or file array depending on whether more than one file is selected but there doesn't seem to be any way to find out if that is the case or not. I want it to look something like:
                if(fileChooser.getSelectedFile().isDirectory()==true)
                    selectedFile=fileChooser.getCurrentDirectory();
                else if(fileChooser.multipleFilesSelected())
                    fileChooser.getSelectedFiles();//we have more than one file selected
                else   
                    fileChooser.getSelectedFile();    //if we have one file selected
                }am I going about dealing with this in the right way?

    OK, I scoured the API again and found I could avoid the problem altogether by using
    http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JFileChooser.html#isMultiSelectionEnabled()
    and
    http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JFileChooser.html#setFileSelectionMode(int)

  • Upload attachements using ESS

    Dear Guru's
    Is it possible to upload attachements on behalf of travel expensses using an ESS scenario? We are on ECC 6.0 and EhP4 but I can't see a button in the webdynpro to attach documents or scanned receipts in the accelarated entry of expense function in ehp nor in the ehp1 or ehp2 functionality . If possible which scenario or service should we use. Should we use ArchiveLink or Easy DMS in favor?
    All answers are welcome.
    Kind regards,

    Hi Stephan
    This functionality is available in ABAP Web Dynpro starting Enhancement
    Package 2 with BP 1.2.  However please note this is limited only to the WD ABAP landscape for ESS and
    is a limitation for Java but is planned functionality for EHp5.
    Use of Scanned Receipts and Adding of Attachments
    If you use optical archives for Travel Management, in expense reports
    you can display receipts that are scanned into the system. When
    scanned receipts are allocated to an expense report, the system shows
    them in the POWLs for travelers, travel assistants, and approving
    manager.
    Travelers can add attachments to their expense reports (for example, the
    agenda of a convention). This can be done when creating an expense
    report or in the POWL. Attachments are linked to the trip number and can
    be viewed by travel assistants and approving managers.
    http://help.sap.com/erp2005_ehp_04/helpdata/en/5d/eecf6d3832433ea4d292e5
    7d925e10/frameset.htm
    Please also check here:
    http://help.sap.com/saphelp_47x200/helpdata/en/dc/92d8345388482be1000000
    9b38f83b/frameset.htm
    You also have to decide between using the functionality of using either attachments or scanned receipts (Archivelink) . Attachments are created with BUS2089. These are shown:
    - in the POWL under the column 'attachments'
    - in the trip itself on the header data view
    Scanned documents must be created with TRAVEL. These are shown:
    - in the POWL under the column 'facsimiles'. If not there, please
      change the settings to display this column!
    - in the trip itself in the receipts view!
    You need to also customise in PE03, feature TRVPA, This works if OAA is 1 and if the documents are created with Type
    TRAVEL.
    Hope this helps!

  • Not merging the XML files  in single file using BPM file to file  payload

    Dear All,
    i am working on BPM N:1 Scenario my design and config looks correct . it is picking the file and appending into my defined  "ContainerList" but in receiver side .i mean Inbound side it is putting the data of one one file with the contents of first file . i am not getting any error in SXMB_MONI.
    this is e.g of my two file
    >>> first file  DATA1. XML
    <?xml version="1.0" encoding="utf-8" ?>
    - <ns1:MT_INF xmlns:ns1="urn://collppayload">
      <ID>IND</ID>
      <Value>2</Value>
      <Name>shaym</Name>
      </ns1:MT_INF>
    >>>> second file DATA2.XML
    <?xml version="1.0" encoding="utf-8" ?>
    - <ns1:MT_INF xmlns:ns1="urn://collppayload">
      <ID>IND</ID>
      <Value>2</Value>
      <Name>rakesh</Name>
      </ns1:MT_INF>
    But in Inbound side in target it is create the file with data
    >>>>  in.xml
    <?xml version="1.0" encoding="utf-8" ?>
    - <ns1:MT_INF xmlns:ns1="urn://collppayload">
      <ID>IND</ID>
      <Value>2</Value>
      <Name>shaym</Name>
      </ns1:MT_INF>
    hope u will understand my issue i want the two outbound file should be merged . plz tell me how i will resolve it.

    Dear Raj,
    My scenario is N:1 BPM
    i have created one data type and one message type same using for source and target.
    Message interfaces.   outbound Asyn, outbound Asyn Abstract, Abstarct Asyn, and Inbound Asyn
    two message mapping :  outbound asyn --to ---outbound asyn abstract which is 1 to 0 unbound... and outbound asyn abst -- to --- Abstract asyn which is 0 unbound... to 1
    then two Interface mappings
    and Integration process
    Now ID i created
    1 recv agreemt.
    1 send agreemt.
    2 Interface detrm and two recv determ
    this was my IR and ID desg and congf respctvly.

  • Uploading attachment using GOS for XK02/XK03

    Hi All,
    i am trying to upload the attachments to XK02(or XK03) for a corresponding vendors using GOS.
    i have no idea how to do this.
    plz help me...
    thanks in advance.

    hi Surinder.
    thanks for the link that was very help full.
    but i need to upload the attachments through a program.
    and the thing is BDC will not work in this case
    do you know any other way to upload these attachements like using RFC's ?

  • Uploading and using gpx files

    anyone have any experience with any apps that can do this well?

    As said you'd have to transfer your file somehow to the database server; you could use ftp or standard windows shares for that. After you uploaded your file you could use dbms_lob to process your file and insert it into the database: http://docs.oracle.com/cd/B19306_01/appdev.102/b14258/d_lob.htm#ARPLS020
    Or you could use BFILES to store pointers of your files in the table:
    http://www.orafaq.com/wiki/BFILE
    The other way round you'd simply use ftp or what ever else to download those files to the client and display them with host with the associated program. Bfiles would have the benefit that the files are not stored as blobs in the database but on the filesystem which would spare you the writing of a temporary file to transfer it to the client (and reading it with dbms_lob when transfering it to the server) as the file resides on the file system of the database server.
    cheers

  • Transformations using BPM - File -webservice-merge-File

    Friends,
    I have a requirement something like this.
    1. i get the file through the sender file adapter
    2. one field out of those sent by the sender will be used to make a webservice call to get dateofbirth and name details.
    3. i need to merge these data (from file + webservice response) and send it to the receiver using FTP
    Can you please elaborate as to how we can achieve this?
    Thanks and Regards,
    Pavan

    Use a SOAP lookup;
    /people/bhavesh.kantilal/blog/2006/11/20/webservice-calls-from-a-user-defined-function
    More about the lookup api - https://help.sap.com/javadocs/NW04S/current/pi/index.html

  • How to upload data using utl_file when you dont know the exact file name

    Hi
    i want to upload data from a flat file to a table.
    i dont know the exact file name. i want to make a search for filename. like i want to make a search on file (say test*) which will give me all the files with test.
    i want to upload data using these files.
    how can i do this by using UTL_FILE.
    Regards
    Manish

    Thank you very much.
    Thing is previously we are using sqlloader and shell script for loading the data.
    now i am creating a procedure (if possible without parameters).
    Is there any other way i can do that.
    can i make a wild card search using utl_file.
    Thanks n Regards
    Manish

  • How to upload above20000 records csv files into oracle table,Oracle APEX3.2

    Can any one help me how to CSV upload more than 20,000 records using APEX 3.2 upload process.i am using regular upload process using BOLB file
    SELECT blob_content,id,filename into v_blob_data,v_file_id,v_file_name
    FROM apex_application_files
    WHERE last_updated = (select max(last_updated)
    from apex_application_files WHERE UPDATED_BY = :APP_USER)
    AND id = (select max(id) from apex_application_files where updated_by = :APP_USER);
    I tried to upload but my page getting time out. my application best working up to 1000 records. after that its getting timed out.Each record is storing 2 secornds in the oracle table.So 1000 records it taking 7 minuts after that APEX upload webpage getting timed out
    please help me with source how to speed upload csv file process or help another best with with source example.
    Thanks,
    Sant.
    Edited by: 994152 on Mar 15, 2013 5:38 AM

    See this posting:
    Internet Explorer Cannot Display
    There, I provided a couple of links on this particular issue. You need to change the timeout on your application server.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    http://apex.oracle.com/pls/apex/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • File chooser to buffered image

    Hi all,
    Sorry about the total newbie question; I'm trying to figure out how to convert a jpg into a buffered image, while using the file chooser to select it. I'd like to do all this in a scrollpane. Does anyone have some sample code for this, at least so I can play around? I have ideas, but I'm getting tons of errors while trying things like:
    public class ImProc extends JComponent{
    private BufferedImage source, destination;
    private JComboBox options;
    public ImProc( BufferedImage image){
    source = destination = image;
    setBackground(Color.white);
    setLayout( new BorderLayout());
    JPanel controls = new JPanel();
    options = new JComboBox(
    new String[] {"[source]", "brighten", "darken", "rotate", "scale" }
    options.addItemListener(new ItemListener(){
    public void itemStateChanged( ItemEvent ie){
    String option = (String)options.getSelectedItem();
    BufferedImageOp op = null;
    if(option.equals("[source]"))
    destination = source;
    else if(option.equals("brighten"))
    op = new RescaleOp(1.5f, 0, null);
    else if(option.equals("darken"))
    op = new RescaleOp(0.5f, 0, null);
    else if (option.equals("rotate"))
    op = new AffineTransformOp(
    AffineTransform.getRotateInstance(Math.PI / 6), null);
    else if (option.equals("scale"))
    op = new AffineTransformOp(
    AffineTransform.getScaleInstance(.5, .5), null);
    if(op != null) destination = op.filter(source, null);
    repaint();
    controls.add(options);
    add(controls, BorderLayout.SOUTH);
    public void paintComponent(Graphics g){
    int imageWidth = destination.getWidth();
    int imageHeight = destination.getHeight();
    int width = getSize().width;
    int height = getSize().height;
    g.drawImage(destination,
    (width - imageWidth) / 2, (height - imageHeight) / 2, null);
    public static void main(String[] args){
    JFileChooser chooser = new JFileChooser();
    String filename = chooser.getName();
    ImageIcon icon = new ImageIcon(filename);
    Image i = icon.getImage();
    int w = i.getWidth(null), h = i.getHeight(null);
    BufferedImage buffImage = new BufferedImage(w, h,
    BufferedImage.TYPE_INT_RGB);
    Graphics2D imageGraphics = buffImage.createGraphics();
    imageGraphics.drawImage(i, 0, 0, null);
    JFrame frame = new JFrame("Image");
    frame.getContentPane().add(new ImProc(buffImage));
    frame.setSize(buffImage.getWidth(), buffImage.getHeight());
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.setVisible(true);
    So, I'm stuck. Any help from anyone is appreciated.
    Thanks,
    Joe

    Now, with:
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import java.awt.image.*;
    import javax.swing.*;
    import java.io.*;
    import javax.imageio.*;
    public class ImProc extends JComponent{
    private BufferedImage source, destination;
    private JComboBox options;
    public ImProc( BufferedImage image){
    source = destination = image;
    setBackground(Color.white);
    setLayout( new BorderLayout());
    JPanel controls = new JPanel();
    options = new JComboBox(
    new String[] {"[source]", "brighten", "darken", "rotate", "scale" }
    options.addItemListener(new ItemListener(){
    public void itemStateChanged( ItemEvent ie){
    String option = (String)options.getSelectedItem();
    BufferedImageOp op = null;
    if(option.equals("[source]"))
    destination = source;
    else if(option.equals("brighten"))
    op = new RescaleOp(1.5f, 0, null);
    else if(option.equals("darken"))
    op = new RescaleOp(0.5f, 0, null);
    else if (option.equals("rotate"))
    op = new AffineTransformOp(
    AffineTransform.getRotateInstance(Math.PI / 6), null);
    else if (option.equals("scale"))
    op = new AffineTransformOp(
    AffineTransform.getScaleInstance(.5, .5), null);
    if(op != null) destination = op.filter(source, null);
    repaint();
    controls.add(options);
    add(controls, BorderLayout.SOUTH);
    public void paintComponent(Graphics g){
    int imageWidth = destination.getWidth();
    int imageHeight = destination.getHeight();
    int width = getSize().width;
    int height = getSize().height;
    g.drawImage(destination,
    (width - imageWidth) / 2, (height - imageHeight) / 2, null);
    public static void main(String[] args){
    JFrame frame = new JFrame("Image");
    frame.setSize(300, 300);
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.setVisible(true);
    JFileChooser chooser = new JFileChooser();
    //String filename = chooser.getName();
    File f = chooser.getSelectedFile();
    //String filename = f.getName();
    //ImageIcon icon = new ImageIcon(filename);
    //Image i = ImageIO.read(f);
    //int w = i.getWidth(null), h = i.getHeight(null);
    //BufferedImage buffImage = null;
    try{
    BufferedImage buffImage = ImageIO.read(f);
    catch (IOException e){
    System.out.println("Error: " + e.getMessage());
    frame.getContentPane().add(new ImProc(buffImage));
    Graphics2D imageGraphics = buffImage.createGraphics();
    imageGraphics.drawImage(buffImage, 0, 0, null);
    With this, it doesn't seem to find my variable buffImage. However, it complains if I don't use the try{} catch{}. Am I not declaring something properly?

  • File Chooser and Scanner/ PrintWriter

    I'm trying to use the file chooser and scanner and printwriter together. How can I go about this?

    import java.io.*;
    import java.util.Scanner;
    import javax.swing.JFileChooser;
    * @author Originative
    public class Test {
        JFileChooser jf=new JFileChooser(".");
        String fileName="";
        public static void main(String [] nix){
            Test t=new Test();
            t.Actor();
        public void Actor(){
            try{
                Scanner c=new Scanner(System.in);
                System.out.print("Enter 1 to Open JFileChooser : ");
                int k=c.nextInt();
                if(k==1){
                    int val=jf.showOpenDialog(jf);
                    if(val==JFileChooser.APPROVE_OPTION){
                        File fi=jf.getSelectedFile();
                        fileName=jf.getSelectedFile().toString();
                        PrintWriter pw = new PrintWriter(System.out, true);
                        pw.println(fileName);
                if(k!=1){
                    System.out.println("Bye Bye  :)");
            catch(Exception d){
                System.out.println(d);
    }A sample you can use in this way and many many many many others :)

  • Combining File Chooser and this MP3 class

    Hello all,
    I was curious if anyone could help me figure out how to get a file to actually load once it is used with this code.
    I'm unfamiliar with how it works and I was hoping for an explanation on it.
    I wasn't sure if I had to have the program recgonize that I would like to load a mp3 or if it just would load it automatically...
    Essentially, I want to be able to load a mp3 if I use the file chooser.
    I can try to clarify my question more if anyone should need it.
    Thank you
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class List extends JPanel
                                 implements ActionListener {
        static private final String newline = "\n";
        JButton openButton, saveButton;
        JTextArea log;
        JFileChooser fc;
        public List() {
            super(new BorderLayout());
            //Create the log first, because the action listeners
            //need to refer to it.
            log = new JTextArea(5,20);
            log.setMargin(new Insets(5,5,5,5));
            log.setEditable(false);
            JScrollPane logScrollPane = new JScrollPane(log);
            //Create a file chooser
            fc = new JFileChooser();
            //Uncomment one of the following lines to try a different
            //file selection mode.  The first allows just directories
            //to be selected (and, at least in the Java look and feel,
            //shown).  The second allows both files and directories
            //to be selected.  If you leave these lines commented out,
            //then the default mode (FILES_ONLY) will be used.
            //fc.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
           // fc.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);
            //Create the open button.  We use the image from the JLF
            //Graphics Repository (but we extracted it from the jar).
            openButton = new JButton("Open a File...",
                                     createImageIcon("images/Open16.gif"));
            openButton.addActionListener(this);
            //Create the save button.  We use the image from the JLF
            //Graphics Repository (but we extracted it from the jar).
            saveButton = new JButton("Save a File...",
                                     createImageIcon("images/Save16.gif"));
            saveButton.addActionListener(this);
            //For layout purposes, put the buttons in a separate panel
            JPanel buttonPanel = new JPanel(); //use FlowLayout
            buttonPanel.add(openButton);
            buttonPanel.add(saveButton);
            //Add the buttons and the log to this panel.
            add(buttonPanel, BorderLayout.PAGE_START);
            add(logScrollPane, BorderLayout.CENTER);
        public void actionPerformed(ActionEvent e) {
            //Handle open button action.
            if (e.getSource() == openButton) {
                int returnVal = fc.showOpenDialog(List.this);
                if (returnVal == JFileChooser.APPROVE_OPTION) {
                    File file = fc.getSelectedFile();
                    //This is where a real application would open the file.
                    log.append("Opening: " + file.getName() + "." + newline);
                } else {
                    log.append("Open command cancelled by user." + newline);
                log.setCaretPosition(log.getDocument().getLength());
            //Handle save button action.
            } else if (e.getSource() == saveButton) {
                int returnVal = fc.showSaveDialog(List.this);
                if (returnVal == JFileChooser.APPROVE_OPTION) {
                    File file = fc.getSelectedFile();
                    //This is where a real application would save the file.
                    log.append("Saving: " + file.getName() + "." + newline);
                } else {
                    log.append("Save command cancelled by user." + newline);
                log.setCaretPosition(log.getDocument().getLength());
        /** Returns an ImageIcon, or null if the path was invalid. */
        protected static ImageIcon createImageIcon(String path) {
            java.net.URL imgURL = List.class.getResource(path);
            if (imgURL != null) {
                return new ImageIcon(imgURL);
            } else {
                System.err.println("Couldn't find file: " + path);
                return null;
         * Create the GUI and show it.  For thread safety,
         * this method should be invoked from the
         * event-dispatching thread.
        private static void createAndShowGUI() {
            //Create and set up the window.
            JFrame frame = new JFrame("FileChooserDemo");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            //Create and set up the content pane.
            JComponent newContentPane = new List();
            newContentPane.setOpaque(true); //content panes must be opaque
            frame.setContentPane(newContentPane);
            //Display the window.
            frame.pack();
            frame.setVisible(true);
        public static void main(String[] args) {
            //Schedule a job for the event-dispatching thread:
            //creating and showing this application's GUI.
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();
    }The mp3 class that I've been playing around with...
    import java.io.BufferedInputStream;
    import java.io.FileInputStream;
    import javazoom.jl.player.Player;
    public class MP3 {
        private String filename;
        private Player player;
        // constructor that takes the name of an MP3 file
        public MP3(String filename) {
            this.filename = filename;
        public void close() { if (player != null) player.close(); }
        // play the MP3 file to the sound card
        public void play() {
            try {
                FileInputStream fis = new FileInputStream(filename);
                BufferedInputStream bis = new BufferedInputStream(fis);
                player = new Player(bis);
            catch (Exception e) {
                System.out.println("Problem playing file " + filename);
                System.out.println(e);
            // run in new thread to play in background
            new Thread() {
                public void run() {
                    try { player.play(); }
                    catch (Exception e) { System.out.println(e); }
            }.start();
    // test client
        public static void main(String[] args) {
            String filename = "C:\\FP\\1.mp3";
            MP3 mp3 = new MP3(filename);
            mp3.play();
    }

    Thanks for the link
    I've been looking over the sections and still confused with the code.
    It's obvious that I have to do something with this portion of the code:
    public void actionPerformed(ActionEvent e) {
        //Handle open button action.
        if (e.getSource() == openButton) {
            int returnVal = fc.showOpenDialog(FileChooserDemo.this);
            if (returnVal == JFileChooser.APPROVE_OPTION) {
                File file = fc.getSelectedFile();
                //This is where a real application would open the file.
                log.append("Opening: " + file.getName() + "." + newline);
            } else {
                log.append("Open command cancelled by user." + newline);
    }I'm just not sure what.

  • Hi, I upgraded to OX X Mountain Lion, and now I can't upload any pictures from iphoto/desktop to email, etc.  After I choose my file and hit "attach file" to upload, it says: "Invalid File Specified".  I am using jpg, so I'm confused. Any suggestions?

    Hi, I recently upgraded to OX X Mountain Lion, and now I cannot upload any of my pictures from iphoto or even my desktop to email, etc.  After I choose my file and hit "attach file" to upload, it says: "Invalid File Specified".  I am using jpg, so I'm confused. Any suggestions?

    Not having a media card in your BlackBerry may affect your ability to transfer media files onto it. There is a file size limit of 2.86MB when transferring files into device memory. http://bbry.lv/9XNuy0
    Have you verified that the applications you are trying to install are supported by your current wireless provider? Unlocked devices from one provider may not have full functionality on another network.
    -FS
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.
    Click Solution? for posts that have solved your issue(s)!

  • Getting "Warning: The file upload failed.No such file or directory." while trying to upload image using af:inputFile

    Hi,
    I have a <af:inputFile> component which will upload only image file and render  the corresponding image...
    It work with normal application deployed on weblogic server however when i use same taskflow as a part of human task in SOA BPM worklist...
    I get this warning message "Warning: The file upload failed.No such file or directory." for certain files where as it works for certain image files.
    And in BPM whenever i upload PNG file it throws this error.
    Please help.

    For some files like Images with .png extensions it gives following error :
    java.io.IOException: No such file or directory
      at java.io.UnixFileSystem.createFileExclusively(Native Method)
      at java.io.File.checkAndCreate(File.java:1705)
      at java.io.File.createTempFile0(File.java:1726)
      at java.io.File.createTempFile(File.java:1803)
      at org.apache.myfaces.trinidadinternal.config.upload.UploadedFileImpl._createOutputStream(UploadedFileImpl.java:284)
      at org.apache.myfaces.trinidadinternal.config.upload.UploadedFileImpl.loadFile(UploadedFileImpl.java:208)
      at org.apache.myfaces.trinidadinternal.config.upload.CompositeUploadedFileProcessorImpl._processFile(CompositeUploadedFileProcessorImpl.java:344)
      at org.apache.myfaces.trinidadinternal.config.upload.CompositeUploadedFileProcessorImpl.processFile(CompositeUploadedFileProcessorImpl.java:95)
      at org.apache.myfaces.trinidadinternal.config.upload.FileUploadConfiguratorImpl._doUploadFile(FileUploadConfiguratorImpl.java:329)
      at org.apache.myfaces.trinidadinternal.config.upload.FileUploadConfiguratorImpl.beginRequest(FileUploadConfiguratorImpl.java:162)
      at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl._startConfiguratorServiceRequest(GlobalConfiguratorImpl.java:610)
      at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.beginRequest(GlobalConfiguratorImpl.java:216)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:155)
      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.bpel.services.workflow.client.worklist.util.WorkflowFilter.doFilter(WorkflowFilter.java:175)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.bpel.services.workflow.client.worklist.util.DisableUrlSessionFilter.doFilter(DisableUrlSessionFilter.java:70)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

  • ** How to deliver multiple files using BPM (From RFC output)

    Hi Friends,
    I am doing File-RFC-File scenario using BPM. I am using BAPI_SFLIGHT_GETLIST as my RFC (Standard RFC). If we execute this RFC, it will return the results in tables form. Assume that, the inputs to RFC is like below.
    FromCountryKey : US
    FromCity: NEW YORK
    ToCountryKey: DE
    ToCity: FRANKFURT.
    The outputs from the RFC is like below.
    26 Entries
    CAR
    CONN
    FLDATE
    AIR
    AIR
    DEPTIME
    SEATSMAX
    SEATSOCC
    |
    DL
    0106
    19.05.2008
    JFK
    FRA
    19:35:00
    280
    266
    UA
    3516
    20.05.2008
    JFK
    FRA
    16:20:00
    380
    364
    LH
    0401
    23.05.2008
    JFK
    FRA
    18:30:00
    220
    209
    LH
    0401
    28.05.2008
    JFK
    FRA
    18:30:00
    220
    208
    UA
    3516
    28.05.2008
    JFK
    FRA
    16:20:00
    380
    367
    DL
    0106
    16.06.2008
    JFK
    FRA
    19:35:00
    280
    261
    UA
    3516
    17.06.2008
    JFK
    FRA
    16:20:00
    380
    357
    LH
    0401
    20.06.2008
    JFK
    FRA
    18:30:00
    220
    213
    DL
    0106
    14.07.2008
    JFK
    FRA
    19:35:00
    280
    1
    UA
    3516
    15.07.2008
    JFK
    FRA
    16:20:00
    380
    86
    LH
    0401
    18.07.2008
    JFK
    FRA
    18:30:00
    220
    123
    DL
    0106
    11.08.2008
    JFK
    FRA
    19:35:00
    280
    56
    UA
    3516
    12.08.2008
    JFK
    FRA
    16:20:00
    380
    67
    LH
    0401
    15.08.2008
    JFK
    FRA
    18:30:00
    220
    114
    DL
    0106
    08.09.2008
    JFK
    FRA
    19:35:00
    280
    0
    UA
    3516
    09.09.2008
    JFK
    FRA
    16:20:00
    380
    164
    LH
    0401
    12.09.2008
    JFK
    FRA
    18:30:00
    220
    64
    DL
    0106
    06.10.2008
    JFK
    FRA
    19:35:00
    280
    80
    UA
    3516
    07.10.2008
    JFK
    FRA
    16:20:00
    380
    8
    LH
    0401
    10.10.2008
    JFK
    FRA
    18:30:00
    220
    16
    DL
    0106
    03.11.2008
    JFK
    FRA
    19:35:00
    280
    11
    UA
    3516
    04.11.2008
    JFK
    FRA
    16:20:00
    380
    33
    LH
    0401
    07.11.2008
    JFK
    FRA
    18:30:00
    220
    53
    DL
    0106
    01.12.2008
    JFK
    FRA
    19:35:00
    280
    0
    UA
    3516
    02.12.2008
    JFK
    FRA
    16:20:00
    380
    45
    LH
    0401
    05.12.2008
    JFK
    FRA
    18:30:00
    220
    25
    |
    We need to create output file for each record. In this case, the system should generate 26 output files.
    I imported the RFC and created the required interfaces and designed BPM also.
    Start --> Receive step --> Synchronous Send --> Asynchronous Send
    But, I stuck in how to deliver each record to the output file from BPM.
    Any idea, friends. (like using BPM Multi-line option. or 'Receiver From' property in the Send Step)
    Kindly help me friends to solve this issue.
    Thanking you.
    Kind Regards,
    Jeg P.

    Hi
    You can do it by creating one another message interface having structure same as your table.
    What you have to do is create a mapping in such a way that for each record in table one message(newly created) must be created.
    Use that mapping in an interface mapping, remember occurence of target message should be 0..Unbounded both in message mapping and interface mapping.
    Now create one single line message and one multiline message in BPM for newly created message.Use transformation step with new interface mapping, mention source(RFC response) and target message(use multiline element of new message) for the transformation step.
    Use send step inside a block,set block mode to "forEach", and attach new message to that send step.
    Use multiline and single element of new message in the property window of block.
    Now your BPM will look like
    Start ---> Receiver ---> Synchronous send ---> Transformation ---> Block ---> Async Send(within block)
    I think in this way you can implement what you want.
    Regards
    Sami
    Reward points if helpful.

Maybe you are looking for

  • W540 fails to boot

    Turned on my W540 running Win 8.1 and it has started going straight to a blue screen that says the Boot Configuration Data File doesn't contain valid information for an operating system. No logical explaination as to why this has happened. So first I

  • ISE Application won't start after upgrading to 1.2

    Hi, we have a customer which is using a ISE-3315 Hardware appliance running 1.1.4.218 Patch 1. He needed to upgrade to 1.2 Patch 2 to support iOS7. There is no secondary appliance so this is a standalone deployment. We did the upgrade according to Ci

  • StrokeThickness not applied to Path, in Windows Phone 8 Platform

    Hi, I'm currently developing WP8 app, in which i have used the following code snippet like this, C#:             Path segPath;             segPath = new Path();             segPath.StrokeThickness = 4;             segPath.Stroke  = new SolidColorBrus

  • I have 2 accounts and want to delete/remove one.  How do I do this?

    I have 2 accounts and want to delete/remove one.  How do I do this?

  • ORA-00600 error

    Hi , I got an ORA 600 error while executing my PL/SQL. The exception thrown : An error occurred processing the prepared call for CORP_INTERFACES_PG.P_LOAD_CORP_INTERFACE_DATA(1).-ORA-00600: internal error code, arguments : [kcbgtcr_13], [], [], [], [