Need help with file conversion

New to JMS. I want to take data which has been put into XML form, validate it, put it into a Topic (Oracle's AQ is the implementation), have a subscriber grab it and use XSL to map the elements to DB columns and insert all the data into the DB.
This way, I hope to reuse the same inserter, and just use a different mapping for each XML doc.
I am having trouble in the area of converting the files, and/or the Document objects you get from parsers, to and from Strings so that I can put them into, and get them out of, TextMessages.
What is the best way to go about this? Any and all advice would be appreciated.
-Erik

You may want to check out the XML Journal article by Dave Chappell, co-author of The Java Message Service, called JMS and XSLT for E-Business Messaging.
http://www.sys-con.com/xml/article.cfm?id=122
and the related code available for free download
http://www.sonicsoftware.com/cgi-bin/sonic.cgi/dx_view_entry.w?entry_id=58

Similar Messages

  • Need Help With File Matching Records

    I need help with my file matching program.
    Here is how it suppose to work: FileMatch class should contain methods to read oldmast.txt and trans.txt. When a match occurs (i.e., records with the same account number appear in both the master file and the transaction file), add the dollar amount in the transaction record to the current balance in the master record, and write the "newmast.txt" record. (Assume that purchases are indicated by positive amounts in the transaction file and payments by negative amounts.)
    When there is a master record for a particular account, but no corresponding transaction record, merely write the master record to "newmast.txt". When there is a transaction record, but no corresponding master record, print to a log file the message "Unmatched transaction record for account number ..." (fill in the account number from the transaction record). The log file should be a text file named "log.txt".
    Here is my following program code:
    // Exercise 14.8: CreateTextFile.java
    // creates a text file
    import java.io.FileNotFoundException;
    import java.lang.SecurityException;
    import java.util.Formatter;
    import java.util.FormatterClosedException;
    import java.util.NoSuchElementException;
    import java.util.Scanner;
    import org.egan.AccountRecord;
    import org.egan.TransactionRecord;
    public class CreateTextFile
      private Formatter output1;  // object used to output text to file
      private Formatter output2;  // object used to output text to file
      // enable user to open file
      public void openTransFile()
        try
          output1 = new Formatter("trans.txt");
        catch (SecurityException securityException)
          System.err.println("You do not have write access to this file.");
          System.exit(1);
        } // end catch
        catch (FileNotFoundException filesNotFoundException)
          System.err.println("Error creating file.");
          System.exit(1);
      } // end method openTransFile
      // enable user to open file
      public void openOldMastFile()
        try
          output2 = new Formatter("oldmast.txt");
        catch (SecurityException securityException)
          System.err.println("You do not have write access to this file.");
          System.exit(1);
        } // end catch
        catch (FileNotFoundException filesNotFoundException)
          System.err.println("Error creating file.");
          System.exit(1);
      } // end method openOldMastFile
      // add transaction records to file
      public void addTransactionRecords()
        // object to be written to file
        TransactionRecord record1 = new TransactionRecord();
        Scanner input1 = new Scanner(System.in);
        System.out.printf("%s\n%s\n%s\n%s\n\n",
          "To terminate input, type the end-of-file indicator",   
          "when you are prompted to enter input.",
          "On UNIX/Linux/Mac OS X type <ctrl> d then press Enter",
          "On Windows type <ctrl> z then press Enter");
        System.out.printf("%s\n%s",
           "Enter account number (> 0) and amount.","? ");
        while (input1.hasNext())  // loop until end-of-file indicator
          try // output values to file
            // retrieve data to be output
            record1.setAccount(input1.nextInt());    // read account number
            record1.setAmount(input1.nextDouble());  // read amount
            if (record1.getAccount() > 0)
              // write new record
              output1.format("%d %.2f\n", record1.getAccount(), record1.getAmount());
            } // end if
            else
              System.out.println("Account number must be greater than 0.");
            } // end else
          } // end try
          catch (FormatterClosedException formatterClosedException)
            System.err.println("Error writing to file.");
            return;
          } // end catch
          catch (NoSuchElementException elementException)
            System.err.println("Invalid input. Please try again.");
            input1.nextLine(); // discard input so user can try again
          } // end catch
          System.out.printf("%s %s\n%s", "Enter account number (> 0) ",
            "and amount.","? ");
        } // end while
      } // end method addTransactionRecords
      // add account records to file
      public void addAccountRecords()
        // object to be written to file
        AccountRecord record2 = new AccountRecord();
        Scanner input2 = new Scanner(System.in);
        System.out.printf("%s\n%s\n%s\n%s\n\n",
          "To terminate input, type the end-of-file indicator",   
          "when you are prompted to enter input.",
          "On UNIX/Linux/Mac OS X type <ctrl> d then press Enter",
          "On Windows type <ctrl> z then press Enter");
        System.out.printf("%s\n%s",
           "Enter account number (> 0), first name, last name and balance.","? ");
        while (input2.hasNext())  // loop until end-of-file indicator
          try // output values to file
            // retrieve data to be output
            record2.setAccount(input2.nextInt());    // read account number
            record2.setFirstName(input2.next());      // read first name
            record2.setLastName(input2.next());       // read last name
            record2.setBalance(input2.nextDouble());  // read balance
            if (record2.getAccount() > 0)
              // write new record
              output2.format("%d %s %s %.2f\n", record2.getAccount(), record2.getFirstName(),
                record2.getLastName(), record2.getBalance());
            } // end if
            else
              System.out.println("Account number must be greater than 0.");
            } // end else
          } // end try
          catch (FormatterClosedException formatterClosedException)
            System.err.println("Error writing to file.");
            return;
          } // end catch
          catch (NoSuchElementException elementException)
            System.err.println("Invalid input. Please try again.");
            input2.nextLine(); // discard input so user can try again
          } // end catch
          System.out.printf("%s %s\n%s", "Enter account number (> 0),",
            "first name, last name and balance.","? ");
        } // end while
      } // end method addAccountRecords
      // close file
      public void closeTransFile()
        if (output1 != null)
          output1.close();
      } // end method closeTransFile
      // close file
      public void closeOldMastFile()
        if (output2 != null)
          output2.close();
      } // end method closeOldMastFile
    } // end class CreateTextFile--------------------------------------------------------------------------------------------------
    // Exercise 14.8: CreateTextFileTest.java
    // Testing class CreateTextFile
    public class CreateTextFileTest
       // main method begins program execution
       public static void main( String args[] )
         CreateTextFile application = new CreateTextFile();
         application.openTransFile();
         application.addTransactionRecords();
         application.closeTransFile();
         application.openOldMastFile();
         application.addAccountRecords();
         application.closeOldMastFile();
       } // end main
    } // end class CreateTextFileTest-------------------------------------------------------------------------------------------------
    // Exercise 14.8: TransactionRecord.java
    // A class that represents on record of information
    package org.egan; // packaged for reuse
    public class TransactionRecord
      private int account;
      private double amount;
      // no-argument constructor calls other constructor with default values
      public TransactionRecord()
        this(0,0.0); // call two-argument constructor
      } // end no-argument AccountRecord constructor
      // initialize a record
      public TransactionRecord(int acct, double amt)
        setAccount(acct);
        setAmount(amt);
      } // end two-argument TransactionRecord constructor
      // set account number
      public void setAccount(int acct)
        account = acct;
      } // end method setAccount
      // get account number
      public int getAccount()
        return account;
      } // end method getAccount
      // set amount
      public void setAmount(double amt)
        amount = amt;
      } // end method setAmount
      // get amount
      public double getAmount()
        return amount;
      } // end method getAmount
    } // end class TransactionRecord -------------------------------------------------------------------------------------------------
    // Exercise 14.8: AccountRecord.java
    // A class that represents on record of information
    package org.egan; // packaged for reuse
    import org.egan.TransactionRecord;
    public class AccountRecord
      private int account;
      private String firstName;
      private String lastName;
      private double balance;
      // no-argument constructor calls other constructor with default values
      public AccountRecord()
        this(0,"","",0.0); // call four-argument constructor
      } // end no-argument AccountRecord constructor
      // initialize a record
      public AccountRecord(int acct, String first, String last, double bal)
        setAccount(acct);
        setFirstName(first);
        setLastName(last);
        setBalance(bal);
      } // end four-argument AccountRecord constructor
      // set account number
      public void setAccount(int acct)
        account = acct;
      } // end method setAccount
      // get account number
      public int getAccount()
        return account;
      } // end method getAccount
      // set first name
      public void setFirstName(String first)
        firstName = first;
      } // end method setFirstName
      // get first name
      public String getFirstName()
        return firstName;
      } // end method getFirstName
      // set last name
      public void setLastName(String last)
        lastName = last;
      } // end method setLastName
      // get last name
      public String getLastName()
        return lastName;
      } // end method getLastName
      // set balance
      public void setBalance(double bal)
        balance = bal;
      } // end method setBalance
      // get balance
      public double getBalance()
        return balance;
      } // end method getBalance
      // combine balance and amount
      public void combine(TransactionRecord record)
        balance = (getBalance() + record.getAmount()); 
      } // end method combine
    } // end class AccountRecord -------------------------------------------------------------------------------------------------
    // Exercise 14.8: FileMatch.java
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.lang.IllegalStateException;
    import java.util.NoSuchElementException;
    import java.util.Scanner;
    import java.util.Formatter;
    import java.util.FormatterClosedException;
    import org.egan.AccountRecord;
    import org.egan.TransactionRecord;
    public class FileMatch
      private Scanner inTransaction;
      private Scanner inOldMaster;
      private Formatter outNewMaster;
      private Formatter theLog;
      // enable user to open file
      public void openTransFile()
        try
          inTransaction = new Scanner(new File("trans.txt"));
        } // end try
        catch (FileNotFoundException fileNotFoundException)
          System.err.println("Error opening file.");
          System.exit(1);
        } // end catch
      } // end method openTransFile
      // enable user to open file
      public void openOldMastFile()
        try
          inOldMaster = new Scanner(new File("oldmast.txt"));
        } // end try
        catch (FileNotFoundException fileNotFoundException)
          System.err.println("Error opening file.");
          System.exit(1);
        } // end catch
      } // end method openOldMastFile
      // enable user to open file
      public void openNewMastFile()
        try
          outNewMaster = new Formatter("newmast.txt");
        catch (SecurityException securityException)
          System.err.println("You do not have write access to this file.");
          System.exit(1);
        } // end catch
        catch (FileNotFoundException filesNotFoundException)
          System.err.println("Error creating file.");
          System.exit(1);
      } // end method openNewMastFile
      // enable user to open file
      public void openLogFile()
        try
          theLog = new Formatter("log.txt");
        catch (SecurityException securityException)
          System.err.println("You do not have write access to this file.");
          System.exit(1);
        } // end catch
        catch (FileNotFoundException filesNotFoundException)
          System.err.println("Error creating file.");
          System.exit(1);
      } // end method openLogFile
      // update records
      public void updateRecords()
        TransactionRecord transaction = new TransactionRecord();
        AccountRecord account = new AccountRecord();
        try // read records from file using Scanner object
          System.out.println("Start file matching.");
          while (inTransaction.hasNext() && inOldMaster.hasNext())
            transaction.setAccount(inTransaction.nextInt());     // read account number
            transaction.setAmount(inTransaction.nextDouble());   // read amount
            account.setAccount(inOldMaster.nextInt());     // read account number
            account.setFirstName(inOldMaster.next());      // read first name 
            account.setLastName(inOldMaster.next());       // read last name
            account.setBalance(inOldMaster.nextDouble());  // read balance
            if (transaction.getAccount() == account.getAccount())
              while (inTransaction.hasNext() && transaction.getAccount() == account.getAccount())
                account.combine(transaction);
                outNewMaster.format("%d %s %s %.2f\n",
                account.getAccount(), account.getFirstName(), account.getLastName(),
                account.getBalance());
                transaction.setAccount(inTransaction.nextInt());     // read account number
                transaction.setAmount(inTransaction.nextDouble());   // read amount
            else if (transaction.getAccount() != account.getAccount())
              outNewMaster.format("%d %s %s %.2f\n",
              account.getAccount(), account.getFirstName(), account.getLastName(),
              account.getBalance());         
              theLog.format("%s%d","Unmatched transaction record for account number ",transaction.getAccount());
          } // end while
          System.out.println("Finish file matching.");
        } // end try
        catch (NoSuchElementException elementException)
          System.err.println("File improperly formed.");
          inTransaction.close();
          inOldMaster.close();
          System.exit(1);
        } // end catch
        catch (IllegalStateException stateException)
          System.err.println("Error reading from file.");
          System.exit(1);
        } // end catch   
      } // end method updateRecords
      // close file and terminate application
      public void closeTransFile()
        if (inTransaction != null)
          inTransaction.close();
      } // end method closeTransFile
      // close file and terminate application
      public void closeOldMastFile()
        if (inOldMaster != null)
          inOldMaster.close();
      } // end method closeOldMastFile
      // close file
      public void closeNewMastFile()
        if (outNewMaster != null)
          outNewMaster.close();
      } // end method closeNewMastFile
      // close file
      public void closeLogFile()
        if (theLog != null)
          theLog.close();
      } // end method closeLogFile
    } // end class FileMatch-------------------------------------------------------------------------------------------------
    // Exercise 14.8: FileMatchTest.java
    // Testing class FileMatch
    public class FileMatchTest
       // main method begins program execution
       public static void main( String args[] )
         FileMatch application = new FileMatch();
         application.openTransFile();
         application.openOldMastFile();
         application.openNewMastFile();
         application.openLogFile();
         application.updateRecords();
         application.closeLogFile();
         application.closeNewMastFile();
         application.closeOldMastFile();
         application.closeTransFile();
       } // end main
    } // end class FileMatchTest-------------------------------------------------------------------------------------------------
    Sample data for master file:
    Master file                         
    Account Number            Name                     Balance
    100                            Alan Jones                   348.17
    300                            Mary Smith                    27.19
    500                            Sam Sharp                   0.00
    700                            Suzy Green                   -14.22Sample data for transaction file:
    Transaction file                    Transaction
    Account Number                  Amount
    100                                         27.14
    300                                         62.11
    300                                         83.89
    400                                         100.56
    700                                         80.78
    700                                         1.53
    900                                         82.17  -------------------------------------------------------------------------------------------------
    My FileMatch class program above has bugs in it.
    The correct results for the newmast.txt:
    100  Alan  Jones  375.31
    300  Mary  Smith  173.19
    500  Sam  Sharp  0.00
    700  Suzy Green  68.09The correct results for the log.txt:
    Unmatched transaction record for account number 400Unmatched transaction record for account number 900------------------------------------------------------------------------------------------------
    My results for the newmast.txt:
    100 Alan Jones 375.31
    300 Mary Smith 111.08
    500 Sam Sharp 0.00
    700 Suzy Green -12.69My results for the log.txt
    Unmatched transaction record for account number 700-------------------------------------------------------------------------------------------------
    I am not sure what is wrong with my code above to make my results different from the correct results.
    Much help is appreciated. Please help.

    From the output, it looks like one problem is just formatting -- apparently you're including a newline in log entries and not using tabs for the newmast output file.
    As to why the numbers are off -- just from glancing over it, it appears that the problem is when you add multiple transaction values. Since account.combine() is so simple, I suspect that you're either adding creating transaction objects incorrectly or not creating them when you should be.
    Create test input data that isolates a single case of this (e.g., just the Mary Smith case), and then running your program in a debugger or adding debugging code to the add/combine method, so you can see what's happening in detail.
    Also I'd recommend reconsidering your design. It's a red flag if a class has a name with "Create" in it. Classes represent bundles of independant state and transformations on that state, not things to do.

  • Need help with XML Conversion

    I have a very large unstructured document that I need to convert to XML. This document once had a structure applied to it but somehow this structure was deleted (not by me). Since the structure was deleted, a fair amount of content has been added to the file.
    Ive been reading through PDF help files and trying to figure out how to solve this problem. I am very new to this so any help or input would really be great.
    So far thoughts on converting to XML are:
    1) Get structure back working in the original file. I do not know if there is a way to transfer the structure Pre-Loss to the new file. I have created a conversion table already that I can use. I have ran the CT and created what seems to be a structured document, but I think I may be missing further steps.
    2) Export the element definitions to an EDD
    3) Convert the EDD to a DTD
    4) Create a template file (not sure how to do this?)
    Finally export to XML. Before I start on this some feedback would be very welcomed. Sorry I am very inexperienced with all of this.

    Hello Frank,
    with the conversion there is a problem concering the graphics/ xrefs.
    after you have created the conversion table and structured your document you now can
    save the document as xml file.
    In the output you then will still have all graphics that are in the document, but the xrefs are missing.
    convert the document via StructureTools > Utilities > Convert Documents to Structured Format.
    In the output you then will have all the xrefs, but the graphics are missing.
    However, it's possible that I'm not up-to-date her as I haven't tried this since quite some time now.
    Point 2 and 3 from your list:
    Normally it's the other way around: You have a DTD and import that as a new EDD file in FrameMaker.
    Also I don't think that there really is a possiblity to export any element definitions from FrameMaker. But I'm happy, if you are able to disabuse me here.
    Template file:
    Any FM file. It just contains the page layout and the character formats etc.
    What you need to do is to add a Structured Application containing all the information on where to find the Template, EDD, DTD and also the read and write rules.
    With FrameMaker there are several Structured Applications delivered, e.g. DITA.
    If you do not have enough experience to create a new structured application without any model, it's best to copy and modify one of these.
    Regards,
    Anna

  • Need help with Currency Conversion

    Hello,
    I need to implement currency conversion in our existing classic planning application (11.1.2.1) which was initially set as a multi-currency application but so far we didn’t have the users entering data in their local currencies. We were entering all the values in USD. Now the users will be entering data in their local currencies and we need to convert their local data into USD  for reporting purposes.
    I don’t have much experience with multi-currency applications and so I would really appreciate if the gurus here can guide and help me.
    Our currency dimension has the following three members USD, B, C. Our reporting currency is USD which is the default currency for our application.
    After reading some forum posts and documentation below are the steps I tried but couldn’t get it to work right. Correct me if I am doing something wrong, or in the wrong order or missing something.
    Administration – Manage – Exchange Rates – Create – A_FY13 – Edit – Chose all the options – Average, Ending, BegBalance, Historical, Method – Clicked Next – Chose the Year as FY13 from the drop down (in Show Years) and entered the exchange rates for both B & C – Save.
                          A message was displayed – “Exhange Rate has been saved successfully”. 
    Administration – Manage – Currency Conversions – A_FY13 – Next - Currency - USD, Scenario – Actual, Version Type – Target, Version – Working – Save.
                                  A message was displayed – “Scripts were successfully created”.
    In EAS both the scripts – HspCRtT & A_FY13 were created.
    Edited the A_FY13 script FIXs to only work on year FY13 for one month for testing purposes.
    In workspace edited the Actual scenario to be associated with the A_FY13 exchange rate table.
    In EAS ran the HspCRtT script first followed by ACT_FY13. The scripts completed successfully.
    While pulling data (Level 0 data) in Excel the data is present in “Local” intersection for the accounts I am looking at but when looked at the USD intersection the data is converted right for only one account, for some other accounts there is no data in the intersection and for another account which is a weight account (weight of a product) which doesn’t need to get converted the values got converted. For some reason the conversion isn’t working right for the accounts.
    Are there any steps that I am missing here?  Please let me know your ideas and help me. Any help is appreciated and I will be looking forward for suggestions and ideas.
    Thanks.
    ~ Adella
    P.S ~ I had posted a similar question a couple months earlier but still couldn't really get things to work... and so I am posting it again to get more help. For those who are feeling that they have read this kind of a question earlier from me...please bear with me as I couldn't get my issues resolved and still couldnt get things implemented successfully. Again, I would really appreciate if you could further help me with your ideas and suggestions.

    replied to the old thread
    Regards
    Celvin
    http://www.orahyplabs.com

  • PHP disaster with entropy installation need help with file location

    I have a mac mini snow leopard server running 10.6.5 ,and I was trying to resolve a mcrypt module issue so that I could install wordpress and magento on some of our sites.After doing what I thought was extensive research, I decided to download the entropy php 5.30-3pkg from Marc Liyanage since it was already compiled and had an automatic install.I had the xcode tools installed and was going to attempt to compile it myself,but did not quite understand the instructions on Michael Gracie's site.When I installed the entropy package it told me that i needed to first disable the existing module,and I attempted to uncheck the php5 module,with no luck,as every time I tried to save it it rechecked itself,which I later discovered was happening because of dependency issues, as I had the mail,wiki,etc services on the sites checked. So my problem is that I wasn't aware at the time of the dependency issue,and I just renamed the module and the file name by putting a # in front of both (Inside the server admin dialog box through the pop up window).I didn't think it would hurt since is was going to be disabled,but now i get blank pages when trying to connect,and can't even see a test.php file, nor can I even locate where they say:
    software is supposed to be installed into a new directory /usr/local/php5 on my boot volume. If you ever want to get rid of the package, you only have to remove this directory and a symbolic link called +entropy-php.conf in either /etc/apache2/sites or /etc/apache2/other, depending on whether you run OS X Client or Server.
    Any help would be appreciated !

    Thank you so much, that works just like i wanted it to as it downloads the file but then i have the problem of the file being called firename.png (or whatever i put in there instead)
    using this i changed the code and made it this instead which works 100%
    set download to text returned of (display dialog "Enter IGN" default answer "" buttons {"Download", "Cancel"} default button 1)
    set the destination to (choose folder)
    do shell script "curl -L http://minecraft.net/skin/" & download & ".png" & " -o " & quoted form of ((POSIX path of the destination) & download & ".png")
    so i used the input name again with download and added a .png for the extention and now it downloads the file to the locaiton i specify with the name of the user im entering with the correct exention, 100% awesome ^^
    Thank you everyone who help me with that issue, grately appreshiated

  • Need help with RAW conversion in 1.5

    Previous tests on RAW conversion have confirmed that Aperture and CI pretty much all in camera settings except white balance. In my previous tests with everything set to pretty much "normal" in camera Aperture's RAW conversion was close but not exact to the camera produced JPG's of the same exact image (camera set to RAW+JPG). I have no way to test but now the same exact images are no where near the same color balance or temperature.
    Does anyone else have this issue with 1.5? What is going on?
    I can post some examples if it would help.

    Hello, rwboyer
    Quote: "[sic with] pretty much all in camera settings
    except white balance. In my previous tests with
    everything set to pretty much "normal" in camera
    Aperture's RAW conversion was close but not exact to
    the camera produced JPG's of the same exact image
    (camera set to RAW+JPG)."
    What are you using as a comparison for the jpegs?
    Comparing a RAW photograph to a jpeg duplicate would
    not look the same under close examination.
    Let's see the examples.
    love & peace,
    victor
    Let me rephrase and provide an example,
    I have the camera set to produce a RAW file and a JPG of the same shot. In Aperture 1.1 the way both file looked side by side in Aperture was close but not identical, the way both files looked exported to JPG were close. After switching to Aperture 1.5 the same exact files look completely different.
    Here is an example exported from Aperture 1.5
    {Moderator note: Links to images were removed. Please only link to images that would be 'family-friendly'.}
    Thanks
    MacBookPro Mac OS X (10.4.6)

  • Need help with File system creation fro Oracle DB installation

    Hello,
    I am new to Solaris/Unix system landscape. I have a Sun enterprise 450 with 18GB hard drive. It has Solaris 9 on it and no other software at this time. I am planning on adding 2 more hard drives 18gb and 36gb to accommodate Oracle DB.
    Recently I went through the Solaris Intermediate Sys admin training, knows the basic stuff but not fully confident to carry out the task on my own.
    I would appreciate some one can help me with the sequence of steps that I need perform to
    1. recognize the new hard drives in the system,
    2. format,
    3. partition. What is the normal strategy for partitioning? My current thinking is to have 36+18gb drives as data drives. This is where I am little bit lost. Can I make a entire 36GB drive as 1 slice for data, I am not quite sure how this is done in the real life, need your help.
    4. creating the file system to store the database files.
    Any help would be appreciated.

    Hello,
    Here is the rough idea for HA from my experience.
    The important thing is that the binaries required to run SAP
    are to be accessible before and after switchover.
    In terms of this file system doesn't matter.
    But SAP may recommend certain filesystem on linux
    please refer to SAP installation guide.
    I always use reiserfs or ext3fs.
    For soft link I recommend you to refer SAP installation guide.
    In your configuration the files related to SCS and DB is the key.
    Again those files are to be accessible both from hostA and from hostB.
    Easiest way is to use share these files like NFS or other shared file system
    so that both nodes can access to these files.
    And let the clustering software do mount and unmount those directory.
    DB binaries, data and log are to be placed in shared storage subsystem.
    (ex. /oracle/*)
    SAP binaries, profiles and so on to be placed in shared storage as well.
    (ex. /sapmnt/*)
    You may want to place the binaries into local disk to make sure the binaries
    are always accessible on OS level, even in the connection to storage subsystem
    losts.
    In this case you have to sync the binaries on both nodes manually.
    Easiest way is just put on shared storage and mount them!
    Furthermore you can use sapcpe function to sync necessary binaries
    from /sapmnt to /usr/sap/<SID>.
    For your last question /sapmnt should be located in storage subsystem
    and not let the storage down!

  • Need help with File to SOAP sync scenario: NO_BACK_SYSTEM_IN_HOPLIST

    Hello,
    I am setting up a new scenario where I get an XML file with PI, send that content via sync SOAP receiver call and direct the result of the web service response to SAP (just back to file as intermediate step).
    So far I have the transaction working to the SOAP adapter receiver request / response. I see the correct approval response coming in my SOAP channel (RWB AE payload), but this message gets stuck there before routing back to my receiver interface and mappings.
    General setup:
    FILE Sender to SYNC OB SI.
    OB SI Request is my source message type and Response is my final message output type.
    OM Source is this Sync OB SI. Target is a SOAP Sync IB SI. Request Mapping program matches the source file message type and target SOAP layout. Response Mapping matches SOAP response and Target is my final file layout.
    Routing for Sync OB SI ID uses this OM for Sync IB SI.
    SYNC IB SI has Request and REsponse messages mapping the external SOAP call.
    When I test the configuration I get success.
    When I send messages through I get error in the adapter about this NO_BACK_SYSTEM_IN_HOPLIST (therefore the response message is not making it back into the IE so that it can be mapped again and forwarded).
    Complete error message from RWB Adapter Log "Transmitting the message to endpoint http://[myhostname]:[myport]/sap/xi/engine?type=entry using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: NO_BACK_SYSTEM_IN_HOPLIST:." and the next line is "Received XI System Error. ErrorCode: NO_BACK_SYSTEM_IN_HOPLIST ErrorText: null ErrorStack: Legacy system to which acknowledgment message is to be sent is missing in hoplist (with wasread=false)"
    Any ideas for me? (fyi not using BPM).
    Regards, Aaron Myers

    Hi AAron,
    Looks like this problem has occured before. There are SAP Notes recommended. Below are some helpful links.
    http://scn.sap.com/thread/848913
    http://scn.sap.com/message/4659941#4659941
    Thanks,
    Divya.

  • I need help with a conversion problem!!!!

    I need to know how to convert a movie I made on Windows Movie Maker to a Quicktime file, so I can view it in iTunes and on the new iPod. If anyone knows, please help me. Thank you.
    Jason

    Jason hello,
    Welcome to the Apple Discussions as you are not running a MAC your question would be best served in the special
    iTunes for windows forum. Click here
    TP

  • Noob Needs Help with File Size

    I created a simple form with no graphics, fonts are not embedded, and I selected the file to be filled out, printed, then mailed. The file size is 21MB. The form is to be emailed so it must be much smaller in size. Once received, the user will fill it out electronicly, print the form, then mail it back to me regular postal mail. Why is the file size so large and how can I make it smaller? Thanks in advance.
    Kevin

    OK. Here's what I did:
    1. At the welcome screen I selected "New Form" and then "New Blank Form"
    2. For the page size I left it at "Default" which is 8.5 x 11.
    3. For Return Method I selected "Fill then Print".
    4. At the last screen I just clicked "OK".
    5. Then I built the form. I put in (9) Text boxes, (4) Text Fields that look like Sunken Boxes, (5) Numeric Fields that look like Sunken Boxes, and (3) Check Boxes that look like Sunken Boxes.
    6. I then saved the file as a Static PDF Form File.
    7. The file size is 22.5 MB.
    That was my second attempt. The first attempt I had the fonts embedded and I had a Logo on the form. The file size for that one was 27.3 MB.
    Thanks for the help.
    Kevin

  • I need help with File Object in Java

    Hello Experts.
    I am learning Java 2 now. I have trouble with reading a JTextField and save it to a file. I have some errors that I dont know what they are. I would like someone please help me to write a short sample program to see how it work. The code from the book I have dont execute at all. And I want to use FileOutputStream and ObjectOutputStream. Thank you very much
    Quoc

    import java.io.*;
    public class FileTest {
      public static void main(String[] arg) throws Exception{
        FileOutputStream fileOut = new FileOutputStream("test.txt");
        fileOut.write("Test file".getBytes());
        fileOut.close();

  • Two PC's Connected to WRT54G -Need Help With File Sharing Folder

    Hi,
    I have both PC's connected to the WRT54G with internet access on.  How do I create file sharing and or a folder named "shared" on each desktop that allows each PC to drop files in this folder so that each PC can open and access those files?
    Jerry

    For File and Printer Sharing follow this link

  • Need help with File Share Subscription in SSRS 2008

    Hi,
         I have a requirement where  I have to deliver a SSRS report in csv format to a windows shared location. I know how to create a File Share Subscription to get this done, but the problem arises with the frequency of the report
    requested. It is like following..at 23:00, 23:30, 23:35, 23:40, 23:45, 23:50, 23:55, 24:00, 00:10, 00:20, 00:30, 03:00, 06:00, 09:00, 12:00, 15:00, 18:00, 21:00
    Now because the hourly pattern is not in a periodic format I am not able to get this scheduled in a single subscription. To achieve this one approach could creating multiple subscription. But I was wondering
    if there is a way to pass on the schedule information programmatically to a subscription, so that I can achieve this by creating just one subscription.
    Any expert ideas...

    Hi Mtiwari,
    Generally, we cannot create such an irregular execution time schedule. However, we can insert the execution time into a table and customize the steps on the job as a workaround. I have tested it on my local environment, the steps below are for your
    reference.
    Create a table and add the execution time to it using the query below.
    Use TestDB
    Create table [CustomeSchedule]([ExecuteTime]    Date)
    Insert into [CustomeSchedule]
    values('23:00'),('23:30'),('23:35'),('23:40'),('23:45'),('23:50'),('23:55'),('24:00'),('00:10'),('00:30'),('03:00'),('06:00'),('09:00'),('12:00'),('15:00'),('18:00'),('21:00')
    Create a subscription to execute erery Minute.
    Connect to SSMS>expand SQL Server Agent>expand Jobs, double-click the Jop.
    Select Steps on the left pane on the Job Properties window.
    Click Edit button and then use the query for on the command.
    IF exists(SELECT [ExecuteTime]FROM [TestDB].[dbo].[CustomeSchedule3] WHERE
    LEFT([ExecuteTime],5)=LEFT(CONVERT (time, SYSDATETIME()),5))
    BEGIN
    exec [ReportServer].dbo.AddEvent @EventType='TimedSubscription', @EventData='9be28f07-3784-4070-802a-b7ca0aec4c7c'
    END
    Change the @EventType and @EventData to the values in your Job.
    If you have any questions, please feel free to ask.
    Regards,
    Charlie Liao
    Charlie Liao
    TechNet Community Support

  • Need help with File Sharing and iPHOTO Library sharing........

    I recently upgraded my imac and my macbook pro to Mavericks.
    I have some problems now.
    Previously using iPHOTO when running I was able to see the other computers iphoto library on the left side bar.  I was able then to access the other computers iphoto library.  This is no longer showing the other computers library from either computer.
    When I try to access the other computers files using file sharing I get a message that permisions are missing.
    It then asks if I want to fix permisions ,  I say yes....it will run for an hour and do nothing...I need to force quit.
    I really dont want to use the cloud to do this sharing....why should I upload into the internet when I have the computers on same network.
    Is there any place I can go to find how this is now done?  Before I didnt need to look up a thing....was just intuitive .  Now Im running into walls every way I try to share the iphoto libraries across computers.

    The iPhoto sharing that was in the previous version doesn't seem to exist. There is now iCloud Photo Sharing.
    http://support.apple.com/kb/HT5902
    I don't know about the file sharing issue.

  • Need Help with file manipulation

    I need to read a file, insert data dynamically based on a user input in this file. How do I do it?

    First of all, don't cross-post
    http://forum.java.sun.com/thread.jsp?thread=296364&forum=4&message=1170079

Maybe you are looking for

  • Using UK bought Macbook in Australia

    I am off to Australia for a couple of months and I need to know whether I need to buy a separate power adapter to charge it or can I buy a new square power adaptor out there which will work. In essence, is it the power plug that is the only thing tha

  • Deplay a form on the net

    Hello, I'm a student from Holland. On this moment i'm doing a research on oracle programs. I have made a form with Oracle Developer forms 6.0 and i want to deploy it on the internet. I heart that i need Oas 4.0 to do so. But how? What is the easiest

  • Help! Lost Profile?

    Had the G5 in storage while traveling for 6 months and could not remember my login password. I was able to rememeber my master reset and the computer created another profile. The G5 has created a new profile, and now I cannot find my old settings, ie

  • Plug in does not exist

    Hi Have installed CR Server 2008 12.1.0  on a  Windows 2003 server, along with client tools. Server is all up & running, CMC is accessible. On opening Business View Manager to import Business Views, I cannot log on. I get the page, add the server nam

  • StageVideo for IOS

    After a lot of searching I've got StageVideo working in my IOS app. See the tutorial posted here: http://01am.co.uk/comment/2 However, I get no audio. The mp4 file itself contains audio (when played in Quicktime) but is silent when played in my IOS a