Exception getting while creating a login page

Hi,
I am trying to redesign my portal's login screen. For that i have downloaded <b>"com.sap.portal.runtime.logon.par.bak"</b> file created a new portal application named <b>com.test.login</b> and imported the par file from com.sap.portal.runtime.logon.par.bak.
I have exported the PAR file and deployed it to Portal. I checked <b>"<J2eeinstance>\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\deployment\pcd"</b> folder after upload and the file is there in the server.
I have changed the <b>"authschemes.xml"</b> file accordingly. But when i restarted the cluster and called the login page, i got an exception like givel below,
Portal Runtime Error
<b>An exception occurred while processing a request for :
iView : N/A
Component Name : N/A</b>
When i checked the log file, I found the exception logged as <b>"Could not instantiate implementation class com.sapportals.portal.ume.component.logon.SAPMLogonCertComponent of Portal Component com.test.login.certlogon because: Could not find implementation class "</b>
<b><i>I didn't changed any files in the PAR file during developement. It is a copy of the original com.sap.portal.runtime.logon.par.bak file,</i></b>
Can you please point out what could be missing in between?
Best regards,
Sudheesh

Hi
   I got this error once. The problem is that while importing, the jar files don't get imported. Try including these two jars (umlogonbase.jar and
com.sap.portal.runtime.logon_api.jar) from
usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\com.sap.portal.runtime.logon\lib
and copy manually to the lib folder under PORTAL-INF in your project and then export your new par file.
Regards
Harini S
Message was edited by: Harini Subramanian

Similar Messages

  • Running into Exception while Creating new Login Page for Security

    Hi,
    I am following ADF Developers Guide to create a new login page ,so that whenever a page is run , first it redirects to Login page first and on Button click it
    goes to the Original page which was run.
    This is my Login bean code for doLogin()
    public String doLogin(){
    String un = _username;
    byte[] pw = _password.getBytes();
    FacesContext ctx = FacesContext.getCurrentInstance();
    HttpServletRequest request = (HttpServletRequest)ctx.getExternalContext().getRequest();
    try {
    CallbackHandler handler = new URLCallbackHandler(un, pw);
    Subject mySubj = weblogic.security.services.Authentication.login(handler);
    weblogic.servlet.security.ServletAuthentication.runAs(mySubj, request);
    ServletAuthentication.generateNewSessionID(request);
    //String loginUrl = "/adfAuthentication?success_url=/faces/viewactivityname";
    //sendForward(loginUrl);
    } catch (FailedLoginException fle) {
    FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_ERROR,"Incorrect Username or Password","An incorrect Username or Password" +" was specified");
    ctx.addMessage(null, msg);
    setPassword(null);
    } catch (LoginException le) {
    reportUnexpectedLoginError("LoginException", le);
    return null;
    Now the Dev guide says that :: "Specifically, without specifying a view activity as the
    redirect target, command components, such as the commandButton
    component, will always return to the original page after login."
    Hence I have commented out the code for the call to sendForward().
    As soon as I press the button I am running into an error :: "javax.faces.el.EvaluationException: java.lang.NullPointerException"
    ]] Root cause of ServletException.
    javax.faces.el.EvaluationException: java.lang.NullPointerException
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:787)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1252)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.NullPointerException
         at oracle.sample.view.LoginBean.doLogin(LoginBean.java:60)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
    These are the steps which I followed ::
    a) Created Managed bean class and registered it to adfc.config.xml
    b) Created a Custom Login Page say Login.jspx and created a DataBound Page say EmpDetails.jspx
    c) Made sure that My Login page is custom Login Page
    d) Command Button has the Action Property set to LoginBean.doLogin
    e) Configured security and has only one user, no roles and assigned the user to access the page
    e) When I run EmpDetails.jspx , I am redirected to Login page as expected but as soon as I press
    Login "CommandButton" it throws this error.
    Any pointers.
    Regards,
    Nikhil Misra

    Hi Puthanampatti,
    In that ase what would be my sendForward() mthod look like.
    Currently as per the Dev guide it is :
    private void sendForward(String forwardUrl) {
    FacesContext ctx = FacesContext.getCurrentInstance();
    try {
    ctx.getExternalContext().redirect(forwardUrl);
    } catch (IOException ie) {
    reportUnexpectedLoginError("IOException", ie);
    ctx.responseComplete();
    I understand tat there would be change in parameters like sendForward(HttpServletRequest request,HttpServletResponse response,String forwardUrl),
    but how would the other parameters work.
    Regards,
    Nikhil Misra

  • I m using ms access as database and i want to create a login page in java

    hye frnz... plz help me m new to java
    m using ms access as database and try to create a login page where user type username and pw
    i had enter valid user entries in database i checked connectivity is working i want as user login the main window must open after checking username and pw field to database but
    now there is an error class not found exception sun:jdbc...... error
    plz help me i had stuck frm 4 days */
    import java.sql.DriverManager;
    import java.sql.Connection;
    import java.sql.Statement;
    import java.sql.ResultSet;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    class Login extends JFrame
    //Component Declarations
    JLabel jlb1,jlb2;
         JTextField jtf1;
         JPasswordField jpf1;
         JButton jb1,jb2;
         //Constructor
         Login()
         //frame settings
              setTitle("Login Dialog");
              setLayout(new GridBagLayout());
              GridBagConstraints gbc = new GridBagConstraints();
              setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
              Dimension d= Toolkit.getDefaultToolkit().getScreenSize();
              setBounds(d.width/2-175,d.height/2-100,350,200);
              gbc.insets=new Insets(7,7,7,7);
         //adding components
              jlb1=new JLabel("User ID");
              gbc.gridx=0;
              gbc.gridy=0;
              add(jlb1,gbc);
              jlb2=new JLabel("Password");
              gbc.gridx=0;
              gbc.gridy=1;
              add(jlb2,gbc);
              jtf1=new JTextField(10);
              gbc.gridx=1;
              gbc.gridy=0;
              add(jtf1,gbc);
              jpf1=new JPasswordField(10);
              gbc.gridx=1;
              gbc.gridy=1;
              add(jpf1,gbc);
              jb1=new JButton("Login");
              gbc.gridx=0;
              gbc.gridy=2;
              add(jb1,gbc);
              jb1.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent ae)
                   Connection conn=null;
                        Statement stmt=null;
                        boolean found=false;
                   try
                             Class.forName("sun.jdbc.driver.JdbcOdbcDriver");
                             String dataSourceName = "Inventory";
                             String dbURL = "jdbc:odbc:" + dataSourceName;
                             conn=DriverManager.getConnection(dbURL, "","");
                             stmt=conn.createStatement();
                             ResultSet rst=stmt.executeQuery("Select * from User");
                             System.out.println(jtf1.getText()+"/t"+jpf1.getPassword());
                             while(rst.next())
                                  System.out.println( rst.getString(1) +"/t"+ rst.getString(2));
              if(jtf1.getText().equals(rst.getString(1).trim()) && new String(jpf1.getPassword()).equals(rst.getString(2).trim()))
                                       found=true;
                                       rst.close();
                                       dispose();
                                       MainWindow mw= new MainWindow();     /*created min window object created to be opend after login but not working*/     
                                       break;
                             rst.close();
                             stmt.close();
                             conn.close();                    
                        catch(ClassNotFoundException e){System.out.print(e);}
                        catch(Exception e){System.out.print(e);}
                        if(found==false) /*this portion is executing and dialog box appears invalid name and pw with class not found exception sun:jdbc.......on console */
                             JOptionPane.showMessageDialog(null,"Invalid username or password",
                                  "Error Message",JOptionPane.ERROR_MESSAGE);
              jb2=new JButton("Clear");
              gbc.gridx=1;
              gbc.gridy=2;
              add(jb2,gbc);
              jb2.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent ae)
                        jtf1.setText("");
                        jpf1.setText("");
                        jtf1.requestFocus();
              setSize(350,200);
              setVisible(true);
              jtf1.requestFocus();
         public static void main(String args[])
    Login l=new Login();
    }

    http://forums.oracle.com/forums/ann.jspa?annID=599
    Oh, and by the way, your keyboard seems to be broken as your words are not getting spelled correctly.

  • Plz help using ms access as database,i want to create a login page in java

    hye frnz... plz help me m new to java
    m using ms access as database and try to create a login page where user type username and pw
    i had enter valid user entries in database i checked connectivity is working i want as user login the main window must open after checking username and pw field to database but
    now there is an error class not found exception sun:jdbc...... error
    plz help me i had stuck frm 4 days */
    import java.sql.DriverManager;
    import java.sql.Connection;
    import java.sql.Statement;
    import java.sql.ResultSet;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    class Login extends JFrame
    //Component Declarations
    JLabel jlb1,jlb2;
         JTextField jtf1;
         JPasswordField jpf1;
         JButton jb1,jb2;
         //Constructor
         Login()
         //frame settings
              setTitle("Login Dialog");
              setLayout(new GridBagLayout());
              GridBagConstraints gbc = new GridBagConstraints();
              setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
              Dimension d= Toolkit.getDefaultToolkit().getScreenSize();
              setBounds(d.width/2-175,d.height/2-100,350,200);
              gbc.insets=new Insets(7,7,7,7);
         //adding components
              jlb1=new JLabel("User ID");
              gbc.gridx=0;
              gbc.gridy=0;
              add(jlb1,gbc);
              jlb2=new JLabel("Password");
              gbc.gridx=0;
              gbc.gridy=1;
              add(jlb2,gbc);
              jtf1=new JTextField(10);
              gbc.gridx=1;
              gbc.gridy=0;
              add(jtf1,gbc);
              jpf1=new JPasswordField(10);
              gbc.gridx=1;
              gbc.gridy=1;
              add(jpf1,gbc);
              jb1=new JButton("Login");
              gbc.gridx=0;
              gbc.gridy=2;
              add(jb1,gbc);
              jb1.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent ae)
                   Connection conn=null;
                        Statement stmt=null;
                        boolean found=false;
                   try
                             Class.forName("sun.jdbc.driver.JdbcOdbcDriver");
                             String dataSourceName = "Inventory";
                             String dbURL = "jdbc:odbc:" + dataSourceName;
                             conn=DriverManager.getConnection(dbURL, "","");
                             stmt=conn.createStatement();
                             ResultSet rst=stmt.executeQuery("Select * from User");
                             System.out.println(jtf1.getText()+"/t"+jpf1.getPassword());
                             while(rst.next())
                                  System.out.println( rst.getString(1) +"/t"+ rst.getString(2));
              if(jtf1.getText().equals(rst.getString(1).trim()) && new String(jpf1.getPassword()).equals(rst.getString(2).trim()))
                                       found=true;
                                       rst.close();
                                       dispose();
                                       MainWindow mw= new MainWindow();     /*created min window object created to be opend after login but not working*/     
                                       break;
                             rst.close();
                             stmt.close();
                             conn.close();                    
                        catch(ClassNotFoundException e){System.out.print(e);}
                        catch(Exception e){System.out.print(e);}
                        if(found==false) /*this portion is executing and dialog box appears invalid name and pw with class not found exception sun:jdbc.......on console */
                             JOptionPane.showMessageDialog(null,"Invalid username or password",
                                  "Error Message",JOptionPane.ERROR_MESSAGE);
              jb2=new JButton("Clear");
              gbc.gridx=1;
              gbc.gridy=2;
              add(jb2,gbc);
              jb2.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent ae)
                        jtf1.setText("");
                        jpf1.setText("");
                        jtf1.requestFocus();
              setSize(350,200);
              setVisible(true);
              jtf1.requestFocus();
         public static void main(String args[])
    Login l=new Login();
    Edited by: 795772 on Sep 19, 2010 4:44 AM

    795772 wrote:
    hye frnz... plz help me m new to java
    m using ms access as database and try to create a login page where user type username and pw
    i had enter valid user entries in database i checked connectivity is working i want as user login the main window must open after checking username and pw field to database but
    now there is an error class not found exception sun:jdbc...... error
    plz help me i had stuck frm 4 days */
    <snip>The subject of this forum is Oracle databases. How does your problem relate to that subject?
    Two bits of advice:
    1) Make sure you ask questions in a forum related to your problem.
    2) If you want to be taken seriously as a professional, drop the MS IM Speak and use the language of the forum. In this forum it is English, which is successfully used by many people for whom English is far from their native language.

  • How to get rid of the Login page in Portal?

    Hi Guys,
    I have a newly developed intranet portal project for my company which does not need login no more. I hope you can help me how to get rid of the login page in portal which is I know in every application you create, there should be a login. Is this possible that I can just simply type in to the URL address bar my application then it will no longer ask for any logins? Please help! Many thanks!
    Russel

    Hi Russel,
    You can give public access to pages, applications etc. Users won't need to supply a username/password then, while you still can hide some of the pages to authorized people.
    Check the access tab for pages and the manage tab for applications.

  • An exception occured while creating a query in EntityManager

    I was directed to create a new topic rather than resurrect a long dead thread. I appreciate the correction in this.
    Persistence, Entity Manager, NetBeans 6.7.1, GlassFish v2.1, Database
    I am getting the following Stack Trace:
    [#|2009-12-08T16:22:06.171-0500|SEVERE|sun-appserver2.1|javax.faces|_ThreadID=18;_ThreadName=httpSSLWorkerThread-8080-1;_RequestID=390db479-49c0-47e5-bcdc-e5e07f871644;|javax.faces.event.AbortProcessingException: java.lang.IllegalArgumentException: An exception occured while creating a query in EntityManager
    javax.faces.event.AbortProcessingException: java.lang.IllegalArgumentException: An exception occured while creating a query in EntityManager
         at javax.faces.event.MethodExpressionValueChangeListener.processValueChange(MethodExpressionValueChangeListener.java:82)
         at javax.faces.event.ValueChangeEvent.processListener(ValueChangeEvent.java:123)
         at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:746)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:416)
         at sun.reflect.GeneratedMethodAccessor290.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.faces.extensions.avatar.components.PartialTraversalViewRootHelper.broadcastEvents(PartialTraversalViewRootHelper.java:500)
         at com.sun.faces.extensions.avatar.components.PartialTraversalViewRootHelper.processValidators(PartialTraversalViewRootHelper.java:267)
         at com.sun.faces.extensions.avatar.components.PartialTraversalViewRootImpl.processValidators(PartialTraversalViewRootImpl.java:152)
         at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:100)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
         at com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.execute(PartialTraversalLifecycle.java:94)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
         at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
         at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647)
         at com.sun.enterprise.web.connector.grizzly.comet.CometEngine.executeServlet(CometEngine.java:609)
         at com.sun.enterprise.web.connector.grizzly.comet.CometEngine.handle(CometEngine.java:356)
         at com.sun.enterprise.web.connector.grizzly.comet.CometAsyncFilter.doFilter(CometAsyncFilter.java:84)
         at com.sun.enterprise.web.connector.grizzly.async.DefaultAsyncExecutor.invokeFilters(DefaultAsyncExecutor.java:175)
         at com.sun.enterprise.web.connector.grizzly.async.DefaultAsyncExecutor.interrupt(DefaultAsyncExecutor.java:153)
         at com.sun.enterprise.web.connector.grizzly.async.AsyncProcessorTask.doTask(AsyncProcessorTask.java:92)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
         at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    Caused by: java.lang.IllegalArgumentException: An exception occured while creating a query in EntityManager
         at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerImpl.createQuery(EntityManagerImpl.java:209)
         at com.davisco.web.jpa.controllers.EmpdataJpaController.findEmpdataEntities(EmpdataJpaController.java:165)
         at com.davisco.web.jpa.controllers.EmpdataJpaJpaController.findEmpdataJpaEntities(EmpdataJpaJpaController.java:155)
         at com.davisco.web.jpa.controllers.EmpdataJpaJpaController.findEmpdataJpaEmpnoEntities(EmpdataJpaJpaController.java:214)
         at com.davisco.web.jsf.EmpdataController.getEmployeesByEmpno(EmpdataController.java:471)
         at com.davisco.web.jsf.EmpdataController.addEmployeeEmpnos(EmpdataController.java:439)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         ... 48 more
    Caused by: Exception [TOPLINK-8034] (Oracle TopLink Essentials - 2.1 (Build b60e-fcs (12/23/2008))): oracle.toplink.essentials.exceptions.EJBQLException
    Exception Description: Error compiling the query [select object(o) from Empdata as o]. Unknown abstract schema type [Empdata].
         at oracle.toplink.essentials.exceptions.EJBQLException.unknownAbstractSchemaType(EJBQLException.java:494)
         at oracle.toplink.essentials.internal.parsing.ParseTreeContext.classForSchemaName(ParseTreeContext.java:163)
         at oracle.toplink.essentials.internal.parsing.SelectNode.getClassOfFirstVariable(SelectNode.java:366)
         at oracle.toplink.essentials.internal.parsing.SelectNode.getReferenceClass(SelectNode.java:354)
         ... 65 more
    It appears that problem
    |javax.faces.event.AbortProcessingException: java.lang.IllegalArgumentException: An exception occured while creating a query in EntityManager
    is actually caused by
    Exception Description: Error compiling the query [select object(o) from Empdata as o]. Unknown abstract schema type [Empdata].
    The Query is a very basic query.
         private EntityManagerFactory emf = javax.persistence.Persistence.createEntityManagerFactory("PersistPU");
         public EntityManager getEntityManager() {
              return emf.createEntityManager();
         private List<Empdata> findEmpdataEntities(boolean all, int maxResults, int firstResult) {
              EntityManager em = getEntityManager();
              try {
                   Query q = em.createQuery("select object(o) from Empdata as o"); // Problem line
                   if (!all) {
                        q.setMaxResults(maxResults);
                        q.setFirstResult(firstResult);
                   return q.getResultList();
              } finally {
                   em.close();
    I have reviewed my Configuration Files and Source Packages without solution.
    Where do I need to look or what do I need to do to determine the error?

    After reading similar discussion in the OTN Discussion page ( [Thread: Unknown abstract schema type |http://forums.oracle.com/forums/thread.jspa?threadID=602826] ) I reviewed how I was creating my EntityManagerFactory. I realize also more information is required for a more complete understanding of the circumstances.
    I originally created a project in Netbeans using the wizard to create a JSF Project from Entity Classes. Through trial and error I produced from the resulting JSF Web pages a maintenance project for a given table in the database. I was then given the task to split the table and build a new project utilizing the existing entity classes in a production project.
    After the table was split and the new entity classes created I then entered the task of starting a new project using the entity classes in the production project. To do this I used the Netbeans wizard to create the JpaControllers in the production project. I copied as much code as I could from the working table maintenance project I had just completed. I have now started to connect the two projects. I have included the production project with the entities as a library project. I created the persistence.xml file in the new project with the same persistence unit name as the production project. I have included the Toplink Extensions as a library in the new project (even though the production project has the entity classes). From what I have been able to glean I am thinking my EntityManagerFactory declaration may be misdirecting the finding of the Empdata schema in my new project. Here is how I declared my EntityManager in the example given:
    private EntityManagerFactory emf = javax.persistence.Persistence.createEntityManagerFactory("DvPersistPU");
         public EntityManager getEntityManager() {
              return emf.createEntityManager();
    Here is the wizard generated method which fails with a NullPointerException in the return statement:
         @PersistenceUnit(unitName = "PersistPU")
         private EntityManagerFactory emf = null;
         public EntityManager getEntityManager() {
              return emf.createEntityManager();
    Hopefully this will better help someone to direct me to determining the cause of my error or the error of my ways.
    NullPointerException stacktrace just mentioned:
    EmpdataController: getEmployeesByEmpno [0]
    AbortProcessingException thrown when processing event of type 'javax.faces.event.ValueChangeEvent' during phase 'PROCESS_VALIDATIONS 3' for component with ID or Client ID of 'srchEmp'
    javax.faces.event.AbortProcessingException: java.lang.NullPointerException
    javax.faces.event.AbortProcessingException: java.lang.NullPointerException
    at javax.faces.event.MethodExpressionValueChangeListener.processValueChange(MethodExpressionValueChangeListener.java:82)
    at javax.faces.event.ValueChangeEvent.processListener(ValueChangeEvent.java:123)
    at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:746)
    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:416)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.faces.extensions.avatar.components.PartialTraversalViewRootHelper.broadcastEvents(PartialTraversalViewRootHelper.java:500)
    at com.sun.faces.extensions.avatar.components.PartialTraversalViewRootHelper.processValidators(PartialTraversalViewRootHelper.java:267)
    at com.sun.faces.extensions.avatar.components.PartialTraversalViewRootImpl.processValidators(PartialTraversalViewRootImpl.java:152)
    at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:100)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
    at com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.execute(PartialTraversalLifecycle.java:94)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
    Caused by: java.lang.NullPointerException
    at com.company.web.jpa.controllers.EmpdataJpaController.getEntityManager(EmpdataJpaController.java:71)
    at com.company.web.jpa.controllers.EmpdataJpaController.findEmpdataEntities(EmpdataJpaController.java:163)
    at com.company.web.jpa.controllers.EmpdataJpaController.findEmpdataEntities(EmpdataJpaController.java:155)
    at com.company.web.jpa.controllers.EmpdataJpaController.findEmpdataEmpnoEntities(EmpdataJpaController.java:214)
    at com.company.web.jsf.EmpdataController.getEmployeesByEmpno(EmpdataController.java:471)
    at com.company.web.jsf.EmpdataController.addEmployeeEmpnos(EmpdataController.java:439)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    ... 49 more
    Would someone please help me know where to look next or point me in the direction to find the cause of the error(s)?
    Thank you.

  • How do you create a login page using dashcode for the iPhone's mobile safari that will transfer you to the next page?

         Hey I have created a login page in Dashcode for a mobile safari app (aka iphone web app) and I am having trouble since I can not find any useful info about multiple pages. I don't want to use a stack layout view because it is only a login page and I need to check with a database to make sure the user's login info is correct. Right now I have it set up so that it loads another iphone web app project once it validates the info.
         The only problem with this is I am having a good bit of trouble trying to pass values from my php code to javascript or html. For some reason calling the javascript inside the php code makes the actual code inside the app not be called and same with the echo statment for the html.
    So I would like to be able to create the app in this way:
    Login page > PHP > MS SQL > PHP > UNKNOWN (if I can't get the javascript or html to output both) > Secure info on the next page
         I believe It would be a lot easier if I had the option for a multiple page but instead I am having to load up an entirely new dashcode project. If anyone knows a better way please let me know. Or if anyone knows a link to good information on passing values from php to javascript, because I couldn't get any of the code I tried to work, I would really appreciate it.

    Addendum to previous reply:
    OK.  This is weird--but I should be used to that, and just grateful that it seems to work (for now).
    What I had done is FTPd some image files to my site using Filezilla, but when I had tried to access them, I was unsuccessful.  I am almost sure that I used the same url (and variations of it) as you suggested, namely,  http://mysite.verizon.net/username/filename , and it either did not work, or gave me the "Page under construction", or, in some cases asked me for my username and password.
    But, when I did it this time, it worked.  So I probably had something off, but I can now do what I want.
    By the way, if you'll permit another question, while on the site-builder site, it said that there was a "Web Photo Manager", and said that "To download the Web Photo Manager: Open the Site Builder application and go to the All My Sites page. Click on the Web Photo Manager link (listed under Advanced Building Tools )."  I can't find it--would you happen to know where it is?
    In any case, thanks a lot for all your help--it solved my problem. 

  • Homepage keeps getting redirected to gmail login page

    i startup ff to my homepage www.google.com/ig and it keeps getting redirected to gmail login page. I unistalled most recent addon's but problem not solved. doesn't matter what version of ff i install.

    To access the iGoogle page you need to be logged on to the Google server. <br />
    You need to make sure that you keep the Google cookie(s) that identify you.
    Such details are stored in a cookie.
    * Create an allow cookie exception (Tools > Options > Privacy > Cookies: Exceptions) to keep such a cookie, especially for secure websites and if cookies expire when Firefox is closed.
    * In [[Private Browsing]] mode all cookies are session cookies that expire if that session is ended, so websites won't remember you.
    * Do not use [[Clear Recent History]] to clear the "Cookies" and the "Site Preferences"
    Clearing "Site Preferences" clears all cookies, images, pop-up windows, software installation, and password exceptions.
    See also:
    * http://kb.mozillazine.org/Cookies

  • Dump error while creating a new page in smartforms URGENT pls!!!

    while creating a new page it is showing me a dump error , that the superior program execption was not intercepted , i have even given the next page field also correctly, i have attached a mainwindow to that page and a text element to that . .
    thanks
    sridhar

    Hi Deena,
    This error:
    "[2012-07-10T14:50:30.005+05:30] [wls_ods1] [ERROR] [] [oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000JXkC9dU3FClqwsJb6G1FyhO000003D,0] [APP: odsm#11.1.1.2.0] Server Exception during PPR, #7[[
    javax.servlet.ServletException: Could not initialize class com.octetstring.vde.admin.services.client.VDEAdminServiceSoapBindingStub"
    is known issue
    Go to metalink, article: Unable To Connect To OVD 11g Webinterface Using ODSM. [ID 1282757.1]
    You need to apply that patch.
    I hope this helps,
    Thiago Leoncio.

  • Strange error while creating form/report pages [ORA-20001]

    While creating two new pages with a form and report on it, I've got a strange error. I tried to create the pages several times, but I always got the same error:
    ORA-20001: Unable to create query and update page. ORA-20001: Unable to create form on table. ORA-20001: Error creating shortcut id="" ORA-00001: unique constraint (FLOWS_030000.WWV_FLOW_SHORTCUT_IDX1) violated
    Error creating query and update.
    Return to application.
    I'm using the wizard to get the pages, like I did many times before (without problems), but this time it will not work!
    Greetings,
    Jan

    Below is a view or sql query i want to create in XE to show users report on startdate,end date,road name,etc,i am having a problem making this view work when i put the code in the sql script. Kindly help me with this if you can please. Thanks. CREATE OR REPLACE FORCE VIEW "RESULTS_DETAILS_VIEW" ("STARTDATE","ENDDATE","ROAD","NAME","STATUS","TYPE","UTILITIES","DATES","LUTON",
    AS SELECT
    d.Startdate,
    d.EndDate,
    l.Road,
    u.Name,
    ws.Status,
    wt.Type,
    cb.startdate,
    cb.enddate,
    cb.road,
    cb.utility,
    cb.type,
    cb.status
    FROM
    Dates d,
    Luton l,
    Utilities u,
    WorkStatus ws,
    WorkType wt,
    Comb cb
    WHERE cb.startDate = d.StartDate
    AND cb.endDate = d.EndDate
    AND cb.road = l.Road
    AND cb.utility = u.Name
    AND cb.type = wt.Type
    AND cb.status = ws.Status
    WITH READ ONLY
    /

  • Plz help! How to create a login page

    Hi!
    is there anyone who knows to create a login page from java

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>login1.html</title>
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
    <!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
    <SCRIPT LANGUAGE="JavaScript">
    function validate(){
    if(document.form1.text1.value.length<1){
    alert("Please enter UserName");
    return false;
    if (document.form1.pwdtext.value.length<3){
    alert("please enter the Password");
    return false;
    return true;
    </SCRIPT>
    </head>
    <body>  <br>
    <form method="get" name="form1" style="" action="./logdb1" enctype ="text/plain" onSubmit = "return validate(this);">
    <p> </p><p> UserName:    <input type="text" maxlength="20" name="text1"></p><p> Password:      <input type="password" maxlength="20" name="pwdtext"></p><p>            <input type="submit" value="Login" name="loginbutton">    <input type="reset" value="Cancel" name="cancelbutton"></p><p> ForgotPassword?     SignUp</p>
    </form>
    </body>
    </html>

  • What's the best way to create a login page in muse?

    Hi.
    Busy exploring muse I came across another problem:
    What’s the best way to create a login page in muse?
    I want to create 1 page on a site with access for people with login details only.
    Sorry for beeing a newbie
    Dutch greets
    Toin Corten

    Hi Toin,
    Never need to apologize for being a newbie...we all were at one point or another. 
    I am going to move this question to the main Muse forum where you'll have a much better chance of getting a response.  This particular forum is for questions around our Muse getting started project.
    You may also want to check this thread out: http://forums.adobe.com/thread/1004543.
    Thank you,
    Ed Sullivan

  • Javax.servlet.ServletException: exception raised while creating Advisor

    I am adding some personalization to a jsp in portal 7.0 which worked fine in 4.0.
    I am importing the pz.tld and using the pz:div tag '<pz:div rule="admin">'. We
    have 'admin' set up as a segment in the EBCC just like in 4.0. When the jsp compiles,
    I get a 'javax.servlet.servletexception: exception raised while creating advisor'
    exception.
    I'm just really unfamiliar with the Advisor and am not sure where to start. Any
    help would be much appreciated.

    It appears this error might occur on JNDI lookup failure. If you do a
    diff between the web.xml and weblogic.xml files between 4.0 and 7.0 in
    your webapp's web-inf directory what differences do you find? Are the
    ejb-ref and ejb-reference entries for the Advisor and other EJB's present?
    Is the ejbadvisor.jar deployed in your application? Is it present in
    the application directory? Is there a ejb component entry in config.xml?
    Is there a module entry in application.xml?
    If you find that this is not the right direction to look for the problem
    please post the full stack trace and a pz:div code snippet.
    -- Jim
    chris wrote:
    I am adding some personalization to a jsp in portal 7.0 which worked fine in 4.0.
    I am importing the pz.tld and using the pz:div tag '<pz:div rule="admin">'. We
    have 'admin' set up as a segment in the EBCC just like in 4.0. When the jsp compiles,
    I get a 'javax.servlet.servletexception: exception raised while creating advisor'
    exception.
    I'm just really unfamiliar with the Advisor and am not sure where to start. Any
    help would be much appreciated.

  • Exception raised while creating Advisor

    Hi,
    I've built a portal based on the exampleportal. I'm now trying to integrate personalization.
    I've loaded 2 documents in the default content repository using loaddocs, and
    created a content selector in the EBCC (I synchronized after that). When creating
    my content selection rules, I can do a preview, and see my two documents, so the
    rule is working. Now, when I use the <pz:contentSelector ...> tag, exactly as
    described in the documentation, I get a stack trace saying : " Exception raised
    while creating Advisor". The stack doesn't tell anything about the error...
    I also tried using the <cm:select...> tag in various fashions, but it always
    returns me an array of size 0, or null.
    I haven't changed the configuration for the DocumentManager... What could have
    gone wrong ?
    Any help would be greatly appreciated !
    Thanks
    Phil

    Hello Philippe,
    Did you restart the docPool after you ran the BulkLoader (with loaddocs)?
    ( http://e-docs.bea.com/wlp/docs70/dev/conmgmt.htm#1023455 )
    That's probably not the problem, becuase I'd guess that you may have
    already restarted your server a few times and you still have the problem,
    but I thought I'd start there.
    Also, did you make sure your portal contains all the components necessary
    for the features you are using? Are you using Portal 7.0? If you are using
    Portal 7.0 and you created your portal domain with the domain configuration
    wizard, then your portal does not contain all of the tag libraries that it
    needs for full personalization. Compare your portal to the sampleportal.
    There is a note about this in the Release Note for CR079828
    http://e-docs.bea.com/wlp/docs70/relnotes/relnotes.htm#305089
    Ture Hoefner
    BEA Systems, Inc.
    www.bea.com
    "Philippe Cote" <[email protected]> wrote in message
    news:3db85f30$[email protected]..
    >
    Hi,
    I've built a portal based on the exampleportal. I'm now trying tointegrate personalization.
    I've loaded 2 documents in the default content repository using loaddocs,and
    created a content selector in the EBCC (I synchronized after that). Whencreating
    my content selection rules, I can do a preview, and see my two documents,so the
    rule is working. Now, when I use the <pz:contentSelector ...> tag, exactlyas
    described in the documentation, I get a stack trace saying : " Exceptionraised
    while creating Advisor". The stack doesn't tell anything about theerror...
    >
    I also tried using the <cm:select...> tag in various fashions, but italways
    returns me an array of size 0, or null.
    I haven't changed the configuration for the DocumentManager... What couldhave
    gone wrong ?
    Any help would be greatly appreciated !
    Thanks
    Phil

  • Create a login page that does not link to database

    Hi,
    I am really new to muse and would like to seek some help....sorry if any similar questions have been asked.
    I am making a website interface for my assignment, and i need to create a login page,
    how can i make a text box for entering the login ID and the password? and how can i add a login button?
    By the way, this does not have to link to a database, it is just  a template........so the solution using codes may not help i guess

    Hi,
    check this thread Re: Can I create a login/password protection in Muse for a HTML5 page or two?

Maybe you are looking for

  • Middleware from R/3 to CRM

    Hi, I am working on CRM middleware. I need to change the BP role automatically in CRM when I change the status in R/3.How should I start working on this.Anyone please answer me ...I left this forum many times

  • Mail with invoice attachment. How to?

    Hi... With the client, you can email an invoice (jpg attachment).. In the SDK you can also send emails using the Message-object, but is it possible to make the jpg-file as attachment... I can't see how...

  • Regarding Certification validity

                       Hi Friends, I have completed CCNP Data R&S in OCT 2012. IS there any timeframe for tshoot to be completed within so and so or as each certification has 3years of validity whether i can complete the same before SEP 2015. will it be

  • Unable to fetch site Error # 407

    Hi, When im trying to click Browse/Capture button in URL iView editor,..im facing this error. I have set the Proxy settings in the httpservice application and restarted the service. Any help is appreciated. Regards, Ricky

  • Join statment between EQUI,EQKT and FLEET

    I an trying to write a join statment between these 3 tables and get a  few  fields  from each of these into a common internal Table .Have searched the forum but could not find any statment linking these three. Thanks in advance.