camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadrian Zbarcea (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CAMEL-296) spring instrumentation causes issues in the spring example...
Date Tue, 22 Jan 2008 16:05:24 GMT

     [ https://issues.apache.org/activemq/browse/CAMEL-296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hadrian Zbarcea resolved CAMEL-296.
-----------------------------------

    Resolution: Fixed

Conflicting spring definitions in the example spring xml caused this error.

> spring instrumentation causes issues in the spring example...
> -------------------------------------------------------------
>
>                 Key: CAMEL-296
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-296
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>            Reporter: James Strachan
>            Assignee: Hadrian Zbarcea
>             Fix For: 1.3.0
>
>
> When I run a build I see this...
> Running org.apache.camel.example.spring.IntegrationTest
> [                          main] Main                           INFO  Apache Camel 1.3-SNAPSHOT
starting
> [                          main] ClassPathXmlApplicationContext INFO  Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@9a0feb:
display name [org.springframework.context.support.ClassPathXmlApplicationContext@9a0feb];
startup date [Fri Jan 18 12:34:29 GMT 2008]; root of context hierarchy
> [                          main] XmlBeanDefinitionReader        INFO  Loading XML bean
definitions from file [/workspace/java/camel/examples/camel-example-spring/target/classes/META-INF/spring/camel-context.xml]
> [                          main] ClassPathXmlApplicationContext INFO  Bean factory for
application context [org.springframework.context.support.ClassPathXmlApplicationContext@9a0feb]:
org.springframework.beans.factory.support.DefaultListableBeanFactory@3864d9
> [                          main] ClassPathXmlApplicationContext INFO  Bean 'mbeanServer'
is not eligible for getting processed by all BeanPostProcessors (for example: not eligible
for auto-proxying)
> [                          main] ClassPathXmlApplicationContext INFO  Bean 'mbeanServer'
is not eligible for getting processed by all BeanPostProcessors (for example: not eligible
for auto-proxying)
> [                          main] ClassPathXmlApplicationContext INFO  Bean 'org.apache.camel.example.spring.MyRouteBuilder'
is not eligible for getting processed by all BeanPostProcessors (for example: not eligible
for auto-proxying)
> [                          main] ClassPathXmlApplicationContext INFO  Bean 'camel' is
not eligible for getting processed by all BeanPostProcessors (for example: not eligible for
auto-proxying)
> [                          main] ClassPathXmlApplicationContext INFO  Bean 'camel' is
not eligible for getting processed by all BeanPostProcessors (for example: not eligible for
auto-proxying)
> [                          main] DefaultListableBeanFactory     INFO  Pre-instantiating
singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@3864d9:
defining beans [camel:beanPostProcessor,camel,jms,agent,mbeanServer,registry,serverConnector];
root of factory hierarchy
> [                          main] InstrumentationProcessor       WARN  Could not register
CamelContext MBean
> javax.management.InstanceAlreadyExistsException: org.apache.camel:context=stracbook.local/camel,name=context
>         at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
>         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
>         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
>         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
>         at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
>         at org.apache.camel.management.InstrumentationAgentImpl.registerMBeanWithServer(InstrumentationAgentImpl.java:186)
>         at org.apache.camel.management.InstrumentationAgentImpl.register(InstrumentationAgentImpl.java:119)
>         at org.apache.camel.management.InstrumentationAgentImpl.register(InstrumentationAgentImpl.java:102)
>         at org.apache.camel.management.InstrumentationLifecycleStrategy.onContextCreate(InstrumentationLifecycleStrategy.java:53)
>         at org.apache.camel.management.InstrumentationAgentImpl.doStart(InstrumentationAgentImpl.java:157)
>         at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:51)
>         at org.apache.camel.spring.SpringInstrumentationAgent.afterPropertiesSet(SpringInstrumentationAgent.java:39)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message