[Messaging, JMS & JBossMQ] - Exiting on IOE - java.net.SocketException: socket closed
by thiyaster
Hi All,
Im getting Exiting on IOE - java.net.SocketException: socket closed when my Application is consuming/sending msg to JMS queue.
The log is as follows:
2007-12-05 16:15:18,736 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:183)
at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
at org.jboss.util.stream.NotifyingBufferedInputStream.read(NotifyingBufferedInputStream.java:67)
at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2133)
at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2313)
at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2380)
at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2452)
at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2601)
at java.io.ObjectInputStream.readByte(ObjectInputStream.java:845)
at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:279)
at java.lang.Thread.run(Thread.java:534)
2007-12-05 16:15:18,736 DEBUG [org.jboss.mq.il.uil2.SocketManager] End WriteTask.run
2007-12-05 16:15:18,736 DEBUG [org.jboss.mq.il.uil2.SocketManager] End ReadTask.run
2007-12-05 16:15:38,094 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin ReadTask.run
2007-12-05 16:15:38,094 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin WriteTask.run
2007-12-05 16:15:38,094 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created ObjectOutputStream
2007-12-05 16:15:38,094 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created ObjectInputStream
2007-12-05 16:15:38,094 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] Setting up the UILClientIL Connection
2007-12-05 16:15:38,094 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] The UILClientIL Connection is set up
2007-12-05 16:15:48,131 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin ReadTask.run
2007-12-05 16:15:48,131 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin WriteTask.run
2007-12-05 16:15:48,131 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created ObjectOutputStream
2007-12-05 16:15:48,131 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created ObjectInputStream
2007-12-05 16:15:48,131 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] Setting up the UILClientIL Connection
2007-12-05 16:15:48,131 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] The UILClientIL Connection is set up
2007-12-05 16:15:48,131 DEBUG [org.jboss.mq.il.uil2.SocketManager] End WriteTask.run
2007-12-05 16:15:48,131 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] Exiting on IOE
java.net.SocketException: socket closed
Im getting this logs continuously. at the time when my application send or receive msg to/from JMS.
I had already saw here the similar thread, but coudn't fid a proper solution for that.
Thanks
Thiyaster.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110486#4110486
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110486
18 years, 4 months
[JBoss Seam] - Help Facelets in seam are not recursive
by dreuzel
Facelets NOT RECURSIVE
As I call a facelet indiectly from an other facelet the returned attributs
are different. This leads to impossible interpretation of the final Tag value
and causes facelets using <c:if test="${arg}" to fail depending on the recursive level
where it is called.
Any help is welcome
More detailed :
|
| as I can produce a facelet :
|
| The value of "${action}" is different depending on its use
| Detected by TagHandler
|
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
| <html>
| <ui:composition xmlns="http://www.w3.org/1999/xhtml"
| xmlns:c="http://java.sun.com/jstl/core"
| xmlns:s="http://jboss.com/products/seam/taglib"
| xmlns:ui="http://java.sun.com/jsf/facelets"
| xmlns:f="http://java.sun.com/jsf/core"
| xmlns:h="http://java.sun.com/jsf/html"
| xmlns:rich="http://richfaces.org/rich"
| xmlns:a4j="http://richfaces.org/a4j">
|
| <m:xxx tag="${action}">
| </m:xxx>
| </ui:composition>
| THIS TEXT WILL BE REMOVED AS WELL
| </html>
|
I'm checking for the obtained value using xxx as Taghandler
|
| String Tag=((TagAttribute) tag).getValue(); // the value offered to the taglib
| String Tag2=((TagAttribute) tag).getValue(ctx);// the value offered from myapplication
| String TmpStripped=Tag.replaceAll("($\\{)|(\\#\\{)|(})", "");//just the symbol
| String tmpResolved=Value(ctx,TmpStripped);//ve=ctx.getVariableMapper().resolveVariable(TmpStripped)
| log.info("tagAttribute "+ expression+ " Tag "+Tag+"/("+TmpStripped + ") rtn "+tmpResolved );//+" tag2=" + Tag2)
|
As I call the above facelet as
| <facelet action="${mymodule.value}"> in the main thread it offers
|
| Tag="${mymodule.value}" .... and I suppose this is correct
|
As I call the above facelet through an other facelet
|
| <faceletGroup act="${mymodule.value}">
|
with FaceletGroup defined as
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
| <html>
| <ui:composition xmlns="http://www.w3.org/1999/xhtml"
| xmlns:c="http://java.sun.com/jstl/core"
| xmlns:s="http://jboss.com/products/seam/taglib"
| xmlns:ui="http://java.sun.com/jsf/facelets"
| xmlns:f="http://java.sun.com/jsf/core"
| xmlns:h="http://java.sun.com/jsf/html"
| xmlns:rich="http://richfaces.org/rich"
| xmlns:a4j="http://richfaces.org/a4j">
|
|
| <facelet action="${act}">
| </ui:composition>
| THIS TEXT WILL BE REMOVED AS WELL
| </html>
|
|
and I'm checking the taghandler xxx again
I'm checking for the obtained value using xxx as Taghandler
| String Tag=((TagAttribute) tag).getValue(); // the value offered to the taglib
| String Tag2=((TagAttribute) tag).getValue(ctx);// the value offered from myapplication
| String TmpStripped=Tag.replaceAll("($\\{)|(\\#\\{)|(})", "");//just the symbol
| String tmpResolved=Value(ctx,TmpStripped);//ve=ctx.getVariableMapper().resolveVariable(TmpStripped)
| log.info("tagAttribute "+ expression+ " Tag "+Tag+"/("+TmpStripped + ") rtn "+
|
I receive different values
| Tag = "${act}" //I receive the symbol name instead of the content
| act seams to be defined as a variable in the variable mapper
| and I can resolve Tag stripping of "${}" to the correct value
|
| "${mymodule.value}"
|
This is highly annoying since the taghandler needs to react differently
dependent on the recursive level it is. This is breaking down the value
of facelets.
Additionaly the response is dependent upon the content defined in the intermediate
facelet. as we used ${act}, the TagHanler can not know what value was choisen, it could vary
depending on the facelet grouping...
this value is ambigious since I can have the argument act and the a potential module act
defined in my application. I would not be able to distinguish
between a module called tag or an intermediate value called Tag
Is there a way to uniquely resolve the tag ?? ,
temporarly I look for ".({" in the returned value, these characters are not part
of an xml attribute, but this does not solve all the problems ....
any help apreciated
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110482#4110482
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110482
18 years, 4 months