Error while running the latest trunk of OFBiz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Error while running the latest trunk of OFBiz

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

______________________________________________________________________
Reply | Threaded
Open this post in threaded view
|

Re: Error while running the latest trunk of OFBiz

Jacques Le Roux
Administrator
Try an ant clean-data

Jacques

From: "Pardeep Ruhil" <[hidden email]>
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.

______________________________________________________________________


Reply | Threaded
Open this post in threaded view
|

RE: Error while running the latest trunk of OFBiz

pradeepruhil85
Hi Jacques,
Thanks for replying.
I tried ant clean-data, then ant clean-all
But still the same result.

Thanks & Regards
Pradeep Ruhil

-----Original Message-----
From: Jacques Le Roux [mailto:[hidden email]]
Sent: Thursday, June 10, 2010 11:50 AM
To: [hidden email]
Subject: Re: Error while running the latest trunk of OFBiz

Try an ant clean-data

Jacques

From: "Pardeep Ruhil" <[hidden email]>
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.

______________________________________________________________________



______________________________________________________________________

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.

______________________________________________________________________
Reply | Threaded
Open this post in threaded view
|

Re: Error while running the latest trunk of OFBiz

Jacques Le Roux
Administrator
I can't reproduce locally and the trunk demo recently reloaded (Release-revision : trunk-953220 ) works fine

"Can you check if you have two derby jars in your classpath? Essentially, the sealing issue hints that classes from the same package
aren't loaded from the same jar (which is exactly what sealing tries to enforce)."
(found here http://forum.springsource.org/archive/index.php/t-45395.html)

Jacques

From: "Pardeep Ruhil" <[hidden email]>

> Hi Jacques,
> Thanks for replying.
> I tried ant clean-data, then ant clean-all
> But still the same result.
>
> Thanks & Regards
> Pradeep Ruhil
>
> -----Original Message-----
> From: Jacques Le Roux [mailto:[hidden email]]
> Sent: Thursday, June 10, 2010 11:50 AM
> To: [hidden email]
> Subject: Re: Error while running the latest trunk of OFBiz
>
> Try an ant clean-data
>
> Jacques
>
> From: "Pardeep Ruhil" <[hidden email]>
> 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.
>
> ______________________________________________________________________
>
>
>
> ______________________________________________________________________
>
> 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.
>
> ______________________________________________________________________
>


Reply | Threaded
Open this post in threaded view
|

Re: Error while running the latest trunk of OFBiz

BJ Freeman
my guess is you have a db like mysql or postgresql.
the clean-data and clean-all do not work on  those.
yo would have to manually go through the list and modify the tables or
delete the database and create a new one.

Jacques Le Roux sent the following on 6/10/2010 1:14 AM:


=========================
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation  <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin
<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>

> I can't reproduce locally and the trunk demo recently reloaded
> (Release-revision : trunk-953220 ) works fine
>
> "Can you check if you have two derby jars in your classpath?
> Essentially, the sealing issue hints that classes from the same package
> aren't loaded from the same jar (which is exactly what sealing tries to
> enforce)."
> (found here http://forum.springsource.org/archive/index.php/t-45395.html)
>
> Jacques
>
> From: "Pardeep Ruhil" <[hidden email]>
>> Hi Jacques,
>> Thanks for replying.
>> I tried ant clean-data, then ant clean-all
>> But still the same result.
>>
>> Thanks & Regards
>> Pradeep Ruhil
>>
>> -----Original Message-----
>> From: Jacques Le Roux [mailto:[hidden email]]
>> Sent: Thursday, June 10, 2010 11:50 AM
>> To: [hidden email]
>> Subject: Re: Error while running the latest trunk of OFBiz
>>
>> Try an ant clean-data
>>
>> Jacques
>>
>> From: "Pardeep Ruhil" <[hidden email]>
>> 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.
>>
>> ______________________________________________________________________
>>
>>
>>
>> ______________________________________________________________________
>>
>> 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.
>>
>> ______________________________________________________________________
>>
>
>
>