User permission (Maker-Checker) issue in Guvnor 5.4.0
by kulpreet_singh
Hi,
I am using Guvnor version 5.4.0 and trying to implement maker-checker
functionality for updating rules/assets in Guvnor. I am facing problem
related to user permission. Following are the steps:
1) Configured two users in Guvnor using 'admin' login - Analyst & Developer
2) I have one package 'Test' where all the rules resides.
3) Created two categories - Draft & Approved
4) Assigned 'Developer' user: 'analyst' role on 'Draft' category and
'package.readonly' role on 'Test' package.
5) Assigned 'Analyst' user: 'analyst' role on 'Approved' category,
'package.developer' role on 'Test' package and 'analyst.readonly' on 'Draft'
category.
6) The idea is to initially assign all the rules/assets under 'Draft'
category. Once 'Developer' finishes working on rules, the 'Analyst' verifies
and replace the rule/asset category to 'Approved'.
7) I checked, the system is not allowing 'Developer' to edit the content of
the rule which is marked as 'Approved' category. But, the problem is,
'Developer' is allowed to replace the 'Approved' category of the asset back
to 'Draft' and hence free to edit that rule.
I presume this as the bug in the system as Developer should not be allowed
to modify the category of the rule if it doesn't belong to 'Draft' category.
Please help me in suggesting the workaround for this issue and appreciate
your valuable inputs in this regard.
Thanks & Regards,
Kulpreet Singh
--
View this message in context: http://drools.46999.n3.nabble.com/User-permission-Maker-Checker-issue-in-...
Sent from the Drools: User forum mailing list archive at Nabble.com.
12 years, 11 months
Not Able to create a cindition BRL fragment
by Aditi Hardas
Hi ,
I am using Drool Guvnor 5.5 along with IE 9 and Tomcat 7.0.32. I have
successfully deployed Guvnor in Tomcat.In next step I have created a package
then add a new category and added a rule with Decision Table (web - guided
rule ) as a rule formate.I was able to create a rule with certain set of
conditions and actions.On clicking Include Advance Option and choose *Add a
condition BRL fragment* or *Add an action BRL fragment*, I am getting java
script error and nothing is moving forword after that. That mean I am not
able to add and BRL fragment to my rule.
Can any one help me for this. Does I am doing any thing wrong.
Thx in advance.
--
View this message in context: http://drools.46999.n3.nabble.com/Not-Able-to-create-a-cindition-BRL-frag...
Sent from the Drools: User forum mailing list archive at Nabble.com.
12 years, 11 months
Status of GuvnorNG
by calcacuervo
Hey everyone.
I am trying to use Guvnor NG, so I cloned the master repository in github. I
managed to compile it and generate the wars. I deployed it to tomcat and it
started :).
Now I see that I get some errors in my browsers, for example, when I try to
create a new DRL rule,
exception: org.jboss.errai.bus.client.api.base.MessageDeliveryFailure: error
inv
oking endpoint
disconnect: false
java.lang.RuntimeException: no marshalling definition available for
type:com.tho
ughtworks.xstream.io.StreamException
at
org.jboss.errai.marshalling.client.util.MarshallUtil.getMarshaller(Ma
rshallUtil.java:131)
at
org.jboss.errai.marshalling.client.marshallers.ErraiProtocolEnvelopeM
arshaller.marshall(ErraiProtocolEnvelopeMarshaller.java:97)
at
org.jboss.errai.marshalling.client.protocols.ErraiProtocol.encodePayl
oad(ErraiProtocol.java:40)
at
org.jboss.errai.marshalling.server.protocol.ErraiProtocolServer.encod
ePayloadToByteArrayInputStream(ErraiProtocolServer.java:31)
at
org.jboss.errai.bus.server.io.BufferHelper.encodeAndWrite(BufferHelpe
r.java:70)
at
org.jboss.errai.bus.server.MessageQueueImpl.offer(MessageQueueImpl.ja
va:186)
at
org.jboss.errai.bus.server.ServerMessageBusImpl.enqueueForDelivery(Se
rverMessageBusImpl.java:739)
at
org.jboss.errai.bus.server.ServerMessageBusImpl.send(ServerMessageBus
Impl.java:728)
at
org.jboss.errai.bus.server.ServerMessageBusImpl.send(ServerMessageBus
Impl.java:675)
at
org.jboss.errai.bus.client.api.base.ConversationMessageWrapper.sendNo
wWith(ConversationMessageWrapper.java:228)
at
org.jboss.errai.bus.client.api.base.DefaultMessageBuilder$1.sendNowWi
th(DefaultMessageBuilder.java:78)
at
org.jboss.errai.bus.client.util.ErrorHelper.sendClientError(ErrorHelp
er.java:107)
at
org.jboss.errai.bus.client.util.ErrorHelper.sendClientError(ErrorHelp
er.java:77)
at
org.jboss.errai.bus.client.util.ErrorHelper.handleMessageDeliveryFail
ure(ErrorHelper.java:170)
at
org.jboss.errai.bus.server.SimpleDispatcher.dispatchGlobal(SimpleDisp
atcher.java:53)
at
org.jboss.errai.bus.server.service.ErraiServiceImpl.store(ErraiServic
eImpl.java:93)
at
org.jboss.errai.bus.server.service.ErraiServiceImpl.store(ErraiServic
eImpl.java:107)
at
org.jboss.errai.bus.server.servlet.DefaultBlockingServlet.doPost(Defa
ultBlockingServlet.java:117)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
at
org.uberfire.security.server.UberFireSecurityFilter.doFilter(UberFire
SecurityFilter.java:221)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:225)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:169)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:472)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:168)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:98)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
927)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp
11Processor.java:999)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(
AbstractProtocol.java:565)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoin
t.java:309)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:662)
and well, some alerts saying
"Unable to complete your request. The following exception occurred: Unable
to get KieModule, Errors Existed.".
So I wanted to check which is the status of this, when at high level it is
expected to be stable, etc.
Thanks in advance!
Demian
--
View this message in context: http://drools.46999.n3.nabble.com/Status-of-GuvnorNG-tp4023136.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
12 years, 11 months
Good Bokk for Drools, JBPM, Guvnor
by Zahid Ahmed
Hi All,
I need a good book for Drools, JBPM and Guvnor to get a good
understanding of workflow and rule-engine. I need to create a workflow
based application and the book will be helpful to me in my development
and understanding.
Regards,
Zahid
12 years, 11 months
Guvnor + Oracle 10g
by abhinay_agarwal
hi ,
I was trying to connect my guvnor to oracle 10g database, but somehow i get
the following error when i try to redploy guvnor after pasting the
repository.xml.
Any idea what this can be ?
SEVERE: Exception while dispatching incoming RPC call
com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public
abstract org.drools.guvnor.client.rpc.Module[]
org.drools.guvnor.client.rpc.ModuleService.listModules()' threw an
unexpected exception: org.jboss.weld.exceptions.WeldException: WELD-000049
Unable to invoke [method] @PostConstruct public
org.drools.guvnor.server.repository.RepositoryStartupService.create() on
org.drools.guvnor.server.repository.ProductionRepositoryStartupService@dddff
at
com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:385)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:588)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
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.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.jboss.weld.exceptions.WeldException: WELD-000049 Unable to
invoke [method] @PostConstruct public
org.drools.guvnor.server.repository.RepositoryStartupService.create() on
org.drools.guvnor.server.repository.ProductionRepositoryStartupService@dddff
at
org.jboss.weld.bean.AbstractClassBean.defaultPostConstruct(AbstractClassBean.java:400)
at
org.jboss.weld.bean.ManagedBean$ManagedBeanInjectionTarget.postConstruct(ManagedBean.java:174)
at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:294)
at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:107)
at
org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:90)
at
org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:79)
at
org.drools.guvnor.server.repository.ProductionRepositoryStartupService$Proxy$_$$_WeldClientProxy.newSession(ProductionRepositoryStartupService$Proxy$_$$_WeldClientProxy.java)
at
org.drools.guvnor.server.repository.RulesRepositoryManager.getRulesRepository(RulesRepositoryManager.java:78)
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:597)
at
org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:267)
at
org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52)
at
org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:137)
at
org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:263)
at
org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:170)
at
org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstance(MethodInjectionPoint.java:137)
at
org.jboss.weld.bean.ProducerMethod$ProducerMethodProducer.produce(ProducerMethod.java:136)
at
org.jboss.weld.bean.AbstractProducerBean$AbstractProducer.produce(AbstractProducerBean.java:319)
at
org.jboss.weld.bean.AbstractProducerBean.create(AbstractProducerBean.java:307)
at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:107)
at
org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:90)
at
org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:79)
at
org.drools.repository.RulesRepository$Proxy$_$$_WeldClientProxy.listModules(RulesRepository$Proxy$_$$_WeldClientProxy.java)
at
org.drools.guvnor.server.RepositoryModuleOperations.listModules(RepositoryModuleOperations.java:102)
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:597)
at
org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:44)
at
org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:105)
at
org.drools.guvnor.server.RepositoryModuleOperations$Proxy$_$$_WeldClientProxy.listModules(RepositoryModuleOperations$Proxy$_$$_WeldClientProxy.java)
at
org.drools.guvnor.server.RepositoryModuleService.listModules(RepositoryModuleService.java:109)
at
org.drools.guvnor.server.RepositoryModuleService.listModules(RepositoryModuleService.java:102)
at
org.drools.guvnor.server.RepositoryModuleService$Proxy$_$$_WeldClientProxy.listModules(RepositoryModuleService$Proxy$_$$_WeldClientProxy.java)
at
org.drools.guvnor.server.ModuleServiceServlet.listModules(ModuleServiceServlet.java:26)
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:597)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)
... 17 more
Caused by: java.lang.reflect.InvocationTargetException
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:597)
at
org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:267)
at
org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52)
at
org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:137)
at
org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:263)
at
org.jboss.weld.introspector.jlr.WeldMethodImpl.invoke(WeldMethodImpl.java:174)
at
org.jboss.weld.bean.AbstractClassBean.defaultPostConstruct(AbstractClassBean.java:398)
... 58 more
Caused by: java.lang.OutOfMemoryError: Java heap space
at
oracle.jdbc.driver.PhysicalConnection.getByteBuffer(PhysicalConnection.java:6991)
at
oracle.jdbc.driver.OracleStatement.prepareAccessors(OracleStatement.java:895)
at oracle.jdbc.driver.T4CTTIdcb.receiveCommon(T4CTTIdcb.java:261)
at oracle.jdbc.driver.T4CTTIdcb.receive(T4CTTIdcb.java:127)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:992)
at
oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
at
oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:791)
at
oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:866)
at
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1186)
at
oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3387)
at
oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3488)
at
oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:169)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:169)
at
org.apache.jackrabbit.core.util.db.ConnectionHelper.execute(ConnectionHelper.java:438)
at
org.apache.jackrabbit.core.util.db.ConnectionHelper.reallyExec(ConnectionHelper.java:359)
at
org.apache.jackrabbit.core.util.db.ConnectionHelper$3.call(ConnectionHelper.java:339)
at
org.apache.jackrabbit.core.util.db.ConnectionHelper$3.call(ConnectionHelper.java:335)
at
org.apache.jackrabbit.core.util.db.ConnectionHelper$RetryManager.doTry(ConnectionHelper.java:458)
at
org.apache.jackrabbit.core.util.db.ConnectionHelper.exec(ConnectionHelper.java:335)
at
org.apache.jackrabbit.core.persistence.pool.BundleDbPersistenceManager.loadBundle(BundleDbPersistenceManager.java:1020)
at
org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.getBundle(AbstractBundlePersistenceManager.java:654)
at
org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.exists(AbstractBundlePersistenceManager.java:473)
at
org.apache.jackrabbit.core.version.InternalVersionManagerImpl.<init>(InternalVersionManagerImpl.java:159)
at
org.apache.jackrabbit.core.RepositoryImpl.createVersionManager(RepositoryImpl.java:509)
at
org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:329)
at
org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:605)
at
org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:232)
at
org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:280)
at
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:376)
at
org.apache.jackrabbit.commons.AbstractRepository.login(AbstractRepository.java:123)
at
org.drools.repository.JCRRepositoryConfigurator.login(JCRRepositoryConfigurator.java:95)
--
View this message in context: http://drools.46999.n3.nabble.com/Guvnor-Oracle-10g-tp4022991.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
12 years, 11 months
Guvnor REST APIs - what rule features are supported?
by kurrent93
Hi
I saw a thread a few days ago asking about how to enable/disable rules using
the guvnor REST Api - only to find that that functionality does not exist.
What other functionalities are not covered by the REST apis?
For example, can we add calendars using the REST api?
What about salience, no-loop, activation group, agenda group, duration?
We are looking to build a custom UI for editing rules, using the Guvnor REST
apis, and but if there is limited coverage, then we will need to find an
alternative.
Thanks
--
View this message in context: http://drools.46999.n3.nabble.com/Guvnor-REST-APIs-what-rule-features-are...
Sent from the Drools: User forum mailing list archive at Nabble.com.
12 years, 11 months