[ 
http://issues.apache.org/jira/browse/JDO-289?page=comments#action_12365046 ] 

Andy Jefferson commented on JDO-289:
------------------------------------

FYI. The C3P0 (and DBCP) plugins were updated to add an extra parameter to 
their constructor, allowing specification of a configuration file. The latest 
JPOX jar was needed to use the new calling sequence - which is why it didnt 
work til you had the jpox jar. Need to update our overnight build process so 
they are put on the download site att he same time.

> Regression: all tests fail with jpox-c3p0-SNAPSHOT.jar
> ------------------------------------------------------
>
>          Key: JDO-289
>          URL: http://issues.apache.org/jira/browse/JDO-289
>      Project: JDO
>         Type: Bug
>   Components: tck20
>     Reporter: Michelle Caisse
>     Assignee: Andy Jefferson
>     Priority: Critical

>
> With the latest build of the jpox-c3p0 jar file, all tests give the following 
> error.  The beta version works fine.
> test(org.apache.jdo.tck.transactions.SetOptimisticDuringTransaction)javax.jdo.JDOFatalInternalExcept
> java.lang.String, java.lang.String, java.lang.String, java.lang.String)" 
> plugin to create a ConnectionPool gave an
>     [java]      at 
> org.jpox.AbstractPersistenceManagerFactory.freezeConfiguration(AbstractPersistenceManagerFactory
>     [java]      at 
> org.jpox.PersistenceManagerFactoryImpl.getPersistenceManagerFactory(PersistenceManagerFactoryImp
>     [java]      at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
>     [java]      at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     [java]      at 
> javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:515)
>     [java]      at 
> javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:466)
>     [java]      at org.apache.jdo.tck.JDO_Test.getPMF(JDO_Test.java:419)
>     [java]      at org.apache.jdo.tck.JDO_Test.setUp(JDO_Test.java:186)
>     [java]      at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:203)
>     [java]      at 
> org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:120)
>     [java]      at 
> org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:95)
>     [java] NestedThrowablesStackTrace:
>     [java] java.lang.NoSuchMethodException: 
> org.jpox.c3p0.C3P0DataSourceFactory.makePooledDataSource(java.lang.Stri
>     [java]      at java.lang.Class.getMethod(Class.java:978)
>     [java]      at 
> org.jpox.AbstractPersistenceManagerFactory.freezeConfiguration(AbstractPersistenceManagerFactory
>     [java]      at 
> org.jpox.PersistenceManagerFactoryImpl.getPersistenceManagerFactory(PersistenceManagerFactoryImp
>     [java]      at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
>     [java]      at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     [java]      at 
> javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:515)
>     [java]      at 
> javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:466)
>     [java]      at org.apache.jdo.tck.JDO_Test.getPMF(JDO_Test.java:419)
>     [java]      at org.apache.jdo.tck.JDO_Test.setUp(JDO_Test.java:186)
>     [java]      at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:203)
>     [java]      at 
> org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:120)
>     [java]      at org.apache.jdo.tck.
> util.BatchTestRunner.main(BatchTestRunner.java:95)

-- 
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

Reply via email to