Hi Jeremy, Hi Gregory,
it's me that propably have caused that by commiting CASTOR-1179. I'm
quite willing to solve that problem a.s.a.p but as I told Gregory when
he first mentioned it, I couldn't reproduce it at my side. To do so, I
really need a testcase and indstructions to setup the environment.
Having said that this is quite urgent as it is a showstopper for 0.9.9
IMO and I will be on holiday beginning mid of next week. So please
provide me with required information that allows me to solve the problem
at the weekend.
Ralf
Gregory Block schrieb:
> Oof. That's two of us now. :)
>
> Looks like that thing that I thought was probably something specific to
> my system probably isn't.
>
> I still haven't tracked down what's happening, but it no longer appears
> to be an edge case specific to our environment - can I ask you to file
> a bug on this, and mark it high priority?
>
> On 16 Sep 2005, at 06:44, Jeremy Whitlock wrote:
>
>> Hey all,
>> I'm trying to update OpenEJB so that it uses the latest version
>> of Castor. In doing so, I've run into some issues that debugging
>> through the source, of both OpenEJB and Castor, hasn't seemed to help.
>> I have the jdo-conf.xml files right but when I do JDO.getDatabase(),
>> I get an error on line 595 of JDO.java. I have a _transactionManager
>> but no _transactionManagerFactory. This leads me to believe that
>> there is more to this than just a few API fixes so the class will
>> compile. So, here is some of the problematic code:
>>
>> jdo_ForGlobalTransaction = new JDO();
>>
>> // Assign the TransactionManager JNDI name to the dynamically
>> generated JNDI name
>> // jdo_ForGlobalTransaction.setTransactionManager( "java:comp/"
>> + transactionManagerJndiNameTyrex );
>> jdo_ForGlobalTransaction.setTransactionManager("java:openejb/
>> TransactionManager");
>> jdo_ForGlobalTransaction.setDatabasePooling( true );
>> jdo_ForGlobalTransaction.setConfiguration( gTxDb.getAbsolutePath() );
>> jdo_ForGlobalTransaction.setDatabaseName(EnvProps.GLOBAL_TX_DATABASE);
>> jdo_ForGlobalTransaction.setCallbackInterceptor( this );
>> jdo_ForGlobalTransaction.setInstanceFactory( this );
>> jdo_ForGlobalTransaction.setLogInterceptor( new
>> CMPLogger(EnvProps.GLOBAL_TX_DATABASE) );
>>
>> I know that I need to comment out the
>> JDO.setTransactionManager(String), since that's taken care of in the
>> jdo-conf.xml, but when I do so and get the class to compile, when I
>> call JDO.getDatabase(), I get the error mentioned above where line 595
>> of JDO.java throws a NullPointerException because
>> _transactionManagerFactory is null. Can someone point me to the
>> light? I am not sure what is going wrong. I do know that I've
>> debugged through a good bit of the code and I still am at square one
>> so that is why I'm here.
>>
>> Take care,
>> Jeremy
>>
>> --
>> He who listens well, speaks well.
>>
>> -------------------------------------------------
>> If you wish to unsubscribe from this list, please
>> send an empty message to the following address:
>>
>> [EMAIL PROTECTED]
>> -------------------------------------------------
>>
>>
>
>
> -------------------------------------------------
> If you wish to unsubscribe from this list, please send an empty message
> to the following address:
>
> [EMAIL PROTECTED]
> -------------------------------------------------
--
Syscon Ingenieurbüro für
Meß- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstraße 11
D-72127 Kusterdingen
Germany
Tel. +49 7071 3690 52
Mobil: +49 173 9630135
Fax +49 7071 3690 98
Email: [EMAIL PROTECTED]
Web: www.syscon-world.de
-------------------------------------------------
If you wish to unsubscribe from this list, please
send an empty message to the following address:
[EMAIL PROTECTED]
-------------------------------------------------