[ 
https://issues.apache.org/jira/browse/TUSCANY-1921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Luciano Resende resolved TUSCANY-1921.
--------------------------------------

    Resolution: Fixed

Suggested fixes to SpringXMLComponentTypeLoader applied. Other fixes available 
trough TUSCANY-2493.

> Spring implementation looks for application context files in the wrong 
> location
> -------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1921
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1921
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Spring Implementation Extension
>    Affects Versions: Java-SCA-Next
>            Reporter: Niklas Gustavsson
>            Assignee: Luciano Resende
>             Fix For: Java-SCA-Next
>
>
> When setting the location on an implementation.spring to a JAR file, the 
> current Tuscany implementation first looks for the Spring-Context attribute 
> in the manifest (which looks okay). However, if that is not found, it tries 
> to load the application context from application-context.xml in the root of 
> the JAR.
> Reading the spec, you'll find this section:
> "If there is no MANIFEST.MF file or no Spring-Context header within
> that file, then the default behavior is to build an application context using 
> all the *.xml files in the META-INF/spring directory." 

-- 
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