













If you want to make the JNDI Definitions an integral part of your application archive then it is recommended that the descriptor be added to the EAR archive under META-INF/jndi-definitions.xml.
After saving the XML file or EAR archive, use the J2EE Deployment Wizard to deploy the datasources. The Wizard reads the datasource properties from the jndi-definitions.xml descriptor file, instantiates the datasource objects–VisiTransact and driver vendor – and deploys all of them into the JNDI service.




If you make mistages in the installation than you get some exceptions in this window. I show you some exceptions and what can be the problems.
| ClassNotFoundException | Be sure, you have install the Opta DatabaseDriver! |
| java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: Property type [Enumerated] not supported | You have add some properties to the Driver Datasource on the Properties Tab. |
| java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: Could not construct property value object of | You have not set all properties in the Driver Datasource Properties Tab! |
| java.lang.IllegalArgumentException: Only instances of org.omg.CORBA.Object can be bound | You have not set the name of the Datasource Driver correctly! |













vbj -VBJclasspath <path of your client jar file> sample.xa.XATdsClient. Now you should see 'Test is finish'. That's all java.sql.SQLException: This driver not include a Transaction Mananager. at com.inet.tds.DTCDataSource.getConnection(Unknown Source)
You have lookup to DTCDataSource and not to the VisiTranscation DataSource.
Maybe the Borland Application Server has a problem with closing the connection from other threads when you opened the connection. Subsequently, you will get an exception.