Article:
  Using Tomcat 4 Security Realms
Subject:   Transactions are not enabled
Date:   2001-12-07 16:11:18
From:   mbober
I connet MySql database through jdbc:odbc bridge to support JDBCRealm and after I start the Tomcat the Exception is thrown:
"Transactions are not enabled"


But I now that there are transactions enabled in ODBC DataSource configuration.
Please, help me.
Marcin.

Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • Transactions are not enabled
    2002-03-04 07:49:01  mlevitt [View]

    Transactions are not supported for the default (ISAM) database tables in the 'normal' daemon. You have to run the 'max' server which supports Berkley databases and create the tables using something like this:

    create table users (
    id SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT,
    userID VARCHAR(20),
    password VARCHAR(20),
    primary key (id)
    ) TYPE = bdb;


    hth,
    mark
  • Transactions are not enabled
    2002-02-27 11:54:19  c_novak@yahoo.com [View]

    MySQL does not support transactions by default. I cannot remember how to do it, but check out MySql docs for "Transaction Support"