Hi, I fixed same kind of bug using below solution.
add <transaction:no-transaction/> tag, components.xml file, you can find this file in war/ web-inf folder. complete xml file should be like below <?xml version="1.0" encoding="UTF-8"?> <components xmlns="http://jboss.com/products/seam/components" xmlns:core="http://jboss.com/products/seam/core" xmlns:transaction="http://jboss.com/products/seam/transaction" xmlns:security="http://jboss.com/products/seam/security" xmlns:web="http://jboss.com/products/seam/web" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation= "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.0.xsd http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.0.xsd http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.0.xsd http://jboss.com/products/seam/web http://jboss.com/products/seam/web-2.0.xsd"> <core:init transaction-management-enabled="false"/> <transaction:no-transaction/> <!-- to fix transaction context flush bug --> <component name="repositoryConfiguration"> <!-- *** This is for configuring the "home" directory for the repo storage. the directory must exist. *** <property name="homeDirectory">/home/michael/RulesRepository_001</property> --> <!-- Optional: this is for creating a configurator for a seperate repository type. <property name="configurator">org.drools.repository.JackrabbitRepositoryConfigurator</property> --> </component> <!-- SECURITY CONFIGURATION --> <!-- default (will take any username, useful if you want to keep track of users but not authenticate --> <security:identity authenticate-method="#{defaultAuthenticator.authenticate}"/> <!-- NO authentication. This will bypass the login screen when you hit the app. Everyone is "guest" --> <!-- <security:identity authenticate-method="#{nilAuthenticator.authenticate}"/> --> <!-- as JAAS is used you can use container specific ones to link up to your login services, eg LDAP --> </components> Regards, Ravi Thalupula On Thu, Jun 26, 2008 at 8:15 PM, Paul Browne <[EMAIL PROTECTED]> wrote: > Folks, > > For various reasons I'm trying out the Guided Editor for Business Rules in > the Guvnor Version 5 (Snapshot of 26 June from Hudson, deployed on JBoss App > Server 4.2.2GA). > > I've created the Package / Category and uploaded a simple fact model (as > works in BRMS version 4). I create a new business rule using the guided > editor and the screen shows successfully with both 'When' and 'Then' > parts.Assume the next question is due to me missing something, but wanted to > double check: > > When I press the green '+' to the right of the screen I am shown the > message / dialog layer saying ' > *Add a condition to the rule... *or* Add an action to the rule. > > *Problem is that there doesn't appear to be a way of adding a condition or > action. The only thing I'm seeing in the logs is > * (Contexts.java:flushAndDestroyContexts:335) could not discover > transaction status > > *Am I missing something or should I come back to Guvnor later in the > development Cycle? > > Thanks > > Paul > > _______________________________________________ > rules-dev mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-dev > >
_______________________________________________ rules-dev mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-dev
