[jboss-user] [JBoss Getting Started Documentation] - error in setting database fields through message beans

shaukatalikhan do-not-reply at jboss.com
Wed Nov 7 02:59:30 EST 2007


Iam using netbeans with jboss. when i called message baens to set data in database it gives following errors. kindly have a look and suggest some solution

 DEBUG [org.jboss.mq.il.uil2.SocketManager] Failed to handle: org.jboss.mq.il.uil2.msgs.CloseMsg24007229[msgType: m_connectionClosing, msgID: 12, error: null]
java.io.IOException: Client is not connected
	at org.jboss.mq.il.uil2.SocketManager.internalSendMessage(SocketManager.java:265)
	at org.jboss.mq.il.uil2.SocketManager.sendReply(SocketManager.java:239)
	at org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:128)
	at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:396)
	at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:392)
	at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
	at java.lang.Thread.run(Thread.java:595)
2007-11-07 12:53:19,244 ERROR [STDERR] java.lang.ClassCastException: ejb.Temp
2007-11-07 12:53:19,244 DEBUG [org.jboss.mq.il.uil2.SocketManager] Failed to send error reply
java.io.IOException: Client is not connected
	at org.jboss.mq.il.uil2.SocketManager.internalSendMessage(SocketManager.java:265)
	at org.jboss.mq.il.uil2.SocketManager.access$800(SocketManager.java:52)
	at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:409)
	at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:392)
	at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
	at java.lang.Thread.run(Thread.java:595)
2007-11-07 12:53:19,244 DEBUG [org.jboss.mq.il.uil2.SocketManager] End WriteTask.run
2007-11-07 12:53:19,244 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] Exiting on IOE
java.net.SocketException: socket closed
	at java.net.SocketInputStream.socketRead0(Native Method)
	at java.net.SocketInputStream.read(SocketInputStream.java:129)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
	at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
	at org.jboss.util.stream.NotifyingBufferedInputStream.read(NotifyingBufferedInputStream.java:79)
	at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2196)
	at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2376)
	at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2443)
	at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2515)
	at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2664)
	at java.io.ObjectInputStream.readByte(ObjectInputStream.java:875)
	at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:317)
	at java.lang.Thread.run(Thread.java:595)
2007-11-07 12:53:19,244 ERROR [STDERR] 	at ejb.NewMessage.onMessage(NewMessage.java:54)
2007-11-07 12:53:19,244 DEBUG [org.jboss.mq.il.uil2.SocketManager] End ReadTask.run
2007-11-07 12:53:19,244 ERROR [STDERR] 	at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source)
2007-11-07 12:53:19,244 ERROR [STDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2007-11-07 12:53:19,244 ERROR [STDERR] 	at java.lang.reflect.Method.invoke(Method.java:585)
2007-11-07 12:53:19,244 ERROR [STDERR] 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
2007-11-07 12:53:19,479 ERROR [STDERR] 	at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
2007-11-07 12:53:19,479 ERROR [STDERR] 	at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
2007-11-07 12:53:19,479 ERROR [STDERR] 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
2007-11-07 12:53:19,479 ERROR [STDERR] 	at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
2007-11-07 12:53:19,479 ERROR [STDERR] 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
2007-11-07 12:53:19,479 ERROR [STDERR] 	at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
2007-11-07 12:53:19,479 ERROR [STDERR] 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
2007-11-07 12:53:19,479 ERROR [STDERR] 	at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
2007-11-07 12:53:19,479 ERROR [STDERR] 	at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:201)
2007-11-07 12:53:19,479 ERROR [STDERR] 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
2007-11-07 12:53:19,479 ERROR [STDERR] 	at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
2007-11-07 12:53:19,479 ERROR [STDERR] 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
2007-11-07 12:53:19,479 ERROR [STDERR] 	at org.jboss.ejb3.mdb.MDB.localInvoke(MDB.java:865)
2007-11-07 12:53:19,479 ERROR [STDERR] 	at org.jboss.ejb3.mdb.MDB.localInvoke(MDB.java:844)
2007-11-07 12:53:19,479 ERROR [STDERR] 	at org.jboss.ejb3.mdb.MDB$MessageListenerImpl.onMessage(MDB.java:1074)
2007-11-07 12:53:19,479 ERROR [STDERR] 	at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:266)
2007-11-07 12:53:19,479 ERROR [STDERR] 	at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:902)
2007-11-07 12:53:19,479 ERROR [STDERR] 	at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:170)
2007-11-07 12:53:19,479 ERROR [STDERR] 	at org.jboss.mq.SpySession.run(SpySession.java:323)
2007-11-07 12:53:19,479 ERROR [STDERR] 	at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194)
2007-11-07 12:53:19,479 ERROR [STDERR] 	at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
2007-11-07 12:53:19,479 ERROR [STDERR] 	at java.lang.Thread.run(Thread.java:595)


thanks
shaukat 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102417#4102417

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102417



More information about the jboss-user mailing list