[ 
https://issues.apache.org/jira/browse/TUSCANY-3655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12900257#action_12900257
 ] 

winston antony edited comment on TUSCANY-3655 at 8/19/10 7:46 AM:
------------------------------------------------------------------

Thanks Raymond. I will download the latest code 2.x from Trunk and will try 
that out.  Will keep you updated.

Also there is another issue in the applicationContext.xml.

I am declaring the SCA namespace as below
<beans  .........
xmlns:sca="http://www.springframework.org/schema/sca";   
http://www.springframework.org/schema/sca 
http://www.osoa.org/xmlns/sca/1.0/spring-sca.xsd"; >

and using the below tags in the applicationContext.xml
        <sca:service name="StockQuoteService"
        type="bigbank.stockquote.StockQuoteService" 
target="StockQuoteServiceBean"/>
But this line is showing the error 'Failed to read schema document 
'http://www.osoa.org/xmlns/sca/1.0/spring-sca.xsd'. 
Where is this schema located? i have all the below jar files under lib 
directory.
tuscany-implementation-spring-2.0-M5.jar
tuscany-spring-2.0-M5.jar
tuscany-implementation-spring-sca-2.0-M5.jar
tuscany-sca-api-2.0-M5.jar
tuscany-base-2.0-M5.jar

Is there any other jar files to be added here??


      was (Author: [email protected]):
    Thanks Raymond. I will download the latest code 2.x from Trunk and will try 
that out.  Will keep you updated.

Also there is another issue in the applicationContext.xml.

I am declaring the SCA namespace as below
<beans  .........
xmlns:sca="http://www.springframework.org/schema/sca";   
http://www.springframework.org/schema/sca 
http://www.osoa.org/xmlns/sca/1.0/spring-sca.xsd"; >

and using the below tags in the applicationContext.xml
        <sca:service name="StockQuoteService"
        type="bigbank.stockquote.StockQuoteService" 
target="StockQuoteServiceBean"/>
But this line is showing the error 'Failed to read schema document 
'http://www.osoa.org/xmlns/sca/1.0/spring-sca.xsd'. 
Where is this schema located? i have all the below jar files.
tuscany-implementation-spring-2.0-M5.jar
tuscany-spring-2.0-M5.jar
tuscany-implementation-spring-sca-2.0-M5.jar
tuscany-sca-api-2.0-M5.jar
tuscany-base-2.0-M5.jar

Is there any other jar files to be added here??

  
> implementation.spring in a Web Applicaton
> -----------------------------------------
>
>                 Key: TUSCANY-3655
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3655
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Spring Implementation Extension
>    Affects Versions: Java-SCA-2.0-M5
>         Environment: JSF2.0, Spring3.0, Hibernate3.1 and java-SCA 2.0
>            Reporter: winston antony
>
>      <implementation.spring location="applicationContext.xml"/>  this is 
> throwing the below error 
> org.apache.tuscany.sca.contribution.processor.ContributionReadException: 
> Location cannot be resloved: applicationContext.xml
> applicationContext.xml is put under web-inf directory as well as under src 
> directory. Still it is not able to find the applicationContext.xml.

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