Thank you for the reply. Unfortunately, I've already seen that page. This is what it suggested:
anonymous wrote : I'm inside the application server, how do I install the exception listener?
|
| * You don't need to for an MDB, JBoss does it for you.
| * For anything else, you should be using the JMS resource adapter which also does it for you.
|
This project already does these. So basically, if in the application server, "This shouldn't happen" is the answer -- which doesn't really help! I still don't understand how the Hypersonic JMS backend would get a ping timeout at all!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973344#3973344
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973344
Great that did the trick, thanks a lot.
To sum up for anyone else with the same problem.
The EntityBean has
@Lob
public Blob getContent()
{
return content;
}
In the Stateful session bean
@DataModel
private List documentList;
@DataModelSelection
@In(required=false)
@Out(required=false)
private Document document;
@PersistenceContext
private EntityManager em;
//You do need to do the merge before accessing the BLOB
em.merge(document);
Blob blob=document.getContent();
is = blob.getBinaryStream();
....
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973330#3973330
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973330
Hello. I have a problem. I have
JBOSS1: MDB1, MDB2Client
JBOSS2: MDB2, MDB1Client
First I need to send message from MDB2Client to MDB2. Then MDB2 should process the message and invoke MDB1Client to send response message back to MDB1. MDB1 and MDB2 both uses jms/QueueConnectionFactory, MDB1 uses jms/WriterQueue and MDB2 uses jms/ReaderQueue. When both jars with MDBs are in one JBoss with defined factory and queues, everything works perfectly. But I need jars on separate machines and probably to share only one factory and queue instances. Do you know, how to solve this problem?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973329#3973329
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973329