Hi,

 

I have a series of unit tests for our application. Due to issues with the metadata, I have upgraded to the latest official release (10.2.2.0) and have started getting the following error message appearing in my tests.

 

Caused by: java.lang.SecurityException: sealing violation: package org.apache.derby.iapi.services.crypto is sealed

            at java.net.URLClassLoader.defineClass(URLClassLoader.java:227)

            at java.net.URLClassLoader.access$100(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 sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)

            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:164)

            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)

            ... 33 more

 

Any ideas on what I should look at.

 

Thanks

-Andrew