Hi, I am facing a peculiar problem while testing ActiveMQ 5.0. The broker, publisher & subscriber are running on a Solaris machine (x86). The publisher is in Perl (Net::Stomp) & the subscriber is in Java. Everything works well with a single publisher & subscriber. Whenever I increase the number of subscribers beyond 5, I get the following exceptions on the broker:
Exception in thread "ActiveMQ Connection Dispatcher: /200.20.20.57:52235" java.lang.NullPointerException at java.lang.System.arraycopy(Native Method) at org.apache.activemq.transport.tcp.TcpBufferedOutputStream.write(TcpBufferedOutputStream.java:89) at java.io.DataOutputStream.write(DataOutputStream.java:90) at org.apache.activemq.openwire.v3.BaseDataStreamMarshaller.tightMarshalByteSequence2(BaseDataStreamMarshaller.java:433) at org.apache.activemq.openwire.v3.MessageMarshaller.tightMarshal2(MessageMarshaller.java:173) at org.apache.activemq.openwire.v3.ActiveMQMessageMarshaller.tightMarshal2(ActiveMQMessageMarshaller.java:90) at org.apache.activemq.openwire.v3.ActiveMQTextMessageMarshaller.tightMarshal2(ActiveMQTextMessageMarshaller.java:90) at org.apache.activemq.openwire.OpenWireFormat.tightMarshalNestedObject2(OpenWireFormat.java:423) at org.apache.activemq.openwire.v3.BaseDataStreamMarshaller.tightMarshalNestedObject2(BaseDataStreamMarshaller.java:137) at org.apache.activemq.openwire.v3.MessageDispatchMarshaller.tightMarshal2(MessageDispatchMarshaller.java:106) at org.apache.activemq.openwire.OpenWireFormat.marshal(OpenWireFormat.java:238) at org.apache.activemq.transport.tcp.TcpTransport.oneway(TcpTransport.java:153) at org.apache.activemq.transport.InactivityMonitor.oneway(InactivityMonitor.java:157) at org.apache.activemq.transport.TransportFilter.oneway(TransportFilter.java:82) at org.apache.activemq.transport.WireFormatNegotiator.oneway(WireFormatNegotiator.java:91) at org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:40) at org.apache.activemq.broker.TransportConnection.dispatch(TransportConnection.java:1151) at org.apache.activemq.broker.TransportConnection.processDispatch(TransportConnection.java:766) at org.apache.activemq.broker.TransportConnection.iterate(TransportConnection.java:801) at org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunner.java:98) at org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunner.java:36) The problem disappears in all of the following cases: 1. If I use a Java publisher instead of a Perl publisher. 2. If I run the broker on a Windows machine. 3. If i run the subscribers on a Windows machine (the broker is still on Solaris). It seems as if some system call is causing trouble on solaris. Any suggestions would be most appreciated as this problem is turning out to be a showstopper for us. Thanks, Ramit -- View this message in context: http://www.nabble.com/Trouble-mixing-ActiveMQ%2C-Stomp---Solaris-tp16071755s2354p16071755.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.