activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: Setting up ActiveMQ on eclipse and running it
Date Wed, 27 Jun 2012 11:39:24 GMT
Maybe something like this can help
http://stackoverflow.com/questions/2289532/tomcat-understands-amqbroker-but-eclipse-marks-errors-in-schema/2289556#2289556

Regards
--
Dejan Bosanac
Senior Software Engineer | FuseSource Corp.
dejanb@fusesource.com | fusesource.com
skype: dejan.bosanac | twitter: @dejanb
blog: http://www.nighttale.net
ActiveMQ in Action: http://www.manning.com/snyder/


On Tue, Jun 26, 2012 at 10:15 PM, zackhasit <zackhasit@gmail.com> wrote:
> Trying to set up based on instruction on the site here
> (http://activemq.apache.org/contributing.html)
> Could anyone tell me about error below ?
> I have brought in the conf directory and set the system property for it....
> Thanks
>
> Java Runtime: Sun Microsystems Inc. 1.6.0_26 C:\Program Files\Java\jre6
>  Heap sizes: current=15872k  free=15026k  max=253440k
>    JVM args:
> -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:1611
> -Dactivemq.home=C:\eclipse_folder\activemq
> -Dactivemq.classpath=C:\eclipse_folder\activemq
> C:\eclipse_folder\activemq\conf C:\eclipse_folder\activemq\data
> -Dactivemq.opts=-Xms1G -Xmx1G
> -Djava.util.logging.config.file=logging.properties -Dfile.encoding=Cp1252
> ACTIVEMQ_HOME: C:\eclipse_folder\activemq
> ACTIVEMQ_BASE: C:\eclipse_folder\activemq
> ACTIVEMQ_CONF: C:\eclipse_folder\activemq\conf
> ACTIVEMQ_DATA: C:\eclipse_folder\activemq\data
> Loading message broker from: xbean:activemq.xml
> 2012-06-26 16:03:26,540 [main           ] INFO  XBeanBrokerFactory$1
> - Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@9934d4: startup
> date [Tue Jun 26 16:03:26 EDT 2012]; root of context hierarchy
> 2012-06-26 16:03:26,633 [main           ] INFO  XBeanXmlBeanDefinitionReader
> - Loading XML bean definitions from class path resource [activemq.xml]
> 2012-06-26 16:03:26,649 [main           ] DEBUG DefaultDocumentLoader
> - Using JAXP provider
> [com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl]
> 2012-06-26 16:03:26,696 [main           ] DEBUG PluggableSchemaResolver
> - Loading schema mappings from [META-INF/spring.schemas]
> 2012-06-26 16:03:26,711 [main           ] DEBUG PluggableSchemaResolver
> - Loaded schema mappings:
> {http://activemq.apache.org/schema/core/activemq-core.xsd=activemq.xsd,
> http://activemq.org/config/1.0/1.0.xsd=activemq.xsd,
> http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-3.0.xsd,
> http://www.springframework.org/schema/jms/spring-jms-3.0.xsd=org/springframework/jms/config/spring-jms-3.0.xsd,
> http://www.springframework.org/schema/task/spring-task.xsd=org/springframework/scheduling/config/spring-task-3.0.xsd,
> http://www.springframework.org/schema/aop/spring-aop-3.0.xsd=org/springframework/aop/config/spring-aop-3.0.xsd,
> http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
> http://mina.apache.org/ftpserver/ftpserver-1.0.xsd=org/apache/ftpserver/config/spring/ftpserver-1.0.xsd,
> http://www.springframework.org/schema/tool/spring-tool-2.5.xsd=org/springframework/beans/factory/xml/spring-tool-2.5.xsd,
> http://activemq.org/config/1.0=activemq.xsd,
> http://activemq.apache.org/schema/core/activemq-core-5.4.1.xsd=activemq.xsd,
> http://www.springframework.org/schema/beans/spring-beans.xsd=org/springframework/beans/factory/xml/spring-beans-3.0.xsd,
> http://activemq.apache.org/schema/core/activemq-core-5.3.1.xsd=activemq.xsd,
> http://www.springframework.org/schema/jee/spring-jee-2.5.xsd=org/springframework/ejb/config/spring-jee-2.5.xsd,
> http://www.springframework.org/schema/aop/spring-aop.xsd=org/springframework/aop/config/spring-aop-3.0.xsd,
> http://activemq.apache.org/schema/core=activemq.xsd,
> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
> http://www.springframework.org/schema/beans/spring-beans-3.0.xsd=org/springframework/beans/factory/xml/spring-beans-3.0.xsd,
> http://www.springframework.org/schema/task/spring-task-3.0.xsd=org/springframework/scheduling/config/spring-task-3.0.xsd,
> http://activemq.apache.org/schema/core/activemq-core-5.4.0.xsd=activemq.xsd,
> http://activemq.apache.org/schema/core/activemq-core-5.1.0.xsd=activemq.xsd,
> http://www.springframework.org/schema/tx/spring-tx-2.5.xsd=org/springframework/transaction/config/spring-tx-2.5.xsd,
> http://activemq.apache.org/schema/core/activemq-core-5.3.0.xsd=activemq.xsd,
> http://activemq.apache.org/schema/core/activemq-core-5.0.0.xsd=activemq.xsd,
> http://www.springframework.org/schema/context/spring-context-2.5.xsd=org/springframework/context/config/spring-context-2.5.xsd,
> http://activemq.apache.org/schema/core/activemq-core-5.5.0.xsd=activemq.xsd,
> http://activemq.apache.org/schema/core/activemq-core-5.2.0.xsd=activemq.xsd,
> http://www.springframework.org/schema/tool/spring-tool-3.0.xsd=org/springframework/beans/factory/xml/spring-tool-3.0.xsd,
> http://www.springframework.org/schema/tx/spring-tx.xsd=org/springframework/transaction/config/spring-tx-3.0.xsd,
> http://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scripting/config/spring-lang-3.0.xsd,
> http://www.springframework.org/schema/tool/spring-tool-2.0.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
> http://www.springframework.org/schema/util/spring-util-2.5.xsd=org/springframework/beans/factory/xml/spring-util-2.5.xsd,
> http://www.springframework.org/schema/lang/spring-lang-2.5.xsd=org/springframework/scripting/config/spring-lang-2.5.xsd,
> http://www.springframework.org/schema/jee/spring-jee-3.0.xsd=org/springframework/ejb/config/spring-jee-3.0.xsd,
> http://www.springframework.org/schema/jee/spring-jee-2.0.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
> http://www.springframework.org/schema/context/spring-context.xsd=org/springframework/context/config/spring-context-3.0.xsd,
> http://www.springframework.org/schema/jee/spring-jee.xsd=org/springframework/ejb/config/spring-jee-3.0.xsd,
> http://www.springframework.org/schema/jms/spring-jms-2.5.xsd=org/springframework/jms/config/spring-jms-2.5.xsd,
> http://www.springframework.org/schema/jms/spring-jms.xsd=org/springframework/jms/config/spring-jms-3.0.xsd,
> http://www.springframework.org/schema/aop/spring-aop-2.5.xsd=org/springframework/aop/config/spring-aop-2.5.xsd,
> http://www.springframework.org/schema/tx/spring-tx-2.0.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
> http://www.springframework.org/schema/tx/spring-tx-3.0.xsd=org/springframework/transaction/config/spring-tx-3.0.xsd,
> http://www.springframework.org/schema/context/spring-context-3.0.xsd=org/springframework/context/config/spring-context-3.0.xsd,
> http://www.springframework.org/schema/tool/spring-tool.xsd=org/springframework/beans/factory/xml/spring-tool-3.0.xsd,
> http://www.springframework.org/schema/util/spring-util-3.0.xsd=org/springframework/beans/factory/xml/spring-util-3.0.xsd,
> http://www.springframework.org/schema/lang/spring-lang-3.0.xsd=org/springframework/scripting/config/spring-lang-3.0.xsd,
> http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd,
> http://www.springframework.org/schema/lang/spring-lang-2.0.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
> http://activemq.apache.org/schema/core/activemq-core-5.4.2.xsd=activemq.xsd,
> http://activemq.apache.org/schema/core/activemq-core-5.3.2.xsd=activemq.xsd,
> http://www.springframework.org/schema/beans/spring-beans-2.5.xsd=org/springframework/beans/factory/xml/spring-beans-2.5.xsd}
> 2012-06-26 16:03:26,711 [main           ] DEBUG PluggableSchemaResolver
> - Found XML schema
> [http://www.springframework.org/schema/beans/spring-beans-2.0.xsd] in
> classpath: org/springframework/beans/factory/xml/spring-beans-2.0.xsd
> 2012-06-26 16:03:26,758 [main           ] DEBUG PluggableSchemaResolver
> - Couldn't find XML schema
> [http://activemq.apache.org/schema/core/activemq-core.xsd]: class path
> resource [activemq.xsd]
>
> java.io.FileNotFoundException: class path resource [activemq.xsd] cannot be
> opened because it does not exist
>        at
> org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:158)
>        at
> org.springframework.beans.factory.xml.PluggableSchemaResolver.resolveEntity(PluggableSchemaResolver.java:114)
>        at
> org.springframework.beans.factory.xml.DelegatingEntityResolver.resolveEntity(DelegatingEntityResolver.java:85)
>        at
> org.springframework.beans.factory.xml.ResourceEntityResolver.resolveEntity(ResourceEntityResolver.java:74)
>        at
> com.sun.org.apache.xerces.internal.util.EntityResolverWrapper.resolveEntity(Unknown
> Source)
>        at
> com.sun.org.apache.xerces.internal.impl.XMLEntityManager.resolveEntity(Unknown
> Source)
>        at
> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.resolveDocument(Unknown
> Source)
>        at
> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.findSchemaGrammar(Unknown
> Source)
>        at
> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(Unknown
> Source)
>        at
> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(Unknown
> Source)
>        at
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
> Source)
>        at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown
> Source)
>        at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown
> Source)
>        at
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown
> Source)
>        at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> Source)
>        at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
> Source)
>        at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
> Source)
>        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown
> Source)
>        at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown
> Source)
>        at
> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown
> Source)
>        at
> org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)
>        at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)
>        at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
>        at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
>        at
> org.apache.xbean.spring.context.ResourceXmlApplicationContext.loadBeanDefinitions(ResourceXmlApplicationContext.java:111)
>        at
> org.apache.xbean.spring.context.ResourceXmlApplicationContext.loadBeanDefinitions(ResourceXmlApplicationContext.java:104)
>        at
> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
>        at
> org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)
>        at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
>        at
> org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)
>        at
> org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)
>        at
> org.apache.activemq.xbean.XBeanBrokerFactory$1.<init>(XBeanBrokerFactory.java:108)
>        at
> org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:108)
>        at
> org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:72)
>        at
> org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
>        at
> org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
>        at
> org.apache.activemq.console.command.StartCommand.startBroker(StartCommand.java:115)
>        at
> org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:74)
>        at
> org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
>        at
> org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:148)
>        at
> org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
>        at
> org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:90)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>        at java.lang.reflect.Method.invoke(Unknown Source)
>        at org.apache.activemq.console.Main.runTaskClass(Main.java:257)
>        at org.apache.activemq.console.Main.main(Main.java:111)
> 2012-06-26 16:03:31,352 [main           ] DEBUG
> anBeanDefinitionDocumentReader - Loading bean definitions
> 2012-06-26 16:03:31,399 [main           ] DEBUG
> anBeanDefinitionParserDelegate - Neither XML 'id' nor 'name' specified -
> using generated bean name
> [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0]
> 2012-06-26 16:03:31,415 [main           ] DEBUG
> XBeanNamespaceHandlerResolver  - Loaded NamespaceHandler mappings:
> {http://www.springframework.org/schema/p=org.springframework.beans.factory.xml.SimplePropertyNamespaceHandler,
> http://www.springframework.org/schema/util=org.springframework.beans.factory.xml.UtilNamespaceHandler,
> http://www.springframework.org/schema/jee=org.springframework.ejb.config.JeeNamespaceHandler,
> http://www.springframework.org/schema/aop=org.springframework.aop.config.AopNamespaceHandler,
> http://mina.apache.org/ftpserver/spring/v1=org.apache.ftpserver.config.spring.FtpServerNamespaceHandler,
> http://www.springframework.org/schema/tx=org.springframework.transaction.config.TxNamespaceHandler,
> http://www.springframework.org/schema/jms=org.springframework.jms.config.JmsNamespaceHandler,
> http://www.springframework.org/schema/task=org.springframework.scheduling.config.TaskNamespaceHandler,
> http://www.springframework.org/schema/lang=org.springframework.scripting.config.LangNamespaceHandler,
> http://www.springframework.org/schema/context=org.springframework.context.config.ContextNamespaceHandler}
> 2012-06-26 16:03:31,415 [main           ] DEBUG XBeanNamespaceHandler
> - Could not find resource:
> META-INF/services/org/apache/xbean/spring/http/activemq.apache.org/schema/core/broker
> 2012-06-26 16:03:31,415 [main           ] DEBUG XBeanNamespaceHandler
> - Could not find resource:
> META-INF/services/org/apache/xbean/spring/http/activemq.apache.org/schema/core
> 2012-06-26 16:03:31,415 [main           ] DEBUG XBeanNamespaceHandler
> - Could not find resource:
> META-INF/services/org/xbean/spring/http/activemq.apache.org/schema/core
> 2012-06-26 16:03:31,430 [main           ] ERROR XBeanBrokerFactory
> - Failed to load: class path resource [activemq.xml], reason: Unrecognized
> xbean namespace mapping: http://activemq.apache.org/schema/core
> org.springframework.beans.factory.BeanDefinitionStoreException: Unrecognized
> xbean namespace mapping: http://activemq.apache.org/schema/core
>        at
> org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.parseBeanFromExtensionElement(XBeanNamespaceHandler.java:282)
>        at
> org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.parse(XBeanNamespaceHandler.java:156)
>        at
> org.apache.xbean.spring.context.v2.XBeanNamespaceHandler.parse(XBeanNamespaceHandler.java:49)
>        at
> org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1338)
>        at
> org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1328)
>        at
> org.apache.xbean.spring.context.v2.XBeanBeanDefinitionDocumentReader.parseBeanDefinitions(XBeanBeanDefinitionDocumentReader.java:84)
>        at
> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:93)
>        at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)
>        at
> org.apache.xbean.spring.context.v2.XBeanXmlBeanDefinitionReader.registerBeanDefinitions(XBeanXmlBeanDefinitionReader.java:79)
>        at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)
>        at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
>        at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
>        at
> org.apache.xbean.spring.context.ResourceXmlApplicationContext.loadBeanDefinitions(ResourceXmlApplicationContext.java:111)
>        at
> org.apache.xbean.spring.context.ResourceXmlApplicationContext.loadBeanDefinitions(ResourceXmlApplicationContext.java:104)
>        at
> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
>        at
> org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)
>        at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
>        at
> org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)
>        at
> org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)
>        at
> org.apache.activemq.xbean.XBeanBrokerFactory$1.<init>(XBeanBrokerFactory.java:108)
>        at
> org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:108)
>        at
> org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:72)
>        at
> org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
>        at
> org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
>        at
> org.apache.activemq.console.command.StartCommand.startBroker(StartCommand.java:115)
>        at
> org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:74)
>        at
> org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
>        at
> org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:148)
>        at
> org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
>        at
> org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:90)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>        at java.lang.reflect.Method.invoke(Unknown Source)
>        at org.apache.activemq.console.Main.runTaskClass(Main.java:257)
>        at org.apache.activemq.console.Main.main(Main.java:111)
> ERROR: java.lang.RuntimeException: Failed to execute start task. Reason:
> org.springframework.beans.factory.BeanDefinitionStoreException: Unrecognized
> xbean namespace mapping: http://activemq.apache.org/schema/core
> java.lang.RuntimeException: Failed to execute start task. Reason:
> org.springframework.beans.factory.BeanDefinitionStoreException: Unrecognized
> xbean namespace mapping: http://activemq.apache.org/schema/core
>        at
> org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:98)
>        at
> org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
>        at
> org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:148)
>        at
> org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
>        at
> org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:90)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>        at java.lang.reflect.Method.invoke(Unknown Source)
>        at org.apache.activemq.console.Main.runTaskClass(Main.java:257)
>        at org.apache.activemq.console.Main.main(Main.java:111)
> Caused by: org.springframework.beans.factory.BeanDefinitionStoreException:
> Unrecognized xbean namespace mapping: http://activemq.apache.org/schema/core
>        at
> org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.parseBeanFromExtensionElement(XBeanNamespaceHandler.java:282)
>        at
> org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.parse(XBeanNamespaceHandler.java:156)
>        at
> org.apache.xbean.spring.context.v2.XBeanNamespaceHandler.parse(XBeanNamespaceHandler.java:49)
>        at
> org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1338)
>        at
> org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1328)
>        at
> org.apache.xbean.spring.context.v2.XBeanBeanDefinitionDocumentReader.parseBeanDefinitions(XBeanBeanDefinitionDocumentReader.java:84)
>        at
> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:93)
>        at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)
>        at
> org.apache.xbean.spring.context.v2.XBeanXmlBeanDefinitionReader.registerBeanDefinitions(XBeanXmlBeanDefinitionReader.java:79)
>        at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)
>        at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
>        at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
>        at
> org.apache.xbean.spring.context.ResourceXmlApplicationContext.loadBeanDefinitions(ResourceXmlApplicationContext.java:111)
>        at
> org.apache.xbean.spring.context.ResourceXmlApplicationContext.loadBeanDefinitions(ResourceXmlApplicationContext.java:104)
>        at
> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
>        at
> org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)
>        at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
>        at
> org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)
>        at
> org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)
>        at
> org.apache.activemq.xbean.XBeanBrokerFactory$1.<init>(XBeanBrokerFactory.java:108)
>        at
> org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:108)
>        at
> org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:72)
>        at
> org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
>        at
> org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
>        at
> org.apache.activemq.console.command.StartCommand.startBroker(StartCommand.java:115)
>        at
> org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:74)
>        ... 10 more
> ERROR: java.lang.Exception:
> org.springframework.beans.factory.BeanDefinitionStoreException: Unrecognized
> xbean namespace mapping: http://activemq.apache.org/schema/core
> java.lang.Exception:
> org.springframework.beans.factory.BeanDefinitionStoreException: Unrecognized
> xbean namespace mapping: http://activemq.apache.org/schema/core
>        at
> org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:99)
>        at
> org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
>        at
> org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:148)
>        at
> org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
>        at
> org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:90)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>        at java.lang.reflect.Method.invoke(Unknown Source)
>        at org.apache.activemq.console.Main.runTaskClass(Main.java:257)
>        at org.apache.activemq.console.Main.main(Main.java:111)
> Caused by: org.springframework.beans.factory.BeanDefinitionStoreException:
> Unrecognized xbean namespace mapping: http://activemq.apache.org/schema/core
>        at
> org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.parseBeanFromExtensionElement(XBeanNamespaceHandler.java:282)
>        at
> org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.parse(XBeanNamespaceHandler.java:156)
>        at
> org.apache.xbean.spring.context.v2.XBeanNamespaceHandler.parse(XBeanNamespaceHandler.java:49)
>        at
> org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1338)
>        at
> org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1328)
>        at
> org.apache.xbean.spring.context.v2.XBeanBeanDefinitionDocumentReader.parseBeanDefinitions(XBeanBeanDefinitionDocumentReader.java:84)
>        at
> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:93)
>        at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)
>        at
> org.apache.xbean.spring.context.v2.XBeanXmlBeanDefinitionReader.registerBeanDefinitions(XBeanXmlBeanDefinitionReader.java:79)
>        at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)
>        at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
>        at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
>        at
> org.apache.xbean.spring.context.ResourceXmlApplicationContext.loadBeanDefinitions(ResourceXmlApplicationContext.java:111)
>        at
> org.apache.xbean.spring.context.ResourceXmlApplicationContext.loadBeanDefinitions(ResourceXmlApplicationContext.java:104)
>        at
> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
>        at
> org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)
>        at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
>        at
> org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)
>        at
> org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)
>        at
> org.apache.activemq.xbean.XBeanBrokerFactory$1.<init>(XBeanBrokerFactory.java:108)
>        at
> org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:108)
>        at
> org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:72)
>        at
> org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
>        at
> org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
>        at
> org.apache.activemq.console.command.StartCommand.startBroker(StartCommand.java:115)
>        at
> org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:74)
>        ... 10 more
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Setting-up-ActiveMQ-on-eclipse-and-running-it-tp4653595.html
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Mime
View raw message