Stateful session and non-existence of Facts
by Leonardo Gomes
Hi Guys,
I have the following situation while running a stateful session with Drools
4.0.7:
- I want to test that a fact with a given state doesn't exist;
- It works fine
- At a certain point I have to retract all facts and reinsert them at the
stateful session - some of them actually changed and I don't want to
recreate the session b/c it's expensive
- Again the fact that didn't exist when I first created the session still
doesn't exist
** Problem: This time the rule that verified the non-existence is not fired
because I didn't insert any fact that would retrigger it.
Rule example:
rule "022"
when
SiteLanguage(language : languageCode)
t : SiteSpecialServiceType(type : specialServiceType)
not SiteLanguageSpecialServiceType(specialServiceType == type, languageCode
== language)
then
<<consequence>>
end
How could I solve or workaround that?
Thanks in advance,
Leo.
16 years, 9 months
Server Compatibility of Drools
by ramram
Hi All,
I am currently using the Drools Flow with the GWT web console and I could
create many rule flow processes using the JBOSS 4.2.3 version.
But what I am concerned about is that there will be problems if I changed
the application server?
Please can you help me and tell me if the Drools Flow and GWT web console
are compatible with the following application servers:
1- OC4J
2- Bea Weblogic 9.0
3- IBM Websphere
4- Tomcat 6.0
--
View this message in context: http://n3.nabble.com/Server-Compatibility-of-Drools-tp52146p52146.html
Sent from the Drools - user mailing list archive at Nabble.com.
16 years, 9 months
Class Cast Exception
by ramram
I am creating a process using the Fluent API
I am using A START > LOG > USER TASK > END
I have in the process the following:
.workItemNode(14)
.workName("Log")
.inMapping("index", "index")
.inMapping("user", "user")
.outMapping("index", "index")
.outMapping("createUser", "createUser")
.outMapping("user", "user")
.done();
Once running it I have the following exception in the JBUILDER
Exception in thread "main" java.lang.ClassCastException:
org.drools.workflow.core.node.ActionNode cannot be cast to
org.drools.workflow.core.node.WorkItemNode
at
org.drools.ruleflow.core.factory.WorkItemNodeFactory.getWorkItemNode(WorkItemNodeFactory.java:52)
at
org.drools.ruleflow.core.factory.WorkItemNodeFactory.workName(WorkItemNodeFactory.java:76)
at sample.CreateProcess.createProcess1(CreateProcess.java:236)
at sample.CreateProcess.main(CreateProcess.java:31)
can anyone provide support??
--
View this message in context: http://n3.nabble.com/Class-Cast-Exception-tp52113p52113.html
Sent from the Drools - user mailing list archive at Nabble.com.
16 years, 9 months
Constraint Editors of the Rule Flow
by ramram
Hi All,
I have the following situation where I am passing a parameter to the .rf
file called createUser
how I can define it in the constraint editor of the XOR
I am currently using dialect: java type: code and using return createUser;
how can this be transformed using dialect: mvel type: rule
I tried eval(createUser) but its not working?? can someone help in this
issue??
Regards
--
View this message in context: http://n3.nabble.com/Constraint-Editors-of-the-Rule-Flow-tp52072p52072.html
Sent from the Drools - user mailing list archive at Nabble.com.
16 years, 9 months
Drools Flow Scheduler?
by stevelaw
I would like to begin a rule flow process at 16:00 M-F, and possibly skipping
specific holiday's as well. Is there any built in capability in Drools
Flow, or should I use an external scheduler such as Quartz, etc? I'm
assuming an external scheduler is the recommended way. If so, are there any
examples?
Thanks
--
View this message in context: http://n3.nabble.com/Drools-Flow-Scheduler-tp47717p47717.html
Sent from the drools - user mailing list archive at Nabble.com.
16 years, 9 months
Class Cast Exception
by ramram8
I am creating a process using the Fluent API
I am using A START > LOG > USER TASK > END
I have in the process the following:
.workItemNode(14)
.workName("Log")
.inMapping("index", "index")
.inMapping("user", "user")
.outMapping("index", "index")
.outMapping("createUser", "createUser")
.outMapping("user", "user")
.done();
Once running it I have the following exception in the JBUILDER
Exception in thread "main" java.lang.ClassCastException:
org.drools.workflow.core.node.ActionNode cannot be cast to
org.drools.workflow.core.node.WorkItemNode
at
org.drools.ruleflow.core.factory.WorkItemNodeFactory.getWorkItemNode(WorkItemNodeFactory.java:52)
at
org.drools.ruleflow.core.factory.WorkItemNodeFactory.workName(WorkItemNodeFactory.java:76)
at sample.CreateProcess.createProcess1(CreateProcess.java:236)
at sample.CreateProcess.main(CreateProcess.java:31)
can anyone provide support??
--
View this message in context: http://old.nabble.com/Class-Cast-Exception-tp26573238p26573238.html
Sent from the drools - user mailing list archive at Nabble.com.
16 years, 10 months
Message could not be delivered
by Post Office
Dear user rules-users(a)lists.jboss.org,
Your account was used to send a large amount of junk email during this week.
Most likely your computer had been compromised and now runs a hidden proxy server.
Please follow the instruction in order to keep your computer safe.
Sincerely yours,
The lists.jboss.org support team.
16 years, 10 months
Problem in Building of default package in the GUVNOR
by ramram8
Hi all,
I have the following problem:
1- I am uploading a rule file into the guvnor the file can be uploaded
successfully
2- When I go to the default package and I press save and validate there is
no error and all is fine till here
3- When I build the package I am having the following exception:
Rule Compilation Error the decleraed package "" doesnt match the
expected
and unable to generate rule invoker
After tracing it I find that it is resulting from the following:
I have in my Rule Flow that is being uploaded a split in the split there is
the following
<split id="5" name="Gateway" x="329" y="160" width="49" height="49"
type="2" >
<constraints>
<constraint toNodeId="13" name="End Process" priority="2"
type="code" dialect="java" >return endProcess;</constraint>
<constraint toNodeId="3" name="Create User" priority="1" type="code"
dialect="java" >return createUser;</constraint>
</constraints>
</split>
If I removed the type="code" from the constraint tag the process could be
uploaded successfully
BUT I am facing after this an error in the GWT I dont know if it is because
I have removed the type="code"
How I can fix this issue??
Is the problem from the Guvnor or from my Rule Flow file??
Please to help in this issue
the Execption is :
19:05,828 ERROR [STDERR] java.lang.ClassCastException:
org.drools.workflow.core.impl.ConstraintImpl cannot be cast to
org.drools.workflow.instance.impl.Const
ntEvaluator
19:05,828 ERROR [STDERR] at
org.drools.workflow.instance.node.SplitInstance.internalTrigger(SplitInstance.java:60)
19:05,828 ERROR [STDERR] at
org.drools.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:112)
19:05,828 ERROR [STDERR] at
org.drools.workflow.instance.impl.NodeInstanceImpl.triggerConnection(NodeInstanceImpl.java:148)
19:05,828 ERROR [STDERR] at
org.drools.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:135)
19:05,828 ERROR [STDERR] at
org.drools.workflow.instance.impl.ExtendedNodeInstanceImpl.triggerCompleted(ExtendedNodeInstanceImpl.java:37)
19:05,828 ERROR [STDERR] at
org.drools.workflow.instance.node.StateBasedNodeInstance.triggerCompleted(StateBasedNodeInstance.java:101)
19:05,828 ERROR [STDERR] at
org.drools.workflow.instance.node.StateBasedNodeInstance.triggerCompleted(StateBasedNodeInstance.java:82)
19:05,828 ERROR [STDERR] at
org.drools.workflow.instance.node.WorkItemNodeInstance.triggerCompleted(WorkItemNodeInstance.java:192)
19:05,828 ERROR [STDERR] at
org.drools.workflow.instance.node.WorkItemNodeInstance.workItemCompleted(WorkItemNodeInstance.java:246)
19:05,828 ERROR [STDERR] at
org.drools.workflow.instance.node.WorkItemNodeInstance.signalEvent(WorkItemNodeInstance.java:222)
19:05,828 ERROR [STDERR] at
org.drools.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:258)
19:05,828 ERROR [STDERR] at
org.drools.persistence.processinstance.JPAWorkItemManager.completeWorkItem(JPAWorkItemManager.java:96)
19:05,828 ERROR [STDERR] at
org.drools.integration.console.workitemhandler.LogHandler.executeWorkItem(LogHandler.java:62)
19:05,828 ERROR [STDERR] at
org.drools.persistence.processinstance.JPAWorkItemManager.internalExecuteWorkItem(JPAWorkItemManager.java:44)
19:05,828 ERROR [STDERR] at
org.drools.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:95)
19:05,828 ERROR [STDERR] at
org.drools.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:112)
19:05,828 ERROR [STDERR] at
org.drools.workflow.instance.impl.NodeInstanceImpl.triggerConnection(NodeInstanceImpl.java:148)
19:05,828 ERROR [STDERR] at
org.drools.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:135)
19:05,828 ERROR [STDERR] at
org.drools.workflow.instance.node.JoinInstance.triggerCompleted(JoinInstance.java:152)
19:05,828 ERROR [STDERR] at
org.drools.workflow.instance.node.JoinInstance.internalTrigger(JoinInstance.java:52)
19:05,828 ERROR [STDERR] at
org.drools.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:112)
19:05,828 ERROR [STDERR] at
org.drools.workflow.instance.impl.NodeInstanceImpl.triggerConnection(NodeInstanceImpl.java:148)
19:05,828 ERROR [STDERR] at
org.drools.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:135)
19:05,828 ERROR [STDERR] at
org.drools.workflow.instance.node.StartNodeInstance.triggerCompleted(StartNodeInstance.java:49)
19:05,828 ERROR [STDERR] at
org.drools.workflow.instance.node.StartNodeInstance.internalTrigger(StartNodeInstance.java:41)
19:05,828 ERROR [STDERR] at
org.drools.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:112)
19:05,828 ERROR [STDERR] at
org.drools.ruleflow.instance.RuleFlowProcessInstance.internalStart(RuleFlowProcessInstance.java:16)
19:05,828 ERROR [STDERR] at
org.drools.process.instance.impl.ProcessInstanceImpl.start(ProcessInstanceImpl.java:185)
19:05,828 ERROR [STDERR] at
org.drools.workflow.instance.impl.WorkflowProcessInstanceImpl.start(WorkflowProcessInstanceImpl.java:230)
19:05,828 ERROR [STDERR] at
org.drools.common.AbstractWorkingMemory.startProcess(AbstractWorkingMemory.java:1689)
19:05,828 ERROR [STDERR] at
org.drools.impl.StatefulKnowledgeSessionImpl.startProcess(StatefulKnowledgeSessionImpl.java:289)
19:05,828 ERROR [STDERR] at
org.drools.command.runtime.process.StartProcessCommand.execute(StartProcessCommand.java:52)
19:05,828 ERROR [STDERR] at
org.drools.command.runtime.process.StartProcessCommand.execute(StartProcessCommand.java:14)
19:05,828 ERROR [STDERR] at
org.drools.persistence.session.SingleSessionCommandService.execute(SingleSessionCommandService.java:254)
19:05,828 ERROR [STDERR] at
org.drools.command.impl.CommandBasedStatefulKnowledgeSession.startProcess(CommandBasedStatefulKnowledgeSession.java:163)
19:05,828 ERROR [STDERR] at
org.drools.integration.console.DroolsFlowCommandDelegate.startProcess(DroolsFlowCommandDelegate.java:254)
19:05,828 ERROR [STDERR] at
org.drools.integration.console.DroolsFlowProcessManagement.newInstance(DroolsFlowProcessManagement.java:64)
19:05,828 ERROR [STDERR] at
org.drools.integration.console.DroolsFlowProcessManagement.newInstance(DroolsFlowProcessManagement.java:60)
19:05,828 ERROR [STDERR] at
org.jboss.bpm.console.server.ProcessMgmtFacade.newInstance(ProcessMgmtFacade.java:189)
19:05,828 ERROR [STDERR] at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
19:05,828 ERROR [STDERR] at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
19:05,828 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
19:05,828 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown
Source)
19:05,828 ERROR [STDERR] at
org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)
19:05,828 ERROR [STDERR] at
org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)
19:05,828 ERROR [STDERR] at
org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)
19:05,828 ERROR [STDERR] at
org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)
19:05,828 ERROR [STDERR] at
org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
19:05,828 ERROR [STDERR] at
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
19:05,828 ERROR [STDERR] at
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
19:05,843 ERROR [STDERR] at
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
19:05,843 ERROR [STDERR] at
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
19:05,843 ERROR [STDERR] at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
19:05,843 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
19:05,843 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
19:05,843 ERROR [STDERR] at
org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
19:05,843 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
19:05,843 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
19:05,843 ERROR [STDERR] at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
19:05,843 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
19:05,843 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
19:05,843 ERROR [STDERR] at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
19:05,843 ERROR [STDERR] at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
19:05,843 ERROR [STDERR] at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
19:05,843 ERROR [STDERR] at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
19:05,843 ERROR [STDERR] at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
19:05,843 ERROR [STDERR] at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
19:05,843 ERROR [STDERR] at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
19:05,843 ERROR [STDERR] at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
19:05,843 ERROR [STDERR] at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
19:05,843 ERROR [STDERR] at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
19:05,843 ERROR [STDERR] at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
19:05,843 ERROR [STDERR] at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
19:05,843 ERROR [STDERR] at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
19:05,843 ERROR [STDERR] at java.lang.Thread.run(Unknown Source)
19:05,890 WARN [arjLoggerI18N]
[com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_2]
TwoPhaseCoordinator.beforeCompletion - failed for com.arjuna.ats.in
nal.jta.resources.arjunacore.SynchronizationImple@1ccad9c
ax.persistence.PersistenceException: java.lang.IllegalArgumentException:
Unknown node instance type:
org.drools.workflow.instance.node.SplitInstance@c4bca9
at
org.hibernate.ejb.AbstractEntityManagerImpl$1.beforeCompletion(AbstractEntityManagerImpl.java:527)
at
com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:114)
at
com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:247)
at
com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:86)
at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:177)
at
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1389)
at
com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:135)
at
com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:87)
at
org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVMClientUserTransaction.java:140)
at
org.drools.persistence.session.SingleSessionCommandService.execute(SingleSessionCommandService.java:258)
at
org.drools.command.impl.CommandBasedStatefulKnowledgeSession.startProcess(CommandBasedStatefulKnowledgeSession.java:163)
at
org.drools.integration.console.DroolsFlowCommandDelegate.startProcess(DroolsFlowCommandDelegate.java:254)
at
org.drools.integration.console.DroolsFlowProcessManagement.newInstance(DroolsFlowProcessManagement.java:64)
at
org.drools.integration.console.DroolsFlowProcessManagement.newInstance(DroolsFlowProcessManagement.java:60)
at
org.jboss.bpm.console.server.ProcessMgmtFacade.newInstance(ProcessMgmtFacade.java:189)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)
at
org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)
at
org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)
at
org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)
at
org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
at
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
at
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
at
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
at
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Unknown Source)
sed by: java.lang.IllegalArgumentException: Unknown node instance type:
org.drools.workflow.instance.node.SplitInstance@c4bca9
at
org.drools.marshalling.impl.AbstractProcessInstanceMarshaller.writeNodeInstanceContent(AbstractProcessInstanceMarshaller.java:243)
at
org.drools.marshalling.impl.AbstractProcessInstanceMarshaller.writeNodeInstance(AbstractProcessInstanceMarshaller.java:117)
at
org.drools.marshalling.impl.AbstractProcessInstanceMarshaller.writeProcessInstance(AbstractProcessInstanceMarshaller.java:106)
at
org.drools.persistence.processinstance.ProcessInstanceInfo.update(ProcessInstanceInfo.java:237)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.hibernate.ejb.event.BeanCallback.invoke(BeanCallback.java:23)
at
org.hibernate.ejb.event.EntityCallbackHandler.callback(EntityCallbackHandler.java:78)
at
org.hibernate.ejb.event.EntityCallbackHandler.preUpdate(EntityCallbackHandler.java:63)
at
org.hibernate.ejb.event.EJB3FlushEntityEventListener.invokeInterceptor(EJB3FlushEntityEventListener.java:43)
at
org.hibernate.event.def.DefaultFlushEntityEventListener.handleInterception(DefaultFlushEntityEventListener.java:308)
at
org.hibernate.event.def.DefaultFlushEntityEventListener.scheduleUpdate(DefaultFlushEntityEventListener.java:248)
at
org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:128)
at
org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:196)
at
org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:76)
at
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:26)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
at
org.hibernate.ejb.AbstractEntityManagerImpl$1.beforeCompletion(AbstractEntityManagerImpl.java:515)
... 50 more
19:05,921 ERROR [STDERR] javax.transaction.RollbackException:
[com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted]
[com.arjuna.ats.internal
a.transaction.arjunacore.commitwhenaborted] Can't commit because the
transaction is in aborted state
19:05,921 ERROR [STDERR] at
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1401)
19:05,921 ERROR [STDERR] at
com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:135)
19:05,921 ERROR [STDERR] at
com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:87)
19:05,921 ERROR [STDERR] at
org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVMClientUserTransaction.java:140)
19:05,921 ERROR [STDERR] at
org.drools.persistence.session.SingleSessionCommandService.execute(SingleSessionCommandService.java:258)
19:05,921 ERROR [STDERR] at
org.drools.command.impl.CommandBasedStatefulKnowledgeSession.startProcess(CommandBasedStatefulKnowledgeSession.java:163)
19:05,921 ERROR [STDERR] at
org.drools.integration.console.DroolsFlowCommandDelegate.startProcess(DroolsFlowCommandDelegate.java:254)
19:05,921 ERROR [STDERR] at
org.drools.integration.console.DroolsFlowProcessManagement.newInstance(DroolsFlowProcessManagement.java:64)
19:05,921 ERROR [STDERR] at
org.drools.integration.console.DroolsFlowProcessManagement.newInstance(DroolsFlowProcessManagement.java:60)
19:05,921 ERROR [STDERR] at
org.jboss.bpm.console.server.ProcessMgmtFacade.newInstance(ProcessMgmtFacade.java:189)
19:05,921 ERROR [STDERR] at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
19:05,921 ERROR [STDERR] at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
19:05,921 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
19:05,921 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown
Source)
19:05,921 ERROR [STDERR] at
org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)
19:05,921 ERROR [STDERR] at
org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)
19:05,921 ERROR [STDERR] at
org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)
19:05,921 ERROR [STDERR] at
org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)
19:05,921 ERROR [STDERR] at
org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
19:05,921 ERROR [STDERR] at
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
19:05,921 ERROR [STDERR] at
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
19:05,921 ERROR [STDERR] at
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
19:05,921 ERROR [STDERR] at
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
19:05,921 ERROR [STDERR] at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
19:05,921 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
19:05,921 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
19:05,921 ERROR [STDERR] at
org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
19:05,921 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
19:05,921 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
19:05,921 ERROR [STDERR] at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
19:05,921 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
19:05,921 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
19:05,921 ERROR [STDERR] at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
19:05,921 ERROR [STDERR] at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
19:05,921 ERROR [STDERR] at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
19:05,921 ERROR [STDERR] at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
19:05,921 ERROR [STDERR] at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
19:05,921 ERROR [STDERR] at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
19:05,921 ERROR [STDERR] at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
19:05,921 ERROR [STDERR] at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
19:05,921 ERROR [STDERR] at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
19:05,921 ERROR [STDERR] at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
19:05,921 ERROR [STDERR] at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
19:05,921 ERROR [STDERR] at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
19:05,921 ERROR [STDERR] at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
19:05,921 ERROR [STDERR] at java.lang.Thread.run(Unknown Source)
19:05,921 ERROR [STDERR] Caused by: javax.persistence.PersistenceException:
java.lang.IllegalArgumentException: Unknown node instance type:
org.drools.workfl
instance.node.SplitInstance@c4bca9
19:05,921 ERROR [STDERR] at
org.hibernate.ejb.AbstractEntityManagerImpl$1.beforeCompletion(AbstractEntityManagerImpl.java:527)
19:05,921 ERROR [STDERR] at
com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:114)
19:05,921 ERROR [STDERR] at
com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:247)
19:05,921 ERROR [STDERR] at
com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:86)
19:05,921 ERROR [STDERR] at
com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:177)
19:05,921 ERROR [STDERR] at
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1389)
19:05,921 ERROR [STDERR] ... 45 more
19:05,921 ERROR [STDERR] Caused by: java.lang.IllegalArgumentException:
Unknown node instance type:
org.drools.workflow.instance.node.SplitInstance@c4bca9
19:05,921 ERROR [STDERR] at
org.drools.marshalling.impl.AbstractProcessInstanceMarshaller.writeNodeInstanceContent(AbstractProcessInstanceMarshaller.java
3)
19:05,937 ERROR [STDERR] at
org.drools.marshalling.impl.AbstractProcessInstanceMarshaller.writeNodeInstance(AbstractProcessInstanceMarshaller.java:117)
19:05,937 ERROR [STDERR] at
org.drools.marshalling.impl.AbstractProcessInstanceMarshaller.writeProcessInstance(AbstractProcessInstanceMarshaller.java:106
19:05,937 ERROR [STDERR] at
org.drools.persistence.processinstance.ProcessInstanceInfo.update(ProcessInstanceInfo.java:237)
19:05,937 ERROR [STDERR] at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
19:05,937 ERROR [STDERR] at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
19:05,937 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
19:05,937 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown
Source)
19:05,937 ERROR [STDERR] at
org.hibernate.ejb.event.BeanCallback.invoke(BeanCallback.java:23)
19:05,937 ERROR [STDERR] at
org.hibernate.ejb.event.EntityCallbackHandler.callback(EntityCallbackHandler.java:78)
19:05,937 ERROR [STDERR] at
org.hibernate.ejb.event.EntityCallbackHandler.preUpdate(EntityCallbackHandler.java:63)
19:05,937 ERROR [STDERR] at
org.hibernate.ejb.event.EJB3FlushEntityEventListener.invokeInterceptor(EJB3FlushEntityEventListener.java:43)
19:05,937 ERROR [STDERR] at
org.hibernate.event.def.DefaultFlushEntityEventListener.handleInterception(DefaultFlushEntityEventListener.java:308)
19:05,937 ERROR [STDERR] at
org.hibernate.event.def.DefaultFlushEntityEventListener.scheduleUpdate(DefaultFlushEntityEventListener.java:248)
19:05,937 ERROR [STDERR] at
org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:128)
19:05,937 ERROR [STDERR] at
org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:196)
19:05,937 ERROR [STDERR] at
org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:76)
19:05,937 ERROR [STDERR] at
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:26)
19:05,937 ERROR [STDERR] at
org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
19:05,937 ERROR [STDERR] at
org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
19:05,937 ERROR [STDERR] at
org.hibernate.ejb.AbstractEntityManagerImpl$1.beforeCompletion(AbstractEntityManagerImpl.java:515)
19:05,937 ERROR [STDERR] ... 50 more
19:05,937 ERROR [STDERR] Nov 30, 2009 11:19:05 AM
org.jboss.resteasy.core.SynchronousDispatcher handleWebApplicationException
ERE: failed to execute
ax.ws.rs.WebApplicationException: java.lang.RuntimeException: Could not
rollback transaction
at
org.jboss.bpm.console.server.ProcessMgmtFacade.newInstance(ProcessMgmtFacade.java:194)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)
at
org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)
at
org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)
at
org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)
at
org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
at
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
at
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
at
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
at
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Unknown Source)
sed by: java.lang.RuntimeException: Could not rollback transaction
at
org.drools.persistence.session.SingleSessionCommandService.execute(SingleSessionCommandService.java:283)
at
org.drools.command.impl.CommandBasedStatefulKnowledgeSession.startProcess(CommandBasedStatefulKnowledgeSession.java:163)
at
org.drools.integration.console.DroolsFlowCommandDelegate.startProcess(DroolsFlowCommandDelegate.java:254)
at
org.drools.integration.console.DroolsFlowProcessManagement.newInstance(DroolsFlowProcessManagement.java:64)
at
org.drools.integration.console.DroolsFlowProcessManagement.newInstance(DroolsFlowProcessManagement.java:60)
at
org.jboss.bpm.console.server.ProcessMgmtFacade.newInstance(ProcessMgmtFacade.java:189)
... 36 more
sed by: java.lang.IllegalStateException: BaseTransaction.rollback -
[com.arjuna.ats.internal.jta.transaction.arjunacore.notx]
[com.arjuna.ats.internal.jta.tr
action.arjunacore.notx] no transaction!
at
com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.rollback(BaseTransaction.java:158)
at
com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.rollback(BaseTransactionManagerDelegate.java:126)
at
org.jboss.tm.usertx.client.ServerVMClientUserTransaction.rollback(ServerVMClientUserTransaction.java:148)
at
org.drools.persistence.session.SingleSessionCommandService.execute(SingleSessionCommandService.java:278)
... 41 more
--
View this message in context: http://old.nabble.com/Problem-in-Building-of-default-package-in-the-GUVNO...
Sent from the drools - user mailing list archive at Nabble.com.
16 years, 10 months
Server Compatibility of Drools
by ramram8
Hi All,
I am currently using the Drools Flow with the GWT web console and I could
create many rule flow processes using the JBOSS 4.2.3 version.
But what I am concerned about is that there will be problems if I changed
the application server?
Please can you help me and tell me if the Drools Flow and GWT web console
are compatible with the following application servers:
1- OC4J
2- Bea Weblogic 9.0
3- IBM Websphere
4- Tomcat 6.0
--
View this message in context: http://old.nabble.com/Server-Compatibility-of-Drools-tp26570562p26570562....
Sent from the drools - user mailing list archive at Nabble.com.
16 years, 10 months