Distributed tx example

Hello,
I have a question about the Distributed Tx example demonstrating the JDBC2.0 features.
I have two instances of oracle 816 installed on 2 machines, and i have built the example as per instructions, with the user travel on one database and the user global on the other....when i run the example, and there is a problem with one update, the first update gets committed nevertheless, and is not rolledback.....this is the output:
tx 1 with id = oracle.jdbc.xa.OracleXid@477979e3 started
tx 2 with id = oracle.jdbc.xa.OracleXid@475979e3 started
java.sql.SQLException: ORA-00942: table or view does not exist
tx 1 with id = oracle.jdbc.xa.OracleXid@477979e3 ended
tx 2 with id = oracle.jdbc.xa.OracleXid@475979e3 ended
tx 2 with id = oracle.jdbc.xa.OracleXid@475979e3 being prepared
tx 1 with id = oracle.jdbc.xa.OracleXid@477979e3 being prepared
travel
XAResource.XA_OK=true
XAResource.XA_RDONLY=false
global
XAResource.XA_OK=false
XAResource.XA_RDONLY=true
(l_prepareTravel == XAResource.XA_OK)| |(l_prepareTravel==XAResource.XA_RDONLY)=true
travel okay
in travel true
tx 1 with id = oracle.jdbc.xa.OracleXid@477979e3 committed
Transaction Error oracle.jdbc.xa.OracleXAException
It seems the boolean that checks the commit is never set to false, and so one transaction commit........
also, if I just check check sth like :
(l_prepareGlobal == XAResource.XA_OK) && (l_prepareTravel == XAResource.XA_OK)
and then try to commit or rollback, this is what happens:
tx 1 with id = oracle.jdbc.xa.OracleXid@91017939 started
tx 2 with id = oracle.jdbc.xa.OracleXid@91297939 started
java.sql.SQLException: ORA-00942: table or view does not exist
tx 1 with id = oracle.jdbc.xa.OracleXid@91017939 ended
tx 2 with id = oracle.jdbc.xa.OracleXid@91297939 ended
tx 2 with id = oracle.jdbc.xa.OracleXid@91297939 being prepared
tx 1 with id = oracle.jdbc.xa.OracleXid@91017939 being prepared
travel
XAResource.XA_OK=true
XAResource.XA_RDONLY=false
global
XAResource.XA_OK=false
XAResource.XA_RDONLY=true
Transaction Error oracle.jdbc.xa.OracleXAException
Error in Getting Rate java.sql.SQLException: ORA-00060: deadlock detected while
waiting for resource
I would appreciate very much if someone explains this......
regards,
farhat
null

Hi Farhat,
Thanks for pointing out this problem.
When the
java.sql.SQLException: ORA-00942: table or view does not exist
exception is raised, the previous update on the travel user is already executed and jumps to the Exception handling part. So the transaction is not ended nor the commit or rollback is done.
Then when the database is queried to get the current exchange rate (from the Travel user), it returns the updated value as the transaction is still not complete. But the value in the database will be still be the
old value as the commit is not done. The conclusion is that the value
shown by the application is new value but the database has the old value.
To correct this problem the Exception handling part should roll back the
database to the previous state. So that while the data is fetched from the database for displaying it, the old value is displayed.
If you let us know your email id, we can email the corrected code to you.
In the second part we cannot do the following check :-
(l_prepareGlobal == XAResource.XA_OK) && (l_prepareTravel ==
XAResource.XA_OK)
as the Prepare will return either XA_OK for one only and the other will
be XA_RDONLY when both the resource managers are same.
This following code
if (l_prepareTravel == XAResource.XA_OK)
if (l_doCommit)
l_xaResourceTravel.commit(l_xidTravel, false);
else
l_xaResourceTravel.rollback(l_xidTravel);
if (l_prepareGlobal == XAResource.XA_OK)
if (l_doCommit)
l_xaResourceGlobal.commit(l_xidGlobal, false);
else
l_xaResourceGlobal.rollback(l_xidGlobal);
will take care to commit or rollback the database when both are ok or any one fails.
Get back to me if you have more doubts.
Thanks,
Srini.

Similar Messages

  • SDK 4.0.0.5: CM.jar Is Not Copied BUG-cm_jars_structure.xml.example Missing

    Could someone please help me out. I am trying to fix this bug with:
    SDK 4.0.0.5: CM.jar Is Not Copied into the Package To Be Deployed [ID 1315169.1]
    And according to Oracle support I need to:
    Solution
    In SDK version 4.0.0, the cm.jar gets copied only in etc/lib folder. In the target environment it gets distributed by executing initialSetup.sh, which is part of the CM installation.
    The structures/cm_jar_structure.xml should be created for the cm.jar distribution. You can see an example of the structure under the pkg scripts folder: etc/cm_jars_structure.xml.example (it just needs to be copied to structures/cm_jar_structure.xml). The cm.jar will then be copied to the correct locations in the application.
    But I am missing the file cm_jars_structure.xml.example.
    Does some have that file please?

    Hi,
    Here the comment from the FW_jars_strucure.xml.
    <!-- for list_of_AND_conditions all conditions must be true for jar to be distributed       -->
    <!-- for list_of_OR_conditions any of the conditions must be true for jar to be distributed -->
    <!--
       example:
       <jar_name>
          <source_dir_jar>source directory where the jar file is located (mandatory)</source_dir_jar>
          <dest_folders>
             <dest_folder_1>destination 1</dest_folder_1>
             <dest_folder_2>destination 2</dest_folder_2>
             <dest_folder_3>destination 3</dest_folder_3>
          </dest_folders>
          <list_of_AND_conditions>
                <condition_1>SPLWAS=WLS</condition_1>
                <condition_2>DBNAME=TESTING</condition_2>
          </list_of_AND_conditions>
          <list_of_OR_conditions>
                <condition_1>DBUSER=cisuser</condition_1>
                <condition_2>DBUSER=CISUSER</condition_2>
          </list_of_OR_conditions>
          if child jvm path exists, then the jar file from the location specified
          here will be added to class_path (child_jvm_option)
          <child_jvm_path>PATH where jar file is located</child_jvm_path>
          <target_folder>(subfolder under java/target used as basedir for jar creation)</target_folder>
          <copy_classes>true (set to true if during install single fixes the class should just copied to $SPLEBASE/java/target)</copy_classes>
          <update_source_jar>
             <update_source_jar_1>(list here the folder that should be updated in base-shared-${jversion}-src.jar. eg.: source/base)</update_source_jar_1>
             <update_source_jar_2></update_source_jar_2>
          </update_source_jar>
       </jar_name>
       Uncomment the following block for testing
       ensure you have a test.jar under $SPLEBASE/etc/lib
       The jar file will be copied if SPLWAS=WLS and DBNAME=TESTDB and
       DBUSER is either cisuser or CISUSER.
    -->
    <!--
       <test.jar>
          <source_dir_jar>@SPLEBASE@/etc/lib</source_dir_jar>
          <dest_folders>
             <dest_folder_1>@SPLEBASE@/splapp/applications/XAIApp/WEB-INF/lib</dest_folder_1>
             <dest_folder_2>@SPLEBASE@/splapp/applications/root/WEB-INF/lib</dest_folder_2>
             <dest_folder_3>@SPLEBASE@/splapp/businessapp/lib</dest_folder_3>
             <dest_folder_4>@SPLEBASE@/splapp/mpl/lib</dest_folder_4>
             <dest_folder_5>@SPLEBASE@/splapp/standalone/lib</dest_folder_5>
          </dest_folders>
          <list_of_AND_conditions>
                <condition_1>SPLWAS=WLS</condition_1>
                <condition_2>DBNAME=TESTDB</condition_2>
          </list_of_AND_conditions>
          <list_of_OR_conditions>
                <condition_1>DBUSER=cisuser</condition_1>
                <condition_2>DBUSER=CISUSER</condition_2>
          </list_of_OR_conditions>
          <child_jvm_path>@SPLEBASE@/splapp/standalone/lib</child_jvm_path>
          <target_folder>base</target_folder>
       </test.jar>
    -->/Markus

  • Unable to print through Java program

    Hi all,
    I have downloaded a sample java code to print text. When i try to print on solaris, it displays some postscript characters like:
    %! PS-Adobe-3.0%%BeginProlog/imStr 0 def /heximageSrc....
    But i am able to print the same information through lp command correctly.
    I am using EPSON - LP8200. As per my knowledge, this printer doesn't support postscript printing
    The sample java code works perfectly on Win2k connected to the same printer.
    Please help me out. I am stuckup in this problem for quite a few days
    Below is the code that i am using
    // This example is from the book Java AWT Reference by John Zukowski.
    // Written by John Zukowski. Copyright (c) 1997 O'Reilly & Associates.
    // You may study, use, modify, and distribute this example for any purpose.
    // This example is provided WITHOUT WARRANTY either expressed or
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.util.*;
    import java.awt.print.*;
    public class TestPrintEx extends Frame implements Printable {
    TextArea textArea;
    Label statusInfo;
    Button loadButton, printButton, closeButton;
    Properties p = new Properties();
    Vector pages = new Vector();
    static boolean bFirstTime = false;
    public TestPrintEx() {
    super ("File Loader");
    add (statusInfo = new Label(), "North");
    Panel p = new Panel ();
    p.add (loadButton = new Button ("Load"));
    loadButton.addActionListener( new LoadFileCommand() );
    p.add (printButton = new Button ("Print"));
    printButton.addActionListener( new PrintCommand() );
    p.add (closeButton = new Button ("Close"));
    closeButton.addActionListener( new CloseCommand() );
    add (p, "South");
    add (textArea = new TextArea (10, 40), "Center");
    pack();
    public static void main (String args[]) {
    TestPrintEx f = new TestPrintEx();
    f.show();
    // Bail Out
    class CloseCommand implements ActionListener {
    public void actionPerformed (ActionEvent e) {
    System.exit (0);
    // Load a file into the text area.
    class LoadFileCommand implements ActionListener {
    public void actionPerformed (ActionEvent e) {
    int state;
    String msg;
    FileDialog file = new FileDialog (TestPrintEx.this, "Load File", FileDialog.LOAD);
    file.setFile ("*.java"); // Set initial filename filter
    file.show(); // Blocks
    String curFile;
    if ((curFile = file.getFile()) != null) {
    String filename = file.getDirectory() + curFile;
    char[] data;
    setCursor (Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
    File f = new File (filename);
    try {
    FileReader fin = new FileReader (f);
    int filesize = (int)f.length();
    data = new char[filesize];
    fin.read (data, 0, filesize);
    } catch (FileNotFoundException exc) {
    String errorString = "File Not Found: " + filename;
    data = errorString.toCharArray ();
    } catch (IOException exc) {
    String errorString = "IOException: " + filename;
    data = errorString.toCharArray ();
    statusInfo.setText ("Load: " + filename);
    textArea.setText (new String (data));
         System.out.println("#### " + new String(data));
    setCursor (Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
    // Print a file into the text area.
    class PrintCommand implements ActionListener {
    public void actionPerformed (ActionEvent e) {
         PrinterJob pjob = PrinterJob.getPrinterJob();
         TestPrintEx.bFirstTime = true;
         pjob.setPrintable(TestPrintEx.this);
         try{
         //pjob.print();
         pjob.printDialog();
         catch(PrinterException pe)
              pe.printStackTrace();
         pjob.printDialog();
    class Page
         Vector lines;
         Page()
              lines = new Vector();
         void addLine(String s)
              lines.addElement(s);
         Enumeration getLines()
              return lines.elements();
         void print(Graphics pg, PageFormat pf)
              System.out.println("Printing page now");
              // Note: String is immutable so won't change while printing.
              if (!(pg instanceof PrinterGraphics)) {
              throw new IllegalArgumentException ("Graphics context not PrintGraphics");
              //--- Create the Graphics2D object
              Graphics2D g2d = (Graphics2D) pg;
              //--- Translate the origin to 0,0 for the top left corner
              g2d.translate (pf.getImageableX (), pf.getImageableY ());
              //--- Set the default drawing color to black
              g2d.setPaint (Color.black);
              //--- Draw a border around the page
              Rectangle border = new Rectangle(0,
                             0,
                             (int)(pf.getImageableWidth()),
                             (int)(pf.getImageableHeight()));
              g2d.draw (border);
              int pageHeight = (int)pf.getImageableHeight();
              //Font helv = new Font("Helvetica", Font.PLAIN, 12);
              Font helv = new Font(null, Font.PLAIN, 12);
              //have to set the font to get any output
              g2d.setFont (helv);
              FontMetrics fm = g2d.getFontMetrics(helv);
              int fontHeight = fm.getHeight();
              int fontDescent = fm.getDescent();
              int curHeight = (int)(pf.getImageableY() + 72);
              int size = lines.size();
         for(int i = 0; i < size; i++)
              curHeight += fontHeight;
              if (g2d != null) {
                   g2d.drawString ((String)lines.elementAt(i),
                        (int)(pf.getImageableX () + 72), curHeight - fontDescent);
              } else {
                   System.out.println ("pg null");
              g2d.dispose();
    public int print(Graphics pg, PageFormat pf, int index)
         if(bFirstTime)
              System.out.println("First time - paginating");
              paginate(pg, pf);
              bFirstTime = false;
         System.out.println("No of pages = " + pages.size());
         if(!isValidIndex(index))
              return Printable.NO_SUCH_PAGE;
         ((Page)pages.elementAt(index)).print(pg, pf);
         return Printable.PAGE_EXISTS;
    boolean isValidIndex(int index)
         if(index >= 0 && index < pages.size())
              return true;
         return false;
    void paginate(Graphics pg, PageFormat pf)
         pages.clear();
    // Note: String is immutable so won't change while printing.
    if (!(pg instanceof PrinterGraphics)) {
    throw new IllegalArgumentException ("Graphics context not PrintGraphics");
         //--- Create the Graphics2D object
         Graphics2D g2d = (Graphics2D) pg;
         //--- Translate the origin to 0,0 for the top left corner
         g2d.translate (pf.getImageableX (), pf.getImageableY ());
         String s = textArea.getText();
    StringReader sr = new StringReader (s);
    LineNumberReader lnr = new LineNumberReader (sr);
    String nextLine;
         int pageHeight = (int)pf.getImageableHeight();
    Font helv = new Font(null, Font.PLAIN, 12);
    //have to set the font to get any output
    g2d.setFont (helv);
    FontMetrics fm = g2d.getFontMetrics(helv);
    int fontHeight = fm.getHeight();
    int fontDescent = fm.getDescent();
    int curHeight = (int)(pf.getImageableY() + 72);
         Page page = new Page();
         pages.addElement(page);
    try {
    do {
    nextLine = lnr.readLine();
    if (nextLine != null) {
    if ((curHeight + fontHeight) > pageHeight - 72) {
                   page = new Page();
    pages.addElement(page);
    curHeight = 0;
    curHeight += fontHeight;
    if (g2d != null) {
                   page.addLine(nextLine);
    } else {
    System.out.println ("pg null");
    } while (nextLine != null);
    } catch (EOFException eof) {
    // Fine, ignore
    } catch (Throwable t) { // Anything else
    t.printStackTrace();
    Thanks

    Did you ever find a resolution to this problem.
    I am having the same exact problem?

  • Master Data Distribution !

    Hi!
       I want to know the purpose of master data distribution for the following between the vendor & the customer.
       1. Material Master
       2. Vendor Master & Customer Master.
      Whats the purpose of linking our system with our vendor or customer etc with <b>regard to master data</b>
      Pls explain in detail.
      Thanks
      Rahul.

    Hi Rahul,
    We dont do master data distribution with customer system or vendor system.
    Master data distribution is done between distributed systems of the same organization using ALE configuration. So we dont link to customer or vendor systems for transfering master data but for transfering transactional data like purchase orders or sales orders etc.
    Master Data Distribution
    Rather than distributing the complete master data information, views of the master data can be distributed (for example, material sales data, material purchase data). Each view of the master data is stored in a separate message type.
    Users can specify which data elements in a master record are to be distributed.
    Various distribution strategies are supported:
    ·        Cross-system master data can be maintained centrally and then distributed. The final values are assigned locally.
    ·        A view of the master data can be maintained locally. In this case there is always one maintenance system for each view. After the master data has been maintained it is transferred to a central SAP system and distributed from there.
    Types of Distribution
    ·        Active distribution (PUSH)
    If the master data is changed (for example, new data, changes or deletions), a master data IDoc is created in the original system and is distributed by class as specified in the distribution model.
    ·        Requests (PULL)
    A request occurs when a client system needs information about master data held in the system. You can select specific information about the master data, for example, the plant data for a material.
    If you want to be notified of all subsequent changes to the master data, this has to be set up “manually” between the two systems. It is not yet possible for this to be done automatically in the distribution mechanism in the original system.
    Transferring the Master Data
    A distinction is made between transferring the entire master data and transferring only changes to the master data.
    If the entire master data is transferred, a master IDoc is created for the object to be distributed in response to a direct request from a system. Only the data that was actually requested is read and then sent. The customer specifies the size of the object to be distributed in a request report.
    If only changes are transferred, the master IDoc is created based on the logged changes.
    Reward points for the useful answers,
    Aleem.

  • How do I alter the bytes of a Class file to add calls to the methods?

    If i had the bytes of a class file, and I wanted to alter the bytes that constitute each method for the class so that it included a call to the security manager, how would i do it?
    1. How would I know which bytes were the opening of a method?
    2. how would I know what the name of the method is?
    3. How would I create bytes for something like:
       SecurityManager sm = System.getSecurityManager().checkPermission(thismeth, subject);
    4. I assume that if by some miracle I can do the above, then all I have to do is call defineClass(...) in ClassLoader and send it the new bytes, right?
    Thanks to all!

    OK, if it will help anyone get me the answers here, I found a class on the internet that can read a class file and tell you where in the bytes a method occurs and what its name is, and how long it is. What I need now is how to convert a call into the correct manner of bytes.
    For example, so I could add the bytes that would do:
       System.out.println("Added!");
    The class that reads a class file:
    /* Inspector.java by Mark D. LaDue */
    /* June 24, 1997 */
    /* Copyright (c) 1997 Mark D. LaDue
       You may study, use, modify, and distribute this example for any purpose.
       This example is provided WITHOUT WARRANTY either expressed or implied.  */
    /* This Java application analyzes the entries in the constant pool and locates
       the code arrays in a Java class file. Each entry in the constant pool
       yields the following information:
       Index     Tag     Reference(s)/Value(s)
       where "Index" is its position within the class file's constant pool,
       "Tag" is the official tag number for that type of entry, and
       "Reference(s)/Value(s)" contains the constant pool information
       according to the entry's type.  (See Lindholm and Yellin's "The Java
       Virtual Machine Specification" for details.)  For each code array in
       the class file, its starting byte, its total length, and the name of
       the method in which it occurs are given.  Combining this information
       with the information yielded by the humble "javap" utility gives one
       sufficient information to hack the code arrays in Java class files. */
    import java.io.*;
    class Inspector {
        public static void main(String[] argv) {
            int fpointer = 8; // Where are we in the class file?
            int cp_entries = 1; // How big is the constant pool?
            int Code_entry = 1; // Where is the entry that denotes "Code"?
            int num_interfaces = 0; // How many interfaces does it use?
            int num_fields = 0; // How many fields are there?
            int num_f_attributes = 0; // How many attributes does a field have?
            int num_methods = 0; // How many methods are there?
            int num_m_attributes = 0; // How many attributes does a method have?
            int[] tags; // Tags for the constant pool entries
            int[] read_ints1; // References for some constant pool entries
            int[] read_ints2; // References for some constant pool entries
            long[] read_longs; // Values for some constant pool entries
            float[] read_floats; // Values for some constant pool entries
            double[] read_doubles; // Values for some constant pool entries
            StringBuffer[] read_strings; // Strings in some constant pool entries
            int[] method_index;
            long[] code_start;
            long[] code_length;
    // How on earth do I use this thing?
            if (argv.length != 1) {
                System.out.println("Try \"java Inspector class_file.class\"");
                System.exit(1);
    // Start by opening the file for reading
            try {
                RandomAccessFile victim = new RandomAccessFile(argv[0], "r");
    // Skip the magic number and versions and start looking at the class file
                victim.seek(fpointer);
    // Determine how many entries there are in the constant pool
                cp_entries = victim.readUnsignedShort();
                fpointer += 2;
    // Set up the arrays of useful information about the constant pool entries
                tags = new int[cp_entries];
                read_ints1 = new int[cp_entries];
                read_ints2 = new int[cp_entries];
                read_longs = new long[cp_entries];
                read_floats = new float[cp_entries];
                read_doubles = new double[cp_entries];
                read_strings = new StringBuffer[cp_entries];
    //Initialize these arrays
                for (int cnt = 0; cnt < cp_entries; cnt++) {
                    tags[cnt] = -1;
                    read_ints1[cnt] = -1;
                    read_ints2[cnt] = -1;
                    read_longs[cnt] = -1;
                    read_floats[cnt] = -1;
                    read_doubles[cnt] = -1;
                    read_strings[cnt] = new StringBuffer();
    // Look at each entry in the constant pool and save the information in it
                for (int i = 1; i < cp_entries; i++) {
                    tags[i] = victim.readUnsignedByte();
                    fpointer++;
                    int skipper = 0;
                    int start = 0;
                    int test_int = 0;
                    switch (tags) {
    case 3: read_ints1[i] = victim.readInt();
    fpointer += 4;
    break;
    case 4: read_floats[i] = victim.readFloat();
    fpointer += 4;
    break;
    case 5: read_longs[i] = victim.readLong();
    fpointer += 8;
    i++;
    break;
    case 6: read_doubles[i] = victim.readDouble();
    fpointer += 8;
    i++;
    break;
    case 7:
    case 8: read_ints1[i] = victim.readUnsignedShort();
    fpointer += 2;
    break;
    case 9:
    case 10:
    case 11:
    case 12: read_ints1[i] = victim.readUnsignedShort();
    fpointer += 2;
    victim.seek(fpointer);
    read_ints2[i] = victim.readUnsignedShort();
    fpointer += 2;
    break;
    // This is the critical case - determine an entry in the constant pool where
    // the string "Code" is found so we can later identify the code attributes
    // for the class's methods
    case 1: skipper = victim.readUnsignedShort();
    start = fpointer;
    fpointer += 2;
    victim.seek(fpointer);
    for (int cnt = 0; cnt < skipper; cnt++) {
    int next = victim.readUnsignedByte();
    switch (next) {
    case 9: read_strings[i].append("\\" + "t");
    break;
    case 10: read_strings[i].append("\\" + "n");
    break;
    case 11: read_strings[i].append("\\" + "v");
    break;
    case 13: read_strings[i].append("\\" + "r");
    break;
    default: read_strings[i].append((char)next);
    break;
    victim.seek(++fpointer);
    victim.seek(start);
    if (skipper == 4) {
    fpointer = start + 2;
    victim.seek(fpointer);
    test_int = victim.readInt();
    if (test_int == 1131373669) {Code_entry = i;}
    fpointer = fpointer + skipper;
    else {fpointer = start + skipper + 2;}
    break;
    victim.seek(fpointer);
    // Skip ahead and see how many interfaces the class implements
    fpointer += 6;
    victim.seek(fpointer);
    num_interfaces = victim.readUnsignedShort();
    // Bypass the interface information
    fpointer = fpointer + 2*(num_interfaces) + 2;
    victim.seek(fpointer);
    // Determine the number of fields
    num_fields = victim.readUnsignedShort();
    // Bypass the field information
    fpointer += 2;
    victim.seek(fpointer);
    for (int j=0; j<num_fields; j++) {
    fpointer += 6;
    victim.seek(fpointer);
    num_f_attributes = victim.readUnsignedShort();
    fpointer = fpointer + 8*(num_f_attributes) + 2;
    victim.seek(fpointer);
    // Determine the number of methods
    num_methods = victim.readUnsignedShort();
    fpointer += 2;
    // Set up the arrays of information about the class's methods
    method_index = new int[num_methods];
    code_start = new long[num_methods];
    code_length = new long[num_methods];
    //Initialize these arrays
    for (int cnt = 0; cnt < num_methods; cnt++) {
    method_index[cnt] = -1;
    code_start[cnt] = -1;
    code_length[cnt] = -1;
    // For each method determine the index of its name and locate its code array
    for (int k=0; k<num_methods; k++) {
    fpointer += 2;
    victim.seek(fpointer);
    method_index[k] = victim.readUnsignedShort();
    fpointer += 4;
    victim.seek(fpointer);
    // Determine the number of attributes for the method
    num_m_attributes = victim.readUnsignedShort();
    fpointer += 2;
    // Test each attribute to see if it's code
    for (int m=0; m<num_m_attributes; m++) {
    int Code_test = victim.readUnsignedShort();
    fpointer += 2;
    // If it is, record the location and length of the code array
    if (Code_test == Code_entry){
    int att_length = victim.readInt();
    int next_method = fpointer + att_length + 4;
    fpointer += 8;
    victim.seek(fpointer);
    code_length[k] = victim.readInt();
    code_start[k] = fpointer + 5;
    fpointer = next_method;
    victim.seek(fpointer);
    // Otherwise just skip it and go on to the next method
    else {
    fpointer = fpointer + victim.readInt() + 4;
    victim.seek(fpointer);
    // Print the information about the Constant Pool
    System.out.println("There are " + (cp_entries - 1) + " + 1 entries in the Constant Pool:\n");
    System.out.println("Index\t" + "Tag\t" + "Reference(s)/Value(s)\t");
    System.out.println("-----\t" + "---\t" + "---------------------\t");
    for (int i = 0; i < cp_entries; i++) {
    switch (tags[i]) {
    case 1: System.out.println(i + "\t" + tags[i] + "\t" + read_strings[i].toString());
    break;
    case 3: System.out.println(i + "\t" + tags[i] + "\t" + read_ints1[i]);
    break;
    case 4: System.out.println(i + "\t" + tags[i] + "\t" + read_floats[i]);
    break;
    case 5: System.out.println(i + "\t" + tags[i] + "\t" + read_longs[i]);
    break;
    case 6: System.out.println(i + "\t" + tags[i] + "\t" + read_doubles[i]);
    break;
    case 7:
    case 8: System.out.println(i + "\t" + tags[i] + "\t" + read_ints1[i]);
    break;
    case 9:
    case 10:
    case 11:
    case 12: System.out.println(i + "\t" + tags[i] + "\t" + read_ints1[i] + " " + read_ints2[i]);
    break;
    System.out.println();
    // Print the information about the methods
    System.out.println("There are " + num_methods + " methods:\n");
    for (int j = 0; j < num_methods; j++) {
    System.out.println("Code array in method " + read_strings[method_index[j]].toString() + " of length " + code_length[j] + " starting at byte " + code_start[j] + ".");
    System.out.println();
    // All the changes are made, so close the file and move along
    victim.close();
    } catch (IOException ioe) {}

  • Editing Rtf Text

    We are running Authorware 6.5 & want to give users the
    ability to edit text, read from external files. This is straight
    forward with a simple text file (filename.txt) where we can read
    the data from a file then write back the amended data to the file.
    We are having problems doing this with formatted text
    (filename.rtf).
    Is it possible for users to access the Rtf Objects Editor? If
    not, is it possible for Authorware to open the filename contained
    in a variable using Microsoft Word?

    Most computers have it already.
    "Apurva Lawale" <[email protected]> wrote in
    message
    news:einhr0$7ke$[email protected]..
    > Well, the Microsoft RTF ActiveX Control needs license to
    distribute.
    > Please do check out any licensing issues before
    distributing.
    >
    > Example:
    http://www.theofficeexperts.com/forum/showthread.php?t=1867
    >
    > Best Regards,
    > Apurva
    >
    http://www.apurvalawale.com/
    - "Home of alBrowser and Amigo"
    >
    http://learning.apurvalawale.com/
    - "Learn authorware tips and tricks"
    >
    http://amigo.apurvalawale.com/
    - "A friendly search"
    >
    >
    > "Amy Blankenship *AdobeCommunityExpert*"
    > <[email protected]> wrote in
    message
    > news:einh0n$6lj$[email protected]..
    >> You can embed an RTF ActiveX control.
    >> "TomWhite" <[email protected]>
    wrote in message
    >> news:ein90d$qcs$[email protected]..
    >>> We are running Authorware 6.5 & want to give
    users the ability to edit
    >>> text,
    >>> read from external files. This is straight
    forward with a simple text
    >>> file
    >>> (filename.txt) where we can read the data from a
    file then write back
    >>> the
    >>> amended data to the file. We are having problems
    doing this with
    >>> formatted text
    >>> (filename.rtf).
    >>>
    >>> Is it possible for users to access the Rtf
    Objects Editor? If not, is it
    >>> possible for Authorware to open the filename
    contained in a variable
    >>> using
    >>> Microsoft Word?
    >>>
    >>
    >>
    >
    >

  • Posting changes from EWM to ECC

    Hello dear experts
    When I create a posting change in EWM, for example to change stock type from F1 to F2, a message is sent to ERP using goods movement interface. Usually in ERP a 311 movement is created to move the stock from one storage location to another.
    Anyway, the HU data in ERP does not get updated. In HUMO you still see it in old storage location.
    Is it possible to generate a delivery in ECC from EWM posting change?
    I would like not to go through direct deliveries as they are creating STO in ERP and require a unique customer for each storage location, which is difficult because it would require changes to intecompany model .
    Does anyone have a solution?
    Thanks
    Best regards
    Carlo

    Hello Sathish
    To my understanding, when a posting change delivery itself is created in ERP and distributed (for example a DTR delivery type) the system finds a predecessor and uses delivery interface
    And also, when you are creating a posting change for an HU linked to a delivery, and the HU was not moved yet to a final storage type, /SPE/GOODSMVT_CREATE fm is called with reference to the delivery. This if you did the customizing for inbound deliveries under "Interfaces/ERPIntegration/Set Control Parameters for ERP Version Control
    In ERP you will see the posting change in document flow for delivery
    That's all I know..
    Best regards
    Carlo

  • Very simple example of distributed cache

    Hi,
    I followed the getting started guide and I have a config xml that lists a VirtualCache. Then I wrote a very simple main class, TestCache1 that does this:
    private static NamedCache cache = CacheFactory.getCache("VirtualCache");
    public static void main(String[] args) {
    cache.put("hello", "hello");
    and then a TestCache2 that gets the value:
    private static NamedCache cache = CacheFactory.getCache("VirtualCache");
    public static void main(String[] args) {
    Object hello = cache.get("hello");
    System.err.println(hello);
    so I run TestCache1 and then i run TestCache2, but the result is "null". I have a very basic problem where I want one java class to add stuff to a cache that another java process can access. WHat do I need to do?
    Thanks, Jason

    Hi,
    Yes I started up both test classes using the same configuration file but it's just not working. Here's the config file:
    +<cache-config>+
    +<caching-scheme-mapping>+
    +<!--+
    Caches with any name will be created as default replicated.
    -->
    +<cache-mapping>+
    +<cache-name>*</cache-name>+
    +<scheme-name>default-replicated</scheme-name>+
    +</cache-mapping>+
    +<cache-mapping>+
    +<cache-name>VirtualCache</cache-name>+
    +<scheme-name>default-distributed</scheme-name>+
    +</cache-mapping>+
    +</caching-scheme-mapping>+
    +<caching-schemes>+
    +<!--+
    Default Replicated caching scheme.
    -->
    +<replicated-scheme>+
    +<scheme-name>default-replicated</scheme-name>+
    +<service-name>ReplicatedCache</service-name>+
    +<backing-map-scheme>+
    +<class-scheme>+
    +<scheme-ref>default-backing-map</scheme-ref>+
    +</class-scheme>+
    +</backing-map-scheme>+
    +</replicated-scheme>+
    +<!--+
    Default Distributed caching scheme.
    -->
    +<distributed-scheme>+
    +<scheme-name>default-distributed</scheme-name>+
    +<service-name>DistributedCache</service-name>+
    +<backing-map-scheme>+
    +<class-scheme>+
    +<scheme-ref>default-backing-map</scheme-ref>+
    +</class-scheme>+
    +</backing-map-scheme>+
    +</distributed-scheme>+
    +<!--+
    Default backing map scheme definition used by all
    The caches that do not require any eviction policies
    -->
    +<class-scheme>+
    +<scheme-name>default-backing-map</scheme-name>+
    +<class-name>com.tangosol.util.SafeHashMap</class-name>+
    +</class-scheme>+
    +</caching-schemes>+
    +</cache-config>+
    Thanks again, Jason

  • Can someone point me to vsphere api to delete portgroup on a distributed virtual switch usoing vsphere api.I need the api or example to programmatically delete distributed portgroups

    can someone point me to vsphere api to delete portgroup on a distributed virtual switch usoing vsphere api.Please post this to another forum if needed

    Or atleast, how do you do a table export using dbms_datapump ?

  • I need an example of CXF webservice to deploy on Weblogic 10.3.2 Portal Server

    Hi All,
    I was struggling to deploy a simple CXF Webservice over WeblogicPortal 10.3.2. Can someone give steps using maven?
    Regards,
    Swaroop Kunduru.

    Hi,
    Reproducing this issue is very easy.....
    1). Just Create a Admin and Managed Server
    2). Start AdminServer then from Admin Console Disable the normal listen-port for admin Server (suppose it was 7001 disable it)....AND enable only the SSL port for Admin Server (example 7002).
    Managed Server (Listen Port=7003 and SSL ListenPort=7004)
    3). Now Try Start Managed Server.
    you wil get the Exact same exception
    <Jan 20, 2010 6:03:19 PM CST> <Error> <Configuration Management> <BEA-150000> <An error occurred while establishing a connection back to the adminstration server t3://140.126.24.25:6001 during startup. Since bootstrap succeeded check that t3://140.126.24.25:6001 uniquely identifies the administration server.
    javax.naming.ServiceUnavailableException [Root exception is java.rmi.NoSuchObjectException: The object identified by: '31' could not be found. Either it was has not been exported or it has been collected by the distributed garbage collector.]
    And
    <Emergency> <Management> <BEA-141151> <The admin server could not be reached at http://140.126.24.25:6001.>
    Now it will be easy for us to find out where is the issue actually.
    Thanks
    Jay SenSharma
    http://jaysensharma.wordpress.com (WebLogic Wonders Are Here)
    Edited by: Jay SenSharma on Feb 24, 2010 4:15 PM

  • Distributed Cache service stuck in Starting Provisioning

    Hello,
    I'm having problem with starting/stopping Distributed Cache service in one of the SharePoint 2013 farm servers. Initially, Distributed Cache was enabled in all the farm servers by default and it was running as a cluster. I wanted to remove it from all hosts
    but one (APP server) using below PowerShell commands, which worked fine.
    Stop-SPDistributedCacheServiceInstance -Graceful
    Remove-SPDistributedCacheServiceInstance
    But later I attempted to add the service back to two hosts (WFE servers) using below command and unfortunately one of them got stuck in the process. When I look at the Services on Server from Central Admin, the status says "Starting".
    Add-SPDistributedCacheServiceInstance
    Also, when I execute below script, the status says "Provisioning".
    Get-SPServiceInstance | ? {($_.service.tostring()) -eq "SPDistributedCacheService Name=AppFabricCachingService"} | select Server, Status
    I get "cacheHostInfo is null" error when I use "Stop-SPDistributedCacheServiceInstance -Graceful".
    I tried below script,
    $instanceName ="SPDistributedCacheService Name=AppFabricCachingService" 
    $serviceInstance = Get-SPServiceInstance | ? {($_.service.tostring()) -eq $instanceName -and ($_.server.name) -eq $env:computername}
    $serviceInstance.Unprovision()
    $serviceInstance.Delete()
    ,but it didn't work either, and I got below error.
    "SPDistributedCacheServiceInstance", could not be deleted because other objects depend on it.  Update all of these dependants to point to null or 
    different objects and retry this operation.  The dependant objects are as follows: 
    SPServiceInstanceJobDefinition Name=job-service-instance-{GUID}
    Has anyone come across this issue? I would appreciate any help.
    Thanks!

    Hi ,
    Are you able to ping the server that is already running Distributed Cache on this server? For example:
    ping WFE01
    As you are using more than one cache host in your server farm, you must configure the first cache host running the Distributed Cache service to allow Inbound ICMP (ICMPv4) traffic through the firewall.If an administrator removes the first cache host from
    the cluster which was configured to allow Inbound ICMP (ICMPv4) traffic through the firewall, you must configure the first server of the new cluster to allow Inbound ICMP (ICMPv4) traffic through the firewall. 
    You can create a rule to allow the incoming port.
    For more information, you can refer to the  blog:
    http://habaneroconsulting.com/insights/Distributed-Cache-Needs-Ping#.U4_nmPm1a3A
    Thanks,
    Eric
    Forum Support
    Please remember to mark the replies as answers
    if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]
    Eric Tao
    TechNet Community Support

  • How the JVM SHOULD be distributed (interesting)

    Well I sent this document to the JCP maybe it will be better off there....
    Sun needs a new JAVA marketing strategy.
    Opinions expressed here are of my own, Matt Prokes, remember these are only opinions about what should or could be.
    If you have ?'s contact me at [email protected]
    What Java's Problem Is:
    As far as I can see the only problem that java has these days is the client inconsistencys, this is due to Microsoft and there attempted dustruction of the HUGE java language, and Microsoft has succeeded wonderfully thus far, which is sad. I feel it is only due to the way Sun markets Java, not that they have not tried but they are going about it the wrong way.
    Sun Feels They Are Being Oppressed:
    It seems to me that Sun has a feeling of being oppressed by Microsoft, they see the company inflicting standards on the computing world that are self centered and platform specific, this is why java was created, to break that mold and it does it wonderfully but java has not gained populatiry because of marketing technique, no, it has gained popularity because it REALLY is what it is cracked up to be....A better way of doing things....
    That is why sun landed the title of being one the the most innovative companys today by the magazine �PC World� ranking 13th place while Microsoft landed 137th (i think).
    Yet with all this technology sun does not try to inflict it's standards on the PC world, well you might think what about all those court cases, for instance the most recent that suggests that Sun wants to FORCE Microsoft to install their JVM. I think stuff like this just slows Sun down, as we learned with previous cases Microsoft is just to big to fight and if you do manage to win it will be 3-4 years later. If you think about it time is money, why waste time? Trying to leach off of Microsoft is NOT the way to inflict standards, infact it is one of the worst ways because by the time you would have won microsoft would have bullied the java enviroment to it's grave (umm .net). So you may ask how do we enforce standards without the help of microsoft, the answer is more simple than you may think yet for some reason it has not been thought of by Sun. So far this is what has brought microsoft to the top.
    1.Great Software
    2.Enforced Standards, and Implementation
    3.Excellent Marketing
    4.Protected Software (Ideas)
    5.Industry Wide Support
    Innovation is not on this list, Microsoft does not have a innovative bone in it's body at the moment, it just buys technology that it needs, and has flashy GUI's, and a huge amount of support in the software industry. This is why according to the magazine �PC World� microsoft ranks #137 in innovation while Sun sits at a satisfying ranking of #13.
    What this means is that Sun just is more innovative, it has technology out there that could be used but it can't because we have clients with Version 1.3 Java software on their PC's, Either that or Propietary and NOT PLATFORM INDEPENDENT Microsoft JVM's which Microsoft will again start to distribute in 2004 on XP, this brings me to my first point, if we are going to have a platform independent language it needs to come from ONE POINT that will be implemented by all Manufactures (the W3C for instance). You may be thinking well how do you enforce the SUN JVM if microsoft does not pack it with windows? The answer is you do what most new companys do and that is goto the PC Vendors. I would like to point out that microsoft is for the most part ONLY a software company (aside from some of there PC products), but they do not build and distribute PC systems, thus microsoft does not control what can go on a PC, I would like to point out the growing Linux threat to windows, more particulary the linux based operating system (Lindows) recently lindows has aquired a deal with walmart to sell there operating system as a subsitute to windows, this worked out phenominaly and right now walmart cannot seem to keep enough of the pc's on the shelves (since they cost only about 199$). Case point linux has also grown enormously due to �Home Editions� of linux (Red Hat). The first point I would like to make is that Sun should be PAYING vendors to install the SUN JVM over the microsoft one, this takes care of a few of Sun's problems (Not as much industry support as microsoft, and upgrading the JVM) all this can be done for a measily 5-6 million a year and will reach about 70% of the PC sector, infact I am almost certain this is how microsoft started out.
    One Of Java's Big Problems JVM Inconsistencys
    Now if Sun locks 70% of the PC market that will already be a large boost for java, but the question is how to make the percentage grow to 100%... I would now like to point out the company Macromedia, macromedia products are phenominal, and have changed the way media is seen on the web, particularly the Flash product that macromedia sells, now at this moment macromedia has stated that >90% flash support exists on the web today and >70% is with the most current version of flash, as I see it infact flash is one of the most universally supported pieces of software even more so than microsoft, this is why you see flash movies on yahoo, cnet, amazon, and even MSN! So you may ask what made flash what it is today? Well as described before flash is supported and installed by PC vendors, and even if it is not you can bearly go any place on the web with out getting a message stating that you should upgrade to the most current version of flash, this is due to the wide support on the web..... Now on the other hand if I run a java applet and the applet was compiled with some new features that were not supported in version 1.3 (Swing for example) we will get an error message stating that the package cannot be found and the applet will not run...You do not get any messages to upgrade, no window prompts, nothing..which brings me to my next point the java compiler should include the code (a pre JVM 1.3 version & microsoft JVM compatiable) that will prompt you to install the most current version of Java you already see default loaders for swing, a plugin check should also be included in all programs to ensure that you have to most recent version, and if you do not then it will send you to the Sun Website, or display a update manager or something. Getting an error saying that the applet packages are not found does not help the user any it only frusterates them, you have to physically provide a remedy to the problem at hand. This should also check to see if the microsoft JVM is installed and if it is prompt to upgrade to the Sun JVM, this will pretty much distroy the use of the microsoft JVM.
    This takes care of the enforcing standards part, braudens the Industry Wide Support, and protects the java enviroment, last but not least you need to promote the software, Java already does this excellently with webservices, and other things but there are more consumers than businesses and Java should also be concentrating more on the excellent 3d support that they have, the networking features of java, ect. Take OpenOffice.org for instance the product has grown emmensly since it has started and much uses Java API's, you would see much growth in Java if you provided other products like Open Office for free, for instance a Quake Like Multiplayer game in Java 3D distributed on an open source enviroment, in applet form (since applets are exclusivly a invention of Java), and then have a couple of servers set up that people can play for free on Sun's site, more networking app's for free, ect. You have to promote some of the more flashy features of Sun this way in order to see more growth and support and for free (learn from linux which is quickly becoming a HUGE threat for microsoft) if sun is making 13 billion a year I see no problem to them sporting a couple of servers with some USEFUL online apps/games/ect that sport how innovative java really is, and if they really need to they can have all the banners on stuff like the online games, take Http://www.runescape.com that sports an average of 10,000 users at any moment using the cross platform Java 3d API and they do it for free! All open source free products should be on Suns website, it shows how strong of a community Sun really is, instead of having it on some other website like www.openoffice.org that only sports Sun's name maybe a few times you might occasionally see a logo.. it would be better to maybe get open office from an address like www.openoffice.sun.com, maybe try a www.games.sun.com address or a www.apps.sun.com and then advertise the stuff that can be found at the Sun website. Sun should be proud to be open source, it is the only thing microsoft can't buy....
    Opinions Of Matt Prokes..
    [email protected]

    Sun should be proud to be open source, it is the only thing microsoft
    can't buy....Thats the only line of your whole pointless post that I read.
    Since when is "sun" open source. I imagine you mean java. Java isn't open source, what makes you think it is? You can get the source for it and modify it to suit ur needs as per the license but this isn't really open source.. is it?
    Anyway, don't waste space with your crap here, send an e-mail to somebody at sun instead, its just a waste posting this here.

  • How to distribute the serial core only with my exe and DLL applicatio​n using the Labview applicatio​n builder 8.21. I'm not interested having MAX and other components installed on the customer PC and in the program menu

    Since Labview ver 8.0 and later, I am not very happy with the new way the project installer is managing the additional drivers such as Serial.
    With LV 7.11 the serial components was included in the cab file and was installed on the target computer in a specific directory. The size of the distribution was pretty small and well suited for compact distribution.
    My LV application use only the serial object and with LV 8.21, if I include the serial 3.2 component, I get an enormus file including max, visa ... and a lot of fucky component I do not need.
    To distribute my application, I just need, the runtime engine and the serial driver as it was with the version 7.XX
    Looking for clever advises from you gentlemen!

    Thanks Dennis for you input
    My problem is in fact very simple. 3 years ago, I developped a software suite for X ray generator; My company is selling such generator all over the world and our control panel software and DLL (for OEM integrator) is based on Labview professionnal development plateform.
    To drive our generator, we just need to transfer ascii data using the strandard RS232 port still present on most of equipments used in the industrial area.
    Until LV version 7.11, there was no problem to include serial component in my distribution with a very reasonable size and transparency for the end user.
    with LV 8.xx (preparing a new release), I'm very disapointed to see, my distribution is increased of about for 10 Mo to 180 Mo just because I increase the serial component.
    May I mix a previous version of the serial component with LV 8.21?
    Should I change my source to Visa instruction only and merge visa runtime only to my distribution?
    is there any simple serial example based on visa and distributed with th application builder?
    I will appreciate your help in order to optimize my distribution
    Pascal 

  • How to process one message at a time on a distributed queue

    I have a situation where I need to execute/process a task of a type
              asynchronously and this should be done one at a time. To do that I am thinking of setting
              up a distributed queue (for load balancing and failover). Now I have
              this requirement that only one task should be processed at one time. So
              for example if two messages (m1 followed by m2) are sent to distributed
              queue and I have the distributed queue which points to two physical
              queues on two different instances of weblogic(wl1 and wl2), the
              distributed queue will likely send m1 to wl1 and m2 to wl2 (assuming
              distributed queue is setup with round robin policy). If m1 has started
              executing/processing in my MDB on wl1, I do not want start processing
              m2 on wl2 untill m1 has been processed by wl1. Is it possible to do
              this on weblogic 8.1 JMS?
              If this is not supported I was thinking of implementing a database
              based locking framework and each mdb will use that framework to check
              if a task of a particular type is being processed before processing a
              new task. Also in this case I will need to use max. 1 mdb for each
              queue on each weblogic server.
              --Navjeet                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hello navjeet,
              I don't think there are any parameters that you can set on a distributed queue to ensure messages are handled in the sequential manner you describe so it looks like you will have to implement your own locking mechanism.
              In reposponse to your other question you can set the number of MDbeans in the free pool to 1 (or the number of queues you have) in the MDBean deployment descriptor.
              see:
              http://e-docs.bea.com/wls/docs81/ejb/message_beans.html#1120592
              Cheers,
              Hoos

  • SQL Server Distributed Partitioning Views how to add a new node online

    We are using distributed partitioning views in SQL Server 2012 Enterprise Edition for scaling out our data across more than one servers. Now we faced to question how to add a new node (server) into the scale outed db servers system without sending the servers
    down, so our users will be able to use them during the process as well.
    For example we have 4 servers with scaled out data. When we add the new empty server, the CHECKINGs for the partitioning columns should be reorganized. But during the process the partitioning views are not working.
    The High Availability, Always On or Failover Cluster approaches seem are not resolve the problems.
    So my question is how to add new node online?
    KH

    Thank you Erland for the reply.
    Yes, it's sounds as possible solution but has some not resolvable nuance in it. Let's say we copied some data from Node5 to new added Node6. Let's assume in Node5 we had data in Table1 with partitioning column's values 100,101,102,103,104,105,106.  Now
    we want to copy part of the rows with partitioning column's values 103,104,105,106 from Node5.Table1 into Node6.Table1. With this Node5 will contain less data and will work more quickly (less IO, less CPU usage etc), and the rest data will be contained on
    Node6. But because of Node5 is already in use, the Node5.Table1 contains CHECK CONSTRAINT = ParttionColumn should be from 100 up to 106. This is check for Node5. The Distributed Partitioning Views are already using the CHECKs to identify what server should
    be used to get data from.
    Now when we copied part of the Node5.Table1 rows to Node6.Table1 the views are still using the 103-106 rows from Node5.Table1 because the CHECK points there. Then we include the newest Node6.Table1 in the distributed partitioning views. OK, but we should
    set some CHECK on new Node6.Table1 which will be used by views. We can't set intersecting checking like Node5 has CHECK 100-106 and Node6 has CHECK 103-106. We also can't edit Node5 check and set it 100-102 untill the data will be removed in it. But this means
    that the data will not be available during the execution. 
    So, any ideas ?
    KH

Maybe you are looking for

  • IPOD not being recognised by Windows

    Please can anyone help me? I updated Itunes to 7.0.2. Since then, my computer does not recognize ipod. I've tried everything viz. restoring the previous version of itunes. Still no luck. I've tried resetting the ipod using the select and menu keys. S

  • Assigning value to the dynamic item

    Hi All, I am trying to achieve the following 1. Create a program unit that passes the block name and item name 2. Build :<BlockName>.<ItemName> and assign the value say 'Yes' / 'No' based on the condition. 3. I do not want to hard code the block name

  • Report 6i Arabic Date alignment problem in Windows 7

    Hi We have 6i Forms and Report and wanna run in windows 7. But we found arabic Date disaplay problem in reports. As you know arabic writting from right. But date display like 21/10/1431 and I wanna like 1431/10//21. I tried from regional setting and

  • Classic Report with Hide and Show Region Template does not show report

    Hello, I created a "No Template" region on a page with a Classic Report. When I change it to a "Hide and Show" region template, the report does not show up when I click to Show the region...is there an additional step i'm missing to make the report s

  • FCP export makes a blank AC3

    Hi, I'm exporting a film to go to DVDSP. I'm doing what I've done for the past n years. In the sequence>export using compressor>my presets come up (90 minute high quality MPEG2 and Dolby AC3 2.0). The video goes out fine (the project closes in FCP wh