0 Replies Latest reply on Dec 26, 2005 4:52 PM by ozwolverine

    jsf problems in jboss 4.0.3

    ozwolverine

      Hello everybody,

      I wrote a JSF application, that runs perfect when deployed in jboss-4.0.2, but now that we added more sofisticated business logic including EJB3, we know that we must deploy our application in jboss-4.0.3 to get the EJB3 support, but now, when I deploy my jsf app in jboss-4.0.3 it doesn't work as it used to do it.

      When I try to connect to the Business Logic I get this result in the web browser:

      HTTP Status 500 -
      
      type Exception report
      
      message
      
      description The server encountered an internal error () that prevented it from
      fulfilling this request.
      
      exception
      
      javax.servlet.ServletException: Base is null: UsuarioLoginBean
       javax.faces.webapp.FacesServlet.service(FacesServlet.java:202)
      
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
      
      root cause
      
      javax.faces.el.PropertyNotFoundException: Base is null: UsuarioLoginBean
      
      org.apache.myfaces.el.ValueBindingImpl.resolveToBaseAndProperty(ValueBindingImpl.java:455)
       org.apache.myfaces.el.ValueBindingImpl.getType(ValueBindingImpl.java:169)
      
      com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:111)
       javax.faces.component.UIInput.getConvertedValue(UIInput.java:702)
       javax.faces.component.UIInput.validate(UIInput.java:627)
       javax.faces.component.UIInput.executeValidate(UIInput.java:838)
       javax.faces.component.UIInput.processValidators(UIInput.java:412)
       javax.faces.component.UIForm.processValidators(UIForm.java:170)
      
      javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:904)
       javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:342)
      
      org.apache.myfaces.lifecycle.LifecycleImpl.processValidations(LifecycleImpl.java:240)
       org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76)
       javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
      
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
      
      note The full stack trace of the root cause is available in the Apache
      Tomcat/5.5 logs.
      



      and If I work in my app without this new Business Logic, I get this message in browser:


      HTTP Status 500 -
      
      type Exception report
      
      message
      
      description The server encountered an internal error () that prevented it from fulfilling this request.
      
      exception
      
      javax.servlet.ServletException: Filter execution threw an exception
       org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
      
      root cause
      
      java.lang.NoSuchMethodError: org.apache.myfaces.renderkit.html.HtmlRendererUtils.selectContentType(Ljava/lang/String;)Ljava/lang/String;
       org.apache.myfaces.component.html.util.AddResource.writeWithFullHeader(AddResource.java:443)
       org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:132)
       org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
      
      note The full stack trace of the root cause is available in the Apache Tomcat/5.5 logs.
      Apache Tomcat/5.5
      
      


      The application deploys without any errors
      any ideas on this?

      thanks a lot,
      Johnny