Error creating JDBCPersistenceManagerFactory

Advertisement
I've just upgraded to 2.2.6 and get this error when I run a stand-alone
program (i.e. not in an app server):
java.lang.AbstractMethodError
     at
com.solarmetric.kodo.impl.jdbc.JDBCPersistenceManagerFactory.<init>(JDBCPersistenceManagerFactory.java:153)
     at
com.solarmetric.kodo.impl.jdbc.JDBCPersistenceManagerFactory.<init>(JDBCPersistenceManagerFactory.java:96)
     at
au.com.oakton.common.ejb.PersistenceLocal.getFactory(PersistenceLocal.java:30)
My creation code looks like:
private static synchronized PersistenceManagerFactory getFactory()
if (s_factory == null)
s_factory = new JDBCPersistenceManagerFactory();
s_factory.setMultithreaded(true);
return s_factory;
My configuration is fine when I create an EEPersistenceManagerFactory
and run in jboss 3.0.0
Tom
Advertisement

Replay

Which JVM are you using?
On 6/6/02 12:22 PM, "Alex Roytman" <[email protected]> wrote:
I am using SE on windows 2000
"Patrick Linskey" <[email protected]> wrote in message
news:B9247F80.29BB%[email protected]
Is this a problem with SE or with EE? I'm assuming that you guys are using
Windows, correct?
Our internal tests all passed with Windows/EE, but I don't think that weran
them with SE.
-Patrick
On 6/6/02 12:28 AM, "Alex Roytman" <[email protected]> wrote:
I have the same problem with 2.2.6
java.lang.AbstractMethodError
at
com.solarmetric.kodo.impl.jdbc.JDBCPersistenceManagerFactory.<init>(JDBCPers
istenceManagerFactory.java:153)
at
com.solarmetric.kodo.impl.jdbc.JDBCPersistenceManagerFactory.<init>(JDBCPers
istenceManagerFactory.java:96)
at
peacetech.gao.usorg.jdo.JDOFactory.createPersistenceManagerFactory(JDOFactor
y.java:25)
at
peacetech.gao.usorg.jdo.JDOFactory.getPersistenceManagerFactory(JDOFactory.j
ava:36)
at
peacetech.gao.usorg.jdo.JDOFactory.getPersistenceManager(JDOFactory.java:42)
at peacetech.gao.usorg.gui.Global.jdo(Global.java:42)
atpeacetech.gao.usorg.gui.TestApplication.<init>(TestApplication.java:39)
at peacetech.gao.usorg.gui.TestApplication.main(TestApplication.java:64)
Exception in thread "main" Process terminated with exit code 0
"Tom Davies" <[email protected]> wrote in message
news:[email protected]
I've just upgraded to 2.2.6 and get this error when I run a stand-alone
program (i.e. not in an app server):
java.lang.AbstractMethodError
at
com.solarmetric.kodo.impl.jdbc.JDBCPersistenceManagerFactory.<init>(JDBCPers
istenceManagerFactory.java:153)
at
com.solarmetric.kodo.impl.jdbc.JDBCPersistenceManagerFactory.<init>(JDBCPers
istenceManagerFactory.java:96)
at
au.com.oakton.common.ejb.PersistenceLocal.getFactory(PersistenceLocal.java:3
0)
My creation code looks like:
private static synchronized PersistenceManagerFactory getFactory()
if (s_factory == null)
s_factory = new JDBCPersistenceManagerFactory();
s_factory.setMultithreaded(true);
return s_factory;
My configuration is fine when I create an EEPersistenceManagerFactory
and run in jboss 3.0.0
Tom
Patrick Linskey [email protected]
SolarMetric Inc. http://www.solarmetric.com
Patrick Linskey [email protected]
SolarMetric Inc. http://www.solarmetric.com