do you see the db info just before that XML Read 0.0050s: entityengine.xml Delegator "default" initializing helper "localpostgres" for entity group "org.ofbiz". Doing database check as requested in entityengine.xml with addMissing=true Database Product Name is PostgreSQL Database Product Version is 7.4.13 Database Driver Name is PostgreSQL Native Driver Database Driver Version is PostgreSQL 7.5devel JDBC3 with SSL (build 301) Database Driver JDBC Version is 3.0 Database Setting/Support Information (those with a * should be true): supports transactions [true]*
Case Torres sent the following on 11/19/2007 4:51 PM: > Don't know if this helps but the error message comes right after the > database check: > > [java] 2007-11-19 16:46:22,100 (main) [ GenericDelegator.java:183:INFO ] > Doing database check as requested in entityengine.xml with addMissing=true > [java] Exception in thread "main" > java.lang.UnsupportedClassVersionError: Bad version number in .class file > [java] at java.lang.ClassLoader.defineClass1(Native Method) > > > -----Original Message----- > From: Case Torres [mailto:[EMAIL PROTECTED] > Sent: Monday, November 19, 2007 4:49 PM > To: '[email protected]' > Subject: RE: java exception in thread error help? > > I removed version 3 and I'm getting the same error message. :-( > > -----Original Message----- > From: Adrian Crum [mailto:[EMAIL PROTECTED] > Sent: Monday, November 19, 2007 4:45 PM > To: [email protected] > Subject: Re: java exception in thread error help? > > Have you tried using only one driver? > > Case Torres wrote: > >> Hi, >> >> I'm trying to get my production server up and running with OFBiz Release > 4.0 >> Centos 4 >> Postgres 8.2.4 >> Java: jdk-1_5_0_14-linux-i586 >> In framework/entity/lib/jdbc I have the following drivers: >> postgresql-8.2-506.jdbc3.jar >> postgresql-8.2-506.jdbc4.jar >> >> I'm getting the following error message when running ant run-install >> >> [java] Exception in thread "main" java.lang.UnsupportedClassVersionError: >> Bad version number in .class file >> [java] at java.lang.ClassLoader.defineClass1(Native Method) >> [java] at java.lang.ClassLoader.defineClass(ClassLoader.java:620) >> [java] at >> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) >> [java] at >> java.net.URLClassLoader.defineClass(URLClassLoader.java:260) >> [java] at >> java.net.URLClassLoader.access$100(URLClassLoader.java:56) >> [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:195) >> [java] at java.security.AccessController.doPrivileged(Native >> Method) >> [java] at >> java.net.URLClassLoader.findClass(URLClassLoader.java:188) >> [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306) >> [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:299) >> [java] at >> > org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:179) >> [java] at >> > org.ofbiz.base.util.CachedClassLoader.loadClass(CachedClassLoader.java:154) >> [java] at >> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) >> [java] at java.lang.Class.forName0(Native Method) >> [java] at java.lang.Class.forName(Class.java:242) >> [java] at >> > org.ofbiz.minerva.pool.jdbc.xa.wrapper.XADataSourceImpl.loadDriver(XADataSou >> rceImpl.java:167) >> [java] at >> > org.ofbiz.minerva.pool.jdbc.xa.wrapper.XADataSourceImpl.getXAConnection(XADa >> taSourceImpl.java:222) >> [java] at >> > org.ofbiz.minerva.pool.jdbc.xa.XAConnectionFactory.createObject(XAConnection >> Factory.java:367) >> [java] at >> org.ofbiz.minerva.pool.ObjectPool.createNewObject(ObjectPool.java:942) >> [java] at >> org.ofbiz.minerva.pool.ObjectPool.getObject(ObjectPool.java:630) >> [java] at >> org.ofbiz.minerva.pool.ObjectPool.fillToMin(ObjectPool.java:961) >> [java] at >> org.ofbiz.minerva.pool.ObjectPool.initialize(ObjectPool.java:533) >> [java] at >> > org.ofbiz.minerva.pool.jdbc.xa.XAPoolDataSource.initialize(XAPoolDataSource. >> java:313) >> [java] at >> > org.ofbiz.minerva.pool.jdbc.xa.XAPoolDataSource.getConnection(XAPoolDataSour >> ce.java:349) >> [java] at >> > org.ofbiz.entity.transaction.MinervaConnectionFactory.getConnection(MinervaC >> onnectionFactory.java:112) >> [java] at >> > org.ofbiz.geronimo.GeronimoTransactionFactory.getConnection(GeronimoTransact >> ionFactory.java:94) >> [java] at >> > org.ofbiz.entity.transaction.TransactionFactory.getConnection(TransactionFac >> tory.java:95) >> [java] at >> > org.ofbiz.entity.jdbc.ConnectionFactory.getConnection(ConnectionFactory.java >> :72) >> [java] at >> org.ofbiz.entity.jdbc.DatabaseUtil.getConnection(DatabaseUtil.java:98) >> [java] at >> org.ofbiz.entity.jdbc.DatabaseUtil.getTableNames(DatabaseUtil.java:827) >> [java] at >> org.ofbiz.entity.jdbc.DatabaseUtil.checkDb(DatabaseUtil.java:136) >> [java] at >> org.ofbiz.entity.jdbc.DatabaseUtil.checkDb(DatabaseUtil.java:125) >> [java] at >> org.ofbiz.entity.datasource.GenericDAO.checkDb(GenericDAO.java:1087) >> [java] at >> > org.ofbiz.entity.datasource.GenericHelperDAO.checkDataSource(GenericHelperDA >> O.java:198) >> [java] at >> org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:185) >> [java] at >> > org.ofbiz.entity.GenericDelegator.getGenericDelegator(GenericDelegator.java: >> 117) >> [java] at >> > org.ofbiz.entityext.data.EntityDataLoadContainer.start(EntityDataLoadContain >> er.java:194) >> [java] at >> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:80) >> [java] at >> org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) >> [java] at org.ofbiz.base.start.Start.startServer(Start.java:314) >> [java] at org.ofbiz.base.start.Start.start(Start.java:318) >> [java] at org.ofbiz.base.start.Start.main(Start.java:404) >> [java] Java Result: 1 >> >> >> Case Torres >> [EMAIL PROTECTED] >> >> >> > > > >
