Freeman, changing the location URI as you mention works fine. I have another
question though. I have some other components in my SA with 'localhost'
addresses. How should I adjust these values when deploying to a Servlet
container?

JMS + Active MQ:

        <bean name="amqConnectionFactory" id="connectionFactory"
         class="org.apache.activemq.spring.ActiveMQConnectionFactory">
                <property name="brokerURL" value="vm://localhost"/>
        </bean>
        ...
        <bean class="org.apache.activemq.broker.jmx.ManagementContext"
id="amqManagementContext">
                <property name="connectorPort" value="2011"/>
                <property name="jmxDomainName" value="tcp://localhost:0"/>
        </bean>

At this moment my messages are not reaching the queue. 

Angel


Freeman Fang wrote:
> 
> Hi,
> 
> When you deploy cxf bc into servlet server, you need modify  
> locationURI as follows
> locationURI="/whateveryouwant"
> 
> then you can access the wsdl from
> http://localhost:8080/apache-servicemix-web-3.3.1/services/whateveryouwant?wsdl
> 
> I assume your servlet container use 8080 port and you need use smx 3.3.1
> 
> Freeman
> On 2009-9-29, at 上午12:44, angel.ortiz wrote:
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Installing-a-CXF-BC-in-a-server-with-fixed-IP-address-tp25648807p25688906.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to