Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Java-SCA-1.3
-
None
-
Windows XP SP2 IBM JDK5
Description
Buildfile: build.xml
run:
[java] Exception in thread "main" org.osoa.sca.ServiceRuntimeException: org
.osoa.sca.ServiceRuntimeException: org.apache.tuscany.sca.binding.jms.impl.JMSBi
ndingException: Error starting JMSServiceBinding
[java] at org.apache.tuscany.sca.host.embedded.SCADomain.createNewInsta
nce(SCADomain.java:276)
[java] at org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SC
ADomain.java:70)
[java] at helloworld.HelloWorldServer.main(HelloWorldServer.java:34)
[java] Caused by: org.osoa.sca.ServiceRuntimeException: org.apache.tuscany.
sca.binding.jms.impl.JMSBindingException: Error starting JMSServiceBinding
[java] at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.in
it(DefaultSCADomain.java:261)
[java] at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.<i
nit>(DefaultSCADomain.java:120)
[java] at org.apache.tuscany.sca.host.embedded.SCADomain.createNewInsta
nce(SCADomain.java:242)
[java] ... 2 more
[java] Caused by: org.apache.tuscany.sca.binding.jms.impl.JMSBindingExcepti
on: Error starting JMSServiceBinding
[java] at org.apache.tuscany.sca.binding.jms.provider.JMSBindingService
BindingProvider.start(JMSBindingServiceBindingProvider.java:108)
[java] at org.apache.tuscany.sca.core.assembly.CompositeActivatorImpl$3
.run(CompositeActivatorImpl.java:618)
[java] at java.security.AccessController.doPrivileged(AccessController.
java:193)
[java] at org.apache.tuscany.sca.core.assembly.CompositeActivatorImpl.s
tart(CompositeActivatorImpl.java:616)
[java] at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.in
it(DefaultSCADomain.java:258)
[java] ... 4 more
[java] Caused by: javax.jms.JMSException: Could not connect to broker URL:
tcp://localhost:61619. Reason: java.net.ConnectException: Connection refused: co
nnect
[java] at org.apache.activemq.util.JMSExceptionSupport.create(JMSExcept
ionSupport.java:33)
[java] at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQC
onnection(ActiveMQConnectionFactory.java:280)
[java] at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQC
onnection(ActiveMQConnectionFactory.java:214)
[java] at org.apache.activemq.ActiveMQConnectionFactory.createConnectio
n(ActiveMQConnectionFactory.java:161)
[java] at org.apache.tuscany.sca.binding.jms.provider.JMSResourceFactor
y.createConnection(JMSResourceFactory.java:112)
[java] at org.apache.tuscany.sca.binding.jms.provider.JMSResourceFactor
y.getConnection(JMSResourceFactory.java:70)
[java] at org.apache.tuscany.sca.binding.jms.provider.JMSResourceFactor
y.createSession(JMSResourceFactory.java:81)
[java] at org.apache.tuscany.sca.binding.jms.provider.JMSBindingService
BindingProvider.registerListerner(JMSBindingServiceBindingProvider.java:124)
[java] at org.apache.tuscany.sca.binding.jms.provider.JMSBindingService
BindingProvider.start(JMSBindingServiceBindingProvider.java:106)
[java] ... 8 more
[java] Caused by: java.net.ConnectException: Connection refused: connect
[java] at java.net.PlainSocketImpl.socketConnect(Native Method)
[java] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:372)
[java] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.jav
a:233)
[java] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:220)
[java] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:385)
[java] at java.net.Socket.connect(Socket.java:541)
[java] at org.apache.activemq.transport.tcp.TcpTransport.connect(TcpTra
nsport.java:335)
[java] at org.apache.activemq.transport.tcp.TcpTransport.doStart(TcpTra
nsport.java:303)
[java] at org.apache.activemq.util.ServiceSupport.start(ServiceSupport.
java:49)
[java] at org.apache.activemq.transport.TransportFilter.start(Transport
Filter.java:54)
[java] at org.apache.activemq.transport.TransportFilter.start(Transport
Filter.java:54)
[java] at org.apache.activemq.transport.WireFormatNegotiator.start(Wire
FormatNegotiator.java:66)
[java] at org.apache.activemq.transport.TransportFilter.start(Transport
Filter.java:54)
[java] at org.apache.activemq.transport.TransportFilter.start(Transport
Filter.java:54)
[java] at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQC
onnection(ActiveMQConnectionFactory.java:265)
[java] ... 15 more
[java] Java Result: 1