Hey all,
     Thanks for all of your responses.  I would be glad to give you my
jdo-conf.xml and a StackTrace.  My first assumption here was the I
would update the code to no longer use any of the removed methods,
like JDO.setTransactionManager(String), and then update the
jdo-conf.xml to explicitly state Transaction type and that would be
it.  That beings said, that is all I have done.  Since the
jdo-conf.xml sets the TransactionManager, I just commented out the
code that would set it manually.  Now that I've taken care of all of
the explanation, let's get to business.

Gregory,
     I can create a bug for this.  I'll have it done shortly.

Werner,
     Here is my jdo-conf.xml:

<jdo-conf>
        <database name="Global_TX_Database" engine="instantdb">
                <jndi name="java:openejb/connector/Movie Database Connector" />
                <mapping href="META-INF/cmp.or-mapping.xml" />
        </database>

        <transaction-demarcation mode="global">
                <transaction-manager name="jndi">
                        <param name="jndiEnc" 
value="java:openejb/TransactionManager" />
                </transaction-manager>
        </transaction-demarcation>
</jdo-conf>

David was the one that assigned the task to me and that is how I got
here.  I also joined IRC but no one was there.  I'll join back and
wait this time.  ;)

Ralf,
     I don't know of another way to replicate this outside of OpenEJB.
 If you want to pursue this further, I can .zip you up my environment
and then you could reproduce.  The other approach is to have you
reproduce the changes I've made locally to the CVS branch.

Werner,
     Here is the current StackTrace:

java.lang.NullPointerException
        at org.exolab.castor.jdo.JDO.getDatabase(JDO.java:595)
        at 
org.openejb.alt.containers.castor_cmp11.CastorCMP11_EntityContainer.postInit(CastorCMP11_EntityContainer.java:438)
        at 
org.openejb.alt.containers.castor_cmp11.CastorCMP11_EntityContainer.invoke(CastorCMP11_EntityContainer.java:530)
        at 
org.openejb.core.ivm.EjbHomeProxyHandler.create(EjbHomeProxyHandler.java:258)
        at 
org.openejb.core.ivm.EjbHomeProxyHandler._invoke(EjbHomeProxyHandler.java:153)
        at 
org.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:295)
        at 
org.openejb.util.proxy.Jdk13InvocationHandler.invoke(Jdk13InvocationHandler.java:87)
        at $Proxy2.create(Unknown Source)
        at 
org.openejb.test.entity.cmp.CmpHomeIntfcTests.test01_create(CmpHomeIntfcTests.java:71)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at 
org.openejb.test.NumberedTestCase.runTestMethod(NumberedTestCase.java:185)
        at 
org.openejb.test.NumberedTestCase$3.protect(NumberedTestCase.java:164)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at org.openejb.test.NumberedTestCase.run(NumberedTestCase.java:167)
        at org.openejb.test.NumberedTestCase.run(NumberedTestCase.java:138)
        at org.openejb.test.TestSuite.run(TestSuite.java:73)
        at junit.framework.TestSuite.runTest(TestSuite.java:208)
        at junit.framework.TestSuite.run(TestSuite.java:203)
        at junit.textui.TestRunner.doRun(TestRunner.java:116)
        at junit.textui.TestRunner.start(TestRunner.java:172)
        at org.openejb.test.TestRunner.start(TestRunner.java:114)
        at org.openejb.test.TestRunner.main(TestRunner.java:90)

I hope this helps.  Please get back to me with anything I can do to
help.  Take care, Jeremy

-------------------------------------------------
If you wish to unsubscribe from this list, please
send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to