Re: [rules-users] debug
Hi All, I'm wondering what the status is re this "debug not working" drools issue. It's been out there for quite a while now. It would be great to get feedback re this. Folks out there must be using 5.5.0 core, so I'm wondering how they are coping this issue. Regards, Kevin -- View this message in context: http://drools.46999.n3.nabble.com/debug-tp3889772p4021336.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] debug
Guys, Is there a fix coming for this issue? I do not see how we can use 5.5.0 core if the eclipse debugger does not work. The mvel workaround does not work for me. Even if it did, I wrote a load of java dialect rules for 5.3.0 which I don't want to rewrite. Please advise? Should I stay with 5.3.0? I really want to start our project with the "latest & greatest". Any thoughts welcome Regards, Kevin -- View this message in context: http://drools.46999.n3.nabble.com/debug-tp3889772p4021125.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] debug
Hi Mattias, Thanks for your very quick reply What I'm seeing is very strange!!! I tried the workaround with eclipse juno & it did not work, I tried the workaround with eclipse helios & it "partially" worked ... The debugger stopped in the helloworld drl file but when "stepping through" the debugger seems to be going to the wrong lines . i.e. I'm not seeing the same jumps that I'm seeing for the same drl file in drools 5.3.0 final. I hope I'm clear but if not happy to elaborate ... I'll look into how to "JIRA" vote. Regards, Kevin -- View this message in context: http://drools.46999.n3.nabble.com/debug-tp3889772p4021020.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] debug
Hi, As I see it , this is a big problem. I was looking at drools about 10 months ago (5.3.0 Final) and debug worked just fine ... ... so similar to earlier comment of Bruno here. Today I downloaded drools 5.5.0 Final & eclipse Juno and debug is broken ... Can we expect a patch? I can't see how we could proceed if this issue is not resolved. Any suggestions welcome. Regards, Kevin -- View this message in context: http://drools.46999.n3.nabble.com/debug-tp3889772p4021012.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] AgendaFilter - filter rule based on package name
Thanks Laune, works Kevin -- View this message in context: http://drools.46999.n3.nabble.com/AgendaFilter-filter-rule-based-on-package-name-tp3772193p3780521.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] AgendaFilter - filter rule based on package name
Hi, Is it possible to filter rules based on package name? I note others asked this ... way back ... and reported it didn't work then. http://drools.46999.n3.nabble.com/Agenda-filter-based-on-package-name-tc52171.html Thanks in advance, Kevin -- View this message in context: http://drools.46999.n3.nabble.com/AgendaFilter-filter-rule-based-on-package-name-tp3772193p3772193.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] Guvnor - verify that external RDBMS is being used to store rules
Sorry All Finger problems ... no longer an issue didn't see that I'd named a file repository..xml ( 2 .'s) -- View this message in context: http://drools.46999.n3.nabble.com/Guvnor-verify-that-external-RDBMS-is-being-used-to-store-rules-tp3760689p3761002.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] Guvnor - verify that external RDBMS is being used to store rules
Hi, I configured an external RDBMS (Oracle) as the data store for Guvnor ( on tomcat 6.0.35) - new repository.xml etc. Thinks look good .. guvnor launched ok ... entered & validated rules etc ... Now I want to verify that the rules are stored on the db. ( VERSIONING_* files etc) as opposed to the default flat files under the tomcat install dir. Basically I'm not sure of the best way to do this. The db tables contain blobs so wont "see" anything there! Using Guvnor, I edited a test. This updated data in the datastore directory (C:\apache-tomcat-6.0.35\bin\repository\repository\datastore). Is this correct behaviour? If the external DB is used, on tomcat startup, is a "copy" of everything sent to bin/repository? I deleted the repository dir under tomcat bin & restarted tomcat. I hoped that the repository would be rebuilt from the db tables data but this did not happen. So can anyone advise? thanks in advance, Kevin -- View this message in context: http://drools.46999.n3.nabble.com/Guvnor-verify-that-external-RDBMS-is-being-used-to-store-rules-tp3760689p3760689.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] Drools : Guvnor issue on tomcat when attempting to use Oracle DB as rule store
Thanks Mantis, Working now .. I just increased the heap size ... so I was wrong, it was the cause - not the symptom. Regards, Kevin -- View this message in context: http://drools.46999.n3.nabble.com/Drools-Guvnor-issue-on-tomcat-when-attempting-to-use-Oracle-DB-as-rule-store-tp3754398p3760644.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] Drools : Guvnor issue on tomcat when attempting to use Oracle DB as rule store
Hi Mantis, Thanks for the response I'm pretty sure that the "out of memory" is a symptom not the cause. The console give a warning "SEVERE: The web application [/guvnor] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak." Hence I wasnt surprised to see this error. I'll increase the heap size anyway once back at work and see where I am. Regards, Kevin -- View this message in context: http://drools.46999.n3.nabble.com/Drools-Guvnor-issue-on-tomcat-when-attempting-to-use-Oracle-DB-as-rule-store-tp3754398p3754641.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] Drools : Guvnor issue on tomcat when attempting to use Oracle DB as rule store
Hi, First time post on drools ... I installed Guvnor 5.3.0 on tomcat 6.0.35. When I used the default (Jackrabbit) datastore all worked fine. I next went about trying to change guvnor to use an external RDBMS (Oracle 10g) . I generated a new repository.xml . As per reference manual I used the Repository Configuration Manager to generate a new repository.xml file. However on startup with new repository.xml file, I get the following errors ( console, localhost & catalina). Can anyone shed some light ? thanks in advance, Kevin ## console - start ## 17-Feb-2012 17:14:20 org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performanc e in production environments was not found on the java.library.path: C:\Progra~2 \Java\JDK15~1.0_0\bin;.;C:\windows\system32;C:\windows;C:\oracle\product\10.2.0\ client_1\bin;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\ System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE \Core-Static;C:\Progra~2\Java\JDK15~1.0_0\bin;C:\apache-ant-1.7.0\bin 17-Feb-2012 17:14:20 org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 17-Feb-2012 17:14:20 org.apache.catalina.startup.Catalina load INFO: Initialization processed in 267 ms 17-Feb-2012 17:14:20 org.apache.catalina.core.StandardService start INFO: Starting service Catalina 17-Feb-2012 17:14:20 org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.35 17-Feb-2012 17:14:20 org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying configuration descriptor host-manager.xml 17-Feb-2012 17:14:20 org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying configuration descriptor manager.xml 17-Feb-2012 17:14:20 org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive guvnor.war INFO 17-02 17:14:23,713 (RulesRepositoryConfigurator.java:getInstance:46) Creating an instance of the RulesRepositoryConfigurator. 17-Feb-2012 17:14:24 org.apache.catalina.core.StandardContext start SEVERE: Error listenerStart 17-Feb-2012 17:14:24 org.apache.catalina.core.StandardContext start SEVERE: Context [/guvnor] startup failed due to previous errors INFO 17-02 17:14:24,681 (LoggingHelper.java:info:49)Removing listeners Removing all listeners... Listeners removed... INFO 17-02 17:14:24,681 (LoggingHelper.java:info:49)Shutting down repositor y INFO 17-02 17:14:24,681 (RulesRepositoryConfigurator.java:shutdown:172) SHUTDOWN RULES CONFIG 17-Feb-2012 17:14:24 org.apache.catalina.loader.WebappClassLoader clearReference sThreads SEVERE: The web application [/guvnor] appears to have started a thread named [Ti mer-0] but has failed to stop it. This is very likely to create a memory leak. 17-Feb-2012 17:14:25 org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory docs 17-Feb-2012 17:14:25 org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory examples 17-Feb-2012 17:14:25 org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory ROOT 17-Feb-2012 17:14:25 org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8080 17-Feb-2012 17:14:25 org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 17-Feb-2012 17:14:25 org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/0 config=null 17-Feb-2012 17:14:25 org.apache.catalina.startup.Catalina start INFO: Server startup in 4457 ms ## console - end ## ## localhost log -start 17-Feb-2012 17:14:12 org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextDestroyed() 17-Feb-2012 17:14:12 org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextDestroyed() 17-Feb-2012 17:14:24 org.apache.catalina.core.StandardContext listenerStart SEVERE: Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener org.jboss.seam.InstantiationException: Could not instantiate Seam component: repositoryConfiguration at org.jboss.seam.Component.newInstance(Component.java:2170) at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304) at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278) at org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:143) at org.jboss.seam.init.Initialization.init(Initialization.java:744) at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBas