[jboss-user] [JBoss Messaging] - Re: JBM 2.0 BETA1 -- quque/topicExample failed in jndi looku

2009-03-30 Thread timfox
Probably you have localhost resolving to 127.0.1.1 in your hosts file

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4221844#4221844

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221844
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBM 2.0 BETA1 -- quque/topicExample failed in jndi looku

2009-03-30 Thread gaohoward
gee! exactly my hosts has that entry:


  | 127.0.0.1   localhost
  | 127.0.1.1   howard-laptop
  | 

The example runs OK after removing it!

Thanks Tim!


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4221847#4221847

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221847
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBM 2.0 BETA1 -- quque/topicExample failed in jndi looku

2009-03-30 Thread gaohoward
another problem found with topicExample when this issue removed, client side:


  | $ ant topicExample
  | Buildfile: build.xml
  | 
  | init:
  | 
  | compile:
  | 
  | topicExample:
  |  [java] javax.jms.JMSException
  |  [java] at 
org.jboss.messaging.core.remoting.impl.wireformat.MessagingExceptionMessage.decodeBody(MessagingExceptionMessage.java:88)
  |  [java] at 
org.jboss.messaging.core.remoting.impl.wireformat.PacketImpl.decode(PacketImpl.java:209)
  |  [java] at 
org.jboss.messaging.core.remoting.impl.RemotingConnectionImpl.decode(RemotingConnectionImpl.java:884)
  |  [java] at 
org.jboss.messaging.core.remoting.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:512)
  |  [java] at 
org.jboss.messaging.core.client.impl.ConnectionManagerImpl$DelegatingBufferHandler.bufferReceived(ConnectionManagerImpl.java:1066)
  |  [java] at 
org.jboss.messaging.integration.transports.netty.MessagingChannelHandler.messageReceived(MessagingChannelHandler.java:75)
  |  [java] at 
org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:105)
  |  [java] at 
org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:567)
  |  [java] at 
org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:802)
  |  [java] at 
org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:385)
  |  [java] at 
org.jboss.netty.handler.codec.frame.FrameDecoder.fireMessageReceived(FrameDecoder.java:310)
  |  [java] at 
org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:287)
  |  [java] at 
org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:210)
  |  [java] at 
org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:105)
  |  [java] at 
org.jboss.netty.handler.codec.frame.FrameDecoder.handleUpstream(FrameDecoder.java:170)
  |  [java] at 
org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:567)
  |  [java] at 
org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:562)
  |  [java] at 
org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:342)
  |  [java] at 
org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:329)
  |  [java] at 
org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:296)
  |  [java] at 
org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:251)
  |  [java] at 
org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:173)
  |  [java] at 
org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:72)
  |  [java] at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
  |  [java] at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
  |  [java] at java.lang.Thread.run(Thread.java:595)
  |  [java] Caused by: MessagingException[errorCode=0 message=null]
  |  [java] ... 26 more
  | 
  | BUILD SUCCESSFUL
  | Total time: 1 second
  | 
  | 

Server Side


  | 16:52:42,380 ERROR @New I/O server worker #1-2 [ServerSessionImpl] Failed 
to create queue
  | java.lang.NullPointerException
  | at org.jboss.messaging.utils.SimpleString.init(SimpleString.java:84)
  | at 
org.jboss.messaging.core.security.impl.SecurityStoreImpl.check(SecurityStoreImpl.java:175)
  | at 
org.jboss.messaging.core.server.impl.ServerSessionImpl.doHandleCreateQueue(ServerSessionImpl.java:1293)
  | at 
org.jboss.messaging.core.server.impl.ServerSessionImpl.handleCreateQueue(ServerSessionImpl.java:380)
  | at 
org.jboss.messaging.core.server.impl.ServerSessionPacketHandler.handlePacket(ServerSessionPacketHandler.java:126)
  | at 
org.jboss.messaging.core.remoting.impl.RemotingConnectionImpl$ChannelImpl.handlePacket(RemotingConnectionImpl.java:1535)
  | at 
org.jboss.messaging.core.remoting.impl.RemotingConnectionImpl$ChannelImpl.access$600(RemotingConnectionImpl.java:893)
  | at 
org.jboss.messaging.core.remoting.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:522)
  | at 
org.jboss.messaging.core.remoting.server.impl.RemotingServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java:360)
  | at 
org.jboss.messaging.integration.transports.netty.MessagingChannelHandler.messageReceived(MessagingChannelHandler.java:75)
  | at 
org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:105)
  | at 

[jboss-user] [JBoss Messaging] - Re: JBM 2.0 BETA1 -- quque/topicExample failed in jndi looku

2009-03-30 Thread gaohoward
Thanks Jeff! you are fast. :)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4221871#4221871

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221871
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBM 2.0 BETA1 -- quque/topicExample failed in jndi looku

2009-03-30 Thread gaohoward
Thanks Andy. You are fast too. :)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4221874#4221874

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221874
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBM 2.0 BETA1 -- quque/topicExample failed in jndi looku

2009-03-30 Thread ataylor
Howard, I wouldn't spend too much time trying to get the examples to work. 
We're in the process of re-writing them.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4221865#4221865

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221865
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBM 2.0 BETA1 -- quque/topicExample failed in jndi looku

2009-03-30 Thread jmesnil
oops... I submitted too fast...

I've fixed the issue in r6210. SimpleString ctor does not accept null strings.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4221869#4221869

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221869
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBM 2.0 BETA1 -- quque/topicExample failed in jndi looku

2009-03-30 Thread jmesnil
gaohoward wrote : another problem found with topicExample when this issue 
removed, client side:
  | 

I've fixed the issue.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4221868#4221868

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221868
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user