[ https://issues.apache.org/activemq/browse/SM-538?page=all ]

Fritz Oconer resolved SM-538.
-----------------------------

    Resolution: Fixed

The source of the problem is on the class AbstractXBeanServiceUnitAnalyzer.java 
of servicemix-common. It seems that the string "file:///" should be included to 
the absolute path of xbean.xml to be able to properly initialize an object of 
"FileSystemXmlApplicationContext".

e.g. FileSystemXmlApplicationContext context = new 
FileSystemXmlApplicationContext("file:///" + 
explodedServiceUnitRoot.getAbsolutePath() + "/" + getXBeanFile()); 

> Unable to build sample "samples\wsdl-first\wsdl-first-jsr181-su"
> ----------------------------------------------------------------
>
>                 Key: SM-538
>                 URL: https://issues.apache.org/activemq/browse/SM-538
>             Project: ServiceMix
>          Issue Type: Bug
>         Environment: Fedora
>            Reporter: Fritz Oconer
>         Assigned To: Fritz Oconer
>             Fix For: incubation
>
>
> Unable to build sample "wsdl-first-jsr181-su".
> Exception is :
> 2006-08-13 10:19:48,340 [main           ] INFO  XBeanXmlBeanDefinitionReader  
>  - Loading XML bean definitions from file 
> [/home/continuum/repository/servicemix/trunk/samples/wsdl-first/wsdl-first-jsr181-su/home/continuum/repository/servicemix/trunk/samples/wsdl-first/wsdl-first-jsr181-su/src/main/resources/xbean.xml]
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Failed to generate jbi.xml
> Embedded error: Unable to generate service unit descriptor!
> home/continuum/repository/servicemix/trunk/samples/wsdl-first/wsdl-first-jsr181-su/src/main/resources/xbean.xml
>  (No such file or directory)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to