[jboss-jira] [JBoss JIRA] Updated: (JBRULES-2795) ProcessRuntimeImpl uses the wrong classpath for creating implementations of managers

Pablo Nussembaum (JIRA) jira-events at lists.jboss.org
Mon Nov 15 08:54:43 EST 2010


     [ https://jira.jboss.org/browse/JBRULES-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pablo Nussembaum updated JBRULES-2795:
--------------------------------------

    Attachment: ProcessRuntimeImpl.java


Here is a patched Implementation that thread context classloader on methods initProcessInstanceManager and initSignalManager. The rest of the class is not changed

> ProcessRuntimeImpl uses the wrong classpath for creating implementations of managers
> ------------------------------------------------------------------------------------
>
>                 Key: JBRULES-2795
>                 URL: https://jira.jboss.org/browse/JBRULES-2795
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-core (flow)
>    Affects Versions: 5.1.1.FINAL
>            Reporter: Pablo Nussembaum
>            Assignee: Mark Proctor
>              Labels: classload, classloading, classnotfound, webapp
>         Attachments: ProcessRuntimeImpl.java
>
>
> When drools-flows is used in a web environment and you want to change ProcessInstanceManager or SignalManager, it fails to load the new implementation because it's not using the current thread context classloader.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list