[jboss-user] [JCA/JBoss] - Re: JCA Problem: java.lang.IllegalStateException: Trying to

groovie do-not-reply at jboss.com
Wed Aug 5 18:04:52 EDT 2009


Salut mc's,

the solution is quite simple. The (logical) close operation,
that issues a closeSend of the ConnectionEvent class 
has to attach the connection handle to the ConnectionEvent,
before broadcasting this event.

so:
            ce = new ConnectionEvent(this, ConnectionEvent.CONNECTION_CLOSED) ;
(new)   ce.setConnectionHandle(connection) ;

does help me in the closeHandle method.

Tanks
Groovie

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

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



More information about the jboss-user mailing list