[jboss-user] [JBoss jBPM] - Re: Multiple actions within an event

2009-02-16 Thread richiethom
Hi

Looking through the code again, I think a mistake was made in the design of the 
process - I've reworked it (not using states any more - using nodes instead, 
and there is now one action per node), and it's all ok now.

Thanks for your help

Rich


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4210305#4210305

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4210305
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Multiple actions within an event

2009-02-12 Thread richiethom
Hi,

My business analyst has designed a process whereby I have the following in the 
process definition:


  | state name=syntax-validation
  | event type=node-enter
  | action name=High Level Syntax Validation 
class=com.myproject.HighLevelSyntaxValidationAction /
  | action name=Detailed Syntax Validation 
class=com.myproject.DetailedSyntaxValidation/
  | /event
  | transition to=final-validation name=passed
  | action name=Persist Entity 
class=com.myproject.PersistEntityAction/action
  | /transition
  | transition to=entity-rejected name=rejected/transition
  | /state
  | 

How do two actions decide between them where to transition to?

My guess is that the first action either specifies a transition (ie the entity 
being persisted has failed its high level validation) or doesn't specify one at 
all - effectively falling through - in which case the entity has passed its 
high level validation and the detailed validation should decided on the 
transition, but this doesn't seem to work.

Does anyone have any pointers to examples or somewhere in the documentation 
that would cover this?

Cheers

Rich

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4209601#4209601

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4209601
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Deploying Event Listener (JBoss5 B4)

2008-07-23 Thread richiethom
Hi

I have an EventListener that receives its events from a Resource Adapter which 
is connected to an external application. This all works fine, but as we move 
towards a clustered solution, the EventListener needs to be deployed as an 
HASingleton.

In order to achieve this, I have split out the Resource Adapter and the 
EventListener into two ear files separate from the main application. Because 
both the Resource Adapter ear and the Event Listener ear make references to 
EJBs within the main application ear file, the appropriate interfaces have been 
split out into a separate serviceinterfaces.jar module.

Therefore, I have the following files to work with:
resourceadapter-ds.xml
resourceadapter.ear
eventlistener.ear
mainapplication.ear

The three ear files all contain the serviceinterfaces.jar file, as well as 
other pertinent jars.

I couldn't get the eventlistener.ear file to deploy inside the 
deploy-hasingleton folder, so decided to try hot deploying everything in the 
standard deploy folder. This gives me error messages, whereas deploying in the 
hasingleton folder didn't even cause the eventlistener.ear file to be mentioned 
in the logs.

The order that I deploy is as follows:
resourceadapter.ear
resourceadapter-ds.xml
eventlistener.ear

At this stage, I receive the following in the log (my stuff is in the com.abc 
package):
09:27:36,725 INFO  [AppClientScanningDeployer] mainClass = class 
com.abc.eis.impl.EISImpl
09:27:36,813 INFO  [AppClientScanningDeployer] mainClass = class 
com.abc.eis.impl.EISImpl
09:27:38,802 INFO  [EISAdapter] EISAdapter started.
09:27:38,806 INFO  [EISAdapter] EISAdapter started.
09:27:38,809 INFO  [EISAdapter] EISAdapter started.
09:27:53,905 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 
'jboss.jca:service=ConnectionFactoryBinding,name=eis/EIS' to JNDI name 
'java:eis/EIS'
09:28:09,125 INFO  [AppClientScanningDeployer] mainClass = class 
com.abc.eis.impl.EISImpl
09:28:09,470 INFO  [MCKernelAbstraction] installing bean: 
jboss.j2ee:ear=eventlistener.ear,jar=eventlistener.jar,name=EventListener,service=EJB3
 with dependencies:
09:28:09,470 INFO  [MCKernelAbstraction]   and demands:
09:28:09,471 INFO  [MCKernelAbstraction]
jboss.jca:name='resourceadapter.ear#eisresourceadapter.rar',service=RARDeployment
09:28:09,471 INFO  [MCKernelAbstraction]
jboss.ejb:service=EJBTimerService
09:28:09,471 INFO  [MCKernelAbstraction]   and supplies:
09:28:09,471 INFO  [MCKernelAbstraction]
Class:com.abc.def.eventlistener.IEventListener
09:28:10,571 INFO  [EJBContainer] STARTED EJB: 
com.abc.def.eventlistener.EventListener ejbName: EventListener
09:28:10,654 ERROR [AbstractKernelController] Error installing to Start: 
name=jboss.j2ee:ear=eventlistener.ear,jar=eventlistener.jar,name=EventListener,service=EJB3
 state=Create
org.jboss.deployment.DeploymentException: MessagingType 
'com.abc.def.eventlistener.IEventListener' not found in resource deployment 
jboss.jca:service=RARDeployment,name='resourceadapter.ear#resourceadapter.rar'
at 
org.jboss.resource.deployers.RARDeployment.createActivationSpec(RARDeployment.java:310)
at 
org.jboss.resource.deployers.RARDeployment.internalInvoke(RARDeployment.java:276)
at 
org.jboss.system.ServiceDynamicMBeanSupport.invoke(ServiceDynamicMBeanSupport.java:156)
at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at 
org.jboss.ejb3.JmxClientKernelAbstraction.invoke(JmxClientKernelAbstraction.java:44)
at 
org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.createActivationSpec(JBossMessageEndpointFactory.java:294)
at 
org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.start(JBossMessageEndpointFactory.java:192)
at 
org.jboss.ejb3.mdb.MessagingContainer.startProxies(MessagingContainer.java:187)
at 
org.jboss.ejb3.mdb.MessagingContainer.start(MessagingContainer.java:151)
at org.jboss.ejb3.mdb.MDB.start(MDB.java:123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:56)
at 
org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:110)
at 
org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
at 
org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:214)
at 
org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:45)
at 

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Deploying Event Listener (JBoss5 B4)

2008-07-23 Thread richiethom
Solved - there was a typo in the ra.xml.

Thanks anyway!

Rich

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4166138#4166138

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166138
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: need download jboss 5 beta?

2008-05-30 Thread richiethom
http://www.jboss.org/jbossas/downloads/

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4154675#4154675

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4154675
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Setting URLComparator in Jboss 5 beta 4...

2008-05-29 Thread richiethom
Hi,

Is there a way to set the URLComparator on Jboss 5 beta 4?

We're having trouble deploying on our app in Linux unless we drop the various 
components into the deploy folder, one-by-one, in the correct order. Meanwhile, 
on Windows it works fine.

Any handy hints?

Thanks in advance

Rich

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4154347#4154347

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4154347
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user