You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Erik Bengtson (JIRA)" <ji...@apache.org> on 2005/09/27 19:46:48 UTC

[jira] Resolved: (JDO-94) getPMF by JNDI fails on JPOX

     [ http://issues.apache.org/jira/browse/JDO-94?page=all ]
     
Erik Bengtson resolved JDO-94:
------------------------------

    Resolution: Fixed

fixed in JPOX CVS

> getPMF by JNDI fails on JPOX
> ----------------------------
>
>          Key: JDO-94
>          URL: http://issues.apache.org/jira/browse/JDO-94
>      Project: JDO
>         Type: Bug
>   Components: tck20
>  Environment: JPOX
>     Reporter: Craig Russell
>     Assignee: Erik Bengtson

>
> After binding a JPOX PMF and retrieving it from JNDI, the PMF properties are null.
>     [java] 1) testValidGetPMF(org.apache.jdo.tck.api.persistencemanagerfactory.GetPMFByJNDILocation)junit.framework.AssertionFailedError: 
>     [java] Key javax.jdo.option.Mapping was null.
>     [java] Key javax.jdo.option.ConnectionURL was null.
>     [java] Key javax.jdo.option.ConnectionDriverName was null.
>     [java]      at org.apache.jdo.tck.api.persistencemanagerfactory.AbstractGetPMF.verifyProperties(AbstractGetPMF.java:189)
>     [java]      at org.apache.jdo.tck.api.persistencemanagerfactory.AbstractGetPMF.checkGetPMFWithValidProperties(AbstractGetPMF.java:140)
>     [java]      at org.apache.jdo.tck.api.persistencemanagerfactory.GetPMFByJNDILocation.testValidGetPMF(GetPMFByJNDILocation.java:75)
>     [java]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     [java]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     [java]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     [java]      at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:197)
>     [java]      at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:128)
>     [java]      at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:106)
>     [java] 2) testValidGetPMF(org.apache.jdo.tck.api.persistencemanagerfactory.GetPMFByJNDILocationAndClassLoader)junit.framework.AssertionFailedError: 
>     [java] Key javax.jdo.option.Mapping was null.
>     [java] Key javax.jdo.option.ConnectionURL was null.
>     [java] Key javax.jdo.option.ConnectionDriverName was null.
>     [java]      at org.apache.jdo.tck.api.persistencemanagerfactory.AbstractGetPMF.verifyProperties(AbstractGetPMF.java:189)
>     [java]      at org.apache.jdo.tck.api.persistencemanagerfactory.AbstractGetPMF.checkGetPMFWithValidProperties(AbstractGetPMF.java:140)
>     [java]      at org.apache.jdo.tck.api.persistencemanagerfactory.GetPMFByJNDILocationAndClassLoader.testValidGetPMF(GetPMFByJNDILocationAndClassLoader.java:75)
>     [java]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     [java]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     [java]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     [java]      at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:197)
>     [java]      at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:128)
>     [java]      at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:106)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira