just notice UnsupportedClassVersionError usually I see this when running 1.5 with 1.4 SDK
Case Torres sent the following on 11/19/2007 4:43 PM: > BJ, > > Yes, my database is up and running: > Output from ps -ef > postgres 7382 1 0 Nov16 ? 00:00:00 > /usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data > postgres 7384 7382 0 Nov16 ? 00:00:00 postgres: writer process > > postgres 7385 7382 0 Nov16 ? 00:00:00 postgres: stats collector > process > > entityengine.xml: > default delegator=localpostgres > username and password are set correctly > > JAVA_HOME is also set correctly. > > Thanks, Case > > -----Original Message----- > From: BJ Freeman [mailto:[EMAIL PROTECTED] > Sent: Monday, November 19, 2007 4:28 PM > To: [email protected] > Subject: Re: java exception in thread error help? > > make user you db server is running > make sure you entityengine.xml is pointed to the right db > and has the correct userID and password. > > Case Torres sent the following on 11/19/2007 4:23 PM: >> 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] >> >> >> > > > >
