[Messaging, JMS & JBossMQ] - Re: JBossMQ Remote Client receives java.io.EOFException
by NANJUNDA
Hi ,
I am getting this error when i sent Message which size is big (Around 13MB). here below pasted my exception, Please any one can help me on this ?
DEBUG : 20070829.123141.972 : ServerSocketManagerHandler : UIL2.SocketManager.Re
adTask#11 client=138.8.17.249:32950 : Exiting on IOE
java.io.EOFException
at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputSt
ream.java:2666)
at java.io.ObjectInputStream.readByte(ObjectInputStream.java:875)
at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:31
7)
at java.lang.Thread.run(Thread.java:595)
DEBUG : 20070829.123142.464 : BasicQueue : UIL2.SocketManager.ReadTask#11 client
=138.8.17.249:32950 : Nacked 1 messages for removed subscription Subscription[su
bId=-2147483644connection=ConnectionToken:ID:6/d2d5abe2e5cf2bf55a65e2df3c248ee7
destination=QUEUE.SyncMarginRequest messageSelector= Local Create]
DEBUG : 20070829.123142.468 : SocketManager : UIL2.SocketManager.WriteTask#12 cl
ient=138.8.17.249:32950 : End WriteTask.run
DEBUG : 20070829.123142.468 : SocketManager : UIL2.SocketManager.ReadTask#11 cli
ent=138.8.17.249:32950 : End ReadTask.run
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079273#4079273
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4079273
17Â years, 2Â months
[JBoss Seam] - Re: iText PDF not working with DocumentStore and SeamServlet
by wquraishi
Woohooo...I got it working. For everyone else that's in this situation, in order to rectify the problem, I simply commented the following:
<!--
<filter-name>Seam Servlet Filter</filter-name>
<filter-class>
org.jboss.seam.servlet.SeamServletFilter
</filter-class>
<filter-mapping>
<filter-name>Seam Servlet Filter</filter-name>
<url-pattern>*.pdf</url-pattern>
</filter-mapping>
-->
<servlet-name>Document Store Servlet</servlet-name>
<servlet-class>
org.jboss.seam.pdf.DocumentStoreServlet
</servlet-class>
<servlet-mapping>
<servlet-name>Document Store Servlet</servlet-name>
<url-pattern>*.pdf</url-pattern>
</servlet-mapping>
I think it had to do with the two URL mappings both pointing to *.pdf. The one commented out was in the web.xml by default when creating an application using seam-gen.
So for everyone else, that starts of using inline PDF and then switches to using the link, you MUST comment out the code above.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079272#4079272
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4079272
17Â years, 2Â months
[JBoss Seam] - selectOneMenu in dataTable
by mladen.babic
Hi,
Is is possible to put h:selectOneMenu component in data table when value of selectitems of selectOneMenu is list created by call to bean method and parameter of that function is row of datatable. When page is displayed list of selectOneMenu component is populated correctly only for first row of datatable. While debuging I noticed that bean's method is called only ones.
SelectOneMenu in other rows are populated with same value as first one.This is fragment of my code:
| <t:dataTable value="#{productPropertyList}" var="productProperty">
|
| <t:column>
| <h:outputText value="#{productProperty.name}"></h:outputText>
| </t:column>
| <t:column>
| <h:selectOneMenu id="selectStatus"
| value="#{adminNewOrderAction.property}">
| <s:convertEntity />
| <s:selectItems var="item" label="#{item.name}" noSelectionLabel="------------"
| value="#{adminNewOrderAction.getPropertyValues(productProperty)}" />
| </h:selectOneMenu>
|
| </t:column>
| </t:dataTable>
|
Best regards,
mb
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079265#4079265
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4079265
17Â years, 2Â months