From: tom.barrett <tom...@ja...> - 2012-12-12 17:45:10
|
We build about a dozen different .wars that we launch in a tomcat container. W/ the exception of our "batch" app/.war, everything works fine. Our system architect suggested there may be a bug in cobertura (as the "batch" app runs fine if not instrumented). A partial snapshot from splunk is below. Anyone seen anything similar (I couldn't find such in the archives) or have suggestions? Many thanks. 2012-10-1811:57:00,960 [yamaha05:54280main] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/batch] [null] [env=qa2;key=;c1=;] - Exception sending context initialized eventtolistener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanCreationException:Errorcreating bean with name 'batch.jmxExporter' defined in class path resource [BatchApp-jmx.xml]:Invocationof init method failed; nestedexception isorg.springframework.jmx.export.UnableToRegisterMBeanException:Unable toregister MBean [com.jasperwireless.batch.flexiblebilling.FlexibleBillingBatch@5c98c2f2] with key 'Jasper:type=batch,name=flexibleBillingBatch'; nested exception is org.springframework.jmx.export.MBeanExportException:Couldnot create ModelMBean for managedresource [com.jasperwireless.batch.flexiblebilling.FlexibleBillingBatch@5c98c2f2] with key 'Jasper:type=batch,name=flexibleBillingBatch'; nested exception is java.lang.IllegalArgumentException:MetadataMBeanInfoAssemblerdoes not support JDKdynamic proxies - export the target beans directly or useCGLIB proxies instead at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1412) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:574) at -- View this message in context: http://old.nabble.com/Bean-registration-error-upon-launching-instrumented-task-tp34781842p34781842.html Sent from the cobertura-devel mailing list archive at Nabble.com. |