[
https://issues.apache.org/jira/browse/OFBIZ-2539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12713946#action_12713946
]
Marco Risaliti commented on OFBIZ-2539:
---------------------------------------
Hi David,
I have tried first to change the resource name in the form of component:// but
it seems to me that the BsfEventHandler.java still looking at the script in the
classpath.
scriptStream = cl.getResourceAsStream(event.invoke);
I have simply change all the bsf events to having the syntax of component://
and use FlexibleLocation.resolveLocation instead of use getResourceAsStream and
it working fine to me.
Thanks
Marco
> BsfEventHandler does not find nomore the resources from classpath
> -----------------------------------------------------------------
>
> Key: OFBIZ-2539
> URL: https://issues.apache.org/jira/browse/OFBIZ-2539
> Project: OFBiz
> Issue Type: Bug
> Components: framework, specialpurpose/ecommerce
> Affects Versions: Release Branch 9.04, SVN trunk
> Reporter: Marco Risaliti
> Assignee: Marco Risaliti
> Priority: Minor
> Fix For: Release Branch 9.04, SVN trunk
>
> Attachments: BSF_events.patch
>
>
> BsfEventHandler does not find nomore the resources from classpath
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.