Hi Armin,

thanks for your help!

Ralf Alt

-----Ursprungliche Nachricht-----
Von: Armin Waibel [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 22. Juni 2004 18:20
An: OJB Users List
Betreff: Re: RC7 Transactions


Hi Ralf,

seems you have an typo in OJB.properties, try

ImplementationClass=org.apache.ojb.odmg.ImplementationImpl

regards,
Armin

Ralf Alt wrote:
> Hallo,
>
> changing from RC6 to RC7 produce the exception. I'm using Apache Tomcat
> 4.1.x.
>
> [BOOT] WARN: Value "org.apache.ojb.odmg.ImplementationDefaultImpl" is
> illegal for key "ImplementationClass" (should be a class, using default
> value null)
> [org.apache.ojb.odmg.OJB] ERROR: ConfigurableFactory configuration key
class
> for key'ImplementationClass' does not exist.
> java.lang.ExceptionInInitializerError
>
> The OJB.properties file
>
#---------------------------------------------------------------------------
> -------------
> # ODMG settings
>
#---------------------------------------------------------------------------
> -------------
> # Specify the used base class for ODMG API
> # - ImplementationDefaultImpl is the default class
> # - ImplementationJTAImpl is for use in managed environments like J2EE
> conform
> # Application Server
> #
> ImplementationClass=org.apache.ojb.odmg.ImplementationDefaultImpl
> #ImplementationClass=org.apache.ojb.odmg.ImplementationJTAImpl
> #
> #
> # Specify the used tx handling.
> # - LocalTxManager use if you want the transaction to be associated by a
> thread
> # - JTATxManager use if you want the transaction to be associated via the
> Transaction
> # manager that is in your application server.
> #
> OJBTxManagerClass=org.apache.ojb.odmg.LocalTxManager
> #OJBTxManagerClass=org.apache.ojb.odmg.JTATxManager
> #
>
> if I change to
ImplementationClass=org.apache.ojb.odmg.ImplementationJTAImpl
> the "Boot"-Exception don't come, but the methods begin(), commit() and
> isOpen() are not supportted. What's wrong?
>
> Thanks for help
> Ralf Alt
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to