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

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > September 2005 > [jira] Resolved: (JDO-94) getPMF by JNDI fails on JPOX





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

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

2005-09-27, 5:45 pm

[ 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(AbstractG
etPMF.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(AbstractG
etPMF.java:140)
> [java] at org.apache.jdo.tck.api.persistencemanagerfactory.GetPMFByJNDILocationAndClassLoader. testValidGetPMF(GetPMFByJNDILocationAndC
lassLoader.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/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com