This content has been marked as final.
Show 2 replies
-
1. Re: Email validation: java.lang.ClassCastException: org.jbpm
aeik Nov 18, 2009 9:51 AM (in response to dagokent)Hello DagoKent,
i had this Exception when there's a wrong configuration in the identity-modul.exception javax.servlet.ServletException: java.lang.ClassCastException: org.jbpm.bytes.ByteArray_$$_javassist_52 cannot be cast to org.jboss.portal.core.identity.services.workflow.UserContainer org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:278) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) root cause java.lang.ClassCastException: org.jbpm.bytes.ByteArray_$$_javassist_52 cannot be cast to org.jboss.portal.core.identity.services.workflow.UserContainer org.jboss.portal.core.identity.services.workflow.impl.CreateUserAction.execute(CreateUserAction.java:51) org.jbpm.graph.def.Action.execute(Action.java:122) org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:264) org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:220) org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:190) org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:174) org.jbpm.graph.def.Transition.take(Transition.java:138) org.jbpm.graph.def.Node.leave(Node.java:394)
This files were the cause:
base-path: jboss-portal-2.7.2/server/default/deploy/jboss-portal.sar
files:
/portal-identity.sar/conf/identity-ui-configuration.xml
/portal-identity.sar/portal-identity.war/jsf/common/editProfileInfo.xhtml
/portal-identity.sar/portal-identity.war/jsf/common/profile.xhtml
/conf/identity/profile-config.xml
I found that it is a bad idea to remove fields from identity-ui-configuration.xml.
If you remove fields the data JBoss saves temporarly is damaged and is not useable to activate the user, even if you change your configuration to a working one. You hve to reregister to test if it is working.
With a fresh installation this should not happen, but perhaps it helps to solve your problem. -
2. Re: Email validation: java.lang.ClassCastException: org.jbpm
dagokent Jan 5, 2010 9:08 AM (in response to aeik)Thank you Andre!