Emerson, I have exactly the same setup with ubuntu and jdk 1.6 -- everything works fine for me though. As Chris suggested, disabling the JMS/JCA Flow in the conf/servicemix.xml might be a workaround. Are there any other exceptions or warning messages in your log file that might give us some indication as to what is going wrong?
Also, is there any other instance of ServiceMix or ActiveMQ running on the network? If so, you might want to try disabling multicast discovery as explained in http://servicemix.apache.org/javanetsocketexception-error-setting-options.html. Regards, Gert Vanthienen ------------------------ Open Source SOA: http://fusesource.com Blog: http://gertvanthienen.blogspot.com/ 2009/1/31 Emerson Cargnin <[email protected]>: > > Hi > > Trying to get started with servicemix, but seems like it doens't want to > work: > > I'm using ubuntu, jdk1.6 with service mix 3.3. > > When I copy the bridge example to the hotdeploy folder: > cp ../examples/bridge/bridge-sa-3.3.zip ../hotdeploy/ > > I get: > INFO - ServiceUnitLifeCycle - Initializing service unit: > bridge-eip-su > ERROR - JMSFlow - Cannot create consumer for > ServiceEndpoint[service={http://servicemix.apache.org/samples/bridge}pipeline,endpoint=endpoint] > org.apache.activemq.ConnectionFailedException: The JMS connection has > failed: java.io.EOFException > at > org.apache.activemq.ActiveMQConnection.checkClosedOrFailed(ActiveMQConnection.java:1260) > at > org.apache.activemq.ActiveMQConnection.createSession(ActiveMQConnection.java:294) > at > org.apache.activemq.pool.SessionPool.createSession(SessionPool.java:108) > ... > INFO - ServiceUnitLifeCycle - Initializing service unit: > bridge-eip-su > ERROR - JMSFlow - Cannot create consumer for > ServiceEndpoint[service={http://servicemix.apache.org/samples/bridge}pipeline,endpoint=endpoint] > org.apache.activemq.ConnectionFailedException: The JMS connection has > failed: java.io.EOFException > at > org.apache.activemq.ActiveMQConnection.checkClosedOrFailed(ActiveMQConnection.java:1260) > at > org.apache.activemq.ActiveMQConnection.createSession(ActiveMQConnection.java:294) > at > org.apache.activemq.pool.SessionPool.createSession(SessionPool.java:108) > ... > > And that happens for all of the service units... > Any idea? > > Regards > Emerson > > > -- > View this message in context: > http://www.nabble.com/failing-examples-on-ubuntu-tp21759414p21759414.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. > >
