Hi all, I?m trying to learn Seam by following the tutorial. I followed
installation instructions
(http://labs.jboss.com/portal/jbossseam/gettingstarted) thoroughly and
everything went on seamlessly (pun intended :-)).
Registration example is working OK, EXCEPT when data don?t pass Hibernate
Validator validation. If I don?t misunderstand it is supposed to redisplay the
original page. Instead of that I?m getting an ugly:
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: Error calling action method of component with
id _idJsp0:_idJsp4
javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
root cause
javax.faces.FacesException: Error calling action method of component with id
_idJsp0:_idJsp4
org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
javax.faces.component.UICommand.broadcast(UICommand.java:106)
javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94)
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168)
org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343)
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
note The full stack trace of the root cause is available in the Apache
Tomcat/5.5.20 logs.
Validators ARE exacuted but I guess somebody (¿Seam?) is not catching the
exception and directing JSF to the previous page to show the error messages.
Instead of that the exception is being sent back to the client (brrrr!!!)
I know there are more interesting examples but I would like to understand what
am I doing wrong.
I´ve been googling the whole afternoon but nobody seems to have noticed such
behavior. Any clues will be VERY wellcome. Thanks in advance,
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4021847#4021847
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4021847
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user