Troubleshooting

ClassLoading issues

For verbose classloading when using Sun JVM add the ''-verbose:class'' to the JVM arguments.

JDODataStoreException: duplicate entry for key

JPOX's default metadata manager does not support accessing the same database with multiple applications / CLASSPATH's. Doing so can cause problems with the management of the "jpox_tables" metadata mapping table. To fix this, read the documentation on JPOX's "autoStartMechanism", and choose a setting that either doesn't use a database table for mapping, or doesn't delete rows when there is a problem.

http://www.jpox.org/docs/1_2/autostart.html

The simplest change is to add "org.jpox.autoStartMechanism: None" to your JDO properties file.

Contributed by Eric Lindauer

Labels

 
(None)