I am having problems publishing a MapMesage with jboss 3.2.5 or higher. When I try to publish the message the following exception is thrown on jboss:
anonymous wrote : 10:20:29,078 WARN [ClientConsumer] Could not send messages to a receiver. | java.io.EOFException | at java.io.ObjectInputStream$BlockDataInputStream.readByte(Unknown Sourc | e) | at java.io.ObjectInputStream.readByte(Unknown Source) | at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:27 | 9) | at java.lang.Thread.run(Unknown Source) | 10:20:29,078 ERROR [JMSDestinationManager] The connection to client ID:1 failed. However, I can publish a TextMessage or an ObjectMessage just fine. I tried running the same code on 3.2.3 and it worked. Is there a config issue that I am missing? Here is the code that is sending the message: anonymous wrote : TopicSession topicSession = null; | TopicPublisher topicPublisher = null; | | try{ | topicSession = topicConnection.createTopicSession(false, Session.AUTO_ACKNOWLEDGE); | topicPublisher = topicSession.createPublisher(topic); | | MapMessage msg = topicSession.createMapMessage(); | msg.setInt("state", state); //0 - On, 1 - Off, 2 - Cycle | msg.setString("alias", alias); | topicPublisher.publish(msg); | } | catch(Throwable t){ | //JMSException could be thrown | t.printStackTrace(); | System.err.println("SACPowerControlBean.powerOff: error"); | sc.setRollbackOnly(); | } | finally{ | if(topicSession != null){ | try{ | topicSession.close(); | } | catch(JMSException e){ | } | } | } This is inside a session bean, however I have tried to publish with just a standalone JMS client and recieve the same error. Thanks for you help. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852615#3852615 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852615 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user