db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giora Shcherbakov <giora...@gmail.com>
Subject Internal Error when trying to use the derby EmbeddedDriver
Date Sat, 22 Aug 2009 10:49:24 GMT
Good day ,

I tried to run your example provided in step 3 : Embedded Derby and got the
following error :


Exception in thread "main" java.lang.InternalError: One of the management
beans is not compliant.
   at
java.lang.management.ManagementFactory.getPlatformMBeanServer(libgcj.so.90)
   at org.apache.derby.impl.services.jmx.JMXManagementService$3.run(Unknown
Source)
   at org.apache.derby.impl.services.jmx.JMXManagementService$3.run(Unknown
Source)
   at java.security.AccessController.doPrivileged(libgcj.so.90)
   at
org.apache.derby.impl.services.jmx.JMXManagementService.findServer(Unknown
Source)
   at org.apache.derby.impl.services.jmx.JMXManagementService.boot(Unknown
Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown
Source)
   at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown
Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown
Source)
   at
org.apache.derby.iapi.services.monitor.Monitor.startSystemModule(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)
   at java.lang.Class.initializeClass(libgcj.so.90)
   at java.lang.Class.forName(libgcj.so.90)
   at java.lang.Class.forName(libgcj.so.90)
   at SimplDB.main(SimplDB.java:19)
Caused by: javax.management.NotCompliantMBeanException: MBean is not
compliant
   at mx4j.server.MX4JMBeanServer.registerImpl(MX4JMBeanServer.java:818)
   at
mx4j.server.MX4JMBeanServer.registerMBeanImpl(MX4JMBeanServer.java:769)
   at mx4j.server.MX4JMBeanServer.registerMBean(MX4JMBeanServer.java:753)
   at
java.lang.management.ManagementFactory.getPlatformMBeanServer(libgcj.so.90)
   ...19 more

It seems to be invoked on :
Class.forName("org.apache.derby.jdbc.EmbeddedDriver");

How can I fix it ?

thx.

Mime
View raw message