-
Notifications
You must be signed in to change notification settings - Fork 41.7k
Closed
Description
Hello,
There seems to be an issue with JMX on Weblogic 10.3.3.0 .
Disabling JMX resolves the issue
spring:
jmx:
enabled: false
error:
<2014. 6. 13 <EC><98><A4><EC><A0><84> 10<EC><8B><9C> 21<EB><B6><84> 49<EC><B4><88> EST> <Warning> <HTTP> <BEA-101162> <User defined listener org.springframework.boot.legacy.cont
ext.web.SpringBootContextLoaderListener failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mbeanExporter' defined in class path reso
urce [org/springframework/context/annotation/MBeanExportConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionS
toreException: Factory method [public org.springframework.jmx.export.annotation.AnnotationMBeanExporter org.springframework.context.annotation.MBeanExportConfiguration.mbeanExpo
rter()] threw exception; nested exception is java.lang.IllegalStateException: java.lang.IllegalArgumentException: Object of class [null] must be an instance of interface javax.m
anagement.MBeanServer.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mbeanExporter' defined in class path resource [org/springframework/context/annotation/MBe
anExportConfiguration.class]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.spring
framework.jmx.export.annotation.AnnotationMBeanExporter org.springframework.context.annotation.MBeanExportConfiguration.mbeanExporter()] threw exception; nested exception is jav
a.lang.IllegalStateException: java.lang.IllegalArgumentException: Object of class [null] must be an instance of interface javax.management.MBeanServer
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:597)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1094)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:989)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
Truncated. see log file for complete stacktrace
Caused By: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.springframework.jmx.export.annotation.AnnotationMBeanExporter org.springfra
mework.context.annotation.MBeanExportConfiguration.mbeanExporter()] threw exception; nested exception is java.lang.IllegalStateException: java.lang.IllegalArgumentException: Obj
ect of class [null] must be an instance of interface javax.management.MBeanServer
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:188)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:586)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1094)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:989)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
Truncated. see log file for complete stacktrace
Caused By: java.lang.IllegalStateException: java.lang.IllegalArgumentException: Object of class [null] must be an instance of interface javax.management.MBeanServer
at org.springframework.context.annotation.MBeanExportConfiguration$SpecificPlatform.getMBeanServer(MBeanExportConfiguration.java:154)
at org.springframework.context.annotation.MBeanExportConfiguration.setupServer(MBeanExportConfiguration.java:111)
at org.springframework.context.annotation.MBeanExportConfiguration.mbeanExporter(MBeanExportConfiguration.java:85)
at org.springframework.context.annotation.MBeanExportConfiguration$$EnhancerBySpringCGLIB$$5e40d9a2.CGLIB$mbeanExporter$3(<generated>)
at org.springframework.context.annotation.MBeanExportConfiguration$$EnhancerBySpringCGLIB$$5e40d9a2$$FastClassBySpringCGLIB$$5138484d.invoke(<generated>)
Truncated. see log file for complete stacktrace
Caused By: java.lang.IllegalArgumentException: Object of class [null] must be an instance of interface javax.management.MBeanServer
at org.springframework.util.Assert.isInstanceOf(Assert.java:339)
at org.springframework.util.Assert.isInstanceOf(Assert.java:319)
at org.springframework.context.annotation.MBeanExportConfiguration$SpecificPlatform.getMBeanServer(MBeanExportConfiguration.java:150)
at org.springframework.context.annotation.MBeanExportConfiguration.setupServer(MBeanExportConfiguration.java:111)
at org.springframework.context.annotation.MBeanExportConfiguration.mbeanExporter(MBeanExportConfiguration.java:85)
Truncated. see log file for complete stacktrace
>
<2014. 6. 13 <EC><98><A4><EC><A0><84> 10<EC><8B><9C> 21<EB><B6><84> 49<EC><B4><88> EST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request
with ID '1402618892412' for task '34'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1514)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
Truncated. see log file for complete stacktrace
Caused By: java.lang.IllegalArgumentException: Object of class [null] must be an instance of interface javax.management.MBeanServer
at org.springframework.util.Assert.isInstanceOf(Assert.java:339)
at org.springframework.util.Assert.isInstanceOf(Assert.java:319)
at org.springframework.context.annotation.MBeanExportConfiguration$SpecificPlatform.getMBeanServer(MBeanExportConfiguration.java:150)
at org.springframework.context.annotation.MBeanExportConfiguration.setupServer(MBeanExportConfiguration.java:111)
at org.springframework.context.annotation.MBeanExportConfiguration.mbeanExporter(MBeanExportConfiguration.java:85)
Truncated. see log file for complete stacktrace
Metadata
Metadata
Assignees
Labels
type: bugA general bugA general bug