Hi,
This is the relevant part of my jboss.jcml file which contains
JDBC configuration. I think that it is correct but maybe I'm wrong.

<!-- JDBC -->
  <mbean code="org.jboss.jdbc.JdbcProvider"
name="DefaultDomain:service=JdbcProvider">
    <attribute name="Drivers">oracle.jdbc.driver.OracleDriver</attribute>
  </mbean>

  <mbean code="org.jboss.jdbc.XADataSourceLoader"
name="DefaultDomain:service=XADataSource,name=DefaultDS,jndiName=jdbc/Oracle
">
    <attribute name="PoolName">DefaultDS</attribute>
    <attribute
name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImp
l</attribute>
    <attribute name="Properties"></attribute>
    <attribute
name="URL">jdbc:oracle:thin:@10.10.64.63:1521:delta</attribute>
    <attribute name="JDBCUser">arj</attribute>
    <attribute name="Password">arj</attribute>
    <attribute name="LoggingEnabled">false</attribute>
    <attribute name="GCMinIdleTime">1200000</attribute>
    <attribute name="MaxSize">10</attribute>
    <attribute name="GCEnabled">false</attribute>
    <attribute name="InvalidateOnError">false</attribute>
    <attribute name="TimestampUsed">false</attribute>
    <attribute name="Blocking">true</attribute>
    <attribute name="GCInterval">120000</attribute>
    <attribute name="IdleTimeout">1800000</attribute>
    <attribute name="IdleTimeoutEnabled">false</attribute>

    <attribute name="MaxIdleTimeoutPercent">1.0</attribute>
    <attribute name="MinSize">0</attribute>
  </mbean>


I've also attached the whole jboss.jcml file.

Artur Jonak

----- Original Message -----
From: "David Jencks" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 08, 2001 4:19 PM
Subject: Re: [JBoss-user] Transactions and AutoCommit problems


> The problem may well be in the configuration of your datasource.  Can you
> show the relevant parts of jboss.jcml?
>
> david jencks
>
> On 2001.08.08 08:16:33 -0400 Artur Jonak wrote:
> > Hi,
> > I'm using JBoss2.2.2 with Oracle 8i and minerva.
> > My applications contains BMP and CMP beans.
> > All my beans methods require transactions.
> > And I have problem with AutoCommit.
> > Sometimes I get connection with AutoCommit turned on
> > sometimes it is turned off. I know that it should be off when I
> > use methods with transactions.
> > (In EJB specification there is specified that in transaction
> > AutoCommit of connection has to be turned off.)
> >
> > Sometimes when my application creates a new CMP bean this bean is
> > not stored in the DB table. I can find it using findByPrimaryKey but
when
> > I
> > shout down JBoss server I lose this bean (there is no that bean in the
DB
> > after JBoss restarting).
> > OK in BMP beans I can check what is AutoCommit and possibly turn it off.
> > But what with CMP beans.
> > Maybe there is a special server property which I can configure.
> >
> > Note that previously I used Sun's J2EE server and above problems do not
> > occur!
> >
> > Please help.
> >
> > Regards,
> > AJ.
> >
> > ________________________________________________
> >
> > Pozdrawiam,
> > AJ.
> >
> > <mailto:[EMAIL PROTECTED]>
> > <http://strony.wp.pl/wp/ajonak>
> > ________________________________________________
> >
> >
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
> >
> >
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user

jboss.jcml

Reply via email to