L.S.,

It looks like the ServiceUnitAnalyzer has a problem with the property
placeholder config.  We probably have to look into that, but I'm
guessing it's an issue with the classpath that's being used when
running the analyzer (doesn't contain the global.properties file
location).  Be sure to raise a JIRA issue about it so we can
investigate this.

However, as a workaround, you should be able to add
<useServiceUnitAnalyzer>false</useServiceUnitAnalyzer> to the
<configuration> section of the jbi-maven-plugin.  This might prevent
some metadata from being generated into the JBI descriptor, but
ServiceMix won't have a problem with that as it can deploy the SU
without the extra information anyway.

Regards,

Gert Vanthienen
------------------------
Open Source SOA: http://fusesource.com
Blog: http://gertvanthienen.blogspot.com/



On Wed, Oct 20, 2010 at 7:30 AM, the_biswa <[email protected]> wrote:
>
> Hi JB,
> My xbean is like the following
>
> <?xml version="1.0" encoding="UTF-8"?>
> <beans xmlns:http="http://servicemix.apache.org/http/1.0";
>           xmlns:person="http://servicemix.apache.org/samples/wsdl-first";
>           xmlns:ts="http://ts";
>           xmlns:sws="https://webservices.sabre.com/websvc";
>    xmlns:b="http://abacus.com/amh";>
>    <!--<bean
> class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
>       <property name="locations">
>          <value>classpath:global.properties</value>
>       </property>
>    </bean>-->
>    <bean
> class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
>           <http:consumer service="b:httpConsumerGateway"
>                 endpoint="endpoint"
>                 locationURI="${location.value}"
>                 defaultMep="http://www.w3.org/2004/08/wsdl/in-out";
>                 targetService="b:messagingService"
>                 marshaler="#marshaler" />
>
>
>   <bean id="marshaler"
> class="com.abacus.amh.http.marshallar.HTTPMarshaler"/>
> </beans>
>
>
> Thanks,
> BJ
> --
> View this message in context: 
> http://servicemix.396122.n5.nabble.com/SMX3-env-variable-tp421193p3227988.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>

Reply via email to