Please use the google group to ask questions - thanks.

by Ilya Skorik 07 Feb 01:49
Ebean and application redeploy bug?
SEVERE: Error registering the JMX beans for Ebean server [ebeanServer]. It seems that the Ebean server name [ebeanServer] is not unique for this JVM. 
javax.management.InstanceAlreadyExistsException: Ebean:server=ebeanServer2,function=Logging
        at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:453)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1484)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:963)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
        at com.avaje.ebean.server.core.DefaultServer.registerMBeans(DefaultServer.java:268)
        at com.avaje.ebean.server.core.DefaultServerFactory.createServer(DefaultServerFactory.java:185)
        at com.avaje.ebean.server.core.DefaultServerFactory.createServer(DefaultServerFactory.java:67)
        at com.avaje.ebean.EbeanServerFactory.create(EbeanServerFactory.java:77)
        at com.avaje.ebean.springsupport.factory.EbeanServerFactoryBean.afterPropertiesSet(EbeanServerFactoryBean.java:53)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowire

Here the remark from my programmer: It (ebean) probably does not know that at a stop an application is necessary unregister itself.

Is this bug?

11 Feb 10:25
by Rob

Yes, I think it is a bug.

I'll log it.

Thanks, Rob.

Create a New Topic

Title:
Body:
 
Introduction User Guide (pdf) Install/Configure Public JavaDoc Whitepapers
General Database Specific Byte Code Deployment Annotations Features
Top Bugs Top Enhancements
woResponse