[JBoss Seam] - Re: Validation fails in registration example
by hstang
I just came across something peculiar where I found the registration example in Seam 1.1.0GA does not include jboss-seam-ui.jar. Can someone confirm this? I'm just thinking that I missed a step somewhere.
I did an "ant" in seam root, then an "ant tomcat.deploy" in examples/registration. Got a ~16MB file that excludes jboss-seam-ui.jar. Got an exception when opening up the page stating the obvious:
java.lang.NoClassDefFoundError: org/jboss/seam/ui/tag/ValidateAllTag
| at org.apache.jsp.register_jspx._jspx_meth_s_validateAll_0(register_jspx
| .java:158)
| at org.apache.jsp.register_jspx._jspx_meth_h_form_0(register_jspx.java:1
| ..
|
Repeated instructions on a nightly jboss-seam-CVS.20070108. Got a ~18MB file that included jboss-seam-ui.jar (the extra 2MB was made up by the ui jar and itext). Example runs fine.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000205#4000205
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000205
19 years, 3 months
[JBoss jBPM] - How to create a Timer on a task-node?
by dasriharsha
I have a task node in which i would like execute the handler for every 10 seconds.
My Process deifinition is
| <start-state name="start">
| <task>
| </task>
| <transition name="" to="Initiate Transcode"></transition>
| </start-state>
| <node name="Initiate Transcode">
| <action name="transcodeContent" class="VideoTranscodeHandler">
| </action>
| <transition name="monitorTranscode" to="Monitor Transcodnig"></transition>
| </node>
| <task-node name="Monitor Transcodnig" async="true">
| <task>
| <timer duedate="20 seconds" name="TranscodeMonitorTimer" repeat="10 seconds">
| <action class="VideoTranscodeMonitorHandler">
| </action>
| </timer>
| </task>
| <transition name="requestForApproval" to="Submit for Approval"></transition>
| </task-node>
|
When i signal, it is executing the first node but the handler in the timer is not getting executed.
Here is the handler code
| public class VideoTranscodeMonitorHandler implements ActionHandler {
|
| private static final long serialVersionUID = 1L;
| private static final Logger logger = CommonLogger.getInstance("com.ge.nbc.content.process.video.handler.VideoTranscodeMonitorHandler");
|
| public void execute(ExecutionContext executionContext) throws Exception {
| logger.info("###############################################");
| logger.info("### this is VideoTranscodeMonitorHandler for the content ");
| logger.info("###############################################");
|
|
Is there anything that iam missing? Should we explicitly create a timer and invoke before/after the signal to fire a timer event?
Regards
Harsha
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000204#4000204
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000204
19 years, 3 months
[Messaging, JMS & JBossMQ] - Dependency on topic and queues in a clustered environment.
by batter
How do you set that up? I have services that are dependent that queues and topics are created.
I currently do something like this in my jboss-service.xml file:
<mbean code="com.hp.ov.nms.notification.sample.SampleMessageListener" name="com.hp.ov.nms.notification:service=SampleTopicListener" <depends optional-attribute-name="DestinationName">jboss.mq.destination:service=Topic,name=nms.notification.sample1topic</depends>
| </mbean>
|
The master node comes up fine, the other node keeps waiting:
ObjectName: com.hp.ov.nms.notification:service=SampleTopicListener
| State: CONFIGURED
| I Depend On:
| jboss.mq.destination:service=Topic,name=nms.notification.sample1topic
| Depends On Me:
| com.hp.ov.nms.notification:service=SampleTopicSender
I wanted to have the topic/queue name injected in my bean.
Related question: how do I set up something so that I am sure that topics and queues are created? I first thought that the Barrier dependency was intended to do that; however if I noticed that the barrier service on my secondary nodes is 'created' but never started. Did I misunderstand this service and does it only get in the started state in case of failover?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000202#4000202
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000202
19 years, 3 months
[JBoss Seam] - DVD Store demo on your site not working correctly
by kurt_olsen
I just tried creating an account but it errors out. Here's what it said:
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException
org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:58)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
root cause
javax.servlet.ServletException
javax.faces.webapp.FacesServlet.service(FacesServlet.java:125)
org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30)
org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
root cause
org.jbpm.graph.def.DelegationException
org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:349)
org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:343)
org.jbpm.graph.node.Decision.execute(Decision.java:130)
org.jbpm.graph.def.Node.enter(Node.java:316)
org.jbpm.graph.def.Transition.take(Transition.java:119)
org.jbpm.graph.def.Node.leave(Node.java:382)
org.jbpm.graph.exe.Token.signal(Token.java:174)
org.jbpm.graph.exe.Token.signal(Token.java:137)
org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:229)
org.jbpm.pageflow.PageflowHelper.signal(PageflowHelper.java:47)
org.jboss.seam.core.Pageflow.navigate(Pageflow.java:185)
org.jboss.seam.jsf.SeamNavigationHandler.handleNavigation(SeamNavigationHandler.java:31)
org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:84)
javax.faces.component.UICommand.broadcast(UICommand.java:106)
javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90)
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164)
org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:316)
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:106)
org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30)
org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45)
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=4000201#4000201
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000201
19 years, 3 months