[JBoss Seam] - Re: java.lang.IllegalStateException: pageflow has not yet st
by JeanGuyer
Thnak you , i have tried your tip but it doesn't work.
anonymous wrote : 09:40:37,145 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
| java.lang.ClassCastException: org.jbpm.graph.node.StartState
| at org.jboss.seam.core.Pageflow.getPage(Pageflow.java:144)
| at org.jboss.seam.core.Manager.prepareBackswitch(Manager.java:974)
| at org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:127)
| at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:53)
| at org.apache.myfaces.lifecycle.LifecycleImpl.informPhaseListenersBefore(LifecycleImpl.java:520)
| at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:342)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:83)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30)
| 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.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(Unknown Source)
I have tried also to empty the pages.xml , and init the bean with a dummy outputText on the jsf (to use the render phase) , put the @create back , but use the start-state : and it's render.
But when i use the submit button to go to page1 , i've got the same error :
anonymous wrote : 09:53:52,114 INFO [STDOUT] pouet2
| 09:53:52,114 INFO [STDOUT] RAF {setProcessInstance}: 0 - test2
| 09:53:52,161 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.PRETTY_HTML' found, using default value true
| 09:53:52,161 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true
| 09:53:52,161 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.DETECT_JAVASCRIPT' found, using default value false
| 09:53:52,161 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.AUTO_SCROLL' found, using default value false
| 09:53:54,223 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
| java.lang.ClassCastException: org.jbpm.graph.node.StartState
| at org.jboss.seam.core.Pageflow.getPage(Pageflow.java:144)
| at org.jboss.seam.core.Pageflow.validatePageflow(Pageflow.java:86)
| at org.jboss.seam.jsf.AbstractSeamPhaseListener.restoreAnyConversationContext(AbstractSeamPhaseListener.java:50)
| at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:66)
| at org.apache.myfaces.lifecycle.LifecycleImpl.informPhaseListenersAfter(LifecycleImpl.java:536)
| at org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.java:164)
| at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:66)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:83)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30)
| 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.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(Unknown Source)
Btw, thanks for the help :)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962739#3962739
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962739
19 years, 9 months
[JBoss Portal] - An error occured while rendering window 'default.Admin.Manag
by vsiva
I am getting this error An error occured while rendering window 'default.Admin.ManagementPortletWindow' in Management Portlet.
and java.lang.NullPointerException in the content area.
The root+ button does not work in CMS Admin.
I changed my database configuration MySQL.
I have hsldb-ds.xml not changed.
portal-ds.xml changed for MySQL
portal-mysql-ds.xml changed for MySQL
portal-hsqldb-ds.xml changed for MySQL
Sample
<?xml version="1.0" encoding="UTF-8" ?>
| - <datasources>
| - <local-tx-datasource>
| <jndi-name>portalDS2</jndi-name>
| <connection-url>jdbc:mysql://localhost:3306/jbossportal?useServerPrepStmts=false;jdbcCompliantTruncation=false</connection-url>
| <driver-class>org.gjt.mm.mysql.Driver</driver-class>
| <user-name>admin</user-name>
| <password />
| </local-tx-datasource>
| </datasources>
|
In all three .xml files I have different jndi name for <jndi-name>portalDS2</jndi-name>
I am able to create a new user, and see the changed updated in MySQL. The tables are created with default value.
Thanks in advance
Siva
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962737#3962737
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962737
19 years, 9 months
[Security & JAAS/JBoss] - Single Sign on
by asubu
Hello all,
We have multiple webapps and each run on their own instances of JBOSS 4.0.3. We want to have a single sign on, so that a user logs into one web app and wants to go to another webapp, the user does not have to log in again.
>From reading other posting in this forum, it seems that all the instances of webapp running in different instances of JBOSS needs to be in a clustered environment.
Also we need session replication i.e. session data from one webapp needs to copied over when the user moves between webapps.
Can anyone please tell me how this can be achieved or point me to any documentation.
Also I had a look at JOSSO, but from what I can see it does not support session replication between webapps.
Thanks,
Subu
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962735#3962735
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962735
19 years, 9 months