Vijay,

   Please send the e-mails to the list, not directly to other people's e-mail.

   Your error looks to me like you are using a wrong version of some dependency, but since I don't know much about the BRMS code, maybe someone else can help you.

    []s
    Edson


2008/5/11 <terminalxception@yahoo.com>:

Hi,

I have been using drools with BRMS in our application for past 6 months. I was encountering the
•[ JBRULES-1453 ] boss.seam.Component) - Exception calling component @Destroy method: repository .
After readin your above mail i moved to drools 4.0.7 and the latest BRMS but still im running into the same issue.Please help me.

20:15:22,696 INFO  [TransientRepository] Session opened
20:15:22,759 WARN  [Component] Exception calling component @Destroy method: repository
java.lang.IllegalArgumentException: method not found: close for component: repository
       at org.jboss.seam.Component.callComponentMethod(Component.java:2105)
       at org.jboss.seam.Component.callDestroyMethod(Component.java:2018)
       at org.jboss.seam.Component.destroy(Component.java:1336)
       at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:251)
       at org.jboss.seam.contexts.Contexts.flushAndDestroyContexts(Contexts.java:394)
       at org.jboss.seam.contexts.ServletLifecycle.endRequest(ServletLifecycle.java:60)
       at org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:49)
       at org.jboss.seam.web.ContextFilter.doFilter(ContextFilter.java:37)
       at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
       at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:26)
       at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
       at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3212)
       at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
       at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
       at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1983)
       at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1890)
       at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1344)
       at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
       at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
Caused by: java.lang.NoSuchMethodException: org.drools.brms.server.repository.RulesRepositoryManager_$$_javassist_4.close()
       at java.lang.Class.getMethod(Class.java:1581)
       at org.jboss.seam.Component.callComponentMethod(Component.java:2084)
       ... 18 more

Thanks,
Vijay Shanmugam




Edson Tirelli-3 wrote:
>
>    All,
>
>    We just released Drools v4.0.7.
>    This is an important bugfix release because it has the cumulative fixes
> from the version 4.0.5 and 4.0.6 that were rolled back. We strongly advise
> you all to update.
>
>    We would like to thank all the people that helped us, testing,
> developing, providing patches, ideas and recommendation, and special to
> the
> ones that answered our call for tests.
>
>    Bellow you can find the cumulative release notes for Drools version
> 4.0.5, 4.0.6 and 4.0.7.
>
>    Happy drooling,
>        Edson
>
> --
> Edson Tirelli
> JBoss Drools Core Development
> Office: +55 11 3529-6000
> Mobile: +55 11 9287-5646
> JBoss, a division of Red Hat @ www.jboss.com
>
>
> Release Notes for JBoss Drools Includes versions: 4.0.5 4.0.6 4.0.7
> ------------------------------
> Feature Request
>
>    - [ JBRULES-1307 <http://jira.jboss.com/jira/browse/JBRULES-1307> ]
>    Update and expand documentation for decision tables to show actual uses
> for
>    all keywords
>    - [ JBRULES-1338 <http://jira.jboss.com/jira/browse/JBRULES-1338> ]
>    DirectoryScanner should only take into account relevant files
>    - [ JBRULES-1473 <http://jira.jboss.com/jira/browse/JBRULES-1473> ] Add
> a
>    configuration parameter to allow Drools to dump all generated java
> source
>    code
>    - [ JBRULES-1532 <http://jira.jboss.com/jira/browse/JBRULES-1532> ]
>    Import decision table into jBRMS application
>    - [ JBRULES-1577 <http://jira.jboss.com/jira/browse/JBRULES-1577> ]
>    BeforeActivationFireEvent.toString() should print out activation number
>    - [ JBRULES-1590 <http://jira.jboss.com/jira/browse/JBRULES-1590> ]
>    ShadowProxuUtils and org.hibernate.collection.PersistentSet
>
> Bug
>
>    - [ JBRULES-1111 <http://jira.jboss.com/jira/browse/JBRULES-1111> ]
> Final
>    methods of POJO's aer never evaluated
>    - [ JBRULES-1216 <http://jira.jboss.com/jira/browse/JBRULES-1216> ]
>    log4j.xml contained in drools-repository.jar
>    - [ JBRULES-1286 <http://jira.jboss.com/jira/browse/JBRULES-1286> ]
>    Incorrect information in section 2.5.7.3. Agenda Filters
>    - [ JBRULES-1315 <http://jira.jboss.com/jira/browse/JBRULES-1315> ]
> Rule
>    that uses a 'collect' and 'from' clause together causes problem
>    - [ JBRULES-1327 <http://jira.jboss.com/jira/browse/JBRULES-1327> ]
>    drools-ant task and java.lang.ClassCastException:
>    org.drools.reteoo.ReteooRuleBase
>    - [ JBRULES-1329 <http://jira.jboss.com/jira/browse/JBRULES-1329> ]
>    RuleBase.removeRule() prevents other rules from being applied
>    - [ JBRULES-1330 <http://jira.jboss.com/jira/browse/JBRULES-1330> ]
> Using
>    RuleBase in multithread application server environment
>    - [ JBRULES-1357 <http://jira.jboss.com/jira/browse/JBRULES-1357> ]
>    RuleBuildContext does not initialize package of rule
>    - [ JBRULES-1388 <http://jira.jboss.com/jira/browse/JBRULES-1388> ]
> Eval
>    error when using multiple declarations
>    - [ JBRULES-1389 <http://jira.jboss.com/jira/browse/JBRULES-1389> ]
> using
>    eval after using or causes ClassCastException
>    - [ JBRULES-1392 <http://jira.jboss.com/jira/browse/JBRULES-1392> ]
> Rules
>    behave incorrectly (randomly) in multi-threaded environment
>    - [ JBRULES-1414 <http://jira.jboss.com/jira/browse/JBRULES-1414> ]
>    Cannot build from source -- missing directory or pom file
>    - [ JBRULES-1415 <http://jira.jboss.com/jira/browse/JBRULES-1415> ]
>    Certain uses of from causes NullPointerException in WorkingMemoryLogger
>    - [ JBRULES-1423 <http://jira.jboss.com/jira/browse/JBRULES-1423> ]
>    ObjectFactory$ObjectEqualsComparator.equals throws NPE if second arg is
> null
>
>    - [ JBRULES-1426 <http://jira.jboss.com/jira/browse/JBRULES-1426> ] NPE
>    in ObjectFactory$ObjectEqualsComparator
>    - [ JBRULES-1428 <http://jira.jboss.com/jira/browse/JBRULES-1428> ]
>    ClassCastException when comparing BigDecimal fields
>    - [ JBRULES-1429 <http://jira.jboss.com/jira/browse/JBRULES-1429> ] NPE
>    in ObjectEqualsComparator
>    - [ JBRULES-1435 <http://jira.jboss.com/jira/browse/JBRULES-1435> ] NPE
>    if rule checks a Long field for null, and a fact is passed in with Long
>    field that is NOT null.
>    - [ JBRULES-1436 <http://jira.jboss.com/jira/browse/JBRULES-1436> ]
>    Filescanner throws NPE when there's a compile error.
>    - [ JBRULES-1438 <http://jira.jboss.com/jira/browse/JBRULES-1438> ]
>    FactTemplate Property Access leads to RuleBuilder Exception
>    - [ JBRULES-1443 <http://jira.jboss.com/jira/browse/JBRULES-1443> ]
>    retract of Fact Template leads to NPE
>    - [ JBRULES-1446 <http://jira.jboss.com/jira/browse/JBRULES-1446> ]
>    ClassCastException when iterating over an array using "from"
>    - [ JBRULES-1447 <http://jira.jboss.com/jira/browse/JBRULES-1447> ]
>    Parser error when using keyword operators
>    - [ JBRULES-1448 <http://jira.jboss.com/jira/browse/JBRULES-1448> ]
>    MVELDataProver throws nullpointer on null return value from expression
>    - [ JBRULES-1451 <http://jira.jboss.com/jira/browse/JBRULES-1451> ] LHS
>    expression comparing a Boolean to a String does not fail but always
> returns
>    true
>    - [ JBRULES-1453 <http://jira.jboss.com/jira/browse/JBRULES-1453> ]
>    boss.seam.Component) - Exception calling component @Destroy method:
>    repository
>    - [ JBRULES-1456 <http://jira.jboss.com/jira/browse/JBRULES-1456> ] Or
>    using DSL language
>    - [ JBRULES-1459 <http://jira.jboss.com/jira/browse/JBRULES-1459> ]
>    parser/scanner bug: "unterminated literal"
>    - [ JBRULES-1464 <http://jira.jboss.com/jira/browse/JBRULES-1464> ]
>    Comilation error : 'Syntax error on token ",", delete this token' when
>    referencing a global in an accumulate block
>    - [ JBRULES-1467 <http://jira.jboss.com/jira/browse/JBRULES-1467> ]
>    Concurrency errors when parsing strings to dates in rules
>    - [ JBRULES-1472 <http://jira.jboss.com/jira/browse/JBRULES-1472> ]
>    Problem when mixing alpha and beta constraints in a composite
> constraint
>    - [ JBRULES-1477 <http://jira.jboss.com/jira/browse/JBRULES-1477> ]
> User
>    exception thrown from inside a rule always causes a stackTrace to
> console
>    - [ JBRULES-1479 <http://jira.jboss.com/jira/browse/JBRULES-1479> ]
>    Exception compiling rules
>    - [ JBRULES-1480 <http://jira.jboss.com/jira/browse/JBRULES-1480> ]
>    Potential multithreaded problem in MVELClassFieldExtractor
>    - [ JBRULES-1481 <http://jira.jboss.com/jira/browse/JBRULES-1481> ]
> Stop
>    actionQueue recursion in working memory
>    - [ JBRULES-1482 <http://jira.jboss.com/jira/browse/JBRULES-1482> ] Bug
>    with ReeteoRuleBase and merged package
>    - [ JBRULES-1484 <http://jira.jboss.com/jira/browse/JBRULES-1484> ]
> Mvel,
>    constructor and package access
>    - [ JBRULES-1487 <http://jira.jboss.com/jira/browse/JBRULES-1487> ]
>    access to store property in MapBackedClassLoader should be synchronized
>    - [ JBRULES-1489 <http://jira.jboss.com/jira/browse/JBRULES-1489> ]
>    Working Memory deserialization causes NPE
>    - [ JBRULES-1490 <http://jira.jboss.com/jira/browse/JBRULES-1490> ]
>    org.drools.util.AbstractHashTable$SingleIndex is not serializable
>    - [ JBRULES-1491 <http://jira.jboss.com/jira/browse/JBRULES-1491> ]
>    java.io.NotSerializableException:
>    org.drools.util.AbstractHashTable$SingleIndex
>    - [ JBRULES-1492 <http://jira.jboss.com/jira/browse/JBRULES-1492> ] NPE
>    caused by non-shadowed deep object access
>    - [ JBRULES-1501 <http://jira.jboss.com/jira/browse/JBRULES-1501> ]
>    Multiples modify causes variable duplication exception
>    - [ JBRULES-1503 <http://jira.jboss.com/jira/browse/JBRULES-1503> ]
>    Errors on rulebase serialization scenarios
>    - [ JBRULES-1505 <http://jira.jboss.com/jira/browse/JBRULES-1505> ] Fix
>    CCE when using nested accessors to compare Date values
>    - [ JBRULES-1506 <http://jira.jboss.com/jira/browse/JBRULES-1506> ]
>    RuleAgent will not read binary packages from Apache HTTP Server
>    - [ JBRULES-1507 <http://jira.jboss.com/jira/browse/JBRULES-1507> ]
>    Objenesis too heavily used
>    - [ JBRULES-1508 <http://jira.jboss.com/jira/browse/JBRULES-1508> ] NPE
>    in MVELDataProvider
>    - [ JBRULES-1510 <http://jira.jboss.com/jira/browse/JBRULES-1510> ]
>    ObejnesisFactory.getStaticObjenesis() doesn't set OBJENESIS_INSTANCE
>    - [ JBRULES-1512 <http://jira.jboss.com/jira/browse/JBRULES-1512> ]
>    UnsupportedOperationException when calling addPackage on rulebase
>    - [ JBRULES-1515 <http://jira.jboss.com/jira/browse/JBRULES-1515> ]
>    Boolean negation operator doesn't work
>    - [ JBRULES-1517 <http://jira.jboss.com/jira/browse/JBRULES-1517> ]
>    NumberFormatException in ObjectEqualsComparator.equals
>    - [ JBRULES-1519 <http://jira.jboss.com/jira/browse/JBRULES-1519> ]
>    Regression on alpha composite constraints
>    - [ JBRULES-1521 <http://jira.jboss.com/jira/browse/JBRULES-1521> ]
>    ClassNotFound when deserializing rulebase
>    - [ JBRULES-1522 <http://jira.jboss.com/jira/browse/JBRULES-1522> ]
>    Accumulate and Collect memories are not Serializable
>    - [ JBRULES-1525 <http://jira.jboss.com/jira/browse/JBRULES-1525> ]
>    MVELCalendarCoercionTest and MVELDateCoercionTest do not passed on
> 4.0.x
>    - [ JBRULES-1526 <http://jira.jboss.com/jira/browse/JBRULES-1526> ]
> MVEL
>    org/mvel/integration/impl/LocalVariableResolverFactory
>    - [ JBRULES-1527 <http://jira.jboss.com/jira/browse/JBRULES-1527> ] URL
>    for Eclipse plugin outdated in install doc
>    - [ JBRULES-1533 <http://jira.jboss.com/jira/browse/JBRULES-1533> ]
>    WorkingMemoryLogger implementations should take
> WorkingMemoryEventManager as
>    a constructor
>    - [ JBRULES-1534 <http://jira.jboss.com/jira/browse/JBRULES-1534> ]
>    Eclipse MANIFEST.MF files reference the incorrect name for mvel
>    - [ JBRULES-1542 <http://jira.jboss.com/jira/browse/JBRULES-1542> ] the
>    nested type org.drools..... cannot be referenced by it's binary name
>    - [ JBRULES-1543 <http://jira.jboss.com/jira/browse/JBRULES-1543> ]
> tests
>    failing with JANINO
>    - [ JBRULES-1556 <http://jira.jboss.com/jira/browse/JBRULES-1556> ]
>    Modify is not normalising activations, which is impacting
> lock-on-active
>    - [ JBRULES-1558 <http://jira.jboss.com/jira/browse/JBRULES-1558> ] ||
> in
>    conditional element causes exception
>    - [ JBRULES-1560 <http://jira.jboss.com/jira/browse/JBRULES-1560> ] Add
>    support to quoting commas in decision tables
>    - [ JBRULES-1564 <http://jira.jboss.com/jira/browse/JBRULES-1564> ]
>    Salience does not work for sequential mode
>    - [ JBRULES-1566 <http://jira.jboss.com/jira/browse/JBRULES-1566> ]
>    Documentation on update()
>    - [ JBRULES-1568 <http://jira.jboss.com/jira/browse/JBRULES-1568> ]
> Java
>    debug not working with multiple rule files
>    - [ JBRULES-1572 <http://jira.jboss.com/jira/browse/JBRULES-1572> ]
>    sometimes getting ClassFieldExtractor error
>    - [ JBRULES-1574 <http://jira.jboss.com/jira/browse/JBRULES-1574> ]
>    Unable to open DSL file in BRMS (Exception)
>    - [ JBRULES-1575 <http://jira.jboss.com/jira/browse/JBRULES-1575> ]
>    Guided editor missing "and less than (or equal to)" option in drop-down
> list
>
>    - [ JBRULES-1576 <http://jira.jboss.com/jira/browse/JBRULES-1576> ]
>    Cannot download model assets from BRMS using Internet Explorer 7
>    - [ JBRULES-1578 <http://jira.jboss.com/jira/browse/JBRULES-1578> ]
>    Guided rules report error due to incorrect quotes around rule attribute
>    values
>    - [ JBRULES-1580 <http://jira.jboss.com/jira/browse/JBRULES-1580> ]
> BRMS
>    ruleflow upload page incorrectly states that .rf files should be
> uploaded
>    - [ JBRULES-1581 <http://jira.jboss.com/jira/browse/JBRULES-1581> ]
>    Invalid dialect name causes NullPointerException in BRMS and Eclipse
> plug-in
>    rule editor
>    - [ JBRULES-1583 <http://jira.jboss.com/jira/browse/JBRULES-1583> ]
> Heap
>    and scheduled Activations
>    - [ JBRULES-1593 <http://jira.jboss.com/jira/browse/JBRULES-1593> ]
> 4.0.x
>    and trunk build fails as eclipse.org GEF download location has moved
>    - [ JBRULES-1594 <http://jira.jboss.com/jira/browse/JBRULES-1594> ]
>    Collect result pattern no constrained by bounded variables
>    - [ JBRULES-1597 <http://jira.jboss.com/jira/browse/JBRULES-1597> ]
>    Eclipse DroolsBuilder hangs due to MVEL error on "object.var1 matches
> $var2"
>
>
> Task
>
>    - [ JBRULES-1502 <http://jira.jboss.com/jira/browse/JBRULES-1502> ]
>    update example to use modify block as default
>    - [ JBRULES-1513 <http://jira.jboss.com/jira/browse/JBRULES-1513> ]
>    Drools 4.0.5 release
>
> Patch
>
>    - [ JBRULES-1452 <http://jira.jboss.com/jira/browse/JBRULES-1452> ]
>    Improved NullPointerException messages
>    - [ JBRULES-1485 <http://jira.jboss.com/jira/browse/JBRULES-1485> ]
> Fixes
>    to the documentation
>
> Release
>
>    - [ JBRULES-1600 <http://jira.jboss.com/jira/browse/JBRULES-1600> ]
>    Release Drools v4.0.7
>
> _______________________________________________
> rules-dev mailing list
> rules-dev@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev
>
>
Quoted from:
http://www.nabble.com/Drools-4.0.7-released-tp17132576p17132576.html




--
Edson Tirelli
JBoss Drools Core Development
Office: +55 11 3529-6000
Mobile: +55 11 9287-5646
JBoss, a division of Red Hat @ www.jboss.com