Issue Details (XML | Word | Printable)

Key: JDO-94
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Erik Bengtson
Reporter: Craig Russell
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JDO

getPMF by JNDI fails on JPOX

Created: 16/Jul/05 09:27 AM   Updated: 28/Sep/05 02:45 AM
Return to search
Component/s: tck2
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Environment: JPOX

Resolution Date: 28/Sep/05 02:45 AM


 Description  « Hide
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)


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no subversion log entries for this issue yet.