[jboss-user] [EJB 3.0] - need help for deploying javaServer face application in jboss

shupingChen do-not-reply at jboss.com
Mon May 14 22:58:12 EDT 2007


when I deploy the duke's bookstore application(bookstore6) on jboss 4.2.GA, it doesn't work. The application comes from the javaee tutorial on Sun's web site. It works when I deploy it on the Sun's Application Server.


org.apache.jasper.JasperException: /chooselocale.jsp(45,12) Unknown attribute type (void) for attribute actionListener.
  | 	org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
  | 	org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
  | 	org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:236)
  | 	org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1097)
  | 	org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:819)
  | 	org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
  | 	org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
  | 	org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
  | 	org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:838)
  | 	org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
  | 	org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
  | 	org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
  | 	org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:838)
  | 	org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
  | 	org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
  | 	org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
  | 	org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:838)
  | 	org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
  | 	org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
  | 	org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
  | 	org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2392)
  | 	org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
  | 	org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
  | 	org.apache.jasper.compiler.Validator.validate(Validator.java:1737)
  | 	org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:178)
  | 	org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
  | 	org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
  | 	org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
  | 	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
  | 	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
  | 	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
  | 	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
  | 	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  | 	com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:408)
  | 	com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:439)
  | 	com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:114)
  | 	com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
  | 	com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
  | 	com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
  | 	javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
  | 	org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:699)
  | 	org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:670)
  | 	org.apache.jsp.index_jsp._jspService(index_jsp.java:91)
  | 	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
  | 	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  | 	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:387)
  | 	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
  | 	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
  | 	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  | 	org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | 
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045646#4045646

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4045646



More information about the jboss-user mailing list