[JBoss-user] [JCA/JBoss] - Re: XAResource or Local Transaction?

2006-04-26 Thread rogeduardo
Hi all, I will enumerate my questions: 1 - When application server will use XAResource (one phase commit optimization or two phase commit), and in what cases it will use Local Transaction? 2 - I implemented my own client interface in my R.A., and when I use it, the jboss insists in use LocalTran

[JBoss-user] [JCA/JBoss] - Re: How to invoke a native method?

2006-04-26 Thread rogeduardo
"rogeduardo" wrote : Cerificate if the signature of method into .so is correct. Try this: | | javah -jni class_name | | It will generate one .h, check inside this file if this name is equal of the signature of file it will generate your .so. Try too export d

[JBoss-user] [JCA/JBoss] - Re: How to invoke a native method?

2006-04-26 Thread rogeduardo
Cerificate if the signature of method into .so is correct. Try this: javah -jni class_name It will generate one .h, check inside this file if this name is equal of the signature of file it will generate or .so. Try too export de variable LD_LIBRARY_PATH in your enviroment. But you have export

[JBoss-user] [JCA/JBoss] - XAResource or Local Transaction?

2006-04-26 Thread rogeduardo
Hi all, I will enumerate my questions: 1 - When application server will use XAResource (one phase commit optimization or two phase commit), and in what cases it will use Local Transaction? 2 - I implement my own client interface in my R.A., and when I use it, the jboss insisted in a use of Local

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - ConnectionFactory and Connection

2006-02-20 Thread rogeduardo
Hi all! Anyone can explain me how javax.resource.cci.ConnectionFactory doesn't have any association with javax.resource.cci.Connection, if the method getConnection() andgetConnection (Subject, ConnectionRequestInfo) returns one javax.resource.cci.Connection? I saw this on the class diagram into

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Newbie with JTA and JBoss

2005-11-19 Thread rogeduardo
"oglueck" wrote : You have to register you resource with the resource manager. Normally this is done by creating a resource adapter (RAR). Suggested reading: JTA, Java connector architector, resource adapters. Thank you. This you be very helpful. View the original post : http://www.jboss.com/in

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Newbie with JTA and JBoss

2005-11-18 Thread rogeduardo
"oglueck" wrote : What is SchemaAdmin? Its not the problem. My problem here is: i am trying to control operations in distributed environment. This method "addSchemaReference" access via JNI and after a RPC server wrote in C. I wanna control this transactions with JTA, but I dont know how this co

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Newbie with JTA and JBoss

2005-11-18 Thread rogeduardo
Hello to all, I'm newbie with JTA and JBoss. Forgive me if my question is very stupid. This is my code: public class Application { | | public static String URL = "java:comp/UserTransaction"; | | public Application() throws IllegalStateException, SecurityException,