[JBoss Portal] - Cluster / portlet session replication / documentation and mo
by Antoine_h
Hello,
about PortletSession replication in clusters, the documentation says :
anonymous wrote : The servlet specification is very loose on the subject of replication and does not state anything about the replication of sessions during a dispatched request. JBoss Portal offers a portlet session replication mechanism that leverages the usage of the portal session instead which has several advantages :
| Replicate only the portlet that requires it.
any idea of what is meant by : "Replicate only the portlet that requires it."
I guess it means :
- only the portlet that have received the action request have changed its state
- so only this portlet session his replicated
is that correct ?
is it "several portlets sessions are replicated ?
more detail in the doc, on what is the criteria of "that requieres it" and on when and how it is done... would be nice.
because, there is another question :
- with the event feature, that allow to dispatch the request from one portlet to another (see documentation 2.6 / chapter 10.8.2. Achieving Inter Portlet Communication with the events mechanism)
- then, which portlet session(s) will be replicated ?
The global question is : can events be used widely in HA clustered mode ?
Open a jira for more details in this chapter of the doc ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066499#4066499
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066499
18Â years, 9Â months
[JBoss Seam] - How do I start a process, and have the initial task availabl
by jim.barrows
Here's the scenario:
User wants to start a new process, and clicks on the Start Process Button, which takes them to the initial page in the process. The fill in the page, hit the submit button and things hapen from there on.
So, my starProcess button
<s:link action="#{inspectionProcess.createInspection}"
| value="New Inspection" />
And the method:
| @CreateProcess(definition = "InspectionProcess")
| @Begin
| public String createInspection() {
| if (logger.isDebugEnabled()) {
| logger.debug("createInspection() - start"); //$NON-NLS-1$
| }
|
| if (logger.isDebugEnabled()) {
| logger.debug("createInspection() - end"); //$NON-NLS-1$
| }
| return "/inspection.xhtml";
| }
|
This does start the process, and seems move the proces to the first task. However the businesprocess component does not have the first task id in it.
Here's the relevant part of jpdl:
<start-state name="start">
| <transition to="gatherInfo" />
| </start-state>
|
| <task-node name="gatherInfo">
| <task name="createInspection" description="Select a Client">
| <assignment actor-id="#{actor.id}" />
| </task>
| <transition to="sampleCollection" />
| </task-node>
When I go to the list task page, I can see that the createInspection task has been started, however when the user clicks the submit button :
<h:commandButton id="start" value="Start Inspection"
| action="#{inspectionProcess.inspectionCreated}" >
| <s:taskId/>
| </h:commandButton>
I'm told that the taskId does not exist. How do I create the process, and put the initial task somewhere it can be used?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066495#4066495
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066495
18Â years, 9Â months
[JBoss Seam] - wiki example seam 2.0.0.BETA1 / seam+richfaces boilerplate
by schmod54
Hi, I'm a newbie to seam... I'm trying to run the wiki example from jboss-seam-2.0.0.BETA1\examples\wiki on jboss-4.2.0.GA. I followed the steps from README.txt, and I'm getting the following errors:
| 20:25:19,953 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null
| org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: File input/output error: java.io.IOException: The filename, directory name, or volume label syntax is incorrect)
| at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:179)
| at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:577)
|
| ...
|
| 20:59:07,234 ERROR [JDBCExceptionReporter] Could not create connection; - nested throwable: (java.sql.SQLException: File input/output error: java.io.IOException: The filename, directory name, or volume label syntax is incorrect); - nested throwable: (org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: File input/output error: java.io.IOException: The filename, directory name, or volume label syntax is incorrect))
| 20:59:07,234 ERROR [SeamPhaseListener] uncaught exception
| javax.el.ELException: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection
| at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:329)
How can I fix this? I'm looking for a boilerplate to use seam+richfaces, and it seems that the wiki example does that... so any help fixing this error or pointing me at a working example that uses richfaces, I'd like to know. Thanks!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066493#4066493
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066493
18Â years, 9Â months