[ 
https://issues.apache.org/activemq/browse/SM-387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_38485
 ] 

Philippe Pinheiro commented on SM-387:
--------------------------------------

Jeff,

On the jbi.xml file of the component I added the line

<path-element>conf</path-element>

inside the <component-class-path> element, conf is a folder of the component 
zip containing the configuration files.
Then the component classloader checks inside this folder when I do a 
getResource from the component.

Philippe

> JBI Spec - Resource Loading Styles not correctly implemented
> ------------------------------------------------------------
>
>                 Key: SM-387
>                 URL: https://issues.apache.org/activemq/browse/SM-387
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-core
>    Affects Versions: 3.0.1
>            Reporter: Philippe Pinheiro
>             Fix For: 3.0.1
>
>
> In the current version of ParentFirstClassLoader.java and 
> SelfFirstClassLoader.java, the method getResource doesn't  find a resource
> located on the classpath of the JBI component.
> The Class Loading Styles (self-first and parent-first) are correctly 
> implemented but it should be not the Resource Loading.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to