Problem while migrating Menu Items to APEX

Hi,
I have Migrated a form consisting of some menu items and created an application of the same.
I am not able to view the page of menu item migrated in my application. Please help me in this and even how to create a menu item in APEX.
Greetings,
Ankit

reproduced and see exception in console, bug logged.
Edited by: Jade Zhong on Feb 1, 2010 6:10 PM

Similar Messages

  • Problems while migrating PDK applications from Portal 7.1 to Portal 7.3

    Hi All,
    I am facing a problem while migrating a PDK application from Portal 7.1 to Portal 7.3.
    Since Portal 7.3 doesnt support PAR files any more it provided with a tool to convert the PAR to an EAR file and deploy the resultant EAR to the new portal.
    I converted the PAR into EAR and deployed the file but the application is not executing. When I looked into the log files i found the following exception. The application is not able to identify the tag "documentBody". I checked the protalapp.xml and the "SharingReference" is properly maintained in the file but the error message suggests that its not able to fine the reference to the tagLib uri maintained in the portalapp.xml
    Now my question is why is it not able to obtain a reference to the taglib? Did any one face similar problem previously. Can you please provide me with any document for migrating / developing PDK application for Portal 7.3
    Parser [PRT] - JspParseException is thrown while parsing JSP file </SAP/sap/POD/J00/j2ee/cluster/apps/TestOrg.co.uk/TestOrg~cas~ptlsvc/servlet_jsp/CASPortalService/root/WEB-INF/pagelet/CASFramework.jsp> :
    com.sap.engine.services.servlets_jsp.jspparser_api.exception.JspParseException: Cannot parse custom tag with short name [documentBody].
    at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.syntax.JspElement.customTagAction(JspElement.java:969)
    at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.syntax.JspElement.action(JspElement.java:228)
    at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.syntax.ElementCollection.action(ElementCollection.java:59)
    at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.syntax.JspElement.customTagAction(JspElement.java:994)
    at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.syntax.JspElement.action(JspElement.java:228)
    at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.syntax.ElementCollection.action(ElementCollection.java:59)
    at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.syntax.JspElement.customTagAction(JspElement.java:994)
    at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.syntax.JspElement.action(JspElement.java:228)
    at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.syntax.ElementCollection.action(ElementCollection.java:59)
    at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.syntax.ElementCollection.action(ElementCollection.java:69)
    at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.GenerateJavaFile.generateJavaFile(GenerateJavaFile.java:72)
    at com.sap.engine.services.servlets_jsp.server.jsp.JSPProcessor.parse(JSPProcessor.java:272)
    at com.sap.engine.services.servlets_jsp.server.jsp.JSPProcessor.generateJavaFile(JSPProcessor.java:196)
    at com.sap.engine.services.servlets_jsp.server.jsp.JSPProcessor.parse(JSPProcessor.java:128)
    at com.sap.engine.services.servlets_jsp.jspparser_api.JSPChecker.getClassName(JSPChecker.java:377)
    at com.sap.engine.services.servlets_jsp.jspparser_api.JSPChecker.compileAndGetClassName(JSPChecker.java:306)
    at com.sap.engine.services.servlets_jsp.jspparser_api.JSPChecker.getClassNameForProduction(JSPChecker.java:236)
    Thanks in advance
    PK

    Hi Amit,
    Thanks for your reply. I could see some progress after "thoroughly" going through those links. Thanks a lot (gave points too )
    Now I am facing another problem. The application did deploy successfully but with a warning. When i checked the warning it says that the deployment was successful but can not be started.
    The log file has the following error message.
    Global [startApp] operation of application [newsint.co.uk/newsint~cas~ptlsvc] finished with errors for [5] ms on server process [2721950] [
    >>> Errors <<<
    1). com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Application newsint.co.uk/newsint~cas~ptlsvc cannot be started. Reason: it has hard reference to the following resources, which are currently not available on the system: hard to SAPPORTAL/com.sapportals.htmlb (public) (f=true, cl=false); .
    In order to start the application, components that provide the missing resources should be successfully deployed.
    at com.sap.engine.services.deploy.server.ReferenceResolver.isResolved(ReferenceResolver.java:137)
    at com.sap.engine.services.deploy.server.LifecycleController.startReferencedComponents(LifecycleController.java:173)
    at com.sap.engine.services.deploy.server.application.StartTransaction.beginCommon(StartTransaction.java:200)
    at com.sap.engine.services.deploy.server.application.StartTransaction.begin(StartTransaction.java:166)
    at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:421)
    at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhases(ParallelAdapter.java:465)
    at com.sap.engine.services.deploy.server.application.StartTransaction.makeAllPhases(StartTransaction.java:605)
    at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:1828)
    I dont understand why is SAPPORTAL/com.sapportals.htmlb is not available. As per my understanding it is some thing that should be available with the portal server by default.
    Any hints from any one?
    thanks in advance
    PK

  • Problem in validating menu item

    hi,
    everybody.
    i have created a main window using JInternalFrame. The window has a menu bar in which document menu is used for closing the main window, while employee menu is used for adding new frame for the employee. while the login frame is displayed when the application is executed.
    my problem is that i want to validate that before login employee menu should be disabled, and after login is performed employee menu is enabled.
    the following is my code. please reply me as i am stucked with it.
    thanks in advance.
    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.*;
    import java.io.*;
    import java.util.*;
    public class InternalFrameDemo extends JFrame implements ActionListener
         JDesktopPane desktop;
         public InternalFrameDemo()
              super("InternalFrameDemo");
              int inset = 50;
              Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
              setBounds(inset, inset, screenSize.width - inset*2, screenSize.height - inset*2);
              desktop = new JDesktopPane();
              setContentPane(desktop);
              desktop.setBackground(Color.white);
              setJMenuBar(createMenuBar());
              desktop.setDragMode(JDesktopPane.OUTLINE_DRAG_MODE);
              createLogin();
         public JMenuBar createMenuBar()
              JMenuBar menuBar = new JMenuBar();
              JMenu menu = new JMenu("Document");
              menu.setMnemonic(KeyEvent.VK_D);
              menuBar.add(menu);
              JMenuItem menuItem = new JMenuItem("Quit");
              menuItem.setMnemonic(KeyEvent.VK_Q);
              menuItem.setAccelerator(KeyStroke.getKeyStroke( KeyEvent.VK_Q, ActionEvent.ALT_MASK));
              menuItem.setActionCommand("quit");
              menuItem.addActionListener(this);
              menu.add(menuItem);
              JMenu employee = new JMenu("Employee");
              employee.setMnemonic(KeyEvent.VK_E);
              employee.setActionCommand("employee");
              menuBar.add(employee);
              JMenuItem additem = new JMenuItem("Add");
              additem.setMnemonic(KeyEvent.VK_A);
              additem.setActionCommand("add");
              additem.addActionListener(this);
              employee.add(additem);
              return menuBar;
         public void actionPerformed(ActionEvent ae)
              String str = ae.getActionCommand();
              if(str.equals("add"))
                   System.out.println("Employee Form Invoked");
                   createEmployee();
              else if(str.equals("quit"))
                   quit();
         public void createEmployee()
              MyEmployeeFrame employeeframe = new MyEmployeeFrame();
              employeeframe.setVisible(true);
              desktop.add(employeeframe);
              try
                   employeeframe.setSelected(true);
              catch(Exception e)
         public void createLogin()
              MyLogin loginframe = new MyLogin();
              loginframe.setVisible(true);
              desktop.add(loginframe);
              try
                   loginframe.setSelected(true);
              catch(Exception e){}
         public void quit()
              System.exit(0);
         private static void createAndShowGUI()
              JFrame.setDefaultLookAndFeelDecorated(true);
              InternalFrameDemo frame = new InternalFrameDemo();
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              frame.setSize(800,600);
              frame.setVisible(true);
         public static void main(String a[])
              createAndShowGUI();
    class MyEmployeeFrame extends JInternalFrame implements ActionListener
         JFrame employeeframe;
         JLabel labelfirstname;
         JLabel labellastname;
         JLabel labelage;
         JLabel labeladdress;
         JLabel labelcity;
         JLabel labelstate;
         JTextField textfirstname;
         JTextField textlastname;
         JTextField textage;
         JTextField textaddress;
         JTextField textcity;
         JTextField textstate;
         JButton buttonsave;
         FileOutputStream out;
         PrintStream p;
         String strfirstname,strlastname,strage,straddress,strcity,strstate;
         GridBagLayout gl;
         GridBagConstraints gbc;
         public MyEmployeeFrame()
              super("Employee Details",true,true,true,true);
              setSize(500,400);
              labelfirstname = new JLabel("First Name");
              labellastname = new JLabel("Last Name");
              labelage = new JLabel("Age");
              labeladdress = new JLabel("Address");
              labelcity = new JLabel("City");
              labelstate = new JLabel("State");
              textfirstname = new JTextField(10);
              textlastname = new JTextField(10);
              textage = new JTextField(5);
              textaddress = new JTextField(15);
              textcity = new JTextField(10);
              textstate = new JTextField(10);
              buttonsave = new JButton("Save");
              gl = new GridBagLayout();
              gbc = new GridBagConstraints();
              gbc.anchor = GridBagConstraints.NORTHWEST;
              gbc.gridx = 1;
              gbc.gridy = 3;
              gl.setConstraints(labelfirstname,gbc);
              gbc.anchor = GridBagConstraints.NORTHWEST;
              gbc.gridx = 3;
              gbc.gridy = 3;
              gl.setConstraints(textfirstname,gbc);
              gbc.anchor = GridBagConstraints.NORTHWEST;
              gbc.gridx = 1;
              gbc.gridy = 5;
              gl.setConstraints(labellastname,gbc);
              gbc.anchor = GridBagConstraints.NORTHWEST;
              gbc.gridx = 3;
              gbc.gridy = 5;
              gl.setConstraints(textlastname,gbc);
              gbc.anchor = GridBagConstraints.NORTHWEST;
              gbc.gridx = 1;
              gbc.gridy = 7;
              gl.setConstraints(labelage,gbc);
              gbc.anchor = GridBagConstraints.NORTHWEST;
              gbc.gridx = 3;
              gbc.gridy = 7;
              gl.setConstraints(textage,gbc);
              gbc.anchor = GridBagConstraints.NORTHWEST;
              gbc.gridx = 1;
              gbc.gridy = 9;
              gl.setConstraints(labeladdress,gbc);
              gbc.anchor = GridBagConstraints.NORTHWEST;
              gbc.gridx = 3;
              gbc.gridy = 9;
              gl.setConstraints(textaddress,gbc);
              gbc.anchor = GridBagConstraints.NORTHWEST;
              gbc.gridx = 1;
              gbc.gridy = 11;
              gl.setConstraints(labelcity,gbc);
              gbc.anchor = GridBagConstraints.NORTHWEST;
              gbc.gridx = 3;
              gbc.gridy = 11;
              gl.setConstraints(textcity,gbc);
              gbc.anchor = GridBagConstraints.NORTHWEST;
              gbc.gridx = 1;
              gbc.gridy = 13;
              gl.setConstraints(labelstate,gbc);
              gbc.anchor = GridBagConstraints.NORTHWEST;
              gbc.gridx = 3;
              gbc.gridy = 13;
              gl.setConstraints(textstate,gbc);
              gbc.anchor = GridBagConstraints.NORTHWEST;
              gbc.gridx = 3;
              gbc.gridy = 17;
              gl.setConstraints(buttonsave,gbc);
              Container contentpane = getContentPane();
              contentpane.setLayout(gl);
              contentpane.add(labelfirstname);
              contentpane.add(textfirstname);
              contentpane.add(labellastname);
              contentpane.add(textlastname);
              contentpane.add(labelage);
              contentpane.add(textage);
              contentpane.add(labeladdress);
              contentpane.add(textaddress);
              contentpane.add(labelcity);
              contentpane.add(textcity);
              contentpane.add(labelstate);
              contentpane.add(textstate);
              contentpane.add(buttonsave);
              buttonsave.addActionListener(this);
         public void reset()
              textfirstname.setText("");
              textlastname.setText("");
              textage.setText("");
              textaddress.setText("");
              textcity.setText("");
              textstate.setText("");
         public void actionPerformed(ActionEvent ae)
              String str = ae.getActionCommand();
              System.out.println(str);
              if(str.equalsIgnoreCase("Save"))
                 try
                         out = new FileOutputStream("myfile.txt",true);
                         p = new PrintStream( out );
                         strfirstname = textfirstname.getText();
                         strlastname = textlastname.getText();
                         strage = textage.getText();
                         straddress = textaddress.getText();
                         strcity = textcity.getText();
                         strstate = textstate.getText();
                         p.print(strfirstname+"|");
                         p.print(strlastname+"|");
                         p.print(strage+"|");
                         p.print(straddress+"|");
                         p.print(strcity+"|");
                         p.println(strstate);
                         System.out.println("Record Saved");
                         reset();
                         p.close();
                 catch (Exception e)
                         System.err.println ("Error writing to file");
    class MyLogin extends JInternalFrame implements ActionListener
         JFrame loginframe;
         JLabel labelname;
         JLabel labelpassword;
         JTextField textname;
         JPasswordField textpassword;
         JButton okbutton;
         String name = "";
         FileOutputStream out;
         PrintStream p;
         Date date;
         GregorianCalendar gcal;
         GridBagLayout gl;
         GridBagConstraints gbc;
         public MyLogin()
              super("Login",true,true,true,true);
              setSize(400,300);
              gl = new GridBagLayout();
              gbc = new GridBagConstraints();
              labelname = new JLabel("User");
              labelpassword = new JLabel("Password");
              textname = new JTextField("",9);
              textpassword = new JPasswordField(5);
              okbutton = new JButton("OK");
              gbc.anchor = GridBagConstraints.NORTHWEST;
              gbc.gridx = 1;
              gbc.gridy = 5;
              gl.setConstraints(labelname,gbc);
              gbc.anchor = GridBagConstraints.NORTHWEST;
              gbc.gridx = 2;
              gbc.gridy = 5;
              gl.setConstraints(textname,gbc);
              gbc.anchor = GridBagConstraints.NORTHWEST;
              gbc.gridx = 1;
              gbc.gridy = 10;
              gl.setConstraints(labelpassword,gbc);
              gbc.anchor = GridBagConstraints.NORTHWEST;
              gbc.gridx = 2;
              gbc.gridy = 10;
              gl.setConstraints(textpassword,gbc);
              gbc.anchor = GridBagConstraints.NORTHWEST;
              gbc.gridx = 1;
              gbc.gridy = 15;
              gl.setConstraints(okbutton,gbc);
              Container contentpane = getContentPane();
              contentpane.setLayout(gl);
              contentpane.add(labelname);
              contentpane.add(labelpassword);
              contentpane.add(textname);
              contentpane.add(textpassword);
              contentpane.add(okbutton);
              okbutton.addActionListener(this);
         public void reset()
              textname.setText("");
              textpassword.setText("");
         public void run()
              try
                   String text = textname.getText();
                   String blank="";
                   if(text.equals(blank))
                      System.out.println("First Enter a UserName");
                   else
                        if(text != blank)
                             date = new Date();
                             gcal = new GregorianCalendar();
                             gcal.setTime(date);
                             out = new FileOutputStream("log.txt",true);
                             p = new PrintStream( out );
                             name = textname.getText();
                             String entry = "UserName:- " + name + " Logged in:- " + gcal.get(Calendar.HOUR) + ":" + gcal.get(Calendar.MINUTE) + " Date:- " + gcal.get(Calendar.DATE) + "/" + gcal.get(Calendar.MONTH) + "/" + gcal.get(Calendar.YEAR);
                             p.println(entry);
                             System.out.println("Record Saved");
                             reset();
                             p.close();
              catch (IOException e)
                   System.err.println("Error writing to file");
         public void actionPerformed(ActionEvent ae)
              String str = ae.getActionCommand();
              if(str.equals("OK"))
                   run();
                   loginframe.setDefaultCloseOperation(DISPOSE_ON_CLOSE);
    }

    hai!.
    i am happy to help you.Below is the modified code of ur program.if u still have problem please post.
    import javax.swing.*;
    import javax.swing.event.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.util.*;
    public class MainFrame extends JFrame implements ActionListener
         JDesktopPane desktop;
         JMenuBar menubar;
         JMenu menu,menuemployee;
         public JMenuItem menuitemlogin;
         JMenuItem menuitemquit,itememployee;
         public MainFrame()
              super("MainFrame");
              int inset = 50;
              Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
              setBounds(inset,inset,screenSize.width - inset*2,screenSize.height - inset*2);
              desktop = new JDesktopPane();
              desktop.setBackground(Color.white);
              setContentPane(desktop);
              desktop.setDragMode(JDesktopPane.OUTLINE_DRAG_MODE);
              setJMenuBar(createMenuBar());
              //createLogin();
         public JMenuBar createMenuBar()
              menubar = new JMenuBar();
              menu = new JMenu("Document");
              menu.setMnemonic(KeyEvent.VK_D);
              menuitemlogin = new JMenuItem("Login");
              menuitemlogin.setMnemonic(KeyEvent.VK_L);
              menuitemlogin.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_L, ActionEvent.ALT_MASK));
              menuitemlogin.setActionCommand("login");
              menuitemlogin.addActionListener(this);
              menuitemquit = new JMenuItem("Quit");
              menuitemquit.setMnemonic(KeyEvent.VK_Q);
              menuitemquit.setAccelerator(KeyStroke.getKeyStroke( KeyEvent.VK_Q, ActionEvent.ALT_MASK));
              menuitemquit.setActionCommand("quit");
              menuitemquit.addActionListener(this);
              menubar.add(menu);
              menu.add(menuitemlogin);
              menu.add(menuitemquit);
              itememployee = new JMenu("Employee");
              itememployee.setMnemonic(KeyEvent.VK_E);
              itememployee.setActionCommand("employee");
    //added this line to disable the itememployee item button     
              itememployee.setEnabled(false);
    //use above the displaying menus all are "JAbstractButton" itememployee.disable();
              menubar.add(itememployee);
              JMenuItem additem = new JMenuItem("Add");
              additem.setMnemonic(KeyEvent.VK_A);
              additem.setActionCommand("add");
              additem.addActionListener(this);
              itememployee.add(additem);
              return menubar;
         public void actionPerformed(ActionEvent ae)
              String str = ae.getActionCommand();
              if(str.equals("login"))
    //added this line to disable login menu:
    menuitemlogin.setEnabled(false);
                   createLogin();
              else if(str.equals("quit"))
                   System.exit(0);
              else if(str.equals("add"))
                   System.out.println("Employee Form Invoked");
                   createEmployee();
         private static void createAndShowGUI()
              JFrame.setDefaultLookAndFeelDecorated(true);
              MainFrame frame = new MainFrame();
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              frame.setSize(800,600);
              frame.setVisible(true);
         public static void main(String a[])
              createAndShowGUI();
         public void createLogin()
              Login loginobj = new Login();
              loginobj.setVisible(true);
              //itememployee.enable();
              desktop.add(loginobj);
         public void createEmployee()
              Employee employeeobj = new Employee();
              employeeobj.setVisible(true);
              desktop.add(employeeobj);
    class Employee extends JInternalFrame implements ActionListener
         JFrame employeeframe;
         JLabel labelfirstname;
         JLabel labellastname;
         JLabel labelage;
         JLabel labeladdress;
         JLabel labelcity;
         JLabel labelstate;
         JTextField textfirstname;
         JTextField textlastname;
         JTextField textage;
         JTextField textaddress;
         JTextField textcity;
         JTextField textstate;
         JButton buttonsave;
         FileOutputStream out;
         PrintStream p;
         String strfirstname,strlastname,strage,straddress,strcity,strstate;
         GridBagLayout gl;
         GridBagConstraints gbc;
         public Employee()
              super("Employee Details",true,true,true,true);
              setSize(400,300);
              labelfirstname = new JLabel("First Name");
              labellastname = new JLabel("Last Name");
              labelage = new JLabel("Age");
              labeladdress = new JLabel("Address");
              labelcity = new JLabel("City");
              labelstate = new JLabel("State");
              textfirstname = new JTextField(10);
              textlastname = new JTextField(10);
              textage = new JTextField(5);
              textaddress = new JTextField(15);
              textcity = new JTextField(10);
              textstate = new JTextField(10);
              buttonsave = new JButton("Save");
              gl = new GridBagLayout();
              gbc = new GridBagConstraints();
              gbc.anchor = GridBagConstraints.NORTHWEST;
              gbc.gridx = 1;
              gbc.gridy = 3;
              gl.setConstraints(labelfirstname,gbc);
              gbc.anchor = GridBagConstraints.NORTHWEST;
              gbc.gridx = 3;
              gbc.gridy = 3;
              gl.setConstraints(textfirstname,gbc);
              gbc.anchor = GridBagConstraints.NORTHWEST;
              gbc.gridx = 1;
              gbc.gridy = 5;
              gl.setConstraints(labellastname,gbc);
              gbc.anchor = GridBagConstraints.NORTHWEST;
              gbc.gridx = 3;
              gbc.gridy = 5;
              gl.setConstraints(textlastname,gbc);
              gbc.anchor = GridBagConstraints.NORTHWEST;
              gbc.gridx = 1;
              gbc.gridy = 7;
              gl.setConstraints(labelage,gbc);
              gbc.anchor = GridBagConstraints.NORTHWEST;
              gbc.gridx = 3;
              gbc.gridy = 7;
              gl.setConstraints(textage,gbc);
              gbc.anchor = GridBagConstraints.NORTHWEST;
              gbc.gridx = 1;
              gbc.gridy = 9;
              gl.setConstraints(labeladdress,gbc);
              gbc.anchor = GridBagConstraints.NORTHWEST;
              gbc.gridx = 3;
              gbc.gridy = 9;
              gl.setConstraints(textaddress,gbc);
              gbc.anchor = GridBagConstraints.NORTHWEST;
              gbc.gridx = 1;
              gbc.gridy = 11;
              gl.setConstraints(labelcity,gbc);
              gbc.anchor = GridBagConstraints.NORTHWEST;
              gbc.gridx = 3;
              gbc.gridy = 11;
              gl.setConstraints(textcity,gbc);
              gbc.anchor = GridBagConstraints.NORTHWEST;
              gbc.gridx = 1;
              gbc.gridy = 13;
              gl.setConstraints(labelstate,gbc);
              gbc.anchor = GridBagConstraints.NORTHWEST;
              gbc.gridx = 3;
              gbc.gridy = 13;
              gl.setConstraints(textstate,gbc);
              gbc.anchor = GridBagConstraints.NORTHWEST;
              gbc.gridx = 3;
              gbc.gridy = 17;
              gl.setConstraints(buttonsave,gbc);
              Container contentpane = getContentPane();
              contentpane.setLayout(gl);
              contentpane.add(labelfirstname);
              contentpane.add(textfirstname);
              contentpane.add(labellastname);
              contentpane.add(textlastname);
              contentpane.add(labelage);
              contentpane.add(textage);
              contentpane.add(labeladdress);
              contentpane.add(textaddress);
              contentpane.add(labelcity);
              contentpane.add(textcity);
              contentpane.add(labelstate);
              contentpane.add(textstate);
              contentpane.add(buttonsave);
              buttonsave.addActionListener(this);
         public void reset()
              textfirstname.setText("");
              textlastname.setText("");
              textage.setText("");
              textaddress.setText("");
              textcity.setText("");
              textstate.setText("");
         public void actionPerformed(ActionEvent ae)
              String str = ae.getActionCommand();
              System.out.println(str);
              if(str.equalsIgnoreCase("Save"))
         try
         out = new FileOutputStream("myfile.txt",true);
         p = new PrintStream( out );
         strfirstname = textfirstname.getText();
         strlastname = textlastname.getText();
         strage = textage.getText();
         straddress = textaddress.getText();
         strcity = textcity.getText();
         strstate = textstate.getText();
         p.print(strfirstname+"|");
         p.print(strlastname+"|");
         p.print(strage+"|");
         p.print(straddress+"|");
         p.print(strcity+"|");
         p.println(strstate);
         System.out.println("Record Saved");
         reset();
         p.close();
         catch (Exception e)
         System.err.println ("Error writing to file");
    class Login extends JInternalFrame implements ActionListener,InternalFrameListener
         JFrame loginframe;
         JLabel labelname;
         JLabel labelpassword;
         JTextField textname;
         JPasswordField textpassword;
         JButton okbutton;
         String name = "";
         FileOutputStream out;
         PrintStream p;
         Date date;
         GregorianCalendar gcal;
         GridBagLayout gl;
         GridBagConstraints gbc;
         MainFrame obj = new MainFrame();
         public Login()
              super("Login",true,true,true,true);
              setSize(300,300);
              gl = new GridBagLayout();
              gbc = new GridBagConstraints();
              labelname = new JLabel("User");
              labelpassword = new JLabel("Password");
              textname = new JTextField("",9);
              textpassword = new JPasswordField(5);
              okbutton = new JButton("OK");
              okbutton.setMnemonic(KeyEvent.VK_O);
              gbc.anchor = GridBagConstraints.NORTHWEST;
              gbc.gridx = 1;
              gbc.gridy = 5;
              gl.setConstraints(labelname,gbc);
              gbc.anchor = GridBagConstraints.NORTHWEST;
              gbc.gridx = 2;
              gbc.gridy = 5;
              gl.setConstraints(textname,gbc);
              gbc.anchor = GridBagConstraints.NORTHWEST;
              gbc.gridx = 1;
              gbc.gridy = 10;
              gl.setConstraints(labelpassword,gbc);
              gbc.anchor = GridBagConstraints.NORTHWEST;
              gbc.gridx = 2;
              gbc.gridy = 10;
              gl.setConstraints(textpassword,gbc);
              gbc.anchor = GridBagConstraints.NORTHWEST;
              gbc.gridx = 1;
              gbc.gridy = 15;
              gl.setConstraints(okbutton,gbc);
              Container contentpane = getContentPane();
              contentpane.setLayout(gl);
              contentpane.add(labelname);
              contentpane.add(labelpassword);
              contentpane.add(textname);
              contentpane.add(textpassword);
              contentpane.add(okbutton);
              okbutton.addActionListener(this);
              this.addInternalFrameListener(this);
         public void reset()
              textname.setText("");
              textpassword.setText("");
         public void run()
              try
                   String text = textname.getText();
                   String blank="";
                   if(text.equals(blank))
              System.out.println("First Enter a UserName");
              JOptionPane.showMessageDialog(loginframe,"Enter UserName","Alert",JOptionPane.WARNING_MESSAGE);
                   else
                        if(text != blank)
                             date = new Date();
                             gcal = new GregorianCalendar();
                             gcal.setTime(date);
                             out = new FileOutputStream("log.txt",true);
                             p = new PrintStream( out );
                             name = textname.getText();
                             String entry = "UserName:- " + name + " Logged in:- " + gcal.get(Calendar.HOUR) + ":" + gcal.get(Calendar.MINUTE) + " Date:- " + gcal.get(Calendar.DATE) + "/" + gcal.get(Calendar.MONTH) + "/" + gcal.get(Calendar.YEAR);
                             p.println(entry);
                             System.out.println("Record Saved");
                             reset();
                             p.close();
                             System.out.println("Enabling itememployee");
                             obj.itememployee.enable();
    //hai boy add this line to enable itememployee menu:
    itememployee.setEnabled(true);
    // i added this line to close/dispose the internal login frame after ok button is pressed
    this.dispose();
              catch (IOException e)
                   System.err.println("Error writing to file");
         public void actionPerformed(ActionEvent ae)
              String str = ae.getActionCommand();
              if(str.equalsIgnoreCase("OK"))
                   try
                        run();
                        loginframe.setDefaultCloseOperation(DISPOSE_ON_CLOSE);
                   catch(Exception e)
    public void internalFrameClosing(InternalFrameEvent e){
    //added this line to again enable login menu if the user closed the login window
                   menuitemlogin.setEnabled(true);
    public void internalFrameOpened(InternalFrameEvent e) {  }
    public void internalFrameIconified(InternalFrameEvent e) {    }
    public void internalFrameDeiconified(InternalFrameEvent e) {   }
    public void internalFrameActivated(InternalFrameEvent e) {    }
    public void internalFrameDeactivated(InternalFrameEvent e) {    }
    public void internalFrameClosed(InternalFrameEvent e) {   }
    }

  • Problems while migrating to Mail 6 - Mountain Lion

    Is there a way ro recover lost mails while migrating to Mountain Lion ?  And why did I loose all the mails in the first place ?
    After the upgrade to Mountain Lion, on July 27, I started Mail and I could read or retreive mails from 2 different POP accounts (Bluewin/Swisscom and Skynet/Belgacom). I checked the configuration of the 2 POP accounts and I used the tool provided by Swisscom i.e. SwisscomEmailRepair to no avail. All mail accounts on my Mac had, without any warning whatsoever, disappeared (including InBox and Sent items) ...
    Gmail and me.com mail accounts were reset without any problem. I have been struggling with the 2 POP a/c.  I checked with the Swisscom guys about their tool and they confirmed that it only modified "Servers, User name and password".
    It seems that I am not the only one with problems... any good advice is welcome :-)

    Finally, I found a solution.:-)
    When creating a mail account for Swisscom for example, you have no choice to the type of account. You get automatically an IMAP one. By forcing the Mac wizzard to build the account manually, by entering dummy info, I managed to reconfigure my mails in the way I wanted. However, It didn't work right away. Before creating manually the accounts, I suppressed all of them in the system preference. I took out all the login info in the key chain and then restarted the Mac.

  • Repainting problems of the Menu items in Oracle Help Navigator

    All,
    I am facing a strange problem when using Oracle Help for my application which is developed in Java,Swings.
    Whenever, I open Help for any component through my application, the menu items in the Help screen are not visible. They are not getting repainted. Only when user drags the mouse over the items, they are getting repainted and visible to the user. This has been raised as a bug by our testing people. I couldn't get any help in aspects of any errors/exceptions being logged when the action takes place.
    Where can I have the log files for Help window?
    Can anyone help me and guide me to the right solution in this regards.
    My environ is like this:
    Windows NT, JRE1.4, Oracle Help - ohj-jewt-4_1_16.jar,
    Thanks in advance for all.
    regards,
    Kishore.

    iweb2 navbar is rendered by javascript widget, therefore you can change navbar font style with javascript; this is an efficient way to change navbar font style.
    Copy and paste the following into your pages using HTML Snippet:
    <script type = 'text/javascript'>
    function changeNavbar() {
    navCSS = parent.document.getElementById('widget0-navbar');
    navCSS.style.fontSize = '0.75em'; // font size, change to less than 1em to change font smaller;
    navCSSbg = parent.document.getElementById('widget0-bg');
    navCSSbg.style.textAlign = 'center'; // navbar list alignment;
    clearInterval(chkNavbar);
    chkNavbar = setInterval('changeNavbar()', 500);
    note: You won't see the changes in iweb, but you will see the change when view the pages online - after publishing.

  • "Default " problem while migrating from mysql to oracle.

    I'm migrating from mysql3.23 to oracle9i via the OMWB tool.While migrating i'm getting an error message "Failed to create default for the table <table>:ora00907 missing right parenthesis".This error is due to the difference in the syntax used for the keyword "default" in mysql and oracle.In mysql we have to give after the Not Null option whereas in oracle we have to give before Not Null.
    The problem is i'm migrating via the OWMB tool.Is is possible to handle this error with the help of tool itself.
    Thanks
    Jai.M

    Jai, I'm having Frank have a look at this for you to see if we can replicate it ans help solve this issue for you. are there any issues logged on the mysql site regarding saving blobs as file?
    thanks
    Barry

  • How to resolve the encoding problem while migration from informix9.4

    When I migrate the informix9.4 database, there occur a error while migrate the data from informix to oracle.
    Because the source tables has a column which type is "vchar", the some row's data length more the 4000, so migration workbench convert this column type from "vchar" to "clob" automaticly. But when the worbench has created the oracle model, and then migrate the data, there occured this error:
    java.io.UnsupportedEncodingException: ISO2022CN_GB
    java.sql.SQLException: index miss IN or OUT param:: 9
    +     at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)+
    +     at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)+
    +     at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:1536)+
    +     at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2900)+
    +     at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:2996)+
    +     at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:1473)+
    +     at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)+
    +     at oracle.mtg.migration.WorkerThread.run(Worker.java:268)+
    The encode in the source informix database is "zh_CN.gbk", and the encode in the destination database is "zh_CN.gbk", why this prompt the convert error?
    Another information is that excluding this table, other tables can migrated success.
    So, I guess this problem must has association with the type conversation which from "vchar" to "clob", can anyone help me with this, Thanks.

    Hello,
    well, the limit of 4000 is clear. From the Oracle® Migration Workbench Reference Guide for Informix Dynamic Server Migrations:
    VARCHAR(m,r)
    The Informix Dynamic Server VARCHAR data type stores varying length single-byte and multibyte character strings of letters, numbers. and symbols. The maximum size of this column is m, that can range from 1 to 255. The minimum reserved space is r. This is optional and defaults to 0 if not specified. The minimum reserved space can range from 0 to 255.
    The comparable Oracle data type is VARCHAR2(n) that also stores variable-length character strings. An Oracle VARCHAR2(n), however, can have a maximum string length of between 1 and 4000 specified for n.
    Specifying a minimum reserved space is useful if the data in a row is initially small but is expected to grow at a later date. If this is the case then, when migrating Informix Dynamic Server tables that contain VARCHAR columns consider increasing the PCTFREE value in the storage clause for these tables in the Oracle database. If this column is used in an index, then the PCTFREE values for the corresponding index storage should also be considered. For indexes based on VARCHAR columns, Informix Dynamic Server allocates the maximum storage.
    So it is not surprising that the workbench is converting a VARCHAR with a length of more than 4000 to a CLOB.
    But that does not explain the encoding exception. This might be a problem of the Informix JDBC driver.
    Is the Informix JDBC Driver Programmer's Guide helpful for you: http://publibfi.boulder.ibm.com/epubs/pdf/6435.pdf
    Can you reproduce the problem with a Java program against your Informix database using your Informix JDBC driver?
    Which version of Informix JDBC driver are you using?
    Best regards
    Wolfgang

  • Problem while migrating from JSF1.1 to JSF1.2

    I'm facing the following issues while migrating from WAS 6.1 to WAS7.0
    For this I have upgraded Jsf 1.1 to 1.2 and webmodule to 2.5, and following errors I'm having...
    1. Description     The method getExceptionMessageString(String) is undefined for the type Util
    2. Description The method getMyForm(UIComponent) in the type CommandLinkRenderer is not applicable for the arguments (FacesContext, UICommand)     
    3. Description     The method getName() is undefined for the type HtmlBasicRenderer.Param     LinkRendererWithName.java
    4. Description     The method getParamList(UIComponent) in the type HtmlBasicRenderer is not applicable for the arguments (FacesContext, UICommand)
    5. Description     The method getValue() is undefined for the type HtmlBasicRenderer.Param     LinkRendererWithName.java
    Any alternative methods to those above methods in JSF1.2?
    or am I need to upgrade any of the jaf dependencies?
    Any suggestions are appreciated.
    Thanks

    i_oss wrote:
    But you should consider implementing your Renderers only using the API and not extending the com.sun.faces.* implementation classes, or you might end up changing your code again on your next jsf updates.Hm, good thinking. I didn't think about the split between the API and the implementation.
    OT question on that subject: is it really good design to have that split? JSF, JAXB, JAX-WS, even CDI has an API and an implementation part to it. But do we really need that? In the case of JSF, you have Mojarra and Myfaces (and some other obscure JSF implementation I believe). But why would you use Myfaces over Mojarra since they both solve the same problem and are both actively developed? Why do we have to deal with API/implementation conflict hell that you can often find when using JAXB, especially in a Mavenized environment? We have Weld as the implementation for CDI. What would move anyone to make a 'competing' implementation of it?
    For something like JPA I can at least understand it; the persistence providers were already there before JPA saw the light of day. There was no need for Sun to create a competing implementation, so they provided the API in stead. But in all other cases... I just don't get it.

  • Urgent : problem while migrating from forms 6i to 9i

    We are trying to upgrade forms 6i to forms 9i.
    One of our forms is using the host command to call a shell script . This command worked successfully in the form when it was
    in character mode in forms 6i. But we are facing problems while deploying it on web using forms9i.
    Would appreciate an early response.
    Regards ,
    Pooja

    Hi Pooja,
    1. Please check out the script by running it manually in the App Server Machine.
    2. If you are using any environment variables in the shell script, that are not defined in the shell script itself, then try defining in the shell script itself. Because, the environment variable that you are using might not be availble for the script while running using host.
    HTH,
    Regards,
    Arun

  • Problem while migrating to Flex 4

    Hi,
    I am moving my application to Flex 4 from Flex 3. I have few pages in my application where I have charts. Those are pages are not loading at all. All the other pages are working fine. Can someone help me in this respect.
    Thanks in advance,
    Nirmal Kumar Bhogadi.

    No I am not embedding any fonts. To test, I just declared <mx:ColumnChart/> in one of the pages and the page did not load at all. Is there anything that I need to add while migrating to Flex 4.

  • Problem while migrating from Sybase to Oracle using Quick Migrate

    Hi,
    For SQL Developer version 2.1, while migrating from sybase to oracle, Using Quick migrate, during data move step, for the rows having ''(Blank) values in TEXT data type in SYBASE, which is convertd to CLOB in Oracle, the migration for that table terminates at that row.
    However, NULL values in Sybase TEXT data type are successfully inserted in Oracle CLOB.
    How can we overcome this?

    reproduced and see exception in console, bug logged.
    Edited by: Jade Zhong on Feb 1, 2010 6:10 PM

  • Tabular from problems while migrated from APEX 3.0 to 4.0.2

    We are planning to upgrade our existing applications from 3.0 to 4.0, but I have noticed a few things about the tabular forms.
    1. The wizard generated tabular form with checkboxes (and "select all" checkbox in the heading) functionality stopped working. The form has a link to the details page as a first column, and updateable column and checkboxes as the last two columns of the form. After the upgrade to 4.0 the "select all" checkbox is moved as a first heading while the checkboxes are still being the last column of the form and the form stopped working... unless you move the checkboxes as the first column in the form. It makes the form looking a little bit awkward (checkboxes, then the image link to the details page, then other columns and the updateable column at the end) and also inconvenient to jump from the left to the right for each record...
    2. The tabular for still displays the headings and the export to csv link even when no data found... in 3.0 none of these happens.
    Does anyone have any solution/work around for these?
    Thank you.
    Zhanna.

    Finally finally found the problem.
    The login page 101 was using a page template called "login". This template's Footer had a #FORM_CLOSE# text substitution tag that was commented out. As soon as I uncommented the tag out it worked.
    Obviously this tag wasn't so critical in pre 4.1 and 4.2 hence why the problem wasn't previously exposed.
    This is what the #FORM_CLOSE# tag causes to be generated within the HTML. I'm guessing that the page submit handler is looking for the hidden MD5 checksum item in order to prevent page manipulation of sorts. Because it can't find the tag it's throwing the error message.
    <input type="hidden"
           name="p_md5_checksum"
           value=""  />
    <input type="hidden"
           name="p_page_checksum"
           value="B1CDAA06FE82920960DC892FC092C827"
           id="pPageChecksum" />
    </form>
    NOTE: The original template did not have a closing </form> html tag, so not sure how it ever worked in apex 4.0 or prior. It's certainly not visible looking at the HTML. Perhaps Apex 4.0 is less sensitive about that.

  • Problem while creating new item in the sale order  in case of  Thirdparty

    Dear Gurus
    The following error is coming
    while adding the new item with quantity  in the sale order in case of third party  .
    Error Info...   00 671: ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC
    Update key...   482ACBD89C7D0067E10080000A8C681C
    Can give any idea abt this.
    Rgds
    Surya

    Hi
    This error comes up due to number range problem in the
    tables.
    As you have said this is a third party Sales order, just check if this is relevant to the PR being generated or the Sales order getting created.
    Check the Current number of the PR document type in the EBAN table & check if it is the same for the Number ranges in customizingin OMH7.
    If they are not the same... & the current number in OMH7 is smaller than the Number in the table EBAN , you need to change the current number  equal to the EBAN table.
    If this is the case fior sales orders similarly check for Sales order table & sales order number range object.
    reward points if useful
    Thanks & Regards
    Kishore

  • Problem while migrating the extensions from one instance to the other.

    Hi,
    We are using kintana workbench to migrate the objects from one instance to the other. But after migrating From Instance1 to Intance2 it ws fine. Working properly in Instance2. But when the same package is migrated to Instance3, all are migrated successfully and log files are showing proerly. But when i access the pages in Instance3, I am getting the errors on the page above like this:
    ViewObject attribute is null; ViewUsageName: (ScorecardSummaryVO1); RegionItem: (LastUpdateLogin)
    Can some let me know what could be the problem.
    Thanks.

    user555006,
    Error shows that LastUpdateLogin item on the page has no proper VO attribute attached. Hence it seems that the MDS data is not updated properly. Upload the page again and test.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Problem while migrating from Was6.1 to WAS7.1

    I'm in the process of upgrading WAS v6 to WAS V7, so for that first i'm upgrading JSF 1.1 to 1.2.
    I just changed faces-config.xml and org.eclipse.wst.common.project.facet.core.xml version 1.1 to 1.2.
    I thought these 2 changes are good to upgrade JSF.
    but I'm seeing the following error.
    Error creating component com.ibm.ws.runtime.component.CompositionUnitMgrImpl@20f620f6
    com.ibm.ws.exception.RuntimeWarning: com.ibm.ws.webcontainer.exception.WebAppNotLoadedException: Failed to load webapp: Failed to load webapp: Failed to process bindings for metadata
         at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:382)
    Any ideas around this problem would be appreciated.
    Thanks
    Edited by: user5447944 on Jun 6, 2011 7:30 AM

    Hi,
    We are migrating WAS6.0 to WAS 7.0 - JSF1.1 to JSF1.2
    We have modified faces-config file as per your suggestion. But while trying to access the application we are getting the below error,
    [6/7/11 22:40:36:520 EDT] 00000037 SystemOut O 2011-06-07 22:40:36,519 [WebContainer : 0 - ClientControllerServlet - ] DEBUG - action=locales
    [6/7/11 22:40:36:537 EDT] 00000037 AdfFacesFilte W oracle.adf.view.faces.webapp.AdfFacesFilterHelper verifyFilterIsInstalled The AdfFacesFilter has not been installed. ADF Faces requires this filter for proper execution.
    [6/7/11 22:40:36:579 EDT] 00000037 lifecycle E JSF1054: (Phase ID: RESTORE_VIEW 1, View ID: "") Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@403b403b]
    [6/7/11 22:40:36:590 EDT] 00000037 SystemOut O 2011-06-07 22:40:36,590 [WebContainer : 0 - SessionCheckPhaseListener - ] DEBUG - page will be shown as user[null]
    [6/7/11 22:40:36:590 EDT] 00000037 SystemOut O 2011-06-07 22:40:36,590 [WebContainer : 0 - SessionCheckPhaseListener - ] DEBUG - show page[true]
    [6/7/11 22:40:36:591 EDT] 00000037 SystemOut O 2011-06-07 22:40:36,591 [WebContainer : 0 - CustomFacesServlet - ] ERROR - javax.servlet.ServletException: viewId:/brazil/web/brazil/client/languages.jsp - View /brazil/web/brazil/client/languages.jsp could not be restored.
    [6/7/11 22:40:36:869 EDT] 00000037 AdfFacesFilte E oracle.adfinternal.view.faces.webapp.AdfFacesFilterHelperImpl _setupJboDomainStuff
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:611)
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterHelperImpl._setupJboDomainStuff(AdfFacesFilterHelperImpl.java:192)
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterHelperImpl.init(AdfFacesFilterHelperImpl.java:64)
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.init(AdfFacesFilterImpl.java:96)
    at oracle.adf.view.faces.webapp.AdfFacesFilter.init(AdfFacesFilter.java:58)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.init(FilterInstanceWrapper.java:140)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager._loadFilter(WebAppFilterManager.java:548)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.loadFilter(WebAppFilterManager.java:462)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterInstanceWrapper(WebAppFilterManager.java:319)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterChain(WebAppFilterManager.java:379)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:860)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:934)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502)
    at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:179)
    at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3933)
    at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:276)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:931)
    at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:445)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:504)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:301)
    at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
    at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
    at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
    at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
    at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
    at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
    at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
    at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1604)
    Caused by: java.lang.IllegalStateException: ELResolvers cannot be added after the application initialization is complete.
    at com.sun.faces.application.ApplicationImpl.setPropertyResolver(ApplicationImpl.java:424)
    at oracle.adfinternal.view.faces.webapp.AdfModelHelper.init(AdfModelHelper.java:37)
    ... 34 more
    Could you please help us to resolve this issue?
    Regards,
    Mohanraj M

Maybe you are looking for

  • Activation Server Error Trying to Add A Book To Device

    So I downloaded an ebook book from my library, where I hoped to add to my Kobo E ink reader using digital editions. I have added e books using ADE before however they were just ones I downloaded for free from online and not borrowed from a library. T

  • AMOUNT IN BACK GROUND

    Hi friends, i got some problem in alv grid while i am running it in back ground. my report contains some currency(amount) field in out put. when i am removing the amount field it is good result in back ground. but when it consist of amount field it i

  • My iphone is locked, need to unlock it.

    I have purchased an iphone from a friend. He bought it from USA and sod it to me. The phone shows Verizon lock. I need to unlock it. Kindly Help!

  • Help Please : Cron Job to automate load process

    Hi I am trying to automate data load process. I am loading data into a number of tables from flat files. Currently I have a UNIX (SunOS) file with a bunch of SQLLDR commands and I changed permission on this file to executable. Every morning I execute

  • Is it possible to obtain row #

    when inserting a new record is it possible to obtain the row # of the just inserted record. Im using MS SQL 7.0 Thank u for your time