Re: [rules-users] Usage of the jcr2vfs migration tool
I have looked for these instructions also, and have never been able to find them. When I run the migration tool, I get no results. When I go in and add a stack trace to Jcr2VfsMigrationApp, I then get the following: C:\z\drools-wb\drools-wb-jcr2vfs-migration\drools-wb-jcr2vfs-migration-core\targ et\drools-wb-jcr2vfs-migration-core-6.2.0-SNAPSHOT\drools-wb-jcr2vfs-migration-c ore-6.2.0-SNAPSHOT\binrunMigration -h org.jboss.weld.exceptions.DeploymentException: Exception List with 2 exceptions: Exception 0 : org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependenc ies for type [RefactoringQueryService] with qualifiers [@Default] at injection p oint [[field] @Inject private org.kie.workbench.common.screens.datamodeller.back end.server.DataModelerServiceImpl.queryService] at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.j ava:315) at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.j ava:284) at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:147) at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:167) at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:386) at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java: 371) at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.ja va:379) at org.jboss.weld.bootstrap.api.helpers.ForwardingBootstrap.validateBean s(ForwardingBootstrap.java:85) at org.jboss.weld.environment.se.Weld.initialize(Weld.java:136) at org.drools.workbench.jcr2vfsmigration.Jcr2VfsMigrationApp.startUp(Jcr 2VfsMigrationApp.java:78) at org.drools.workbench.jcr2vfsmigration.Jcr2VfsMigrationApp.run(Jcr2Vfs MigrationApp.java:51) at org.drools.workbench.jcr2vfsmigration.Jcr2VfsMigrationApp.main(Jcr2Vf sMigrationApp.java:37) Exception 0 : org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependenc ies for type [RefactoringQueryService] with qualifiers [@Default] at injection p oint [[field] @Inject private org.kie.workbench.common.services.backend.rulename .RuleNameServiceImpl.queryService] at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.j ava:315) at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.j ava:284) at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:147) at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:167) at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:386) at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java: 371) at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.ja va:379) at org.jboss.weld.bootstrap.api.helpers.ForwardingBootstrap.validateBean s(ForwardingBootstrap.java:85) at org.jboss.weld.environment.se.Weld.initialize(Weld.java:136) at org.drools.workbench.jcr2vfsmigration.Jcr2VfsMigrationApp.startUp(Jcr 2VfsMigrationApp.java:78) at org.drools.workbench.jcr2vfsmigration.Jcr2VfsMigrationApp.run(Jcr2Vfs MigrationApp.java:51) at org.drools.workbench.jcr2vfsmigration.Jcr2VfsMigrationApp.main(Jcr2Vf sMigrationApp.java:37) at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:398) at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java: 371) at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.ja va:379) at org.jboss.weld.bootstrap.api.helpers.ForwardingBootstrap.validateBean s(ForwardingBootstrap.java:85) at org.jboss.weld.environment.se.Weld.initialize(Weld.java:136) at org.drools.workbench.jcr2vfsmigration.Jcr2VfsMigrationApp.startUp(Jcr 2VfsMigrationApp.java:78) at org.drools.workbench.jcr2vfsmigration.Jcr2VfsMigrationApp.run(Jcr2Vfs MigrationApp.java:51) at org.drools.workbench.jcr2vfsmigration.Jcr2VfsMigrationApp.main(Jcr2Vf sMigrationApp.java:37) It has been frustrating. Did you finish your migration? Any thoughts or wisdom you can share will be most welcome. Thanks, Skip -- View this message in context: http://drools.46999.n3.nabble.com/Usage-of-the-jcr2vfs-migration-tool-tp4027916p4030711.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
[rules-users] sharing guvnor cache files
Hi, I have configured local guvnor cache in my application. Drools and Guvnor version 5.2. My application is deployed in 2 managed servers in weblogic. So now application in both the servers refer to the same directory where guvnor cache is created. Is there any issue in both the application referring to the same location for the guvnor cache files.? Thank you -- View this message in context: http://drools.46999.n3.nabble.com/sharing-guvnor-cache-files-tp4030712.html Sent from the Drools: User forum mailing list archive at Nabble.com.___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Loading pre-compiled rules (kbase.cache)
I posted a similar question on the new google group forum today: https://groups.google.com/forum/#!topic/drools-setup/aEG1s8MqgA0 The KieServicesImpl class lives in the drools-compiler jar file so I don't believe the compiler jar can be removed from the classpath. In my case that is fine but I don't think that the pre-compiled rules are loading at all and I am using code that is very similar to yours. Did you ever find a resolution for this? Thanks, Kyle -- View this message in context: http://drools.46999.n3.nabble.com/Loading-pre-compiled-rules-kbase-cache-tp4029397p4030715.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
[rules-users] BRMS 6 -Problem in web Guided editor Drop down selection
We have bought BRMS 6 from JBOSS recently. Currently configuring an BRMS rules setup in DEV and INT, encountering an issue with web guided editor, we need your help in resolving the error. Issue is 1) I have data model jar contains Class A along with get/setter, created new web guided rule and when i try to configure rule conditions that currentVolume is greater than volume in BRL fragment popup(overlay) screen, in that Edit button not opening, showing some constraint error. Attached the screen-print. Class A private BigDecimal volume; private BigDecimal currentVolmue; private BigDecimal totalVolume; http://drools.46999.n3.nabble.com/file/n4030716/WebGuide_error.jpg -- View this message in context: http://drools.46999.n3.nabble.com/BRMS-6-Problem-in-web-Guided-editor-Drop-down-selection-tp4030714p4030716.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
[rules-users] Kie-Spring Integration
Hi, Folks !I´m actually working on a project using Drools 6.0.1.Final and I´ve recevied the following request:1) All the .drl files are store inside my maven project under src/main/resources/drools-rules and here´s my drools.xml : Maybe I was blind while searching on documentation, but I couldn´t find a way to load rules (.drl files) from file system (outside the classpath).Please, anyone could help me on this matter?Rgds,Geovanny RibeiroGreeting from Brazil -- View this message in context: http://drools.46999.n3.nabble.com/Kie-Spring-Integration-tp4030717.html Sent from the Drools: User forum mailing list archive at Nabble.com.___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Kie-Spring Integration
That's the standard maven project structure. The resources will be copied to your class path: Within artifact producing source directories (ie. main and test), there is one directory for the language java (under which the normal package hierarchy exists), and one for resources (the structure which is copied to the target classpath given the default resource definition). http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html — Sent from Mailbox On Mon, Aug 25, 2014 at 8:35 PM, gribeiro geovanny.ribe...@gmail.com wrote: Hi, Folks !I´m actually working on a project using Drools 6.0.1.Final and I´ve recevied the following request:1) All the .drl files are store inside my maven project under src/main/resources/drools-rules and here´s my drools.xml : Maybe I was blind while searching on documentation, but I couldn´t find a way to load rules (.drl files) from file system (outside the classpath).Please, anyone could help me on this matter?Rgds,Geovanny RibeiroGreeting from Brazil -- View this message in context: http://drools.46999.n3.nabble.com/Kie-Spring-Integration-tp4030717.html Sent from the Drools: User forum mailing list archive at Nabble.com.___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Kie-Spring Integration
Just reinforcing my question: I need load rules (.drl files) from a network storage (outside the classpath), therefore Maven is not an option for me. Is there a way to do that using Kie-Spring or I´ll have to do it programmatically ? -- View this message in context: http://drools.46999.n3.nabble.com/Kie-Spring-Integration-tp4030717p4030719.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Trying to load a module from Maven coordinates
Hi David, I am facing same issue. Can you please share the solution you figured out ? Thanks Mohit On Sat, Mar 8, 2014 at 5:15 AM, david.berkman david.berk...@grenadefish.net wrote: Using Maven 3.2.1 and Drools 6.0.1, I'm trying to simply follow the instructions for loading a container with a jar at a set of maven coordinates. I have confirmed that the jar exists at the specified coordinates (in Nexus), and that I can download it without using a username/password (just an http get), and that the jar does contain both .drl files and a /META-INF/kmodule.xml. I'm using the code below, and have added the extra dependencies listed, but I get the errors shown below all that. First off, working out the proper dependencies is no mean feat, when it seems that just kie-ci should be necessary. What a pain, and there is far too little documentation to help. But, I assume this should be possible, and maybe some kind person out there has the magic combination of Drools, Maven, and jars to make it work? Thanks in advance, David KieServices kieServices = KieServices.Factory.get(); kieServices.newKieContainer(kieServices.newReleaseId(groupId, artifactId, version)); dependency groupIdorg.kie/groupId artifactIdkie-ci/artifactId version6.0.1.Final/version /dependency dependency groupIdorg.apache.maven/groupId artifactIdmaven-aether-provider/artifactId version3.0.5/version /dependency dependency groupIdorg.codehaus.plexus/groupId artifactIdplexus-utils/artifactId version3.0.17/version /dependency dependency groupIdorg.eclipse.aether/groupId artifactIdaether-impl/artifactId version0.9.0.M2/version /dependency 2014-03-07T15:29:50.368-0800 Sisu WARN (.:) [main] - Error injecting: org.eclipse.aether.internal.impl.DefaultRepositorySystem Exception in thread com.google.inject.ConfigurationException: Guice configuration errors: 1) No implementation for org.eclipse.aether.impl.ArtifactDescriptorReader was bound. while locating org.eclipse.aether.impl.ArtifactDescriptorReader for parameter 4 at org.eclipse.aether.internal.impl.DefaultRepositorySystem.init(Unknown Source) while locating org.eclipse.aether.internal.impl.DefaultRepositorySystem 2) No implementation for org.eclipse.aether.impl.VersionRangeResolver was bound. while locating org.eclipse.aether.impl.VersionRangeResolver for parameter 1 at org.eclipse.aether.internal.impl.DefaultRepositorySystem.init(Unknown Source) while locating org.eclipse.aether.internal.impl.DefaultRepositorySystem 3) No implementation for org.eclipse.aether.impl.VersionResolver was bound. while locating org.eclipse.aether.impl.VersionResolver for parameter 0 at org.eclipse.aether.internal.impl.DefaultRepositorySystem.init(Unknown Source) while locating org.eclipse.aether.internal.impl.DefaultRepositorySystem 3 errors at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:991) at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:950) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1000) at org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48) at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:84) at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:52) at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70) at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100) at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115) at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55) at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68) at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:59) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) at
Re: [rules-users] Kie-Spring Integration
This list is now closed. This list has also moved to Google Groups: http://drools.org/community/forum.html https://groups.google.com/forum/#!forum/drools-usage Mark On 25 Aug 2014, at 21:26, gribeiro geovanny.ribe...@gmail.com wrote: Just reinforcing my question: I need load rules (.drl files) from a network storage (outside the classpath), therefore Maven is not an option for me. Is there a way to do that using Kie-Spring or I´ll have to do it programmatically ? -- View this message in context: http://drools.46999.n3.nabble.com/Kie-Spring-Integration-tp4030717p4030719.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users