Hi!
This topic have been covered, but i have a little bit different problem: I have
my own JCA adapter to EIS called ECS and when i'm invoking such code using
sevlet everything works fine, but when I try to put it in Stateless EJB
container throws an exception (stripped try - catch statements):
ConnectionFactory cFactory;
ECSConnectionSpecImpl connectionSpec = new ECSConnectionSpecImpl("ecsdev",
4449);
Connection conn = null;
ECSInteractionSpec interactionSpec = new ECSInteractionSpec();
RecordFactory rFactory = null;
Interaction interaction = null;
IndexedRecord input = null;
conn = factory.getConnection(connectionSpec);
rFactory = factory.getRecordFactory();
interaction = conn.createInteraction();
input = rFactory.createIndexedRecord("noop");
interactionSpec.setFunctionName(ECSInteractionSpec.CMD_NOOP);
interaction.execute(interactionSpec, input);
interaction.close();
conn.close();
input = null;
rFactory = null;
interactionSpec = null;
conn = null;
After throwable is message about closing connection for you, but connection is
closed
bean is configured as transaction demarcation by container all methods of bean
are signed as NotSupported for transaction support and JCA connector as no-tx
which traces from log can help in 'investigation'?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859609#3859609
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859609
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user