marshalling stack trace
kurtstam Feb 13, 2007 10:29 AMHey guys,
For JBossESB I'm trying to get JBoss Messaging going, but right now I'm kinda 'stuck' at the first step.
I'm using 4.0.5.GA with messaging-1.2.0Beta2. And I've run the script to install messaging in the appserver. When I now run ant from the examples/queue
directory I get:
kstam@kstam /cygdrive/c/jboss-messaging-1.2.0.Beta2/examples/queue
$ ant
Buildfile: build.xml
identify:
[echo] ####################################################################
#######
[echo] # Running the QUEUE example
#
[echo] ####################################################################
#######
[echo] The queue: testQueue
[echo] The client jar: ../../jboss-messaging-client.jar
sanity-check:
init:
compile:
run:
[java] Queue /queue/testQueue exists
[java] 10:23:58,250 ERROR @main [SocketClientInvoker] Got marshalling excep
tion, exiting
[java] java.net.SocketException: end of file
[java] at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.
transport(MicroSocketClientInvoker.java:555)
[java] at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemot
eClientInvoker.java:122)
[java] at org.jboss.remoting.LeasePinger.sendClientPing(LeasePinger.jav
a:257)
[java] at org.jboss.remoting.LeasePinger.addClient(LeasePinger.java:107
)
[java] at org.jboss.remoting.MicroRemoteClientInvoker.establishLease(Mi
croRemoteClientInvoker.java:390)
[java] at org.jboss.remoting.Client.setupClientLease(Client.java:1405)
[java] at org.jboss.remoting.Client.connect(Client.java:1284)
[java] at org.jboss.remoting.Client.connect(Client.java:431)
[java] at org.jboss.jms.client.remoting.JMSRemotingConnection.start(JMS
RemotingConnection.java:208)
[java] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate
.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionD
elegate$aop(ClientConnectionFactoryDelegate.java:149)
[java] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate
$createConnectionDelegate_4579211046834694258.invokeNext(ClientConnectionFactory
Delegate$createConnectionDelegate_4579211046834694258.java)
[java] at org.jboss.jms.client.container.StateCreationAspect.handleCrea
teConnectionDelegate(StateCreationAspect.java:86)
[java] at org.jboss.aop.advice.org.jboss.jms.client.container.StateCrea
tionAspect0.invoke(StateCreationAspect0.java)
[java] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate
$createConnectionDelegate_4579211046834694258.invokeNext(ClientConnectionFactory
Delegate$createConnectionDelegate_4579211046834694258.java)
[java] at org.jboss.jms.client.container.ExceptionInterceptor.invoke(Ex
ceptionInterceptor.java:71)
[java] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate
$createConnectionDelegate_4579211046834694258.invokeNext(ClientConnectionFactory
Delegate$createConnectionDelegate_4579211046834694258.java)
[java] at org.jboss.jms.client.container.ClientLogInterceptor.invoke(Cl
ientLogInterceptor.java:107)
[java] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate
$createConnectionDelegate_4579211046834694258.invokeNext(ClientConnectionFactory
Delegate$createConnectionDelegate_4579211046834694258.java)
[java] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate
.createConnectionDelegate(ClientConnectionFactoryDelegate.java)
[java] at org.jboss.jms.client.JBossConnectionFactory.createConnectionI
nternal(JBossConnectionFactory.java:212)
[java] at org.jboss.jms.client.JBossConnectionFactory.createConnection(
JBossConnectionFactory.java:88)
[java] at org.jboss.jms.client.JBossConnectionFactory.createConnection(
JBossConnectionFactory.java:83)
[java] at org.jboss.example.jms.queue.QueueExample.example(QueueExample
.java:71)
[java] at org.jboss.example.jms.common.ExampleSupport.run(ExampleSuppor
t.java:137)
[java] at org.jboss.example.jms.queue.QueueExample.main(QueueExample.ja
va:137)
[java] 10:23:58,250 WARN @main [LeasePinger] LeasePinger[SocketClientInvok
er[25d2b2, socket://10.32.4.32:4457](aw4w-d3ekbm-ey4hjrvf-1-ey4hjs9q-5)] failed
to ping to server: Failed to communicate. Problem during marshalling/unmarshall
ing; nested exception is:
[java] java.net.SocketException: end of file
[java] The message was successfully sent to the testQueue queue
[java] 10:23:59,265 ERROR @main [SocketClientInvoker] Got marshalling excep
tion, exiting
[java] java.net.SocketException: end of file
[java] at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.
transport(MicroSocketClientInvoker.java:555)
[java] at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemot
eClientInvoker.java:122)
[java] at org.jboss.remoting.LeasePinger.sendClientPing(LeasePinger.jav
a:257)
[java] at org.jboss.remoting.LeasePinger.addClient(LeasePinger.java:107
)
[java] at org.jboss.remoting.MicroRemoteClientInvoker.establishLease(Mi
croRemoteClientInvoker.java:350)
[java] at org.jboss.remoting.Client.setupClientLease(Client.java:1405)
[java] at org.jboss.remoting.Client.connect(Client.java:1284)
[java] at org.jboss.remoting.Client.connect(Client.java:431)
[java] at org.jboss.jms.client.remoting.JMSRemotingConnection.start(JMS
RemotingConnection.java:208)
[java] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate
.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionD
elegate$aop(ClientConnectionFactoryDelegate.java:149)
[java] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate
$createConnectionDelegate_4579211046834694258.invokeNext(ClientConnectionFactory
Delegate$createConnectionDelegate_4579211046834694258.java)
[java] at org.jboss.jms.client.container.StateCreationAspect.handleCrea
teConnectionDelegate(StateCreationAspect.java:86)
[java] at org.jboss.aop.advice.org.jboss.jms.client.container.StateCrea
tionAspect0.invoke(StateCreationAspect0.java)
[java] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate
$createConnectionDelegate_4579211046834694258.invokeNext(ClientConnectionFactory
Delegate$createConnectionDelegate_4579211046834694258.java)
[java] at org.jboss.jms.client.container.ExceptionInterceptor.invoke(Ex
ceptionInterceptor.java:71)
[java] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate
$createConnectionDelegate_4579211046834694258.invokeNext(ClientConnectionFactory
Delegate$createConnectionDelegate_4579211046834694258.java)
[java] at org.jboss.jms.client.container.ClientLogInterceptor.invoke(Cl
ientLogInterceptor.java:107)
[java] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate
$createConnectionDelegate_4579211046834694258.invokeNext(ClientConnectionFactory
Delegate$createConnectionDelegate_4579211046834694258.java)
[java] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate
.createConnectionDelegate(ClientConnectionFactoryDelegate.java)
[java] at org.jboss.jms.client.JBossConnectionFactory.createConnectionI
nternal(JBossConnectionFactory.java:212)
[java] at org.jboss.jms.client.JBossConnectionFactory.createConnection(
JBossConnectionFactory.java:88)
[java] at org.jboss.jms.client.JBossConnectionFactory.createConnection(
JBossConnectionFactory.java:83)
[java] at org.jboss.example.jms.queue.QueueExample.example(QueueExample
.java:79)
[java] at org.jboss.example.jms.common.ExampleSupport.run(ExampleSuppor
t.java:137)
[java] at org.jboss.example.jms.queue.QueueExample.main(QueueExample.ja
va:137)
[java] 10:23:59,265 WARN @main [LeasePinger] LeasePinger[SocketClientInvok
er[25d2b2, socket://10.32.4.32:4457](aw4w-d3ekbm-ey4hjrvf-1-ey4hjs9q-5)] failed
to ping to server: Failed to communicate. Problem during marshalling/unmarshall
ing; nested exception is:
[java] java.net.SocketException: end of file
[java] Received message: Hello!
[java] The example connected to JBoss Messaging version 1.2.0.Beta2 (1.2)
[java] #####################
[java] ### SUCCESS! ###
[java] #####################
BUILD SUCCESSFUL
Total time: 3 seconds
So it works, but I'm not liking the stacktrace. Am I doing something wrong or is this a known issue. It seems to work ok using beta1.
Thx,
--Kurt