You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Premi John (JIRA)" <ji...@apache.org> on 2007/04/12 10:25:32 UTC
[jira] Created: (SCXML-42) SCXML exception
SCXML exception
----------------
Key: SCXML-42
URL: https://issues.apache.org/jira/browse/SCXML-42
Project: Commons SCXML
Issue Type: Bug
Environment: Windows
Reporter: Premi John
Priority: Blocker
Hi there,
While implementing the parallelism in SCXML we are encountering an exception which I am attaching herewith. Is there any work around for this.
2007-04-12 11:52:44,922 INFO [scxml.app.log] null: Slot Init State
2007-04-12 11:52:44,922 INFO [scxml.app.log] null: Task Init State
2007-04-12 11:52:44,954 DEBUG [mdb] SQL Query - select T_Schedule.SCH_ID,SCH_TYPE,SCH_KIND,SCH_USER,
SCH_PRIORITY,SCH_NAME,SCH_CRON,SCH_DISABLE,SCH_RELID,SCH_PARENTID,SCH_AB
ORT_INFO,SCH_TIME_POLICY,SCH_KIND,SCH_SUB_TYPE,SLOT_ID,RESID
,RESTYPE,SLOT_FROM_TIME , SLOT_TO_TIME,SLOT_CAPACITY , SLOT_STATE,aTask.TASK_ID ,aTask.IRESID,aTask.LRESID ,aTask.TASK_OPKID , aTask.TASK_OPKTYPE , aTask.TASK_JOBCMDSTR ,aTask.TASK_DELTA ,aTask.TASK_STATE , bTask.TASK_ID ,bTask.IRESID,bTask.LRESID ,bTask.TASK_OPKID , bTask.TASK_OPKTYPE , bTask.TASK_JOBCMDSTR ,bTask.TASK_DELTA ,bTask.TASK_STATE,aTask.TASK_TIME,bTask.TASK_TIME from T_schedule,T_SLOT,T_TASK aTask,T_TASK bTASK where T_Schedule.SCH_ID=?
and T_Schedule.SCH_ID=T_SLOT.SCH_ID and T_SCHEDULE.SCH_ID=aTASK.SCH_ID and T_SCHEDULE.SCH_ID=bTASK.SCH_ID and aTASK.TASK_ID != bTASK.TASK_ID group by t_schedule.sch_id
2007-04-12 11:52:44,954 INFO [STDOUT] MSlotTaskFSM :AQUIRE inside MSlotTaskFSM of aTask:
2007-04-12 11:52:44,954 INFO [STDOUT] MSlotTaskFSM :RELEASE inside MSlotTaskFSM of bTask:
2007-04-12 11:52:44,954 INFO [STDOUT] Inside ProcessEvent :Schedule Id is :11:506
2007-04-12 11:52:45,109 WARN
[org.apache.commons.scxml.env.SimpleErrorReporter] NON_DETERMINISTIC (Multiple conflicting transitions enabled.): [transition (event = CreateATaskEvent, cond = _eventdata.slotAvailable=true, from = /testMain/null/slotState/MSlotInitState, to = /testMain/null/slotState/MSlotHeldState.aquireSlot), transition (event = CreateATaskEvent, cond = !_eventdata.slotAvailable, from = /testMain/null/slotState/MSlotInitState, to = /testMain/null/slotState/MSlotQueuedState.queueSlot), transition (event = CreateATaskEvent, cond = _eventdata.slotavailable=true, from = /testMain/null/slotState/MSlotInitState, to = /testMain/null/slotState/MSlotLockedState.lockSlot)]
2007-04-12 11:52:45,109 WARN
[org.apache.commons.scxml.env.SimpleErrorReporter] ILLEGAL_CONFIG (Multiple OR states active for state slotState):
/testMain/null/slotState :
[/testMain/null/slotState/MSlotHeldState.aquireSlot,
/testMain/null/slotState/MSlotQueuedState.queueSlot,
/testMain/null/slotState/MSlotLockedState.lockSlot]
2007-04-12 11:52:45,109 ERROR [com.hp.m.msched.core.MSlotTaskFSM]
Illegal state machine configuration!
org.apache.commons.scxml.model.ModelException: Illegal state machine configuration!
at
org.apache.commons.scxml.semantics.SCXMLSemanticsImpl.followTransitions(
SCXMLSemanticsImpl.java:695)
at
org.apache.commons.scxml.SCXMLExecutor.triggerEvents(SCXMLExecutor.java:
127)
at
org.apache.commons.scxml.SCXMLExecutor.triggerEvent(SCXMLExecutor.java:1
60)
at
com.hp.m.msched.core.MSlotTaskFSM.fireEvent(MSlotTaskFSM.java:151)
at
com.hp.m.msched.core.MScheduleController.processEvent(MScheduleControlle
r.java:71)
at
com.hp.m.msched.core.MScheduleResourceController.processMessage(MSchedul
eResourceController.java:171)
at
com.hp.m.msched.mmsg.MSchedSCNMessageHandler.processMessage(MSchedSCNMes
sageHandler.java:38)
at com.hp.m.mmsg.jms.mdb.MDB.onMessage(MDB.java:49)
at com.hp.m.mmsg.jms.mdb.MSchedMDB.onMessage(MSchedMDB.java:9)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.jboss.invocation.Invocation.performCall(Invocation.java:359)
at
org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(Message
DrivenContainer.java:495)
at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(
CachedConnectionInterceptor.java:158)
at
org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInt
erceptor.java:63)
at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterce
ptor.java:121)
at
org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInte
rceptorBMT.java:173)
at
org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT.invoke(MessageDriven
TxInterceptorBMT.java:47)
at
org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDri
venInstanceInterceptor.java:116)
at
org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInter
ceptor.java:109)
at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
at
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryF
inderInterceptor.java:136)
at
org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContain
er.java:402)
at org.jboss.ejb.Container.invoke(Container.java:954)
at
org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker
.java:987)
at
org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMess
age(JMSContainerInvoker.java:1287)
at
org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:266)
at
org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessage
Consumer.java:902)
at
org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:170)
at org.jboss.mq.SpySession.run(SpySession.java:323)
at
org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194)
at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecuto
r.java:743)
at java.lang.Thread.run(Thread.java:534)
2007-04-12 11:52:45,234 INFO [STDOUT] After process Event : inside processMessage
2007-04-12 11:52:45,234 INFO [STDOUT] Inside the
checkForEventsInEventQueue: resId:0:1
2007-04-12 11:52:45,234 INFO [STDOUT] Before if - Resource Id in getEventQueue is :0:1
2007-04-12 11:52:45,249 INFO [STDOUT] Inside if - Resource Id in getEventQueue is :0:1
2007-04-12 11:52:45,249 INFO [STDOUT] eventQueue.size():0
2007-04-12 11:52:45,249 INFO [STDOUT] After checkForEventsInEventQueue
2007-04-12 11:52:45,265 DEBUG
[com.hp.m.msched.mmsg.MSchedSCNMessageHandler] Finished SCN message processing
2007-04-12 11:52:45,265 DEBUG [com.hp.m.mmsg.jms.mdb.MDB] Finished processing the message
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
[jira] Resolved: (SCXML-42) SCXML exception
Posted by "Rahul Akolkar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SCXML-42?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rahul Akolkar resolved SCXML-42.
--------------------------------
Resolution: Invalid
Please post questions to the user list first. Thanks.
> SCXML exception
> ----------------
>
> Key: SCXML-42
> URL: https://issues.apache.org/jira/browse/SCXML-42
> Project: Commons SCXML
> Issue Type: Bug
> Environment: Windows
> Reporter: Premi John
> Priority: Blocker
>
> Hi there,
> While implementing the parallelism in SCXML we are encountering an exception which I am attaching herewith. Is there any work around for this.
> 2007-04-12 11:52:44,922 INFO [scxml.app.log] null: Slot Init State
> 2007-04-12 11:52:44,922 INFO [scxml.app.log] null: Task Init State
> 2007-04-12 11:52:44,954 DEBUG [mdb] SQL Query - select T_Schedule.SCH_ID,SCH_TYPE,SCH_KIND,SCH_USER,
> SCH_PRIORITY,SCH_NAME,SCH_CRON,SCH_DISABLE,SCH_RELID,SCH_PARENTID,SCH_AB
> ORT_INFO,SCH_TIME_POLICY,SCH_KIND,SCH_SUB_TYPE,SLOT_ID,RESID
> ,RESTYPE,SLOT_FROM_TIME , SLOT_TO_TIME,SLOT_CAPACITY , SLOT_STATE,aTask.TASK_ID ,aTask.IRESID,aTask.LRESID ,aTask.TASK_OPKID , aTask.TASK_OPKTYPE , aTask.TASK_JOBCMDSTR ,aTask.TASK_DELTA ,aTask.TASK_STATE , bTask.TASK_ID ,bTask.IRESID,bTask.LRESID ,bTask.TASK_OPKID , bTask.TASK_OPKTYPE , bTask.TASK_JOBCMDSTR ,bTask.TASK_DELTA ,bTask.TASK_STATE,aTask.TASK_TIME,bTask.TASK_TIME from T_schedule,T_SLOT,T_TASK aTask,T_TASK bTASK where T_Schedule.SCH_ID=?
> and T_Schedule.SCH_ID=T_SLOT.SCH_ID and T_SCHEDULE.SCH_ID=aTASK.SCH_ID and T_SCHEDULE.SCH_ID=bTASK.SCH_ID and aTASK.TASK_ID != bTASK.TASK_ID group by t_schedule.sch_id
> 2007-04-12 11:52:44,954 INFO [STDOUT] MSlotTaskFSM :AQUIRE inside MSlotTaskFSM of aTask:
> 2007-04-12 11:52:44,954 INFO [STDOUT] MSlotTaskFSM :RELEASE inside MSlotTaskFSM of bTask:
> 2007-04-12 11:52:44,954 INFO [STDOUT] Inside ProcessEvent :Schedule Id is :11:506
> 2007-04-12 11:52:45,109 WARN
> [org.apache.commons.scxml.env.SimpleErrorReporter] NON_DETERMINISTIC (Multiple conflicting transitions enabled.): [transition (event = CreateATaskEvent, cond = _eventdata.slotAvailable=true, from = /testMain/null/slotState/MSlotInitState, to = /testMain/null/slotState/MSlotHeldState.aquireSlot), transition (event = CreateATaskEvent, cond = !_eventdata.slotAvailable, from = /testMain/null/slotState/MSlotInitState, to = /testMain/null/slotState/MSlotQueuedState.queueSlot), transition (event = CreateATaskEvent, cond = _eventdata.slotavailable=true, from = /testMain/null/slotState/MSlotInitState, to = /testMain/null/slotState/MSlotLockedState.lockSlot)]
> 2007-04-12 11:52:45,109 WARN
> [org.apache.commons.scxml.env.SimpleErrorReporter] ILLEGAL_CONFIG (Multiple OR states active for state slotState):
> /testMain/null/slotState :
> [/testMain/null/slotState/MSlotHeldState.aquireSlot,
> /testMain/null/slotState/MSlotQueuedState.queueSlot,
> /testMain/null/slotState/MSlotLockedState.lockSlot]
> 2007-04-12 11:52:45,109 ERROR [com.hp.m.msched.core.MSlotTaskFSM]
> Illegal state machine configuration!
> org.apache.commons.scxml.model.ModelException: Illegal state machine configuration!
> at
> org.apache.commons.scxml.semantics.SCXMLSemanticsImpl.followTransitions(
> SCXMLSemanticsImpl.java:695)
> at
> org.apache.commons.scxml.SCXMLExecutor.triggerEvents(SCXMLExecutor.java:
> 127)
> at
> org.apache.commons.scxml.SCXMLExecutor.triggerEvent(SCXMLExecutor.java:1
> 60)
> at
> com.hp.m.msched.core.MSlotTaskFSM.fireEvent(MSlotTaskFSM.java:151)
> at
> com.hp.m.msched.core.MScheduleController.processEvent(MScheduleControlle
> r.java:71)
> at
> com.hp.m.msched.core.MScheduleResourceController.processMessage(MSchedul
> eResourceController.java:171)
> at
> com.hp.m.msched.mmsg.MSchedSCNMessageHandler.processMessage(MSchedSCNMes
> sageHandler.java:38)
> at com.hp.m.mmsg.jms.mdb.MDB.onMessage(MDB.java:49)
> at com.hp.m.mmsg.jms.mdb.MSchedMDB.onMessage(MSchedMDB.java:9)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at
> org.jboss.invocation.Invocation.performCall(Invocation.java:359)
> at
> org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(Message
> DrivenContainer.java:495)
> at
> org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(
> CachedConnectionInterceptor.java:158)
> at
> org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInt
> erceptor.java:63)
> at
> org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterce
> ptor.java:121)
> at
> org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInte
> rceptorBMT.java:173)
> at
> org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT.invoke(MessageDriven
> TxInterceptorBMT.java:47)
> at
> org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDri
> venInstanceInterceptor.java:116)
> at
> org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInter
> ceptor.java:109)
> at
> org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
> at
> org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryF
> inderInterceptor.java:136)
> at
> org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContain
> er.java:402)
> at org.jboss.ejb.Container.invoke(Container.java:954)
> at
> org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker
> .java:987)
> at
> org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMess
> age(JMSContainerInvoker.java:1287)
> at
> org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:266)
> at
> org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessage
> Consumer.java:902)
> at
> org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:170)
> at org.jboss.mq.SpySession.run(SpySession.java:323)
> at
> org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194)
> at
> EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecuto
> r.java:743)
> at java.lang.Thread.run(Thread.java:534)
> 2007-04-12 11:52:45,234 INFO [STDOUT] After process Event : inside processMessage
> 2007-04-12 11:52:45,234 INFO [STDOUT] Inside the
> checkForEventsInEventQueue: resId:0:1
> 2007-04-12 11:52:45,234 INFO [STDOUT] Before if - Resource Id in getEventQueue is :0:1
> 2007-04-12 11:52:45,249 INFO [STDOUT] Inside if - Resource Id in getEventQueue is :0:1
> 2007-04-12 11:52:45,249 INFO [STDOUT] eventQueue.size():0
> 2007-04-12 11:52:45,249 INFO [STDOUT] After checkForEventsInEventQueue
> 2007-04-12 11:52:45,265 DEBUG
> [com.hp.m.msched.mmsg.MSchedSCNMessageHandler] Finished SCN message processing
> 2007-04-12 11:52:45,265 DEBUG [com.hp.m.mmsg.jms.mdb.MDB] Finished processing the message
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org