buongiorno

I had the same problem. My connector does not support transactions. The 
connector should be used indirectly through a (stateful) session fascade. This 
session fascade has the following (remote) interface:

public interface ResourceFascade extends EJBObject
  | {
  |     public void openConnection() throws RemoteException, 
MyResourceException;
  |     public void close() throws RemoteException, MyResourceException;
  |     public MyResultSet search(String searchbase, String filter) throws 
RemoteException, MyResourceException;
  |     //...
  | }
  | 

This session beans <trans-attribute> was NotSupported. When the 
openConnection() method was called the connection was closed automatically by 
the CachedConnectionManager.

I have found two solutions for this problem:
1) Set the "Debug" attribute in deploy\jbossjca-service.xml to false
2) Using transactions. In my case the ResourceFascade session bean requires 
that the <trans-attribute> was Mandatory. In this case your connector should 
probably support transactions (I'm not sure)...

Ciao

Matthias


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

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


-------------------------------------------------------
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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to