Re: [rules-users] JBoss As 7 with guvnor 5.4 - package build error: cannot resolve identifier
I have now a solution for the problem: till now, I access the x.y.z.DemoClass.DemoSuclass in a "then" - clause. Now, I changed the rule accessing the x.y.z.DemoClass.DemoSuclass in the "when" - clause, calling the method from x.y.z.DemoClass.DemoSuclass via a variable declared in the "when" - clause. That works! If you have any ideas of why accessing the x.y.z.DemoClass.DemoSuclass in the "then" - clause does not work, please let me know it. -- View this message in context: http://drools.46999.n3.nabble.com/JBoss-As-7-with-guvnor-5-4-package-build-error-cannot-resolve-identifier-tp4018984p4018993.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] JBoss As 7 with guvnor 5.4 - package build error: cannot resolve identifier
I made a new java project using eclipse. In this project I included the demo.jar. Then I used the x.y.z.DemoClass.DemoSuclass inside the class of this project. It compiled and run without errors. So I would say this is a problem which has to be resolved in Guvnor. But how? -- View this message in context: http://drools.46999.n3.nabble.com/JBoss-As-7-with-guvnor-5-4-package-build-error-cannot-resolve-identifier-tp4018984p4018992.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] JBoss As 7 with guvnor 5.4 - package build error: cannot resolve identifier
one more issue: I cant access x.y.z.DemoClass.DemoSuclass, but I can access x.y.z.DemoClass$DemoSuclass. but then following error occures: Error: unable to resolve method using strict-mode: org.drools.spi.KnowledgeHelper I tried it using 1) upload the demo.jar with the guvnor webinterface 2) by adding demo.jar in guvnor.war/WEB-INF/libs both options causes th same problem -- View this message in context: http://drools.46999.n3.nabble.com/JBoss-As-7-with-guvnor-5-4-package-build-error-cannot-resolve-identifier-tp4018984p4018991.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] JBoss As 7 with guvnor 5.4 - package build error: cannot resolve identifier
In the Jboss console, there comes folloing log entry when recieving error message in guvnor: 09:32:00,299 INFO [org.jboss.as.controller] (MSC service thread 1-3) Service status report New missing/unsatisfied dependencies: service jboss.data-source-config.java:jboss/datasources/ExampleDS (missing) 09:32:00,301 INFO [org.jboss.as.controller] (MSC service thread 1-1) Service status report New missing/unsatisfied dependencies: service jboss.jndi-view.extension.registry (missing) Maybe this can help for solving my problem? -- View this message in context: http://drools.46999.n3.nabble.com/JBoss-As-7-with-guvnor-5-4-package-build-error-cannot-resolve-identifier-tp4018984p4018988.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] JBoss As 7 with guvnor 5.4 - package build error: cannot resolve identifier
Hi bharadwaj2012, thanks for your fast reply. I'm aware of the option uploading the jar via guvnor web-interface, but I have to do it the way i described above for several reasons. Any ideas for my choosed option? -- View this message in context: http://drools.46999.n3.nabble.com/JBoss-As-7-with-guvnor-5-4-package-build-error-cannot-resolve-identifier-tp4018984p4018986.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] JBoss As 7 with guvnor 5.4 - package build error: cannot resolve identifier
Hi, I expanded the guvnor.war/WEB-INF/libs with new library demo.jar. In all rules the access on every Class in demo.jar is possible with x.y.z.DemoClass. But the access to a public subclass in the class x.y.z.DemoClass x.y.z.DemoClass.DemoSuclass does not work, causes "cannot resolve identifier" on trying to build the package in guvnor. Any idea? Thanks for your feedback. -- View this message in context: http://drools.46999.n3.nabble.com/JBoss-As-7-with-guvnor-5-4-package-build-error-cannot-resolve-identifier-tp4018984.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] How to make available declarative model to all packages.
I tried your steps you mentioned above with the existing repository: same problem. I setup a new repository in guvnor and tried your steps you mentioned above: no problems. It seems that the old repository has been chrashed for some reasons I can't fix out. So far it seems to work correctly now. Thanks. -- View this message in context: http://drools.46999.n3.nabble.com/How-to-make-available-declarative-model-to-all-packages-tp3605644p4018921.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] How to make available declarative model to all packages.
I'm using Guvnor 5.4 -- View this message in context: http://drools.46999.n3.nabble.com/How-to-make-available-declarative-model-to-all-packages-tp3605644p4018892.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] How to make available declarative model to all packages.
Hi manstis, I allready have made the 2 steps you mentioned above. This is not the problem. The problem is the following step 3: Going to the "Edit" tab in the package "x.y.z" and adding the types from the imported declarative model in the list named "Configuration: Imported types", because if I click on the green + there is no type from the declarative model to choose. And my rule in the package "x.y.z" needs the missing type. So the package cannot be build. I hope I have expressed my problem now clear enough. Thanks in advance. -- View this message in context: http://drools.46999.n3.nabble.com/How-to-make-available-declarative-model-to-all-packages-tp3605644p4018889.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] How to make available declarative model to all packages.
I have made following: In Guvnor you have to create a Model also in your specific packages and select "import from global area". Then you have to go to the configuration of the package and add the classes you want to use in your package. My problem is that i can't add the classes I want to use in my package. And than I tried to resolve the problem by deleting the imported declarative model from the package and deleting the declarative model, I can't create a declarative model in global area without creating automatically the same declarative model in the package I want to import it. Any advices? Thanks a lot -- View this message in context: http://drools.46999.n3.nabble.com/How-to-make-available-declarative-model-to-all-packages-tp3605644p4018875.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] Jboss As7.0.2 (linux): designer-2.2.Final-jboss7 request to guvnor-5.4.0.Final-jboss-as-7.0: connection refused
I have now solved the connection refused problem by changing the following file as shown below: jboss-7.0.2/standalone/configuration/standalone.xml -- View this message in context: http://drools.46999.n3.nabble.com/Jboss-As7-0-2-linux-designer-2-2-Final-jboss7-request-to-guvnor-5-4-0-Final-jboss-as-7-0-connection-d-tp4018784p4018791.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] Jboss As7.0.2 (linux): designer-2.2.Final-jboss7 request to guvnor-5.4.0.Final-jboss-as-7.0: connection refused
thanks for your fast reply. Guvnor instance is running on localhost:8080/guvnor/org.drools.guvnor.Guvnor/Guvnor.jsp Designer instance is running on localhost:8080/designer/editor -- View this message in context: http://drools.46999.n3.nabble.com/Jboss-As7-0-2-linux-designer-2-2-Final-jboss7-request-to-guvnor-5-4-0-Final-jboss-as-7-0-connection-d-tp4018784p4018788.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] Jboss As7.0.2 (linux): designer-2.2.Final-jboss7 request to guvnor-5.4.0.Final-jboss-as-7.0: connection refused
Hi all, following error appears on trying to save a bpmn2 process: 15:21:28,408 SEVERE [org.jbpm.designer.web.repository.impl.UUIDBasedJbpmRepository] (http--192.168.0.67-8080-3) Unable to connect to Gunvor. Is it running? [Connection refused] 15:21:28,701 SEVERE [org.jbpm.designer.web.server.ServletUtil] (http--192.168.0.67-8080-2) Connection refused 15:21:28,819 SEVERE [org.jbpm.designer.web.server.DictionaryServlet] (http--192.168.0.67-8080-2) Connection refused designer configuration file jbpm.xml : guvnor configuration file preferences.properties : #Designer configuration designer.url=http://localhost:8080 #Do not change this unless you know what are you doing designer.context=designer designer.profile=jbpm guvnor configuration file beans.xml : org.drools.guvnor.server.security.DemoAuthenticator subdomaines in Jboss-Server: -designer -guvnor Can anybody help me please. Thanks a lot -- View this message in context: http://drools.46999.n3.nabble.com/Jboss-As7-0-2-linux-designer-2-2-Final-jboss7-request-to-guvnor-5-4-0-Final-jboss-as-7-0-connection-d-tp4018784.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