JButton in a gridcontrol

I would like to add a column with a JButton in a Gridcontrol, is this posible?, can anybody send some example code?

Hi there,
I add a button in a column of the GridControl, with the next code:
JTable v_table = masterGrid.getTable();
v_table.getColumn(v_table.getColumnName(0)).setCellRenderer(new BButtonRenderer());
v_table.getColumn(v_table.getColumnName(0)).setCellEditor(new BButtonEditor(new JCheckBox()));
I must type it after publishSession and works fine but when I make a Rollback the button disappear, anybody know how can I solve it?
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Anonymous:
I would like to add a column with a JButton in a Gridcontrol, is this posible?, can anybody send some example code?<HR></BLOCKQUOTE>
null

Similar Messages

  • PrintPreview for a GridControl ?

    Hello guys,
    I like to show a PrintPreview of a
    GridControl. So user could see the style of
    GridControl before printing.
    I found a peace of code as a class that
    we can instantiate it to view a printPreviw
    of a "JTable". It works fine when I pass
    JTable as a Printable job to the
    my PrintPreview class.
    That's a valuable code which every body can use it(I paste it below).
    But I could not Print Preview a GridControl.
    My question is "How can I use this peace of code to Print Preview a GridControl".
    // Print Preview class for JTable
    package Tree;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.*;
    import java.awt.print.*;
    import javax.swing.border.*;
    public class MyPrintPreview extends JFrame {
    BorderLayout borderLayout1 = new BorderLayout();
    JPanel jPanel1 = new JPanel();
    protected int m_wPage;
    protected int m_hPage;
    protected Printable m_target;
    protected JComboBox m_cbScale;
    protected PreviewContainer m_preview;
    public MyPrintPreview(Printable target) {
    this(target, "Print Preview");
    public MyPrintPreview(Printable target, String title) {
    super(title);
    setSize(600, 400);
    m_target = target;
    JToolBar tb = new JToolBar();
    JButton bt = new JButton("Print", new ImageIcon("print.gif"));
    ActionListener lst = new ActionListener() {
    public void actionPerformed(ActionEvent e) {
    try {
    // Use default printer, no dialog
    PrinterJob prnJob = PrinterJob.getPrinterJob();
    prnJob.setPrintable(m_target);
    setCursor( Cursor.getPredefinedCursor(
    Cursor.WAIT_CURSOR));
    prnJob.print();
    setCursor( Cursor.getPredefinedCursor(
    Cursor.DEFAULT_CURSOR));
    dispose();
    catch (PrinterException ex) {
    ex.printStackTrace();
    System.err.println("Printing error: "+ex.toString());
    bt.addActionListener(lst);
    bt.setAlignmentY(0.5f);
    bt.setMargin(new Insets(4,6,4,6));
    tb.add(bt);
    bt = new JButton("Close");
    lst = new ActionListener() {
    public void actionPerformed(ActionEvent e) {
    dispose();
    bt.addActionListener(lst);
    bt.setAlignmentY(0.5f);
    bt.setMargin(new Insets(2,6,2,6));
    tb.add(bt);
    String[] scales = { "10 %", "25 %", "50 %", "100 %" };
    m_cbScale = new JComboBox(scales);
    lst = new ActionListener() {
    public void actionPerformed(ActionEvent e) {
    Thread runner = new Thread() {
    public void run() {
    String str = m_cbScale.getSelectedItem().
    toString();
    if (str.endsWith("%"))
    str = str.substring(0, str.length()-1);
    str = str.trim();
    int scale = 0;
    try { scale = Integer.parseInt(str); }
    catch (NumberFormatException ex) { return; }
    int w = (int)(m_wPage*scale/100);
    int h = (int)(m_hPage*scale/100);
    Component[] comps = m_preview.getComponents();
    for (int k=0; k<comps.length; k++) {
    if (!(comps[k] instanceof PagePreview))
    continue;
    PagePreview pp = (PagePreview)comps[k];
    pp.setScaledSize(w, h);
    m_preview.doLayout();
    m_preview.getParent().getParent().validate();
    runner.start();
    m_cbScale.addActionListener(lst);
    m_cbScale.setMaximumSize(m_cbScale.getPreferredSize());
    m_cbScale.setEditable(true);
    tb.addSeparator();
    tb.add(m_cbScale);
    getContentPane().add(tb, BorderLayout.NORTH);
    m_preview = new PreviewContainer();
    PrinterJob prnJob = PrinterJob.getPrinterJob();
    PageFormat pageFormat = prnJob.defaultPage();
    if (pageFormat.getHeight()==0 &#0124; &#0124; pageFormat.getWidth()==0) {
    System.err.println("Unable to determine default page size");
    return;
    m_wPage = (int)(pageFormat.getWidth());
    m_hPage = (int)(pageFormat.getHeight());
    int scale = 10;
    int w = (int)(m_wPage*scale/100);
    int h = (int)(m_hPage*scale/100);
    int pageIndex = 0;
    try {
    while (true) {
    BufferedImage img = new BufferedImage(m_wPage,
    m_hPage, BufferedImage.TYPE_INT_RGB);
    Graphics g = img.getGraphics();
    g.setColor(Color.white);
    g.fillRect(0, 0, m_wPage, m_hPage);
    if (target.print(g, pageFormat, pageIndex) !=
    Printable.PAGE_EXISTS)
    break;
    PagePreview pp = new PagePreview(w, h, img);
    m_preview.add(pp);
    pageIndex++;
    ca tch (PrinterException e) {
    e.printStackTrace();
    System.err.println("Printing error: "+e.toString());
    JScrollPane ps = new JScrollPane(m_preview);
    getContentPane().add(ps, BorderLayout.CENTER);
    setDefaultCloseOperation(DISPOSE_ON_CLOSE);
    setVisible(true);
    class PreviewContainer extends JPanel
    protected int H_GAP = 16;
    protected int V_GAP = 10;
    public Dimension getPreferredSize() {
    int n = getComponentCount();
    if (n == 0)
    return new Dimension(H_GAP, V_GAP);
    Component comp = getComponent(0);
    Dimension dc = comp.getPreferredSize();
    int w = dc.width;
    int h = dc.height;
    Dimension dp = getParent().getSize();
    int nCol = Math.max((dp.width-H_GAP)/(w+H_GAP), 1);
    int nRow = n/nCol;
    if (nRow*nCol < n)
    nRow++;
    int ww = nCol*(w+H_GAP) + H_GAP;
    int hh = nRow*(h+V_GAP) + V_GAP;
    Insets ins = getInsets();
    return new Dimension(ww+ins.left+ins.right,
    hh+ins.top+ins.bottom);
    public Dimension getMaximumSize() {
    return getPreferredSize();
    public Dimension getMinimumSize() {
    return getPreferredSize();
    public void doLayout() {
    Insets ins = getInsets();
    int x = ins.left + H_GAP;
    int y = ins.top + V_GAP;
    int n = getComponentCount();
    if (n == 0)
    return;
    Component comp = getComponent(0);
    Dimension dc = comp.getPreferredSize();
    int w = dc.width;
    int h = dc.height;
    Dimension dp = getParent().getSize();
    int nCol = Math.max((dp.width-H_GAP)/(w+H_GAP), 1);
    int nRow = n/nCol;
    if (nRow*nCol < n)
    nRow++;
    int index = 0;
    for (int k = 0; k<nRow; k++) {
    for (int m = 0; m<nCol; m++) {
    if (index >= n)
    return;
    comp = getComponent(index++);
    comp.setBounds(x, y, w, h);
    x += w+H_GAP;
    y += h+V_GAP;
    x = ins.left + H_GAP;
    class PagePreview extends JPanel
    protected int m_w;
    protected int m_h;
    protected Image m_source;
    protected Image m_img;
    public PagePreview(int w, int h, Image source) {
    m_w = w;
    m_h = h;
    m_source= source;
    m_img = m_source.getScaledInstance(m_w, m_h,
    Image.SCALE_SMOOTH);
    m_img.flush();
    setBackground(Color.white);
    setBorder(new MatteBorder(1, 1, 2, 2, Color.black));
    public void setScaledSize(int w, int h) {
    m_w = w;
    m_h = h;
    m_img = m_source.getScaledInstance(m_w, m_h,
    Image.SCALE_SMOOTH);
    repaint();
    public Dimension getPreferredSize() {
    Insets ins = getInsets();
    return new Dimension(m_w+ins.left+ins.right,
    m_h+ins.top+ins.bottom);
    public Dimension getMaximumSize() {
    return getPreferredSize();
    public Dimension getMinimumSize() {
    return getPreferredSize();
    public void paint(Graphics g) {
    g.setColor(getBackground());
    g.fillRect(0, 0, getWidth(), getHeight());
    g.drawImage(m_img, 0, 0, this);
    paintBorder(g);
    }// end of myPrintPreview class
    // Add below code to your Applet/Application
    // first add a item menu on your menu
    MenuFilePrintPreview.setText("Print Preview");
    MenuFile.add(MenuFilePrintPreview);
    ActionListener lstPreview = new ActionListener() {
    public void actionPerformed(ActionEvent e) {
    Thread runner = new Thread() {
    public void run() {
    setCursor(Cursor.getPredefinedCursor(
    Cursor.WAIT_CURSOR));
    try{
    new MyPrintPreview(this ,"My Print Preview");
    }catch(Exception e){
    e.printStackTrace();
    System.err.println("Printer Error: "+e.toString());
    setCursor(Cursor.getPredefinedCursor(
    Cursor.DEFAULT_CURSOR));
    runner.start();
    MenuFilePrintPreview.addActionListener(lstPreview);
    null

    Ali,
    The piece you are missing is the code to get the JTable that is underlying your GridControl. You do this as follows:
    JTable tableView = myGridControl.getTable();
    Blaise
    null

  • Resized animated gif ImageIcon not working properly with JButton etc.

    The problem is that when I resize an ImageIcon representing an animated gif and place it on a Jbutton, JToggelButton or JLabel, in some cases the image does not show or does not animate. More precicely, depending on the specific image file, the image shows always, most of the time or sometimes. Images which are susceptible to not showing often do not animate when showing. Moving over or clicking with the mouse on the AbstractButton instance while the frame is supposed to updated causes the image to disappear (even when viewing the non-animating image that sometimes appears). No errors are thrown.
    Here some example code: (compiled with Java 6.0 compliance)
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Test
         public static void main(String[] args)
              new Test();
         static final int  IMAGES        = 3;
         JButton[]           buttons       = new JButton[IMAGES];
         JButton             toggleButton  = new JButton("Toggle scaling");
         boolean            doScale       = true;
         public Test()
              JFrame f = new JFrame();
              f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              JPanel p = new JPanel(new GridLayout(1, IMAGES));
              for (int i = 0; i < IMAGES; i++)
                   p.add(this.buttons[i] = new JButton());
              f.add(p, BorderLayout.CENTER);
              f.add(this.toggleButton, BorderLayout.SOUTH);
              this.toggleButton.addActionListener(new ActionListener() {
                   @Override
                   public void actionPerformed(ActionEvent e)
                        Test.this.refresh();
              f.setSize(600, 300);
              f.setVisible(true);
              this.refresh();
         public void refresh()
              this.doScale = !this.doScale;
              for (int i = 0; i < IMAGES; i++)
                   ImageIcon image = new ImageIcon(i + ".gif");
                   if (this.doScale)
                        image = new ImageIcon(image.getImage().getScaledInstance(180, 180, Image.SCALE_AREA_AVERAGING));
                   image.setImageObserver(this.buttons);
                   this.buttons[i].setIcon(image);
                   this.buttons[i].setSelectedIcon(image);
                   this.buttons[i].setDisabledIcon(image);
                   this.buttons[i].setDisabledSelectedIcon(image);
                   this.buttons[i].setRolloverIcon(image);
                   this.buttons[i].setRolloverSelectedIcon(image);
                   this.buttons[i].setPressedIcon(image);
    Download the gif images here:
    http://djmadz.com/zombie/0.gif
    http://djmadz.com/zombie/1.gif
    http://djmadz.com/zombie/2.gif
    When you press the "Toggle scaling"button it switches between unresized (properly working) and resized instances of three of my gif images. Notice that the left image almost never appears, the middle image always, and the right image most of the time. The right image seems to (almost) never animate. When you click on the left image (when visble) it disappears only when the backend is updating the animation (between those two frames with a long delay)
    Why are the original ImageIcon and the resized ImageIcon behaving differently? Are they differently organized internally?
    Is there any chance my way of resizing might be wrong?

    It does work, however I refuse to use SCALE_REPLICATE for my application because resizing images is butt ugly, whether scaling up or down. Could there be a clue in the rescaling implementations, which I can override?
    Maybe is there a way that I can check if an image is a multi-frame animation and set the scaling algorithm accordingly?
    Message was edited by:
    Zom-B

  • View a single table-row as multiple rows in a GridControl

    Hi,
    is it possible to distribute the entries of a single row of a table/RowSetInfo over multiple lines of a GridControl?
    I've seen an example on the Internet (http://www2.gol.com/users/tame/swing/examples/JTableExamples4.html) which does this without database connection but it seems as if it's necessary to replace the default JTable, TableModel and UI by customized ones. As far as I've seen it's not possible to replace the JTable which is used by a GridControl? So is there any other way to do this? (A modification of the JTable-UI itself doesn't suffice as the JTable yields wrong row- and column-numbers on mousclick-events and therefore the components of the second row are not enabled properly).
    Thanks in advance
    null

    |I've seen an example on the Internet |(http://www2.gol.com/users/tame/swing/exampl|es/JTableExamples4.html) which does this |without database connection but it seems as |if it's necessary to replace the default |JTable, TableModel and UI by customized |ones.
    You wont be able to replace the JTable. But you can change all the attributes on the internal table which the grid uses (see getTable() method). The datamodel for the grid is impemented by oracle.dacf.control.swing.GridDataSource. You can possibly extend this class. You can also change the Table column model and the renderers used by the Table.
    |So is there any other way to do this? (A |modification of the JTable-UI itself doesn't |suffice as the JTable yields wrong row- and |column-numbers on mousclick-events and |therefore the components of the second row |are not enabled properly).
    Could you expain how the mapping between cell renderer and the table (row, col) is done in the extended JTable - which class ?.
    (http://www2.gol.com/users/tame/swing/exampl|es/JTableExamples4.html)
    null

  • Unable to  trace JButton event

    hello there,
    iam creating a JButton on which iam setting an imageicon .
    instead of the image path to the constructor of jbutton iam passing the
    byte array of that image.
    now the problem is when i click on that button, iam unable to trace in the actionperformed method that this particular button was clicked.
    any help in this regard is mostly appreciated.
    bye

    sorry. a small correction to the above sentence
    iam creating that image through the byte array which is passed to the constructor of the ImageIcon. now this imageicon object is passed to the constructor of the jbutton.

  • Getting the label of a JButton in a for loop

    hi,
    I doing a project for my course at the minute and im in need of a bit of help. I have set up 1-d array of buttons and i have layed them out using a for loop. I have also added an annoymous action listener to each button in the loop. It looks something lke this:
    b = new JButton[43];
    for (int i=1; i<43; i++)
    b[i] = new JButton(" ");
    b.addActionListener(
    new ActionListener()
    public void actionPerformed(ActionEvent e)
              System.out.println("..........");
    }); // addActionListener
    } // for
    I want the "System.out.println( ..." line, to print out the "i" number of the button that was pressed but i cannot figure out how to do it. I cannot put "System.out.println(" "+i);" as it wont recognise i as it is not inside the for loop. Does anyone have any suggestions?
    Thanks!!

    class ButtonExample extends JFrame implements ActionListener{The OP wanted to have anonymous listeners, not a subclassed JFrame
    listening to the buttons. I don't know if the following is the best design,
    since the poster has revealed so little, but here is how to pass the
    loop index to an anonymous class.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class ButtonExample {
        private JButton[] buttons = new JButton[24];
        public JPanel createGUI() {
            JPanel gui = new JPanel(new GridLayout(6,  4));
            for(int i=0; i<buttons.length; i++) {
                final int ii = i; //!! !
                buttons[i] = new JButton("button #" + i);
                buttons.addActionListener(new ActionListener(){
    public void actionPerformed(ActionEvent evt) {
    System.out.println("number " + ii);
    gui.add(buttons[i]);
    return gui;
    public static void main(String[] args) {
    ButtonExample app = new ButtonExample();
    JPanel gui = app.createGUI();
    JFrame f = new JFrame("ButtonExample");
    f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    f.getContentPane().add(gui);
    f.pack();
    f.setLocationRelativeTo(null);
    f.setVisible(true);

  • How to display a JPanel of JButtons on ImagePanel?

    Hi
    From the Swing Hacks examples, I can display a JButton on an ImagePanel no problem. But when I put this JButton in JPanel, then add the JPanel to the ImagePanel, the JPanel with the JButton is not displayed.
    Can someone please explain why this is?
    Here is the ImagePanel code:
    import java.awt.*;
    import javax.swing.*;
    public class ImagePanel extends JPanel {
        private Image img;
        public ImagePanel(String img) {
            this(new ImageIcon(img).getImage());
        public ImagePanel(Image img) {
            this.img = img;
            Dimension size = new Dimension(img.getWidth(null),img.getHeight(null));
            setPreferredSize(size);
            setMinimumSize(size);
            setMaximumSize(size);
            setSize(size);
            setLayout(null);
        public void paintComponent(Graphics g) {
            g.drawImage(img,0,0,null);
    }And here is the code to add a JButton to a JPanel, then add the JPanel to the ImagePanel:
    import javax.swing.*;
    import java.awt.event.*;
    public class ImageTest {
        public static void main(String[] args) {
           ImagePanel panel = new ImagePanel(new ImageIcon("images/background.png").getImage());
           JPanel buttonPanel = new JPanel()       
            JButton button = new JButton("Button");
            buttonPanel.add(button);
           JFrame frame = new JFrame("Hack #XX: Image Components");
            frame.getContentPane().add(button);    // WORKS!
            //frame.getContentPane().add(buttonPanel);   // NO BUTTON IS DISPLAYED???
           frame.pack();
            frame.setVisible(true);
    }Thanks

    setLayout(null);When you use a null layout then you are responsible for setting the size and location of any component added to the panel. The default location is (0,0) so thats ok, but the default size of the button panel is also (0,0) which is why nothing get painted.
    Don't use a null layout. Let the layout manager layout any component added to it.
    Also, I would override the getPreferredSize() method of your ImagePanel to return the size of the image, instead of setting the preferred size in the constructor.

  • How do i use jbutton for mutiple frames(2frames)???

    im an creating a movie database program and i have a problem with the jButtons on my second frame i dont know how to make them work when clicked on. i managed to make the jButtons work on my first frame but not on the second....
    here is that code so far----
    import java.awt.Container;
    import java.awt.Dimension;
    import java.awt.GridBagConstraints;
    import java.awt.GridBagLayout;
    import java.awt.Insets;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.event.KeyEvent;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    import javax.swing.JTextField;
    * real2.java
    * Created on December 7, 2007, 9:00 AM
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    * @author J
    public class real2 extends JPanel  implements ActionListener{
        private JButton addnew;
        private JButton help;
        private JButton exit;
        private JFrame frame1;
        private JButton save;
        private JButton cancel;
        private JButton save2;
        private JLabel moviename;
        private JTextField moviename2;
        private JLabel director;
        private JTextField director2;
        private JLabel year;
        private JTextField year2;
        private JLabel genre;
        private JTextField genre2;
        private JLabel plot;
        private JTextField plot2;
        private JLabel rating;
        private JTextField rating2;
        /** Creates a new instance of real2 */
        public real2() {
            super(new GridBagLayout());
            //Create the Buttons.
            addnew = new JButton("Add New");
            addnew.addActionListener(this);
            addnew.setMnemonic(KeyEvent.VK_E);
            addnew.setActionCommand("Add New");
            help = new JButton("Help");
            help.addActionListener(this);
            help.setActionCommand("Help");
            exit = new JButton("Exit");
            exit.addActionListener(this);
            exit.setActionCommand("Exit");
           String[] columnNames = {"First Name",
                                    "Last Name",
                                    "Sport",
                                    "# of Years",
                                    "Vegetarian"};
            Object[][] data = {
                {"Mary", "Campione",
                 "Snowboarding", new Integer(5), new Boolean(false)},
                {"Alison", "Huml",
                 "Rowing", new Integer(3), new Boolean(true)},
                {"Kathy", "Walrath",
                 "Knitting", new Integer(2), new Boolean(false)},
                {"Sharon", "Zakhour",
                 "Speed reading", new Integer(20), new Boolean(true)},
                {"Philip", "Milne",
                 "Pool", new Integer(10), new Boolean(false)}
            final JTable table = new JTable(data, columnNames);
            table.setPreferredScrollableViewportSize(new Dimension(600, 100));
            table.setFillsViewportHeight(true);
            //Create the scroll pane and add the table to it.
            JScrollPane scrollPane = new JScrollPane(table);
            //Add the scroll pane to this panel.
            add(scrollPane);
            GridBagConstraints c = new GridBagConstraints();
            c.weightx = 1;
            c.gridx = 0;
            c.gridy = 1;
            add(addnew, c);
            c.gridx = 0;
            c.gridy = 2;
            add(help, c);
            c.gridx = 0;
            c.gridy = 3;
            add(exit, c);
        public static void addComponentsToPane(Container pane){
            pane.setLayout(null);
            //creating the components for the new frame
            JButton save = new JButton("Save");
            JButton save2 = new JButton("Save and add another");
            JButton cancel = new JButton("Cancel");
            JLabel moviename= new JLabel("Movie Name");
            JTextField moviename2 = new JTextField(8);
            JLabel director = new JLabel("Director");
            JTextField director2 = new JTextField(8);
            JLabel genre = new JLabel("Genre");
            JTextField genre2 = new JTextField(8);
            JLabel year = new JLabel("year");
            JTextField year2 = new JTextField(8);
            JLabel plot = new JLabel("Plot");
            JTextField plot2 = new JTextField(8);
            JLabel rating = new JLabel("Rating(of 10)");
            JTextField rating2 = new JTextField(8);
            //adding components to new frame
            pane.add(save);
            pane.add(save2);
            pane.add(cancel);
            pane.add(moviename);
            pane.add(moviename2);
            pane.add(director);
            pane.add(director2);
            pane.add(genre);
            pane.add(genre2);
            pane.add(year);
            pane.add(year2);
            pane.add(plot);
            pane.add(plot2);
            pane.add(rating);
            pane.add(rating2);
            //setting positions of components for new frame
                Insets insets = pane.getInsets();
                Dimension size = save.getPreferredSize();
                save.setBounds(100 , 50 ,
                         size.width, size.height);
                 size = save2.getPreferredSize();
                save2.setBounds(200 , 50 ,
                         size.width, size.height);
                 size = cancel.getPreferredSize();
                cancel.setBounds(400 , 50 ,
                         size.width, size.height);
                 size = moviename.getPreferredSize();
                moviename.setBounds(100 , 100 ,
                         size.width, size.height);
                size = moviename2.getPreferredSize();
                moviename2.setBounds(200 , 100 ,
                         size.width, size.height);
                 size = director.getPreferredSize();
                director.setBounds(100, 150 ,
                         size.width, size.height);
                 size = director2.getPreferredSize();
                director2.setBounds(200 , 150 ,
                         size.width, size.height);
                size = genre.getPreferredSize();
                genre.setBounds(100 , 200 ,
                         size.width, size.height);
                 size = genre2.getPreferredSize();
                genre2.setBounds(200 , 200 ,
                         size.width, size.height);
                 size = year.getPreferredSize();
                year.setBounds(100 , 250 ,
                         size.width, size.height);
                size = year2.getPreferredSize();
                year2.setBounds(200 , 250 ,
                         size.width, size.height);
                 size = plot.getPreferredSize();
                plot.setBounds(100 , 300 ,
                         size.width, size.height);
                 size = plot2.getPreferredSize();
                plot2.setBounds(200 , 300 ,
                         size.width, size.height);
                size = rating.getPreferredSize();
                rating.setBounds(100 , 350 ,
                         size.width, size.height);
                 size = rating2.getPreferredSize();
                rating2.setBounds(200 , 350 ,
                         size.width, size.height);
        private static void createAndShowGUI() {
            //Create and set up the window.
            JFrame frame = new JFrame();
            frame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
            frame.add(new real2());
            //Display the window.
            frame.setSize(600, 360);
            frame.setVisible(true);
            frame.pack();
        public static void main(String[] args) {
            //Schedule a job for the event-dispatching thread:
            //creating and showing this application's GUI.
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();
        public void actionPerformed(ActionEvent e) {
            if ("Add New".equals(e.getActionCommand())){
               frame1 = new JFrame("add");
               frame1.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
               addComponentsToPane(frame1.getContentPane());
               frame1.setSize(600, 500);
               frame1.setVisible(true);
                //disableing first frame etc:-
                if (frame1.isShowing()){
                addnew.setEnabled(false);
                help.setEnabled(false);
                exit.setEnabled(true);
                frame1.setVisible(true);
               }else{
                addnew.setEnabled(true);
                help.setEnabled(true);
                exit.setEnabled(true);           
            if ("Exit".equals(e.getActionCommand())){
                System.exit(0);
            if ("Save".equals(e.getActionCommand())){
                // whatever i ask it to do it wont for example---
                help.setEnabled(true);
            if ("Save" == e.getSource()) {
                //i tried this way too but it dint work here either
                help.setEnabled(true);
    }so if someone could help me by either telling me what to type or by replacing what iv done wrong that would be great thanks...

    (1)Java class name should begin with a capital letter. See: http://java.sun.com/docs/codeconv/
            JButton save = new JButton("Save");
            JButton save2 = new JButton("Save and add another");
            // ... etc. ...(2)Don't redeclare class members in a method as its local variable. Your class members become eternally null, a hellish null.
    how to make them work when clicked on(3)Add action listener to them.

  • Error, trouble, when patching OMS GridControl 10.2.0.1 to 10.2.0.4

    I have an error when I try to patch my OMS GridControl. Always at the OMS patch configuration
    content of configToolFailedCommands
    oracle.sysman.emcp.oms.OmsPatchUpgrade -configureOms
    oracle.sysman.emcp.aggregates.ConfigPlugIn
    oracle.sysman.emcp.oms.StartOMS -configureOms
    content of CfmLogger_2008-04-14_11-00-34-AM.log
    INFO: Creating new CFM connection
    INFO: Creating a new logger for oracle.sysman.patchset
    INFO: Unmarshalling E:\OracleHome\oms10g\inventory\ContentsXML\ConfigXML\oracle.sysman.patchset.10_2_0_4_0.xml
    INFO: No description found in E:\OracleHome\oms10g\inventory\ContentsXML\ConfigXML for aggregate=oracle.sysman.top.agent
    INFO: Creating a new logger for OuiConfigVariables
    INFO: Unmarshalling E:\OracleHome\oms10g\inventory\ContentsXML\ConfigXML\OuiConfigVariables.1_0_0_0_0.xml
    INFO: Creating a new logger for oracle.sysman.top.oms
    INFO: Unmarshalling E:\OracleHome\oms10g\inventory\ContentsXML\ConfigXML\oracle.sysman.top.oms.10_2_0_4_0.xml
    INFO: Creating a new logger for oracle.sysman.ccr
    INFO: Unmarshalling E:\OracleHome\oms10g\inventory\ContentsXML\ConfigXML\oracle.sysman.ccr.10_2_6_0_0.xml
    WARNING: {oracle.sysman.emCfg.core.CfmAggregateRef ref to oracle.sysman.top.agent:null:LATEST(unresolved_version):common} was marked unavailable: There are no loaded aggregates for oracle.sysman.top.agent:common
    INFO: Aggregate Description oracle.sysman.patchset:10.2.0.4.0:common successfully loaded
    INFO: Aggregate Description OuiConfigVariables:1.0.0.0.0:common successfully loaded
    INFO: Aggregate Description oracle.sysman.top.oms:10.2.0.4.0:common successfully loaded
    INFO: Aggregate Description oracle.sysman.ccr:10.2.6.0.0:common successfully loaded
    INFO: Creating a new logger for oracle.sysman.top.oms
    INFO: Unmarshalling E:\OracleHome\oms10g\inventory\ContentsXML\ConfigXML\oracle.sysman.top.oms.10_2_0_2_0.xml
    INFO: Creating a new logger for oracle.calypso
    INFO: Unmarshalling E:\OracleHome\oms10g\inventory\ContentsXML\ConfigXML\oracle.calypso.10_1_2_1_0.xml
    INFO: Creating a new logger for oracle.java.j2ee.iascfg
    INFO: Unmarshalling E:\OracleHome\oms10g\inventory\ContentsXML\ConfigXML\oracle.java.j2ee.iascfg.10_1_2_1_0.xml
    INFO: Creating a new logger for oracle.apache.apache
    INFO: Unmarshalling E:\OracleHome\oms10g\inventory\ContentsXML\ConfigXML\oracle.apache.apache.1_3_31_0_0.xml
    INFO: Creating a new logger for oracle.oid.oradas
    INFO: Unmarshalling E:\OracleHome\oms10g\inventory\ContentsXML\ConfigXML\oracle.oid.oradas.10_1_2_1_0.xml
    INFO: Creating a new logger for oracle.iappserver.iasobject
    INFO: Unmarshalling E:\OracleHome\oms10g\inventory\ContentsXML\ConfigXML\oracle.iappserver.iasobject.10_1_2_0_2.xml
    INFO: Creating a new logger for oracle.apache
    INFO: Unmarshalling E:\OracleHome\oms10g\inventory\ContentsXML\ConfigXML\oracle.apache.10_1_2_1_0.xml
    INFO: Creating a new logger for oracle.iappserver.iapptop
    INFO: Unmarshalling E:\OracleHome\oms10g\inventory\ContentsXML\ConfigXML\oracle.iappserver.iapptop.10_1_2_0_2.xml
    INFO: Creating a new logger for oracle.rdbms.jazn.config
    INFO: Unmarshalling E:\OracleHome\oms10g\inventory\ContentsXML\ConfigXML\oracle.rdbms.jazn.config.10_1_2_0_2.xml
    INFO: Creating a new logger for oracle.iappserver.repository.api
    INFO: Unmarshalling E:\OracleHome\oms10g\inventory\ContentsXML\ConfigXML\oracle.iappserver.repository.api.10_1_2_0_2.xml
    INFO: Creating a new logger for oracle.iappserver.iappcore
    INFO: Unmarshalling E:\OracleHome\oms10g\inventory\ContentsXML\ConfigXML\oracle.iappserver.iappcore.10_1_2_0_2.xml
    INFO: No description found in E:\OracleHome\oms10g\inventory\ContentsXML\ConfigXML for aggregate=oracle.sysman.top.agent
    WARNING: {oracle.sysman.emCfg.core.CfmAggregateRef ref to oracle.sysman.top.agent:null:LATEST(unresolved_version):common} was marked unavailable: There are no loaded aggregates for oracle.sysman.top.agent:common
    WARNING: {oracle.sysman.emCfg.core.CfmAggregateRef ref to oracle.sysman.top.agent:null:LATEST(unresolved_version):common} was marked unavailable: There are no loaded aggregates for oracle.sysman.top.agent:common
    INFO: Aggregate Description oracle.sysman.patchset:10.2.0.4.0:common successfully loaded
    INFO: Aggregate Description OuiConfigVariables:1.0.0.0.0:common successfully loaded
    INFO: Aggregate Description oracle.sysman.top.oms:10.2.0.4.0:common successfully loaded
    INFO: Aggregate Description oracle.sysman.ccr:10.2.6.0.0:common successfully loaded
    INFO: Aggregate Description oracle.sysman.top.oms:10.2.0.2.0:common successfully loaded
    INFO: Aggregate Description oracle.calypso:10.1.2.1.0:common successfully loaded
    INFO: Aggregate Description oracle.java.j2ee.iascfg:10.1.2.1.0:common successfully loaded
    INFO: Aggregate Description oracle.apache.apache:1.3.31.0.0:common successfully loaded
    INFO: Aggregate Description oracle.oid.oradas:10.1.2.1.0:common successfully loaded
    INFO: Aggregate Description oracle.iappserver.iasobject:10.1.2.0.2:common successfully loaded
    INFO: Aggregate Description oracle.apache:10.1.2.1.0:common successfully loaded
    INFO: Aggregate Description oracle.iappserver.iapptop:10.1.2.0.2:common successfully loaded
    INFO: Aggregate Description oracle.rdbms.jazn.config:10.1.2.0.2:common successfully loaded
    INFO: Aggregate Description oracle.iappserver.repository.api:10.1.2.0.2:common successfully loaded
    INFO: Aggregate Description oracle.iappserver.iappcore:10.1.2.0.2:common successfully loaded
    INFO: Successfully returning from CfmFactory.connect()
    INFO: Cfm.save() was called
    INFO: Cfm.save(): 15 aggregate instances saved
    INFO: oracle.sysman.patchset:IAction.perform() was called on {Action state:patchsetconfigure in CfmAggregateInstance: oracle.sysman.patchset:10.2.0.4.0:common:family=CFM:oh=E:\OracleHome\oms10g:label=0}
    INFO: CfwProgressMonitor:actionProgress:About to perform Action=patchsetconfigure Status=is running with ActionStep=0 stepIndex=0 microStep=0
    INFO: CfwProgressMonitor:actionProgress:About to perform Action=patchsetconfigure Status=is running with ActionStep=1 stepIndex=1 microStep=0
    INFO: oracle.sysman.top.oms:About to execute plug-in OMS Oneoff Patch Application
    INFO: oracle.sysman.top.oms:The plug-in OMS Oneoff Patch Application is running
    INFO: oracle.sysman.top.oms:Launching CmdExec
    INFO: oracle.sysman.top.oms:ExitCode=0
    INFO: oracle.sysman.top.oms:The plug-in OMS Oneoff Patch Application executed as attached=true in separate process with exitcode=0
    INFO: oracle.sysman.top.oms:The plug-in OMS Oneoff Patch Application has successfully been performed
    INFO: oracle.sysman.top.oms:About to execute plug-in Repository Upgrade
    INFO: oracle.sysman.top.oms:The plug-in Repository Upgrade is running
    INFO: oracle.sysman.top.oms:Internal PlugIn Class: oracle.sysman.emcp.oms.RepositoryPatchUpgrade
    INFO: oracle.sysman.top.oms:Classpath = E:\OracleHome\oms10g\sysman\jlib\omsPlug.jar;E:\OracleHome\oms10g\jlib\emConfigInstall.jar;E:\OracleHome\oms10g\sysman\jlib\emCORE.jar;E:\OracleHome\oms10g\sysman\jlib\emagentSDK.jar;E:\OracleHome\oms10g\sysman\jlib\log4j-core.jar;E:\OracleHome\oms10g\jdbc\lib\classes12.jar
    INFO: oracle.sysman.top.oms:EmcpPlug:invoke:Starting EmcpPlug invoke method on an aggregate=oracle.sysman.top.oms for Action=patchsetConfiguration in step=1:microstep=0
    INFO: oracle.sysman.top.oms:called initialize method
    INFO: oracle.sysman.top.oms:
    Invoking Repmanager tool ...
    INFO: oracle.sysman.top.oms:The value of ORACLE_HOME is E:\OracleHome\oms10g
    INFO: oracle.sysman.top.oms:The value of ConnectDes is (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=VMORACLE01)(PORT=1521)))(CONNECT_DATA=(SID=rep)))
    INFO: oracle.sysman.top.oms:The command is E:\OracleHome\oms10g\sysman\admin\emdrep\bin\RepManager -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=VMORACLE01)(PORT=1521)))(CONNECT_DATA=(SID=rep))) -action upgrade -verbose -repos_user sysman -output_file E:/OracleHome/oms10g/sysman/log/emrepmgr.log.10.2.0.4.0
    INFO: oracle.sysman.top.oms:[RepositoryPatchUpgrade]:Initialize Environment Variable:{CLIENTNAME=T8193, PROCESSOR_ARCHITECTURE=x86, NEED_EXIT_CODE=TRUE, TMP=C:\Temp\1, ClusterLog=C:\WINDOWS\Cluster\cluster.log, __PROCESS_HISTORY=E:\Source\Grid control 10.1.2.0.4\p3731593_10204\3731593\Disk1\setup.exe;E:\Source\Grid control 10.1.2.0.4\p3731593_10204\3731593\Disk1\install\setup.exe, COMPUTERNAME=VMORACLE01, OS=Windows_NT, PROMPT=$P$G, PERL5LIB=E:\OracleHome\db10g\perl\5.8.3\lib\MSWin32-x86;E:\OracleHome\db10g\perl\5.8.3\lib;E:\OracleHome\db10g\perl\5.8.3\lib\MSWin32-x86;E:\OracleHome\db10g\perl\site\5.8.3;E:\OracleHome\db10g\perl\site\5.8.3\lib;E:\OracleHome\db10g\sysman\admin\scripts, SystemDrive=C:, HOMEDRIVE=C:, LOGONSERVER=\\SIDOMP01, PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 8, GenuineIntel, ProgramFiles=C:\Program Files, NUMBER_OF_PROCESSORS=2, TEMP=C:\Temp\1, SMS_LOCAL_DIR=C:\WINDOWS, USERDOMAIN=SCT, PROCESSOR_LEVEL=15, USERDNSDOMAIN=SCT.GOUV.QC.CA, Path=E:\OracleHome\db10g\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem, SESSIONNAME=RDP-Tcp#1, USERNAME=admora, PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH, ComSpec=C:\WINDOWS\system32\cmd.exe, SystemRoot=C:\WINDOWS, windir=C:\WINDOWS, PROCESSOR_REVISION=0408, USERPROFILE=C:\Documents and Settings\admora, oracle_home = e:\OracleHome\agent10g, CommonProgramFiles=C:\Program Files\Common Files, oracle_home=e:\oraclehome\oms10g, APPDATA=C:\Documents and Settings\admora\Application Data, HOMEPATH=\Documents and Settings\admora, ALLUSERSPROFILE=C:\Documents and Settings\All Users}
    INFO: oracle.sysman.top.oms:calling constructEnvVariables
    INFO: oracle.sysman.top.oms:Constructed Env Variable:{CLIENTNAME=T8193, PROCESSOR_ARCHITECTURE=x86, NEED_EXIT_CODE=TRUE, TMP=C:\Temp\1, ClusterLog=C:\WINDOWS\Cluster\cluster.log, __PROCESS_HISTORY=E:\Source\Grid control 10.1.2.0.4\p3731593_10204\3731593\Disk1\setup.exe;E:\Source\Grid control 10.1.2.0.4\p3731593_10204\3731593\Disk1\install\setup.exe, COMPUTERNAME=VMORACLE01, OS=Windows_NT, PROMPT=$P$G, PERL5LIB=E:\OracleHome\db10g\perl\5.8.3\lib\MSWin32-x86;E:\OracleHome\db10g\perl\5.8.3\lib;E:\OracleHome\db10g\perl\5.8.3\lib\MSWin32-x86;E:\OracleHome\db10g\perl\site\5.8.3;E:\OracleHome\db10g\perl\site\5.8.3\lib;E:\OracleHome\db10g\sysman\admin\scripts, SystemDrive=C:, HOMEDRIVE=C:, LOGONSERVER=\\SIDOMP01, PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 8, GenuineIntel, ProgramFiles=C:\Program Files, NUMBER_OF_PROCESSORS=2, TEMP=C:\Temp\1, SMS_LOCAL_DIR=C:\WINDOWS, USERDOMAIN=SCT, PROCESSOR_LEVEL=15, USERDNSDOMAIN=SCT.GOUV.QC.CA, Path=E:\OracleHome\db10g\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem, SESSIONNAME=RDP-Tcp#1, USERNAME=admora, PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH, ComSpec=C:\WINDOWS\system32\cmd.exe, SystemRoot=C:\WINDOWS, windir=C:\WINDOWS, PROCESSOR_REVISION=0408, USERPROFILE=C:\Documents and Settings\admora, oracle_home = e:\OracleHome\agent10g, ORACLE_HOME=E:\OracleHome\oms10g, CommonProgramFiles=C:\Program Files\Common Files, oracle_home=e:\oraclehome\oms10g, APPDATA=C:\Documents and Settings\admora\Application Data, HOMEPATH=\Documents and Settings\admora, ALLUSERSPROFILE=C:\Documents and Settings\All Users}
    INFO: oracle.sysman.top.oms:Upgrade->Executing Command: CMD /c E:\OracleHome\oms10g\bin\emctl status emkey
    INFO: oracle.sysman.top.oms: Command Exit Code:1
    INFO: oracle.sysman.top.oms: Command Output:----------
    INFO: oracle.sysman.top.oms:Oracle Enterprise Manager 10g Release 4 Grid Control
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    The Em Key is configured properly, but is not secure. Secure the Em Key by running "emctl config emkey -remove_from_repos".
    INFO: oracle.sysman.top.oms: Command Error:----------
    INFO: oracle.sysman.top.oms:Please enter repository password:
    INFO: oracle.sysman.top.oms:calling run commands with inputs
    INFO: oracle.sysman.top.oms:Upgrade->Executing Command: CMD /c E:\OracleHome\oms10g\sysman\admin\emdrep\bin\RepManager -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=VMORACLE01)(PORT=1521)))(CONNECT_DATA=(SID=rep))) -action upgrade -verbose -repos_user sysman -output_file E:/OracleHome/oms10g/sysman/log/emrepmgr.log.10.2.0.4.0
    INFO: oracle.sysman.top.oms: Entering another input
    INFO: oracle.sysman.top.oms: Command Exit Code:0
    INFO: oracle.sysman.top.oms: Command Output:----------
    INFO: oracle.sysman.top.oms:Enter SYS user's password :
    Enter repository user password :
    Getting temporary tablespace from database...
    Found temporary tablespace: TEMP
    Environment :
    ORACLE HOME = e:/oraclehome/oms10g
    REPOSITORY HOME = e:/oraclehome/oms10g
    SQLPLUS = e:/oraclehome/oms10g/bin/sqlplus
    SQL SCRIPT ROOT = e:/oraclehome/oms10g/sysman/admin/emdrep/sql
    EXPORT = e:/oraclehome/oms10g/bin/exp
    IMPORT = e:/oraclehome/oms10g/bin/imp
    LOADJAVA = e:/oraclehome/oms10g/bin/loadjava
    JAR FILE ROOT = e:/oraclehome/oms10g/sysman/admin/emdrep/lib
    JOB TYPES ROOT = e:/oraclehome/oms10g/sysman/admin/emdrep/bin
    Arguments :
    Connect String = (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=VMORACLE01)(PORT=1521)))(CONNECT_DATA=(SID=rep)))
    Action = upgrade
    Repos User = SYSMAN
    Default tablespace = MGMT_TABLESPACE
    Default Data file = mgmt.dbf
    Dflt Dfile Init size = 20m
    Dflt Dfile Ext size = 20m
    ECM tablespace = MGMT_ECM_DEPOT_TS
    ECM Data file = mgmt_ecm_depot1.dbf
    ECM Dfile Init size = 100m
    ECM Dfile Ext size = 100m
    ECM CSA tablespace = MGMT_TABLESPACE
    ECM CSA Data file = mgmt_ecm_csa1.dbf
    ECM CSA Dfile Init size = 100m
    ECM CSA Dfile Ext size = 100m
    TEMP tablespace = TEMP
    Create options = 3
    Verbose output = 1
    Output File = E:/OracleHome/oms10g/sysman/log/emrepmgr.log.10.2.0.4.0
    Repos creation mode = CENTRAL
    MetaLink user name = NOTAVAILABLE_
    MetaLink URL = http://updates.oracle.com
    Export Directory = e:/oraclehome/oms10g/sysman/log
    Import Directory = e:/oraclehome/oms10g/sysman/log
    Path Separator = "\;"
    Checking SYS Credentials ... rem error switch
    Return code = 0.OK.
    rem error switch
    Upgrading the repository..
    Checking for Repos User ... Return code = 0.Exists.
    Loading necessary DB objects ...
    Checking DB Object (DBMS_SHARED_POOL , PACKAGE) ... rem error switch
    Return code = 0Exists.
    rem error switch
    DBMS POOL package exists.
    Return code = 0.
    Done Loading necessary DB objects
    Checking repository version..
    Running setSchemaStatus: BEGIN EMD_MAINTENANCE.SET_VERSION('_UPGRADE_','0','0','SYSTEM',EMD_MAINTENANCE.G_STATUS_UPGRADING);END;
    Upgrading EM Schema ... using new rep manager framework
    rem error switch
    parsing component core
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ********** Start header analysis ****************
    [14-04-2008 11:01:45] ********** End header analysis ****************
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] The following dump is meant for debugging purposes
    [14-04-2008 11:01:45] ********** Start SQL objects dump ****************
    [14-04-2008 11:01:45] ********** End SQL objects dump ****************
    parsing component db
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ********** Start header analysis ****************
    [14-04-2008 11:01:45] ********** End header analysis ****************
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] The following dump is meant for debugging purposes
    [14-04-2008 11:01:45] ********** Start SQL objects dump ****************
    [14-04-2008 11:01:45] ********** End SQL objects dump ****************
    parsing component pa
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ********** Start header analysis ****************
    [14-04-2008 11:01:45] ********** End header analysis ****************
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] The following dump is meant for debugging purposes
    [14-04-2008 11:01:45] ********** Start SQL objects dump ****************
    [14-04-2008 11:01:45] ********** End SQL objects dump ****************
    parsing component connector
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ********** Start header analysis ****************
    [14-04-2008 11:01:45] ********** End header analysis ****************
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] The following dump is meant for debugging purposes
    [14-04-2008 11:01:45] ********** Start SQL objects dump ****************
    [14-04-2008 11:01:45] ********** End SQL objects dump ****************
    parsing component ias
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ********** Start header analysis ****************
    [14-04-2008 11:01:45] ********** End header analysis ****************
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] The following dump is meant for debugging purposes
    [14-04-2008 11:01:45] ********** Start SQL objects dump ****************
    [14-04-2008 11:01:45] ********** End SQL objects dump ****************
    parsing component integic
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ********** Start header analysis ****************
    [14-04-2008 11:01:45] ********** End header analysis ****************
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] The following dump is meant for debugging purposes
    [14-04-2008 11:01:45] ********** Start SQL objects dump ****************
    [14-04-2008 11:01:45] ********** End SQL objects dump ****************
    parsing component sso_server
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ********** Start header analysis ****************
    [14-04-2008 11:01:45] ********** End header analysis ****************
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] The following dump is meant for debugging purposes
    [14-04-2008 11:01:45] ********** Start SQL objects dump ****************
    [14-04-2008 11:01:45] ********** End SQL objects dump ****************
    parsing component bc4j
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ********** Start header analysis ****************
    [14-04-2008 11:01:45] ********** End header analysis ****************
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] The following dump is meant for debugging purposes
    [14-04-2008 11:01:45] ********** Start SQL objects dump ****************
    [14-04-2008 11:01:45] ********** End SQL objects dump ****************
    parsing component forms
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ********** Start header analysis ****************
    [14-04-2008 11:01:45] ********** End header analysis ****************
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] The following dump is meant for debugging purposes
    [14-04-2008 11:01:45] ********** Start SQL objects dump ****************
    [14-04-2008 11:01:45] ********** End SQL objects dump ****************
    parsing component wireless
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ********** Start header analysis ****************
    [14-04-2008 11:01:45] ********** End header analysis ****************
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] The following dump is meant for debugging purposes
    [14-04-2008 11:01:45] ********** Start SQL objects dump ****************
    [14-04-2008 11:01:45] ********** End SQL objects dump ****************
    parsing component workflow
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ********** Start header analysis ****************
    [14-04-2008 11:01:45] ********** End header analysis ****************
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] The following dump is meant for debugging purposes
    [14-04-2008 11:01:45] ********** Start SQL objects dump ****************
    [14-04-2008 11:01:45] ********** End SQL objects dump ****************
    parsing component ocs
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ********** Start header analysis ****************
    [14-04-2008 11:01:45] ********** End header analysis ****************
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] The following dump is meant for debugging purposes
    [14-04-2008 11:01:45] ********** Start SQL objects dump ****************
    [14-04-2008 11:01:45] ********** End SQL objects dump ****************
    parsing component portal
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ********** Start header analysis ****************
    [14-04-2008 11:01:45] ********** End header analysis ****************
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] The following dump is meant for debugging purposes
    [14-04-2008 11:01:45] ********** Start SQL objects dump ****************
    [14-04-2008 11:01:45] ********** End SQL objects dump ****************
    parsing component integrationbpm
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ********** Start header analysis ****************
    [14-04-2008 11:01:45] ********** End header analysis ****************
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] The following dump is meant for debugging purposes
    [14-04-2008 11:01:45] ********** Start SQL objects dump ****************
    [14-04-2008 11:01:45] ********** End SQL objects dump ****************
    parsing component integrationbam
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ********** Start header analysis ****************
    [14-04-2008 11:01:45] ********** End header analysis ****************
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] The following dump is meant for debugging purposes
    [14-04-2008 11:01:45] ********** Start SQL objects dump ****************
    [14-04-2008 11:01:45] ********** End SQL objects dump ****************
    parsing component discoverer
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ********** Start header analysis ****************
    [14-04-2008 11:01:45] ********** End header analysis ****************
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] The following dump is meant for debugging purposes
    [14-04-2008 11:01:45] ********** Start SQL objects dump ****************
    [14-04-2008 11:01:45] ********** End SQL objects dump ****************
    parsing component pp
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ********** Start header analysis ****************
    [14-04-2008 11:01:45] ********** End header analysis ****************
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] The following dump is meant for debugging purposes
    [14-04-2008 11:01:45] ********** Start SQL objects dump ****************
    [14-04-2008 11:01:45] ********** End SQL objects dump ****************
    parsing component ifs
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ********** Start header analysis ****************
    [14-04-2008 11:01:45] ********** End header analysis ****************
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] The following dump is meant for debugging purposes
    [14-04-2008 11:01:45] ********** Start SQL objects dump ****************
    [14-04-2008 11:01:45] ********** End SQL objects dump ****************
    parsing component repserv
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ********** Start header analysis ****************
    [14-04-2008 11:01:45] ********** End header analysis ****************
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] The following dump is meant for debugging purposes
    [14-04-2008 11:01:45] ********** Start SQL objects dump ****************
    [14-04-2008 11:01:45] ********** End SQL objects dump ****************
    parsing component beehive
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ********** Start header analysis ****************
    [14-04-2008 11:01:45] ********** End header analysis ****************
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] The following dump is meant for debugging purposes
    [14-04-2008 11:01:45] ********** Start SQL objects dump ****************
    [14-04-2008 11:01:45] ********** End SQL objects dump ****************
    parsing component content
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ********** Start header analysis ****************
    [14-04-2008 11:01:45] ********** End header analysis ****************
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] The following dump is meant for debugging purposes
    [14-04-2008 11:01:45] ********** Start SQL objects dump ****************
    [14-04-2008 11:01:45] ********** End SQL objects dump ****************
    parsing component integb2b
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ********** Start header analysis ****************
    [14-04-2008 11:01:45] ********** End header analysis ****************
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] The following dump is meant for debugging purposes
    [14-04-2008 11:01:45] ********** Start SQL objects dump ****************
    [14-04-2008 11:01:45] ********** End SQL objects dump ****************
    parsing component ci
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ********** Start header analysis ****************
    [14-04-2008 11:01:45] ********** End header analysis ****************
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] The following dump is meant for debugging purposes
    [14-04-2008 11:01:45] ********** Start SQL objects dump ****************
    [14-04-2008 11:01:45] ********** End SQL objects dump ****************
    executing query :
    "select component_name, component_mode, version from SYSMAN.MGMT_VERSIONS where version<>'0'"
    executing query :
    "select tablespace_name, table_name from all_tables where owner ='SYSMAN' and table_name in ( 'MGMT_TARGETS' , 'MGMT_JOB_PARAMETER' ) order by table_name asc"
    component integic is already at 10.2.0.2.0
    component sso_server is already at 10.2.0.2.0
    component bc4j is already at 10.2.0.2.0
    component forms is already at 10.2.0.2.0
    component wireless is already at 10.2.0.2.0
    component workflow is already at 10.2.0.2.0
    component portal is already at 10.2.0.2.0
    component integrationbpm is already at 10.2.0.2.0
    component integrationbam is already at 10.2.0.2.0
    component discoverer is already at 10.2.0.2.0
    component ifs is already at 10.2.0.2.0
    component repserv is already at 10.2.0.2.0
    component integb2b is already at 10.2.0.2.0
    has_upgrade_scripts:0
    executing core schema_upgrade scripts from version 10.2.0.2.0
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for schema_upgrade (from version: 10.2.0.2.0) scripts in component: core *****
    [14-04-2008 11:01:45] ***** End Final order for schema_upgrade (from version: 10.2.0.2.0) scripts in component: core *****
    [14-04-2008 11:01:45]
    executing core recreation scripts
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for recreate scripts in component: core *****
    [14-04-2008 11:01:45] ***** End Final order for recreate scripts in component: core *****
    [14-04-2008 11:01:45]
    has_upgrade_scripts:0
    executing db schema_upgrade scripts from version 10.2.0.2.0
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for schema_upgrade (from version: 10.2.0.2.0) scripts in component: db *****
    [14-04-2008 11:01:45] ***** End Final order for schema_upgrade (from version: 10.2.0.2.0) scripts in component: db *****
    [14-04-2008 11:01:45]
    executing db recreation scripts
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for recreate scripts in component: db *****
    [14-04-2008 11:01:45] ***** End Final order for recreate scripts in component: db *****
    [14-04-2008 11:01:45]
    has_upgrade_scripts:0
    component pa does not exist in the current schema. create it.
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for create scripts in component: pa *****
    [14-04-2008 11:01:45] ***** End Final order for create scripts in component: pa *****
    [14-04-2008 11:01:45]
    has_upgrade_scripts:0
    component connector does not exist in the current schema. create it.
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for create scripts in component: connector *****
    [14-04-2008 11:01:45] ***** End Final order for create scripts in component: connector *****
    [14-04-2008 11:01:45]
    has_upgrade_scripts:0
    executing ias schema_upgrade scripts from version 10.2.0.2.0
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for schema_upgrade (from version: 10.2.0.2.0) scripts in component: ias *****
    [14-04-2008 11:01:45] ***** End Final order for schema_upgrade (from version: 10.2.0.2.0) scripts in component: ias *****
    [14-04-2008 11:01:45]
    executing ias recreation scripts
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for recreate scripts in component: ias *****
    [14-04-2008 11:01:45] ***** End Final order for recreate scripts in component: ias *****
    [14-04-2008 11:01:45]
    has_upgrade_scripts:0
    component integic is already at 10.2.0.2.0
    skipping integic upgrade
    has_upgrade_scripts:0
    component sso_server is already at 10.2.0.2.0
    skipping sso_server upgrade
    has_upgrade_scripts:0
    component bc4j is already at 10.2.0.2.0
    skipping bc4j upgrade
    has_upgrade_scripts:0
    component forms is already at 10.2.0.2.0
    skipping forms upgrade
    has_upgrade_scripts:0
    component wireless is already at 10.2.0.2.0
    skipping wireless upgrade
    has_upgrade_scripts:0
    component workflow is already at 10.2.0.2.0
    skipping workflow upgrade
    has_upgrade_scripts:0
    executing ocs schema_upgrade scripts from version 10.2.0.2.0
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for schema_upgrade (from version: 10.2.0.2.0) scripts in component: ocs *****
    [14-04-2008 11:01:45] ***** End Final order for schema_upgrade (from version: 10.2.0.2.0) scripts in component: ocs *****
    [14-04-2008 11:01:45]
    executing ocs recreation scripts
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for recreate scripts in component: ocs *****
    [14-04-2008 11:01:45] ***** End Final order for recreate scripts in component: ocs *****
    [14-04-2008 11:01:45]
    has_upgrade_scripts:0
    component portal is already at 10.2.0.2.0
    skipping portal upgrade
    has_upgrade_scripts:0
    component integrationbpm is already at 10.2.0.2.0
    skipping integrationbpm upgrade
    has_upgrade_scripts:0
    component integrationbam is already at 10.2.0.2.0
    skipping integrationbam upgrade
    has_upgrade_scripts:0
    component discoverer is already at 10.2.0.2.0
    skipping discoverer upgrade
    has_upgrade_scripts:0
    executing pp schema_upgrade scripts from version 10.2.0.2.0
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for schema_upgrade (from version: 10.2.0.2.0) scripts in component: pp *****
    [14-04-2008 11:01:45] ***** End Final order for schema_upgrade (from version: 10.2.0.2.0) scripts in component: pp *****
    [14-04-2008 11:01:45]
    executing pp recreation scripts
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for recreate scripts in component: pp *****
    [14-04-2008 11:01:45] ***** End Final order for recreate scripts in component: pp *****
    [14-04-2008 11:01:45]
    has_upgrade_scripts:0
    component ifs is already at 10.2.0.2.0
    skipping ifs upgrade
    has_upgrade_scripts:0
    component repserv is already at 10.2.0.2.0
    skipping repserv upgrade
    has_upgrade_scripts:0
    component beehive does not exist in the current schema. create it.
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for create scripts in component: beehive *****
    [14-04-2008 11:01:45] ***** End Final order for create scripts in component: beehive *****
    [14-04-2008 11:01:45]
    has_upgrade_scripts:0
    component content does not exist in the current schema. create it.
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for create scripts in component: content *****
    [14-04-2008 11:01:45] ***** End Final order for create scripts in component: content *****
    [14-04-2008 11:01:45]
    has_upgrade_scripts:0
    component integb2b is already at 10.2.0.2.0
    skipping integb2b upgrade
    has_upgrade_scripts:0
    executing ci schema_upgrade scripts from version 10.2.0.2.0
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for schema_upgrade (from version: 10.2.0.2.0) scripts in component: ci *****
    [14-04-2008 11:01:45] ***** End Final order for schema_upgrade (from version: 10.2.0.2.0) scripts in component: ci *****
    [14-04-2008 11:01:45]
    executing ci recreation scripts
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for recreate scripts in component: ci *****
    [14-04-2008 11:01:45] ***** End Final order for recreate scripts in component: ci *****
    [14-04-2008 11:01:45]
    executing core pre data upgrade scripts from versio
    n 10.2.0.2.0
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for pre_data_upgrade (from version: 10.2.0.2.0) scripts in component: core *****
    [14-04-2008 11:01:45] ***** End Final order for pre_data_upgrade (from version: 10.2.0.2.0) scripts in component: core *****
    [14-04-2008 11:01:45]
    executing core data upgrade scripts from version 10.2.0.2.0
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for data_upgrade (from version: 10.2.0.2.0) scripts in component: core *****
    [14-04-2008 11:01:45] ***** End Final order for data_upgrade (from version: 10.2.0.2.0) scripts in component: core *****
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for post_data_upgrade: scripts in component: core *****
    [14-04-2008 11:01:45] ***** End Final order for post_data_upgrade: scripts in component: core *****
    [14-04-2008 11:01:45]
    executing db pre data upgrade scripts from versio
    n 10.2.0.2.0
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for pre_data_upgrade (from version: 10.2.0.2.0) scripts in component: db *****
    [14-04-2008 11:01:45] ***** End Final order for pre_data_upgrade (from version: 10.2.0.2.0) scripts in component: db *****
    [14-04-2008 11:01:45]
    executing db data upgrade scripts from version 10.2.0.2.0
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for data_upgrade (from version: 10.2.0.2.0) scripts in component: db *****
    [14-04-2008 11:01:45] ***** End Final order for data_upgrade (from version: 10.2.0.2.0) scripts in component: db *****
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for post_data_upgrade: scripts in component: db *****
    [14-04-2008 11:01:45] ***** End Final order for post_data_upgrade: scripts in component: db *****
    [14-04-2008 11:01:45]
    running post_creation process for component pa
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for post_create scripts in component: pa *****
    [14-04-2008 11:01:45] ***** End Final order for post_create scripts in component: pa *****
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for outofbox scripts in component: pa *****
    [14-04-2008 11:01:45] ***** End Final order for outofbox scripts in component: pa *****
    [14-04-2008 11:01:45]
    running post_creation process for component connector
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for post_create scripts in component: connector *****
    [14-04-2008 11:01:45] ***** End Final order for post_create scripts in component: connector *****
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for outofbox scripts in component: connector *****
    [14-04-2008 11:01:45] ***** End Final order for outofbox scripts in component: connector *****
    [14-04-2008 11:01:45]
    executing ias pre data upgrade scripts from versio
    n 10.2.0.2.0
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for pre_data_upgrade (from version: 10.2.0.2.0) scripts in component: ias *****
    [14-04-2008 11:01:45] ***** End Final order for pre_data_upgrade (from version: 10.2.0.2.0) scripts in component: ias *****
    [14-04-2008 11:01:45]
    executing ias data upgrade scripts from version 10.2.0.2.0
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for data_upgrade (from version: 10.2.0.2.0) scripts in component: ias *****
    [14-04-2008 11:01:45] ***** End Final order for data_upgrade (from version: 10.2.0.2.0) scripts in component: ias *****
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for post_data_upgrade: scripts in component: ias *****
    [14-04-2008 11:01:45] ***** End Final order for post_data_upgrade: scripts in component: ias *****
    [14-04-2008 11:01:45]
    component integic is already at 10.2.0.2.0
    skipping integic data upgrade
    component sso_server is already at 10.2.0.2.0
    skipping sso_server data upgrade
    component bc4j is already at 10.2.0.2.0
    skipping bc4j data upgrade
    component forms is already at 10.2.0.2.0
    skipping forms data upgrade
    component wireless is already at 10.2.0.2.0
    skipping wireless data upgrade
    component workflow is already at 10.2.0.2.0
    skipping workflow data upgrade
    executing ocs pre data upgrade scripts from versio
    n 10.2.0.2.0
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for pre_data_upgrade (from version: 10.2.0.2.0) scripts in component: ocs *****
    [14-04-2008 11:01:45] ***** End Final order for pre_data_upgrade (from version: 10.2.0.2.0) scripts in component: ocs *****
    [14-04-2008 11:01:45]
    executing ocs data upgrade scripts from version 10.2.0.2.0
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for data_upgrade (from version: 10.2.0.2.0) scripts in component: ocs *****
    [14-04-2008 11:01:45] ***** End Final order for data_upgrade (from version: 10.2.0.2.0) scripts in component: ocs *****
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for post_data_upgrade: scripts in component: ocs *****
    [14-04-2008 11:01:45] ***** End Final order for post_data_upgrade: scripts in component: ocs *****
    [14-04-2008 11:01:45]
    component portal is already at 10.2.0.2.0
    skipping portal data upgrade
    component integrationbpm is already at 10.2.0.2.0
    skipping integrationbpm data upgrade
    component integrationbam is already at 10.2.0.2.0
    skipping integrationbam data upgrade
    component discoverer is already at 10.2.0.2.0
    skipping discoverer data upgrade
    executing pp pre data upgrade scripts from versio
    n 10.2.0.2.0
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for pre_data_upgrade (from version: 10.2.0.2.0) scripts in component: pp *****
    [14-04-2008 11:01:45] ***** End Final order for pre_data_upgrade (from version: 10.2.0.2.0) scripts in component: pp *****
    [14-04-2008 11:01:45]
    executing pp data upgrade scripts from version 10.2.0.2.0
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for data_upgrade (from version: 10.2.0.2.0) scripts in component: pp *****
    [14-04-2008 11:01:45] ***** End Final order for data_upgrade (from version: 10.2.0.2.0) scripts in component: pp *****
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for post_data_upgrade: scripts in component: pp *****
    [14-04-2008 11:01:45] ***** End Final order for post_data_upgrade: scripts in component: pp *****
    [14-04-2008 11:01:45]
    component ifs is already at 10.2.0.2.0
    skipping ifs data upgrade
    component repserv is already at 10.2.0.2.0
    skipping repserv data upgrade
    running post_creation process for component beehive
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for post_create scripts in component: beehive *****
    [14-04-2008 11:01:45] ***** End Final order for post_create scripts in component: beehive *****
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for outofbox scripts in component: beehive *****
    [14-04-2008 11:01:45] ***** End Final order for outofbox scripts in component: beehive *****
    [14-04-2008 11:01:45]
    running post_creation process for component content
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for post_create scripts in component: content *****
    [14-04-2008 11:01:45] ***** End Final order for post_create scripts in component: content *****
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for outofbox scripts in component: content *****
    [14-04-2008 11:01:45] ***** End Final order for outofbox scripts in component: content *****
    [14-04-2008 11:01:45]
    component integb2b is already at 10.2.0.2.0
    skipping integb2b data upgrade
    executing ci pre data upgrade scripts from versio
    n 10.2.0.2.0
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for pre_data_upgrade (from version: 10.2.0.2.0) scripts in component: ci *****
    [14-04-2008 11:01:45] ***** End Final order for pre_data_upgrade (from version: 10.2.0.2.0) scripts in component: ci *****
    [14-04-2008 11:01:45]
    executing ci data upgrade scripts from version 10.2.0.2.0
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for data_upgrade (from version: 10.2.0.2.0) scripts in component: ci *****
    [14-04-2008 11:01:45] ***** End Final order for data_upgrade (from version: 10.2.0.2.0) scripts in component: ci *****
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45]
    [14-04-2008 11:01:45] ***** Start Final order for post_data_upgrade: scripts in component: ci *****
    [14-04-2008 11:01:45] ***** End Final order for post_data_upgrade: scripts in component: ci *****
    [14-04-2008 11:01:45]
    Return code = 0
    *** running TransX for files under e:/oraclehome/oms10g/sysman/admin/emdrep/rsc ***
    using transx command line :
    e:/oraclehome/oms10g/jdk/bin/java -cp e:/oraclehome/oms10g/lib/oraclexsql.jar;e:/oraclehome/oms10g/lib/transx.zip;e:/oraclehome/oms10g/xdk/lib/transx.zip;e:/oraclehome/oms10g/lib/xml.jar;e:/oraclehome/oms10g/lib/xmlparserv2.jar;e:/oraclehome/oms10g/lib/xschema.jar;e:/oraclehome/oms10g/lib/xsu12.jar;e:/oraclehome/oms10g/rdbms/jlib/xdb.jar;e:/oraclehome/oms10g/jdk/lib/dt.jar;e:/oraclehome/oms10g/oc4j/jdbc/lib/orai18n.jar;e:/oraclehome/oms10g/jdbc/lib/ojdbc14.jar;e:/oraclehome/oms10g/emcore/classes/debug;e:/oraclehome/oms10g/emcore/lib/emCORE.jar;e:/oraclehome/oms10g/sysman/jlib/emCORE.jar;e:/oraclehome/oms10g/oc4j/jdbc/lib/ojdbc14.jar;e:/oraclehome/oms10g/oc4j/jdbc/lib/ojdbc14dms.jar;e:/oraclehome/oms10g/jdbc/lib/ojdbc5.jar;e:/oraclehome/oms10g/jdbc/lib/ojdbc5dms.jar;e:/oraclehome/oms10g/oc4j/lib/dms.jar;e:/oraclehome/oms10g/oc4j/jdbc/lib/dms.jar;e:/oraclehome/oms10g/dms/lib/dms.jar oracle.sysman.emdrep.util.TransxWrapper 2>> E:/OracleHome/oms10g/sysman/log/emrepmgr.log.10.2.0.4.0
    Found Metadata File: e:/oraclehome/oms10g/sysman/admin/emdrep/sql/core/latest/test_metadata/core.def
    Adding e:/oraclehome/oms10g/oc4j/jdbc/lib/ojdbc14dms.jar
    Adding e:/oraclehome/oms10g/oc4j/lib/dms.jar
    Adding e:/oraclehome/oms10g/oc4j/jdbc/lib/orai18n.jar
    Adding e:/oraclehome/oms10g/jdbc/lib/ojdbc14.jar
    Adding e:/oraclehome/oms10g/sysman/jlib/emCORE.jar
    Adding e:/oraclehome/oms10g/sysman/jlib/log4j-core.jar
    Adding e:/oraclehome/oms10g/lib/servlet.jar
    Adding e:/oraclehome/oms10g/jdbc/lib/orai18n.jar
    Adding e:/oraclehome/oms10g/sysman/jlib/emagentSDK.jar
    Running oracle.sysman.eml.gensvc.test.data.SeedMetadata
    ExecJava: Running e:/oraclehome/oms10g/jdk/bin/java -cp "e:/oraclehome/oms10g/oc4j/jdbc/lib/ojdbc14dms.jar;e:/oraclehome/oms10g/oc4j/lib/dms.jar;e:/oraclehome/oms10g/oc4j/jdbc/lib/orai18n.jar;e:/oraclehome/oms10g/jdbc/lib/ojdbc14.jar;e:/oraclehome/oms10g/sysman/jlib/emCORE.jar;e:/oraclehome/oms10g/sysman/jlib/log4j-core.jar;e:/oraclehome/oms10g/lib/servlet.jar;e:/oraclehome/oms10g/jdbc/lib/orai18n.jar;e:/oraclehome/oms10g/sysman/jlib/emagentSDK.jar" oracle.sysman.eml.gensvc.test.data.SeedMetadata Connection Descriptor: (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=VMORACLE01)(PORT=1521)))(CONNECT_DATA=(SID=rep)))
    HTTP Test Inserted Successfully
    Successfully Added HTTP Query Descriptors
    DHTML Test Inserted Successfully
    Successfully Added DHTML Query Descriptors
    HTTPPING Test Inserted Successfully
    Ping Test Inserted Successfully
    Successfully Added PING Query Descriptors
    DNS Test Inserted Successfully
    Successfully Added DNS Query Descriptors
    FTP Test Inserted Successfully
    Successfully Added FTP Query Descriptors
    Port Test Inserted Successfully
    Successfully Added Port Query Descriptors
    TNS Test Inserted Successfully
    Successfully Added TNS Query Descriptors
    SQLT Test Inserted Successfully
    Successfully Added SQLT Query Descriptors
    JDBC Test Inserted Successfully
    Successfully Added JDBC Query Descriptors
    Forms Test Inserted Successfully
    Successfully Added Forms Query Descriptors
    OS Test Inserted Successfully
    Successfully Added OS Query Descriptors
    Creating imap, smtp, ldap, pop, soap test types
    ******** ORACLE_HOME is e:/oraclehome/oms10g
    test properties path: e:/oraclehome/oms10g\sysman\admin\emdrep\prop\imap.properties
    CreateTestType:createTestMetadataObject: BEGIN
    Enabled test for: IMAP generic_service 1.0
    CreateTestType:createCompleteTest: END
    ******** ORACLE_HOME is e:/oraclehome/oms10g
    test properties path: e:/oraclehome/oms10g\sysman\admin\emdrep\prop\smtp.properties
    CreateTestType:createTestMetadataObject: BEGIN
    Enabled test for: SMTP generic_service 1.0
    CreateTestType:createCompleteTest: END
    ******** ORACLE_HOME is e:/oraclehome/oms10g
    test properties path: e:/oraclehome/oms10g\sysman\admin\emdrep\prop\ldap.properties
    CreateTestType:createTestMetadataObject: BEGIN
    Enabled test for: LDAP generic_service 1.0
    CreateTestType:createCompleteTest: END
    ******** ORACLE_HOME is e:/oraclehome/oms10g
    test properties path: e:/oraclehome/oms10g\sysman\admin\emdrep\prop\pop.properties
    CreateTestType:createTestMetadataObject: BEGIN
    Enabled test for: POP generic_service 1.0
    CreateTestType:createCompleteTest: END
    ******** ORACLE_HOME is e:/oraclehome/oms10g
    test properties path: e:/oraclehome/oms10g\sysman\admin\emdrep\prop\nntp.properties
    CreateTestType:createTestMetadataObject: BEGIN
    Enabled test for: NNTP generic_service 1.0
    CreateTestType:createCompleteTest: END
    ******** ORACLE_HOME is e:/oraclehome/oms10g
    test properties path: e:/oraclehome/oms10g\sysman\admin\emdrep\prop\soap.properties
    CreateTestType:createTestMetadataObject: BEGIN
    Enabled test for: SOAP generic_service 1.0
    CreateTestType:createCompleteTest: END
    ******** ORACLE_HOME is e:/oraclehome/oms10g
    test properties path: e:/oraclehome/oms10g\sysman\admin\emdrep\prop\siebel.properties
    CreateTestType:createTestMetadataObject: BEGIN
    CreateTestType:createCompleteTest: END
    Found Metadata File: e:/oraclehome/oms10g/sysman/admin/emdrep/sql/ocs/latest/test_metadata/test_metadata_cs.def
    Adding e:/oraclehome/oms10g/jdbc/lib/ojdbc14.jar
    Adding e:/oraclehome/oms10g/sysman/jlib/emCORE.jar
    Adding e:/oraclehome/oms10g/sysman/jlib/log4j-core.jar
    Adding e:/oraclehome/oms10g/lib/servlet.jar
    Adding e:/oraclehome/oms10g/jdbc/lib/orai18n.jar
    Adding e:/oraclehome/oms10g/sysman/jlib/emagentSDK.jar
    Adding e:/oraclehome/oms10g/sysman/jlib/emcs.jar
    Running oracle.sysman.ocs.test.data.OCSSeedMetadata
    ExecJava: Running e:/oraclehome/oms10g/jdk/bin/java -cp "e:/oraclehome/oms10g/jdbc/lib/ojdbc14.jar;e:/oraclehome/oms10g/sysman/jlib/emCORE.jar;e:/oraclehome/oms10g/sysman/jlib/log4j-core.jar;e:/oraclehome/oms10g/lib/servlet.jar;e:/oraclehome/oms10g/jdbc/lib/orai18n.jar;e:/oraclehome/oms10g/sysman/jlib/emagentSDK.jar;e:/oraclehome/oms10g/sysman/jlib/emcs.jar" oracle.sysman.ocs.test.data.OCSSeedMetadata Connection Descriptor: (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=VMORACLE01)(PORT=1521)))(CONNECT_DATA=(SID=rep)))
    Found Metadata File: e:/oraclehome/oms10g/sysman/admin/emdrep/sql/pa/latest/test_metadata/test_metadata_pa.def
    Adding e:/oraclehome/oms10g/jdbc/lib/ojdbc14.jar
    Adding e:/oraclehome/oms10g/sysman/jlib/emCORE.jar
    Adding e:/oraclehome/oms10g/sysman/jlib/log4j-core.jar
    Adding e:/oraclehome/oms10g/lib/servlet.jar
    Adding e:/oraclehome/oms10g/jdbc/lib/orai18n.jar
    Adding e:/oraclehome/oms10g/sysman/jlib/emagentSDK.jar
    Adding e:/oraclehome/oms10g/j2ee/OC4J_EM/applications/em/em/WEB-INF/lib/empa.jar
    Running oracle.sysman.siebel.test.data.SiebelSeedMetadata
    ExecJava: Running e:/oraclehome/oms10g/jdk/bin/java -cp "e:/oraclehome/oms10g/jdbc/lib/ojdbc14.jar;e:/oraclehome/oms10g/sysman/jlib/emCORE.jar;e:/oraclehome/oms10g/sysman/jlib/log4j-core.jar;e:/oraclehome/oms10g/lib/servlet.jar;e:/oraclehome/oms10g/jdbc/lib/orai18n.jar;e:/oraclehome/oms10g/sysman/jlib/emagentSDK.jar;e:/oraclehome/oms10g/j2ee/OC4J_EM/applications/em/em/WEB-INF/lib/empa.jar" oracle.sysman.siebel.test.data.SiebelSeedMetadata Connection Descriptor: (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=VMORACLE01)(PORT=1521)))(CONNECT_DATA=(SID=rep)))
    Done.
    Running setSchemaStatus: BEGIN EMD_MAINTENANCE.SET_VERSION('_UPGRADE_','0','0','SYSTEM',EMD_MAINTENANCE.G_STATUS_CONFIGURED_READY);END;
    Repository Upgrade Successful.
    INFO: oracle.sysman.top.oms: Command Error:----------
    INFO: oracle.sysman.top.oms:'stty' is not recognized as an internal or external command,
    operable program or batch file.
    'stty' is not recognized as an internal or external command,
    operable program or batch file.
    'stty' is not recognized as an internal or external command,
    operable program or batch file.
    'stty' is not recognized as an internal or external command,
    operable program or batch file.
    INFO: oracle.sysman.top.oms:Upgrade->Executing Command: CMD /c E:\OracleHome\oms10g\bin\emctl config emkey -repos
    INFO: oracle.sysman.top.oms: Command Exit Code:0
    INFO: oracle.sysman.top.oms: Command Output:----------
    INFO: oracle.sysman.top.oms:Oracle Enterprise Manager 10g Release 4 Grid Control
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    The Em Key has been configured successfully.
    INFO: oracle.sysman.top.oms: Command Error:----------
    INFO: oracle.sysman.top.oms:Please enter repository password:
    INFO: oracle.sysman.top.oms:EmcpPlug:invoke:Completed EmcpPlug invoke method on an aggregate=oracle.sysman.top.oms for Action=patchsetConfiguration in step=1:microstep=0
    INFO: oracle.sysman.top.oms:The plug-in Repository Upgrade has successfully been performed
    INFO: oracle.sysman.top.oms:About to execute plug-in OMS Patch Configuration
    INFO: oracle.sysman.top.oms:The plug-in OMS Patch Configuration is running
    INFO: oracle.sysman.top.oms:Internal PlugIn Class: oracle.sysman.emcp.oms.OmsPatchUpgrade
    INFO: oracle.sysman.top.oms:Classpath = E:\OracleHome\oms10g\sysman\jlib\omsPlug.jar;E:\OracleHome\oms10g\jlib\emConfigInstall.jar;E:\OracleHome\oms10g\sysman\jlib\emCORE.jar;E:\OracleHome\oms10g\sysman\jlib\emagentSDK.jar;E:\OracleHome\oms10g\sysman\jlib\log4j-core.jar;E:\OracleHome\oms10g\jdbc\lib\classes12.jar
    INFO: oracle.sysman.top.oms:EmcpPlug:invoke:Starting EmcpPlug invoke method on an aggregate=oracle.sysman.top.oms for Action=patchsetConfiguration in step=2:microstep=0
    INFO: oracle.sysman.top.oms:inside perform
    INFO: oracle.sysman.top.oms:PerformSecureCommand:runCmd:Performing Command=CMD /C E:\OracleHome\oms10g\opmn\bin\opmnctl stopall
    INFO: oracle.sysman.top.oms:Stop Opmn Error = CMD /C E:\OracleHome\oms10g\opmn\bin\opmnctl stopall
    INFO: oracle.sysman.top.oms:PerformSecureCommand:runCmd:CMD /C E:\OracleHome\oms10g\opmn\bin\opmnctl stopall have completed with exitCode=2
    INFO: oracle.sysman.top.oms:PerformSecureCommand:runCmd:Command Output stdout:
    'opmnctl: opmn is not running
    INFO: oracle.sysman.top.oms:PerformSecureCommand:runCmd:Command Output stderr:
    INFO: oracle.sysman.top.oms:stopOpmnService:WINDOWS:status=2. Ignoring OpmnStatus='opmnctl: opmn is not running
    INFO: oracle.sysman.top.oms:stoping the Opms services
    INFO: oracle.sysman.top.oms:OmsPlugIn:Requested Configuration Step 0 have been completed with status=true
    INFO: oracle.sysman.top.oms:the value of OMS home isE:\OracleHome\oms10g
    INFO: oracle.sysman.top.oms:b_deployed is false
    INFO: oracle.sysman.top.oms:Starting Oms deploying
    INFO: oracle.sysman.top.oms:PerformSecureCommand:runCmd:Performing Command=CMD /C E:\OracleHome\oms10g\bin\EMDeploy.bat
    INFO: oracle.sysman.top.oms:EMDeploy Error = CMD /C E:\OracleHome\oms10g\bin\EMDeploy.bat
    INFO: oracle.sysman.top.oms:PerformSecureCommand:runCmd:CMD /C E:\OracleHome\oms10g\bin\EMDeploy.bat have completed with exitCode=2
    INFO: oracle.sysman.top.oms:PerformSecureCommand:runCmd:Command Output stdout:
    'Environment :
    ORACLE HOME = e:\oraclehome\oms10g
    STAGE DIR = e:\oraclehome\oms10g/j2ee/OC4J_EM/applications/em
    TEMP DIR = C:\Temp\1
    PSEP = ;
    Info : e:\oraclehome\oms10g/lib/ojsp.jar doesn't exist
    Info : e:\oraclehome\oms10g/lib/ojsputil.jar doesn't exist
    Info : e:\oraclehome\oms10g/syndication/lib/syndserver.jar doesn't exist
    Info : e:\oraclehome\oms10g/rdbms/jlib/xsu12.jar doesn't exist
    Info : e:\oraclehome\oms10g/network/jlib/netcfg4em12.jar doesn't exist
    Info : e:\oraclehome\oms10g/encryption/jlib/ojmisc.jar doesn't exist
    adding <classpath path="e:\oraclehome\oms10g/lib/ojsp.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/webservices/lib/wsdl.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/lib/dsv2.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/lib/classgen.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/rdbms/jlib/jmscommon.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/lib/ojsputil.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/lib/oraclexsql.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/jlib/providerutil.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/syndication/lib/syndserver.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/lib/xschema.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/rdbms/jlib/xsu12.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/jlib/regexp.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/oui/jlib/OraInstaller.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/network/jlib/netcfg4em12.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/encryption/jlib/ojmisc.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/jlib/orai18n.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/portal/jlib/pdkjava.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/portal/jlib/ptlshare.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/jlib/share.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/jlib/uix2.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/jlib/ohw.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/jlib/commons-el.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/jlib/jsp-el-api.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/jlib/oracle-el.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/jlib/axis.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/jlib/axis-ant.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/jlib/commons-discovery-0.2.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/jlib/commons-logging-1.0.4.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/jlib/jaxrpc.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/jlib/saaj.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/jlib/wsdl4j-1.5.1.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/jdk/lib/tools.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/emCORE.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/emCfg.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/emPid.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/emProvisioningAll.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/emSDKsamples.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/emcliload.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/emclidownload.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/emcoreALL.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/emcoreAgent.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/emcoreTest.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/emcore_emjsp.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/emcore_emjspf_classes.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/emdloader.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/emagentSDK.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/emagentTest.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/iview.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/jviewsall.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/qsma.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/svgdom.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/omsPlug.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/lib/xml.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/lib/xmlmesg.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/jcb.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/log4j-core.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/jlib/emConfigInstall.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/emDB.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/emdb_emjsp.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/ewm-1_1.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/emas.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/emasSDK.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/emas_emdjsp.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/emas_emjsp.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/emd_java.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/webapps/emd/WEB-INF/lib/iview.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/emcs_emdjsp.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/emcs_emjsp.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/emcs.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/emcsSDK.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/prov/agentpush/jlib/remoteinterfaces.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/prov/agentpush/jlib/ssh.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/prov/agentpush/jlib/jsch.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/j2ee/agentpush.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/j2ee/asprovALL.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/j2ee/bpelprovALL.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/j2ee/collabsuiteuser.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/j2ee/dnALL.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/j2ee/ecALL.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/j2ee/ejb-prov.jar"/> to orion-web.xml
    adding <classpath path="e:\oraclehome\oms10g/sysman/jlib/j2ee/empp_emjsp.jar"/> to orion-web.xml
    adding

    no update yet. I'm gonna run the tool that is suggested, but I have no other issues with any previous patch. I thought the content of the file I added to my post would have ring a bell to somebody, who had the same problem, but it seems like I was wrong. I'll post once I run the tool suggested in the note
    thx all

  • Getting values from JLabel[] with JButton[] help!

    Hello everyone!
    My problem is:
    I have created JPanel, i have an array of JButtons and array of JLabels, they are all placed on JPanel depending from record count in *.mdb table - JLabels have its own value selected from Access table.mdb! I need- each time i press some button,say 3rd button i get value showing from 3rd JLabel in some elsewere created textfield, if i have some 60 records and 60 buttons and 60 labels its very annoying to add for each button actionlistener and for each button ask for example jButton[1].addActionListener() ...{ jLabel[1].getText()......} and so on!
    Any suggestion will be appreciated! Thank you!

    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    class Testing
      public void buildGUI()
        final int ROWS = 10;
        JPanel[] rows = new JPanel[ROWS];
        final JLabel[] labels = new JLabel[ROWS];
        JButton[] buttons = new JButton[ROWS];
        JPanel p = new JPanel(new GridLayout(ROWS,1));
        final JTextField tf = new JTextField(10);
        ActionListener listener = new ActionListener(){
          public void actionPerformed(ActionEvent ae){
            tf.setText(labels[Integer.parseInt(((JButton)ae.getSource()).getName())].getText());
        for(int x = 0; x < ROWS; x++)
          labels[x] = new JLabel(""+(int)(Math.random()*10000));
          buttons[x] = new JButton("Button "+x);
          buttons[x].setName(""+x);
          buttons[x].addActionListener(listener);
          rows[x] = new JPanel(new GridLayout(1,2));
          rows[x].add(labels[x]);
          rows[x].add(buttons[x]);
          p.add(rows[x]);
        JFrame f = new JFrame();
        f.getContentPane().add(p,BorderLayout.CENTER);
        f.getContentPane().add(tf,BorderLayout.SOUTH);
        f.pack();
        f.setLocationRelativeTo(null);
        f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        f.setVisible(true);
      public static void main(String[] args)
        SwingUtilities.invokeLater(new Runnable(){
          public void run(){
            new Testing().buildGUI();
    }

  • Problem with KeyAdapter and JButtons in a Jframe

    yes hi
    i have searched almost most of the threads here but nothing
    am trying to make my frame accepts keypress and also have some button on the frame here is the code and thank you for the all the help
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    public class RPg extends JFrame implements ActionListener
                private int width;
                private int hight;
                public    JPanel north;
                public    JPanel se;
                public    JButton start;
                public    JButton quit;
                public    Screen s;//a Jpanel
                public    KeyStrokeHandler x;
        public RPg() {
               init();
               setTitle("RPG");
               setSize(width,hight);
               setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
               setResizable(false);
               setVisible(true);
               x=new KeyStrokeHandler();
             addKeyListener(x);
             public void init() {
               north=new JPanel();
               Container cp = getContentPane();
               s=new Screen();
               this.width=s.width;
               this.hight=s.hight+60;
              start=new JButton("START");
                  start.addActionListener(this);
              quit=new JButton("QUIT");
                  quit.addActionListener(this);
              north.setBackground(Color.DARK_GRAY);
              north.setLayout(new FlowLayout());
              north.add(start);
              north.add(quit);
              cp.add(north, BorderLayout.NORTH);
              cp.add(s, BorderLayout.CENTER);
        public static void main(String[] args) {
            RPg rpg = new RPg();
       public void actionPerformed(ActionEvent ae) {
            if (ae.getActionCommand().equals("QUIT")) {
                     System.exit(0);
            if (ae.getActionCommand().equals("START")) { }
       class KeyStrokeHandler extends KeyAdapter {
               public void keyTyped(KeyEvent ke) {}
               public void keyPressed(KeyEvent ke){
                  int keyCode = ke.getKeyCode();
                  if ((keyCode == KeyEvent.VK_M)){
                     System.out.println("it works");
               public void keyReleased(KeyEvent ke){}

    Use the 'tab' key to navigate through 'contentPane > start > quit' focus cycle. 'M' key works when focus is on contentPane (which it is on first showing). See tutorial pages on 'Using Key Bindings' and 'Focus Subsystem' for more.
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    public class RPG extends JFrame implements ActionListener {
        private int width;
        private int hight;
        public JPanel north;
        public JPanel se;
        public JButton start;
        public JButton quit;
        public Screen s;    //a Jpanel
        public RPG() {
            init();
            setTitle("RPG");
            setSize(width,hight);
            setDefaultCloseOperation(EXIT_ON_CLOSE);
            setResizable(false);
            setVisible(true);
        public void init() {
            north=new JPanel();
            Container cp = getContentPane();
            registerKeys((JComponent)cp);
            s=new Screen();
            this.width=s.width;
            this.hight=s.hight+60;
            start=new JButton("START");
                start.addActionListener(this);
            quit=new JButton("QUIT");
                quit.addActionListener(this);
            north.setBackground(Color.DARK_GRAY);
            north.setLayout(new FlowLayout());
            north.add(start);
            north.add(quit);
            cp.add(north, BorderLayout.NORTH);
            cp.add(s, BorderLayout.CENTER);
        public static void main(String[] args) {
            RPG rpg = new RPG();
        public void actionPerformed(ActionEvent ae) {
            if (ae.getActionCommand().equals("QUIT")) {
                     System.exit(0);
            if (ae.getActionCommand().equals("START")) { }
        private void registerKeys(JComponent jc)
            jc.getInputMap().put(KeyStroke.getKeyStroke("M"), "M");
            jc.getActionMap().put("M", mAction);
        Action mAction = new AbstractAction() {
            public void actionPerformed(ActionEvent e) {
                System.out.println("it works");
    class Screen extends JPanel {
        int width, hight;
        public Screen() {
            width = 300;
            hight = 300;
            setBackground(Color.pink);
    }

  • Problem with setCursor for JButton in cell on JTable

    i have a problem with setCursor to JButton that is in a cell of the JTable}
    this is the code
    public class JButtonCellRenderer extends JButton implements TableCellRenderer {
    public JButtonCellRenderer() {
    setOpaque(true);
    public Component getTableCellRendererComponent(JTable table, Object value,
    boolean isSelected, boolean hasFocus,
    int row, int column) {
    if (isSelected) {
    setForeground(table.getSelectionForeground());
    setBackground(table.getSelectionBackground());
    else {
    setForeground(table.getForeground());
    setBackground(Color.WHITE);
    setBorder(null);
    if(table.getValueAt(row,column) == null){
    setText("");
    if(isSelected){
    setBackground(table.getSelectionBackground());
    }else{
    setBackground(Color.WHITE);
    }else{
    if(table.getValueAt(row,column) instanceof JButton){
    JButton _button = (JButton)table.getValueAt(row,column);
    if(_button.getText().trim().equals("")){
    setText("<html>"+ "<font size=\"3\" COLOR=\"#0000FF\"><u><b>Ver...</b></u></font>"+"");
    }else{
    setText("<html>"+ "<font size=\"3\" COLOR=\"#0000FF\"><u><b>" + _button.getText() + "</b></u></font>"+"");
    return this;
    }

    Not quite sure I understand the problem, but I guess you have tried to call setCursor on your renderer and found it didn't work? The reason, I think, is that the renderer only renders a JButton. The thing that ends up in the table is in fact only a "picture" of a JButton, and among other things it won't receive and interact with any events, such as MouseEvents (so it wouldn't know that the cursor should change).
    There are at least two alternatives for you: You can perhaps use a CellEditor instead of a CellRenderer. Or you can add a MouseListener to the table and then use the methods column/rowAtPoint to figure out if the cursor is over your JButton cell and change the cursor yourself if it is.

  • Animated gif in a JButton which is a CellRenderer...

    I'm currently dealing with quite a huge thing...
    My cellRenderer is here to give a button aspect, this button has 3 kind of icons in fact :
    a cross when the line is ready to be treated
    a loading animation while in treatment... and here is the problem
    a tick whe the line has been treated
    i see the loader (but not always...) and not animated at all ...
    I change the states of the button in aother class, which has its own thread....
    .. as for no as see the lines being ticked line by line, cool, but if the loader could move between the 2 step, it would be perfect..
    Here is my class :
    * Create a special cell render for the first column of the images table
    * This cell render let us display a JButton associated with the given file in order
    * to permit its deletion from the tablelist
    * @author Gregory Durelle
    public class DeleteCellRender extends JButton implements TableCellRenderer , Runnable{
         private static final long serialVersionUID = 1L;
         int row;
         JTable table;
         public DeleteCellRender(){
             this.setIcon(Smash.getIcon("cross.png"));
              this.setBorderPainted(false);
              this.setForeground(Color.WHITE);
              this.setOpaque(false);
              this.setFocusable(false);
         public Component getTableCellRendererComponent( JTable table, Object value,boolean selected, boolean focused, int row, int column) {
              this.setBackground(table.getBackground());
              if(((DataModel)table.getModel()).getImageFile(row).isSent()){
                   this.setIcon(Smash.getIcon("tick.png"));//Smash is my main class & getIcon a static method to retrieve icons throug getRessource(url) stuff
                   this.setToolTipText(null);
              else if(((DataModel)table.getModel()).getImageFile(row).isSending()){
                   this.setIcon(Smash.getIcon("loader.gif")); //HERE IS THE PROBLEM, IT SHOULD BE ANIMATED :(
                   this.setToolTipText(null);
                   this.row=row;
                   this.table=table;
                 Thread t = new Thread(this);
                 t.start();
              else{
                   this.setIcon(Smash.getIcon("cross.png"));
                   this.setToolTipText("Delete this image from the list");
              return this;
         public void run() {
              while(true){
                   repaint();//SEEMS TO DO NO DIFFERENCE...
    }I tried to add a no-ending repaint but it does not make any difference... so if the Runnable annoy you, consider it deosn't exist ;)
    Someone has any idea of how to make an animated gif in a JButton which is in fact a CellRenderer ??....
    .. or maybe a better idea to make the loader appearing at the place of the cross, before the appearition of the tick....
    Edited by: GreGeek on 11 juil. 2008 23:04

    whooo :( you mean making a customized button ?
    like : public class MyButton extends AbstractButton{
       public void paintComponents(Graphics g){
          ...//img1 - wait 15ms - img2 - wait15ms - img3 - etc
    }that would be a solution, but i was pretty sure it would be possible to do more simple, and that i only forgot a very small thing to make it work...

  • Animated gif on JButton is not working

    Hi all,
    I have a JButton, which is used as a 'search button'. I want my search button to show an animated globe gif when search is going on. I have my code as below.
    JButton searchButton = new JButton(MyUtilities.searchIcon());
    ImageIcon animatedGlobe = MyUtilities.animatedGlobeGif();
    searchButton.setPressedIcon(animatedGlobe );
    At runtime the button is showing a static globe which is not animating.
    Can any one please answer what could be the problem?
    Thanks in advance,
    amar

    Thanx Demanic ,
    I am doing swings for first time. Can you please tell me how to repaint the button using seperate thread?
    Thanks,
    amar

  • IMAGE NOT DISPLAYED OVER JButton ON JDialog

    Hi,
    I am trying to display an image over a JButton inside a JDialog(pops up on button click from an applet). But it is invisible. But I am sure that it is drawn on the ContentPane since when i click partially/half at the position
    of the JButton I could see the JButton with the image. Actualy I am resizing the JDialog since I have two buttons, one to minimise and the other two maximise the size of the JDailog.
    All the buttons are in place but not visible neither at the first place nor when the JDialog is resized.
    The code is as follows:
    package com.dataworld.gis;
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.print.*;
    import javax.swing.*;
    public class PrintThisPolygon extends JDialog {
         protected Image image;
         protected JButton print;
         protected JButton resize;
         protected JButton desize;
         private int pX=0, pY=0, pWidth=0, pHeight=0;
         public PrintThisPolygon(JFrame parent, Viewer viewer) {
              super(parent, "Print Polygon", true);
              this.setModal(false);
              getContentPane().setLayout(null);
              image = this.viewer.getScreenBuffer();
              pane = new Panel();
              print = new JButton("print", new ImageIcon("images/print.gif"));
              print.setBounds(0,5,50,20);
              print.setEnabled(true);
              print.addActionListener(new ActionListener(){
                   public void actionPerformed(ActionEvent ae){
                        print();
              resize = new JButton("+", new ImageIcon("images/print.gif"));
              resize.setBounds(55,5,50, 20);
              resize.addActionListener(new ActionListener(){
                   public void actionPerformed(ActionEvent ae){
                        resizePlus();
              desize = new JButton("-", new ImageIcon("images/print.gif"));
              desize.setBounds(105,5,50, 20);
              desize.addActionListener(new ActionListener(){
                   public void actionPerformed(ActionEvent ae){
                        resizeMinus();
              getContentPane().add(print);
              getContentPane().add(resize);
              getContentPane().add(desize);
    public String getAppletInfo() {
         return "Identify Polygon\n"
    public void paint(Graphics g){
         System.out.println("Paint : pX " + pX + " pY :" + pY);
         g.drawImage(image, pX, pY, pWidth, pHeight, getBackground(), this);
    protected void print() {
         ImagePrint sp = new ImagePrint(this.viewer);
    public void resizeMinus(){
         repaint();
    public void resizePlus(){
         repaint();
    Can anybody has any clue. Can anybody help me out.
    Thanx

    I added resize code for those buttons and ended up with repaint problems too. When you manually resized the window everything was fine again. After a bit of digging around I found you need to call validate on the dialog and then things work.
    IL,
    There is the new scaling version of the code I modified above:package forum.com.dataworld.gis;
    import java.awt.Graphics;
    import java.awt.Image;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.ImageIcon;
    import javax.swing.JButton;
    import javax.swing.JDialog;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    public class PanelPaintFrame extends JFrame {
         public static void main(String[] args) {
              PanelPaintFrame frame = new PanelPaintFrame ();
              frame.setVisible (true);
         public PanelPaintFrame ()  {
              setBounds (100, 100, 600, 600);
              setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE);
              JButton showPrintDialogButton = new JButton ("Show Print Dialog...");
              JPanel buttonPanel = new JPanel ();
              buttonPanel.add (showPrintDialogButton);
              getContentPane ().add (buttonPanel);
              showPrintDialogButton.addActionListener (new ActionListener ()  {
                   public void actionPerformed (ActionEvent e)  {
                        PrintThisPolygon printDialog = new PrintThisPolygon (PanelPaintFrame.this);
                        printDialog.show();
              pack ();
         public class PrintThisPolygon extends JDialog {
              protected ImageIcon myOrigonalImage = null;
              protected Image image;
              protected JButton print;
              protected JButton resize;
              protected JButton desize;
              private int pX=0, pY=0, pWidth=0, pHeight=0;
              JPanel pane = null;
              public PrintThisPolygon(JFrame parent/*, Viewer viewer*/) {
                   super(parent, "Print Polygon", true);
    //               this.setModal(false);
                   getContentPane().setLayout(null);
                   //  Substitute my own image
                   myOrigonalImage = new ImageIcon (PrintThisPolygon.class.getResource ("images/MyCoolImage.jpg"));
                   //  Start off full size
                   pWidth = myOrigonalImage.getIconWidth();
                   pHeight = myOrigonalImage.getIconHeight();
                   image = myOrigonalImage.getImage ().getScaledInstance(pWidth, pHeight, Image.SCALE_DEFAULT);
    //               image = this.viewer.getScreenBuffer();
    //               pane = new Panel();
                   //  Create a JPanel to draw the image
                   pane = new JPanel(){
                        protected void paintComponent(Graphics g)  {
                             System.out.println("Paint : pX " + pX + " pY :" + pY);
                             g.drawImage(image, pX, pY, pWidth, pHeight, getBackground(), this);
                   pane.setBounds (0, 0, pWidth, pHeight);
                   //  Load the button image using a URL
                   print = new JButton("print", new ImageIcon(PrintThisPolygon.class.getResource ("images/print.gif")));
    //               print = new JButton("print", new ImageIcon("images/print.gif"));
                   print.setBounds(0,5,55,20);
                   print.setEnabled(true);
                   print.addActionListener(new ActionListener(){
                        public void actionPerformed(ActionEvent ae){
                             print();
                   resize = new JButton("+", new ImageIcon("images/print.gif"));
                   resize.setBounds(55,5,50, 20);
                   resize.addActionListener(new ActionListener(){
                        public void actionPerformed(ActionEvent ae){
                             resizePlus();
                   desize = new JButton("-", new ImageIcon("images/print.gif"));
                   desize.setBounds(105,5,50, 20);
                   desize.addActionListener(new ActionListener(){
                        public void actionPerformed(ActionEvent ae){
                             resizeMinus();
                   //  Setup a transparent glass panel with no layout manager
                   JPanel glassPanel = new JPanel ();
                   glassPanel.setLayout (null);
                   glassPanel.setOpaque (false);
                   //  Add the image panel to the dialog
                   getContentPane().add(pane);
                   //  Add the buttons to the glass panel
                   glassPanel.add(print);
                   glassPanel.add(resize);
                   glassPanel.add(desize);
                   //  Set our created panel as the glass panel and turn it on
                   setGlassPane (glassPanel);
                   glassPanel.setVisible (true);
                   setBounds (100, 100, pWidth, pHeight);
    //               setBounds (100, 100, 500, 300);
              public String getAppletInfo() {
                   return "Identify Polygon\n";
    //          public void paint(Graphics g){
    //          protected void paintComponent(Graphics g)  {
    //               System.out.println("Paint : pX " + pX + " pY :" + pY);
    //               g.drawImage(image, pX, pY, pWidth, pHeight, getBackground(), this);
              protected void print() {
                   //  Pretend to print
    //               ImagePrint sp = new ImagePrint(this.viewer);
                   System.out.println ("Print view...");
              public void resizeMinus(){
                   //  Scale the image down 10%
                   int scaledWidth = pWidth - (int)(pWidth * 0.1);
                   int scaledHeight = pHeight - (int)(pHeight * 0.1);
                   scaleImage (scaledWidth, scaledHeight);
              public void resizePlus(){
                   //  Scale the image up 10%
                   int scaledWidth = pWidth + (int)(pWidth * 0.1);
                   int scaledHeight = pHeight + (int)(pHeight * 0.1);
                   scaleImage (scaledWidth, scaledHeight);
              private void scaleImage (int scaledWidth, int scaledHeight)  {
                   //  Create a new icon for drawing and retrieve its actuall size
                   image = myOrigonalImage.getImage ().getScaledInstance (scaledWidth, scaledHeight, Image.SCALE_DEFAULT);
                   pWidth = scaledWidth;
                   pHeight = scaledHeight;
                   //  Resize
                   setSize (pWidth, pHeight);
                   pane.setSize (pWidth, pHeight);
                   validate();
    }

Maybe you are looking for

  • Once and for all: Can DVD SP build Blu-Ray disc content or not?

    Maybe I'm crazy, but- Everything I've heard to date has Apple backing the Blu-Ray format. Believing this, I just spent $900 on a new Lacie D2 external Blu-Ray burner (which IS Mac compatible). I also purchased Toast 8 (which IS Blu-Ray compatible). A

  • Color and Color Management boxes in Print Settings greyed out. Using PS CS5.1 with Mac OSX 10.9.5.

    For some reason, the above boxes are now greyed out when I go to Print Settings and I am getting prints that are badly distorted. Was working perfectly a few days ago and can't understand why this has suddenly happened ?  Am now confused as to what s

  • ASA 5512-X DHCP Backup ISP

    I installed a new ASA 5512-X over the weekend for a client.  Their backup ISP connection is DHCP based.  I need to use the 'dhcp client route track' command on the interface, but it is not available.  However according the all the documentation I am

  • Customizing roles in Jdeveloper

    Hi, I want to create a custom role in Jdeveloper such a way that updates of extensions are disabled in the IDE when that particular role is chosen . Is this possible? I found the default roles under C:\OracleSW\jdev12c\jdeveloper\jdev\roles ,but coul

  • How can i view old notifications from apple?

    I accidentally tapped ok on a notification I thought was for my battery percentage going down, but as I saw it, it turned out to be a longer notification from apple. I tried viewing it on my other iPod touch but sadly I did the same thing. I also tri