1 Reply Latest reply on Aug 14, 2007 4:03 PM by Mr Dude

    Failed to write packet - Error

    Mr Dude Newbie

      Hello All,

      Has any one come across the following exception when sending JMS over SSL on the client side? The message seem to be getting to the server, but see this exception periodically.

      Thanks for any advice in advance

      ERROR 15:28:11 (org.jboss.jms.wireformat.JMSWireFormat.java:243) Failed to write packet
      java.io.NotSerializableException: EDU.oswego.cs.dl.util.concurrent.ConcurrentHashMap$Segment
       at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)
       at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1338)
       at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1146)
       at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
       at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:416)
       at EDU.oswego.cs.dl.util.concurrent.ConcurrentHashMap.writeObject(ConcurrentHashMap.java:1170)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
       at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
       at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
       at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
       at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
       at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
       at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
       at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
       at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
       at org.jboss.jms.wireformat.SerializedPacket.write(SerializedPacket.java:80)
       at org.jboss.jms.wireformat.JMSWireFormat.write(JMSWireFormat.java:237)
       at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:278)
       at org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:135)
       at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
       at org.jboss.remoting.LeasePinger.sendClientPing(LeasePinger.java:283)
       at org.jboss.remoting.LeasePinger.addClient(LeasePinger.java:117)
       at org.jboss.remoting.MicroRemoteClientInvoker.establishLease(MicroRemoteClientInvoker.java:398)
       at org.jboss.remoting.Client.setupClientLease(Client.java:1541)
       at org.jboss.remoting.Client.connect(Client.java:1441)
       at org.jboss.remoting.Client.connect(Client.java:444)
       at org.jboss.jms.client.remoting.JMSRemotingConnection.start(JMSRemotingConnection.java:272)
       at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionDelegate$aop(ClientConnectionFactoryDelegate.java:146)
       at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java)
       at org.jboss.jms.client.container.StateCreationAspect.handleCreateConnectionDelegate(StateCreationAspect.java:83)
       at org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect0.invoke(StateCreationAspect0.java)
       at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java)
       at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createConnectionDelegate(ClientConnectionFactoryDelegate.java)
       at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:205)
       at org.jboss.jms.client.JBossConnectionFactory.createTopicConnection(JBossConnectionFactory.java:115)
       at org.jboss.jms.client.JBossConnectionFactory.createTopicConnection(JBossConnectionFactory.java:109)
       at com.lmco.spv.jms.topic.AbstractTopic.setupTopicConnection(AbstractTopic.java:90)
       at com.lmco.spv.jms.topic.AbstractTopic.tryStartConnection(AbstractTopic.java:72)
       at com.lmco.spv.jms.topic.AbstractTopic.<init>(AbstractTopic.java:62)
       at com.lm.SemParView.applications.connectSet.jndiNames.SPVHealthTopic.<init>(SPVHealthTopic.java:43)
       at com.lmco.spv.jms.testers.JMSTester.testSPVHealthTopic(JMSTester.java:59)
       at com.lmco.spv.jms.testers.JMSTester.main(JMSTester.java:51)
      WARN 15:28:11 (org.jboss.remoting.LeasePinger.java:290) LeasePinger[org.jboss.remoting.transport.http.ssl.HTTPSClientInvoker@22ab57(afqr-5d3emy-f5csevg1-1-f5csew62-6)] failed to ping to server: Can not connect http client invoker.