camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Moulliard <cmoulli...@gmail.com>
Subject Re: tutorial-osgi-camel-part2 problems during startup
Date Wed, 31 Mar 2010 13:49:40 GMT
I have discovered a problem with activemq and pooling engine so it is not
possible to parse files and place the result in queues

Exception in thread "SpringOsgiExtenderThread-12"
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.springframework.os
gi.service.exporter.support.OsgiServiceFactoryBean#0': Invocation of init
method failed; nested exception is java.lang.IllegalArgumentException:
Exported servic
e object does not implement the given interface: class
org.apache.activemq.pool.PooledConnectionFactoryBean is not assignable to
interface javax.jms.ConnectionF
actory
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
        at java.security.AccessController.doPrivileged(Native Method)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)
        at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
        at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:6
9)
        at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355)
        at
org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
        at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.ja
va:320)
        at
org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterAp
plicationContextExecutor.java:136)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.IllegalArgumentException: Exported service object does
not implement the given interface: class
org.apache.activemq.pool.PooledConnectionFa
ctoryBean is not assignable to interface javax.jms.ConnectionFactory
        at org.springframework.util.Assert.isAssignable(Assert.java:368)
        at
org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean.afterPropertiesSet(OsgiServiceFactoryBean.java:197)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
        ... 17 more




Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer

*****************************
blog : http://cmoulliard.blogspot.com
twitter : http://twitter.com/cmoulliard
Linkedlin : http://www.linkedin.com/in/charlesmoulliard

Apache Camel Group :
http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm


On Wed, Mar 31, 2010 at 2:37 PM, Charles Moulliard <cmoulliard@gmail.com>wrote:

> Hi Richard,
>
> Please update the pom as mentioned in my previous email, recompile projects
> and update the bundles !
>
>
> Kind regards,
>
> Charles Moulliard
> Senior Enterprise Architect
> Apache Camel Committer
>
> *****************************
> blog : http://cmoulliard.blogspot.com
> twitter : http://twitter.com/cmoulliard
> Linkedlin : http://www.linkedin.com/in/charlesmoulliard
>
> Apache Camel Group :
> http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm
>
>
> On Wed, Mar 31, 2010 at 2:24 PM, Richard Slide <richard.slide@gmail.com>wrote:
>
>> Ok,
>>
>> thanks for suggestion but i have problems again......
>>
>> java.lang.Exception: Could not start bundle
>> mvn:org.apache.camel.example/reportincident.queueservice/1.0-SNAPSHOT in
>> feature(s) reportincident-1.0-SNAPSHOT: Unresolved constraint in bundle
>> reportincident.queueservice [54]: package;
>> (&(package=org.apache.camel.component)(version>=2.0.0)(!(version>=2.2.0)))
>>    at
>>
>> org.apache.felix.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:302)
>>    at
>>
>> org.apache.felix.karaf.features.internal.FeaturesServiceImpl$1.run(FeaturesServiceImpl.java:675)
>> Caused by: org.osgi.framework.BundleException: Unresolved constraint in
>> bundle reportincident.queueservice [54]: package;
>> (&(package=org.apache.camel.component)(version>=2.0.0)(!(version>=2.2.0)))
>>    at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3295)
>>    at org.apache.felix.framework.Felix.startBundle(Felix.java:1653)
>>    at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)
>>    at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892)
>>    at
>>
>> org.apache.felix.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:294)
>>
>>
>> I see that to other user work than i try to reinstall felix
>>
>>
>> On Wed, Mar 31, 2010 at 2:19 PM, Charles Moulliard <cmoulliard@gmail.com
>> >wrote:
>>
>> > Hi Richard,
>> >
>> > Her is an additional modification that I have made in the pom of
>> >
>> > reportincident.camelqueueservice
>> >
>> >                        <Import-Package>
>> >
>> > org.apache.activemq.camel.component;version="[5.3.0,5.4.0)",
>> >                            org.apache.camel;version="[2.0,2.3)",
>> >
>>  org.apache.camel.component;version="[2.0,2.3)",
>> >
>> > org.apache.camel.component.jms;version="[2.0,2.3)",
>> >                            *
>> >                        </Import-Package>
>> >
>> > reportincident.routing
>> >
>> >                            org.apache.camel;version="[2.0,2.3)",
>> >
>>  org.apache.camel.component;version="[2.0,2.3)",
>> >
>> > org.apache.camel.component.cxf;version="[2.0,2.3)",
>> >
>> > org.apache.camel.component.cxf.converter;version="[2.0,2.3)",
>> >
>> > org.apache.camel.component.jms;version="[2.0,2.3)",
>> >
>>  org.apache.camel.converter;version="[2.0,2.3)",
>> >
>> > org.apache.camel.converter.jaxp;version="[2.0,2.3)",
>> >
>> > org.apache.camel.converter.stream;version="[2.0,2.3)",
>> >
>> > org.apache.camel.dataformat.bindy;version="[2.0,2.3)",
>> >
>> > org.apache.camel.dataformat.bindy.csv;version="[2.0,2.3)",
>> >                            org.apache.camel.example.reportincident,
>> >
>>  org.apache.camel.example.reportincident.model,
>> >
>>  org.apache.camel.example.reportincident.service,
>> >
>>  org.apache.camel.processor;version="[2.0,2.3)",
>> >
>> > and in the feature file of the project reportincident.feature
>> >
>> >   <feature name="activemq" version="5.3.1">
>> >        <feature version="4.0.0">connector</feature>
>> >
>> >
>> >
>> <bundle>mvn:org.apache.geronimo.specs/geronimo-j2ee-management_1.1_spec/1.0.1</bundle>
>> >        <bundle>mvn:commons-pool/commons-pool/1.4</bundle>
>> >        <bundle>mvn:org.apache.xbean/xbean-spring/3.5</bundle>
>> >        <bundle>mvn:org.apache.activemq/kahadb/5.3.1</bundle>
>> >        <bundle>mvn:org.apache.activemq/activemq-core/5.3.1</bundle>
>> >        <bundle>mvn:org.apache.activemq/activemq-ra/5.3.1</bundle>
>> >        <bundle>mvn:org.apache.activemq/activemq-console/5.3.1</bundle>
>> >        <bundle>mvn:org.apache.activemq/activemq-pool/5.3.1</bundle>
>> >    </feature>
>> >
>> > Kind regards,
>> >
>> >
>> > Charles Moulliard
>> > Senior Enterprise Architect
>> > Apache Camel Committer
>> >
>> > *****************************
>> > blog : http://cmoulliard.blogspot.com
>> > twitter : http://twitter.com/cmoulliard
>> > Linkedlin : http://www.linkedin.com/in/charlesmoulliard
>> >
>> > Apache Camel Group :
>> > http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm
>> >
>> >
>> > On Wed, Mar 31, 2010 at 1:42 PM, Charles Moulliard <
>> cmoulliard@gmail.com
>> > >wrote:
>> >
>> > > Richard,
>> > >
>> > > To install camel 2.2.0 features = list of bundles, you must use the
>> > > features file 2.2.0 of camel
>> > >
>> > > -->
>> > >
>> > >
>> > >
>> >
>> featuresRepositories=mvn:org.apache.felix.karaf/apache-felix-karaf/1.4.0/xml/features,mvn:org.apache.camel.karaf/apache-camel/2.2.0/xml/features,jar:mvn:org.apache.camel.example/reportincident.features/1.0-SNAPSHOT!/reportincident.features-1.0-SNAPSHOT-features.xml
>> > >
>> > >
>> > > Charles Moulliard
>> > > Senior Enterprise Architect
>> > > Apache Camel Committer
>> > >
>> > > *****************************
>> > > blog : http://cmoulliard.blogspot.com
>> > > twitter : http://twitter.com/cmoulliard
>> > > Linkedlin : http://www.linkedin.com/in/charlesmoulliard
>> > >
>> > > Apache Camel Group :
>> > > http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm
>> > >
>> > >
>> > > On Wed, Mar 31, 2010 at 1:13 PM, Richard Slide <
>> richard.slide@gmail.com
>> > >wrote:
>> > >
>> > >> Hello first of all thanks for patience;
>> > >>
>> > >> || Why are you using camel 2.1.0-SNAPSHOT with ActiveMQ 5.3.0?
>> > >>
>> > >> cause its in pom on the site
>> > >>
>> > >> here the step that i do
>> > >>
>> > >> 1: I have downloaded the zip from the site and delete all my M2
>> > repository
>> > >> 2: Modify pom reportincident.routing and insert
>> > >> <camel-version>2.2.0</camel-version> and
>> > >> <activemq-version>5.3.1</activemq-version>
>> > >> reportincident.routing compiling on without Test it fail than i try
>> to
>> > >> check
>> > >> what wrong
>> > >> 3: Modify pom reportincident.model and insert
>> > >> <camel-version>2.2.0</camel-version>
>> > >> 4: I use apache-felix-karaf-1.4.0 a delete previous folder
>> > >> 5: copy org.apache.camel.example.reportincident.datasource.cfg
>> > >> driverClassName=com.mysql.jdbc.Driver
>> > >> url=jdbc:mysql:///report
>> > >> username=report
>> > >> password=report
>> > >>
>> > >> 6: add to system.properties servicemix.base=root
>> > >> 7: add to org.apache.felix.karaf.features.cfg
>> > >>
>> > >>
>> >
>> featuresRepositories=mvn:org.apache.felix.karaf/apache-felix-karaf/1.0.0/xml/features,mvn:org.apache.camel.karaf/features/2.1-SNAPSHOT/xml/features,jar:mvn:org.apache.camel.example/reportincident.features/1.0-SNAPSHOT!/reportincident.features-1.0-SNAPSHOT-features.xml
>> > >>
>> > >>
>> >
>> featuresBoot=spring,spring-dm,camel,camel-bindy,camel-jms,activemq,activemq-camel,http-reportingincident,spring-web,camel-cxf,hibernate,jdbc-driver,wicket,reportincident
>> > >>
>> > >>
>> > >> My log
>> > >>
>> > >> is
>> > >>
>> > >> org.springframework.beans.factory.CannotLoadBeanClassException: Error
>> > >> loading class [org.apache.activemq.camel.component.ActiveMQComponent]
>> > for
>> > >> bean with name 'active-mq' defined in URL
>> > >> [bundle://57.0:0/META-INF/spring/osgi-queuingservice.xml]: problem
>> with
>> > >> class file or dependent class; nested exception is
>> > >> java.lang.NoClassDefFoundError:
>> > >> org.apache.activemq.camel.component.ActiveMQComponent not found from
>> > >> bundle
>> > >> [Camel Queuing Service (reportincident.queueservice)]
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1144)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:524)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1177)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:758)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:422)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:136)
>> > >>    at java.lang.Thread.run(Thread.java:619)
>> > >> Caused by: java.lang.NoClassDefFoundError:
>> > >> org.apache.activemq.camel.component.ActiveMQComponent not found from
>> > >> bundle
>> > >> [Camel Queuing Service (reportincident.queueservice)]
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:112)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass(BundleDelegatingClassLoader.java:156)
>> > >>    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>> > >>    at
>> org.springframework.util.ClassUtils.forName(ClassUtils.java:211)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:385)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1138)
>> > >>    ... 11 more
>> > >> Caused by: java.lang.NoClassDefFoundError:
>> > >> org/apache/camel/component/jms/JmsComponent
>> > >>    at java.lang.ClassLoader.defineClass1(Native Method)
>> > >>    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.apache.felix.framework.ModuleImpl$ModuleClassLoader.findClass(ModuleImpl.java:1872)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:758)
>> > >>    at
>> > org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:61)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1733)
>> > >>    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:674)
>> > >>    at
>> > >>
>> org.apache.felix.framework.searchpolicy.R4Wire.getClass(R4Wire.java:108)
>> > >>    at
>> > >>
>> >
>> org.apache.felix.framework.ModuleImpl.searchImports(ModuleImpl.java:1440)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:753)
>> > >>    at
>> > org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:61)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1733)
>> > >>    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:674)
>> > >>    at
>> org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1543)
>> > >>    at
>> > org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:887)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:99)
>> > >>    ... 16 more
>> > >> Caused by: java.lang.ClassNotFoundException:
>> > >> org.apache.camel.component.jms.JmsComponent
>> > >>    at
>> > >>
>> > >>
>> >
>> org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:814)
>> > >>    at
>> > org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:61)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1733)
>> > >>    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>> > >>    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>> > >>    ... 34 more
>> > >> 13:11:21,795 | INFO  | FelixStartLevel  | Activator
>> > >>  |
>> > >> x.web.service.internal.Activator   80 | Pax Web started
>> > >> 13:11:21,873 | INFO  | Thread-7         | JettyServerImpl
>> > >>  |
>> > >> e.jetty.internal.JettyServerImpl  100 | Pax Web available at
>> > >> [0.0.0.0]:[8080]
>> > >> 13:11:21,905 | INFO  | FelixStartLevel  |
>> > ultOsgiApplicationContextCreator
>> > >> |
>> > >> ultOsgiApplicationContextCreator   67 | Discovered configurations
>> > >> {osgibundle:/META-INF/spring/*.xml} in bundle [Apache ServiceMix
>> > >> Transaction
>> > >> (org.apache.servicemix.transaction)]
>> > >> 13:11:21,920 | WARN  | FelixStartLevel  | NamespaceManager
>> > >> |
>> > >> nternal.support.NamespaceManager  130 | Bundle Jencks (org.jencks)
>> > cannot
>> > >> see class
>> > >> [org.springframework.beans.factory.xml.NamespaceHandlerResolver];
>> > >> ignoring its namespace handlers
>> > >> 13:11:21,920 | INFO  | Thread-7         | HttpServiceFactoryImpl
>> > >> |
>> > >> .internal.HttpServiceFactoryImpl   33 | Binding bundle:
>> > >> [org.apache.felix.karaf.deployer.features [11]] to http service
>> > >> 13:11:21,936 | INFO  | ExtenderThread-4 |
>> > OsgiBundleXmlApplicationContext
>> > >>  |
>> > >> pport.AbstractApplicationContext  411 | Refreshing
>> > >>
>> > >>
>> >
>> org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext@cd927d
>> > >> :
>> > >> display name
>> > >>
>> >
>> [OsgiBundleXmlApplicationContext(bundle=org.apache.servicemix.transaction,
>> > >> config=osgibundle:/META-INF/spring/*.xml)]; startup date [Wed Mar 31
>> > >> 13:11:21 CEST 2010]; root of context hierarchy
>> > >> 13:11:21,951 | INFO  | ExtenderThread-4 |
>> > OsgiBundleXmlApplicationContext
>> > >>  |
>> > >> ractOsgiBundleApplicationContext  359 | Unpublishing application
>> context
>> > >> OSGi service for bundle Apache ServiceMix Transaction
>> > >> (org.apache.servicemix.transaction)
>> > >> 13:11:21,951 | INFO  | ExtenderThread-4 | XmlBeanDefinitionReader
>> > >>  |
>> > >> tory.xml.XmlBeanDefinitionReader  323 | Loading XML bean definitions
>> > from
>> > >> URL [bundle://79.0:0/META-INF/spring/servicemix-tx.xml]
>> > >> 13:11:22,030 | WARN  | FelixStartLevel  | NamespaceManager
>> > >> |
>> > >> nternal.support.NamespaceManager  130 | Bundle activemq-ra
>> > >> (org.apache.activemq.activemq-ra) cannot see class
>> > >> [org.springframework.beans.factory.xml.NamespaceHandlerResolver];
>> > ignoring
>> > >> its namespace handlers
>> > >> 13:11:22,076 | INFO  | ExtenderThread-4 |
>> > OsgiBundleXmlApplicationContext
>> > >>  |
>> > >> pport.AbstractApplicationContext  426 | Bean factory for application
>> > >> context
>> > >>
>> > >>
>> >
>> [org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext@cd927d
>> > >> ]:
>> > >>
>> > >>
>> >
>> org.springframework.beans.factory.support.DefaultListableBeanFactory@1e514a9
>> > >> 13:11:22,217 | INFO  | ExtenderThread-4 |
>> > WaiterApplicationContextExecutor
>> > >> |
>> > >> WaiterApplicationContextExecutor  252 | No outstanding OSGi service
>> > >> dependencies, completing initialization for
>> > >>
>> >
>> OsgiBundleXmlApplicationContext(bundle=org.apache.servicemix.transaction,
>> > >> config=osgibundle:/META-INF/spring/*.xml)
>> > >> 13:11:22,295 | INFO  | ExtenderThread-5 | DefaultListableBeanFactory
>> > >> |
>> > >> pport.DefaultListableBeanFactory  414 | Pre-instantiating singletons
>> in
>> > >>
>> > >>
>> >
>> org.springframework.beans.factory.support.DefaultListableBeanFactory@1e514a9
>> > >> :
>> > >> defining beans
>> > >>
>> > >>
>> >
>> [transactionManager,transactionLog,xidFactory,org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean#0,txProps,org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0];
>> > >> root of factory hierarchy
>> > >> 13:11:22,358 | INFO  | guration Updater | JettyServerImpl
>> > >>  |
>> > >> e.jetty.internal.JettyServerImpl  100 | Pax Web available at
>> > >> [0.0.0.0]:[8181]
>> > >> 13:11:22,967 | INFO  | pool-2-thread-1  | SecurityUtils
>> > >>  |
>> > >> e.sshd.common.util.SecurityUtils   80 | BouncyCastle not registered,
>> > using
>> > >> the default JCE provider
>> > >> 13:11:22,998 | WARN  | ExtenderThread-1 | XmlBeanDefinitionReader
>> > >>  |
>> > >> k.util.xml.SimpleSaxErrorHandler   47 | Ignored XML validation
>> warning
>> > >> org.xml.sax.SAXParseException: schema_reference.4: Failed to read
>> schema
>> > >> document 'http://activemq.apache.org/schema/core/activemq-core.xsd',
>> > >> because
>> > >> 1) could not find the document; 2) the document could not be read;
3)
>> > the
>> > >> root element of the document is not <xsd:schema>.
>> > >>    at
>> > >>
>> > >>
>> >
>> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
>> > >>    at
>> > >>
>> > >>
>> >
>> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.warning(ErrorHandlerWrapper.java:96)
>> > >>    at
>> > >>
>> > >>
>> >
>> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:380)
>> > >>    at
>> > >>
>> > >>
>> >
>> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:318)
>> > >>    at
>> > >>
>> > >>
>> >
>> com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportSchemaErr(XSDHandler.java:2541)
>> > >>    at
>> > >>
>> > >>
>> >
>> com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportSchemaWarning(XSDHandler.java:2532)
>> > >>    at
>> > >>
>> > >>
>> >
>> com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.getSchemaDocument(XSDHandler.java:1836)
>> > >>    at
>> > >>
>> > >>
>> >
>> com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.parseSchema(XSDHandler.java:531)
>> > >>    at
>> > >>
>> > >>
>> >
>> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadSchema(XMLSchemaLoader.java:552)
>> > >>    at
>> > >>
>> > >>
>> >
>> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.findSchemaGrammar(XMLSchemaValidator.java:2408)
>> > >>    at
>> > >>
>> > >>
>> >
>> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1753)
>> > >>    at
>> > >>
>> > >>
>> >
>> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:685)
>> > >>    at
>> > >>
>> > >>
>> >
>> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:400)
>> > >>    at
>> > >>
>> > >>
>> >
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2740)
>> > >>    at
>> > >>
>> > >>
>> >
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647)
>> > >>    at
>> > >>
>> > >>
>> >
>> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
>> > >>    at
>> > >>
>> > >>
>> >
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508)
>> > >>    at
>> > >>
>> > >>
>> >
>> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
>> > >>    at
>> > >>
>> > >>
>> >
>> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
>> > >>    at
>> > >>
>> > >>
>> >
>> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
>> > >>    at
>> > >>
>> > >>
>> >
>> com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:225)
>> > >>    at
>> > >>
>> > >>
>> >
>> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:283)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext.loadBeanDefinitions(OsgiBundleXmlApplicationContext.java:176)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext.loadBeanDefinitions(OsgiBundleXmlApplicationContext.java:142)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$800(AbstractDelegatedExecutionApplicationContext.java:69)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$3.run(AbstractDelegatedExecutionApplicationContext.java:269)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.startRefresh(AbstractDelegatedExecutionApplicationContext.java:247)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContextExecutor.java:222)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContextExecutor.java:175)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:175)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.osgi.extender.internal.activator.ContextLoaderListener$2.run(ContextLoaderListener.java:718)
>> > >>    at java.lang.Thread.run(Thread.java:619)
>> > >> 13:11:23,014 | ERROR | ExtenderThread-1 | ContextLoaderListener
>> > >>  |
>> > >> BundleApplicationContextListener   50 | Application context refresh
>> > failed
>> > >> (OsgiBundleXmlApplicationContext(bundle=reportincident.activemq,
>> > >> config=osgibundle:/META-INF/spring/*.xml))
>> > >>
>> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
>> > >> Line
>> > >> 35 in XML document from URL
>> > >> [bundle://56.0:0/META-INF/spring/activemq-broker.xml] is invalid;
>> nested
>> > >> exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.c:
>> The
>> > >> matching wildcard is strict, but no declaration can be found for
>> element
>> > >> 'broker'.
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:404)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext.loadBeanDefinitions(OsgiBundleXmlApplicationContext.java:176)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext.loadBeanDefinitions(OsgiBundleXmlApplicationContext.java:142)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$800(AbstractDelegatedExecutionApplicationContext.java:69)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$3.run(AbstractDelegatedExecutionApplicationContext.java:269)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.startRefresh(AbstractDelegatedExecutionApplicationContext.java:247)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContextExecutor.java:222)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContextExecutor.java:175)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:175)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.osgi.extender.internal.activator.ContextLoaderListener$2.run(ContextLoaderListener.java:718)
>> > >>    at java.lang.Thread.run(Thread.java:619)
>> > >> Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The
>> > >> matching wildcard is strict, but no declaration can be found for
>> element
>> > >> 'broker'.
>> > >>    at
>> > >>
>> > >>
>> >
>> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
>> > >>    at
>> > >>
>> > >>
>> >
>> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:131)
>> > >>    at
>> > >>
>> > >>
>> >
>> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:384)
>> > >>    at
>> > >>
>> > >>
>> >
>> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:318)
>> > >>    at
>> > >>
>> > >>
>> >
>> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(XMLSchemaValidator.java:410)
>> > >>    at
>> > >>
>> > >>
>> >
>> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(XMLSchemaValidator.java:3165)
>> > >>    at
>> > >>
>> > >>
>> >
>> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1898)
>> > >>    at
>> > >>
>> > >>
>> >
>> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:685)
>> > >>    at
>> > >>
>> > >>
>> >
>> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:400)
>> > >>    at
>> > >>
>> > >>
>> >
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2740)
>> > >>    at
>> > >>
>> > >>
>> >
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647)
>> > >>    at
>> > >>
>> > >>
>> >
>> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
>> > >>    at
>> > >>
>> > >>
>> >
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508)
>> > >>    at
>> > >>
>> > >>
>> >
>> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
>> > >>    at
>> > >>
>> > >>
>> >
>> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
>> > >>    at
>> > >>
>> > >>
>> >
>> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
>> > >>    at
>> > >>
>> > >>
>> >
>> com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:225)
>> > >>    at
>> > >>
>> > >>
>> >
>> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:283)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)
>> > >>    at
>> > >>
>> > >>
>> >
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)
>> > >>
>> > >
>> > >
>> >
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message