db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Bengtson (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JDO-94) getPMF by JNDI fails on JPOX
Date Tue, 27 Sep 2005 17:46:48 GMT
     [ 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


Mime
View raw message