Hi,
   I'm trying to run the Jonas1.2 examples, with environment being RedHat
Linux, with JDK1.2, MySQL7.11. I did define ejb TX_NOT_SUPPORTED in the
deployment descriptor. I've a question: What did you use the datasource name
for MySQL in the properties file? Is there a specific one for MySQL in JNDI
provider's list? Since I did not know the datasource name I used "jdbc_1", I
suppose this is for Oracle. When I ran the sample EJBServer, and the client
programs, with the JOnas_1.2:

The following was the output:

EJBServer side:
---------------
JOnAS Server, version 1.6.1, running on rmi.
JDBC DataSource jdbc_1 is mapped on MySQL.properties
EJBHome:eb.JOnASAccountExplBeanAccountHome for AccountExplBean available
EJBHome:eb.JOnASAccountImplBeanAccountHome for AccountImplBean available
setAutoCommit(false) failed: java.sql.SQLException: Cannot disable
AUTO_COMMIT
Exception in connectionErrorOccurred:javax.transaction.SystemException:
Cannot send XA end:javax.transaction.xa.XAException

Client Side:
------------
Getting a UserTransaction object from JNDI
Connecting to the AccountHome
Getting the list of existing accounts in database
Exception getting account list: javax.ejb.FinderException: Failed to
executeQuery java.sql.SQLException: Cannot disable AUTO_COMMIT

Your help is highly appreciated.

Thanks!

KC

----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to