0 Replies Latest reply on Apr 5, 2007 4:16 AM by Chen David

    Faces Servlet Servlet.service() ].[Faces Servlet]] Servlet.s

    Chen David Newbie

      Hi My name is David,
      I am using JBoss 4.0.5.ga, JVM 1.5.0_11 with Postgresql 8.2 on windows server 2003 sp2.
      I have developed a simple (INTRANET) web application using JSF via netbeans. Its work fine with the PC where i developed. But from another PC, lits flush http: 500 after clicking the hyperlink.
      and logs as follows.



      2007-04-05 14:13:39,875 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/rapiderp].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
      com.sun.rave.web.ui.appbase.ApplicationException: org.apache.jasper.JasperException: javax.servlet.jsp.JspException: org.postgresql.util.PSQLException: No value specified for parameter 1.
      at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.cleanup(ViewHandlerImpl.java:559)
      at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:290)
      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:198)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: javax.faces.FacesException: org.apache.jasper.JasperException: javax.servlet.jsp.JspException: org.postgresql.util.PSQLException: No value specified for parameter 1.
      at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:351)
      at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)
      at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:285)
      ... 26 more
      Caused by: org.apache.jasper.JasperException: javax.servlet.jsp.JspException: org.postgresql.util.PSQLException: No value specified for parameter 1.
      at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
      at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)
      ... 28 more



      Please guide me ...

      Thanks
      David