Try an ant clean-data
Jacques
From: "Pardeep Ruhil" <[email protected]>
Hi,
I have taken the latest update from the trunk and getting the below mentioned
exception while doing the
ant run-install command
2010-06-10 09:26:24,632 (main) [ DatabaseUtil.java:385:WARN ] Table named [SALES_ORDER_ITEM_FACT] exists in the database but
has no corresponding
2010-06-10 09:26:24,632 (main) [ DatabaseUtil.java:385:WARN ] Table named [TENANT] exists in the database but has no
corresponding entity
2010-06-10 09:26:24,632 (main) [ DatabaseUtil.java:385:WARN ] Table named [TENANT_DATA_SOURCE] exists in the database but has
no corresponding en
2010-06-10 09:26:24,632 (main) [ GenericDelegator.java:259:INFO ] Delegator "default" initializing helper "localderbyolap" for
entity group "org.ofbi
2010-06-10 09:26:24,632 (main) [ GenericDelegator.java:276:INFO ] Doing database check as requested in entityengine.xml with
addMissing=true
Exception in thread "main" java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at
org.ofbiz.entity.connection.DBCPConnectionFactory.getConnection(DBCPConnectionFactory.java:109)
at
org.ofbiz.entity.jdbc.ConnectionFactory.getManagedConnection(ConnectionFactory.java:135)
at
org.ofbiz.geronimo.GeronimoTransactionFactory.getConnection(GeronimoTransactionFactory.java:84)
at
org.ofbiz.entity.transaction.TransactionFactory.getConnection(TransactionFactory.java:97)
at
org.ofbiz.entity.jdbc.ConnectionFactory.getConnection(ConnectionFactory.java:85)
at org.ofbiz.entity.jdbc.DatabaseUtil.getConnection(DatabaseUtil.java:99)
at
org.ofbiz.entity.jdbc.DatabaseUtil.getConnectionLogged(DatabaseUtil.java:119)
at
org.ofbiz.entity.jdbc.DatabaseUtil.getTableNames(DatabaseUtil.java:1023)
at org.ofbiz.entity.jdbc.DatabaseUtil.checkDb(DatabaseUtil.java:153)
at org.ofbiz.entity.jdbc.DatabaseUtil.checkDb(DatabaseUtil.java:142)
at org.ofbiz.entity.datasource.GenericDAO.checkDb(GenericDAO.java:1170)
at
org.ofbiz.entity.datasource.GenericHelperDAO.checkDataSource(GenericHelperDAO.java:194)
at org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:278)
at
org.ofbiz.entity.DelegatorFactoryImpl.getInstance(DelegatorFactoryImpl.java:33)
at
org.ofbiz.entity.DelegatorFactoryImpl.getInstance(DelegatorFactoryImpl.java:25)
at
org.ofbiz.base.util.UtilObject.getObjectFromFactory(UtilObject.java:202)
at
org.ofbiz.entity.DelegatorFactory.getDelegator(DelegatorFactory.java:47)
at
org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:174)
at
org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:188)
at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:65)
at org.ofbiz.base.start.Start.initStartLoaders(Start.java:259)
at org.ofbiz.base.start.Start.init(Start.java:96)
at org.ofbiz.base.start.Start.main(Start.java:410)
Caused by: java.lang.SecurityException: sealing violation: package
org.apache.derby.impl.store.raw.xact is sealed
at java.net.URLClassLoader.defineClass(URLClassLoader.java:227)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at
org.apache.derby.impl.services.monitor.BaseMonitor.getImplementations(Unknown
Source)
at
org.apache.derby.impl.services.monitor.BaseMonitor.getDefaultImplementations(Unknown
Source)
at
org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(Unknown Source)
at org.apache.derby.impl.services.monitor.FileMonitor.<init>(Unknown
Source)
at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Unknown
Source)
at org.apache.derby.iapi.jdbc.JDBCBoot.boot(Unknown Source)
at org.apache.derby.jdbc.EmbeddedDriver.boot(Unknown Source)
at org.apache.derby.jdbc.EmbeddedDriver.<clinit>(Unknown Source)
... 25 more
I am using the inbuilt derby database.
Please tell me, if I am missing anything.
Thanks & Regards
Pradeep Ruhil
________________________________
This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient,
please do not use or disseminate the information, notify the sender and delete it from your system.
______________________________________________________________________