1 Reply Latest reply on Jun 25, 2004 3:15 AM by Martin Heitz

    Non-managed datasource configuration?

    Martin Heitz Newbie

      Hi,

      I would like to know how to define a datasource in JBoss, which is not under the transaction control of the container.

      Why? Because I am using Quartz Scheduler with persistent Jobs and it needs to obtain a datasource from JNDI from which it can get a connection where it can commit whenever it wants/needs to. I got this running easily under BEA Weblogic, but in JBoss I always get:
      java.sql.SQLException: You cannot set autocommit during a managed transaction!

      So how can I configure a datasource which allows me to execute a commit?

      Best regards from sunny Black Forest, Germany,
      Mattin