activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prakash sen <prakash....@gmail.com>
Subject starting activemq getting errors
Date Fri, 23 Mar 2007 12:43:17 GMT

Hi,
      While starting activemq i am getting this error. Any idea or
suggestion would be helpfull.

Thanks,
Prakash Sen.  


E:\MQ\apache-activemq-4.1.0-incubator\bin>activemq
ACTIVEMQ_HOME: E:\MQ\apache-activemq-4.1.0-incubator\bin\..
Loading message broker from: xbean:activemq.xml
ERROR: java.lang.RuntimeException: Failed to execute start task. Reason:
org.spr
ingframework.beans.factory.BeanDefinitionStoreException: Unexpected
exception pa
rsing XML document from class path resource [activemq.xml]; nested exception
is
java.lang.NoSuchMethodError:
java.lang.String.replaceAll(Ljava/lang/String;Ljava
/lang/String;)Ljava/lang/String;
java.lang.RuntimeException: Failed to execute start task. Reason:
org.springfram
ework.beans.factory.BeanDefinitionStoreException: Unexpected exception
parsing X
ML document from class path resource [activemq.xml]; nested exception is
java.la
ng.NoSuchMethodError:
java.lang.String.replaceAll(Ljava/lang/String;Ljava/lang/S
tring;)Ljava/lang/String;
        at
org.apache.activemq.console.command.StartCommand.runTask(StartCommand
.java:70)
        at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractC
ommand.java:50)
        at
org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand
.java:65)
        at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractC
ommand.java:50)
        at
org.apache.activemq.console.command.ShellCommand.main(ShellCommand.ja
va:46)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:30)
        at
sun.reflect.InflatableMethodAccessorImpl.invoke(InflatableMethodAcces
sorImpl.java:48)
        at java.lang.reflect.Method.invoke(Method.java:306)
        at org.apache.activemq.console.Main.runTaskClass(Main.java:159)
        at org.apache.activemq.console.Main.main(Main.java:91)
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException:
Unexp
ected exception parsing XML document from class path resource
[activemq.xml]; ne
sted exception is java.lang.NoSuchMethodError:
java.lang.String.replaceAll(Ljava
/lang/String;Ljava/lang/String;)Ljava/lang/String;
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadB
eanDefinitions(XmlBeanDefinitionReader.java:427)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
nDefinitions(XmlBeanDefinitionReader.java:357)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
nDefinitions(XmlBeanDefinitionReader.java:334)
        at
org.springframework.beans.factory.support.AbstractBeanDefinitionReade
r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:126)
        at
org.springframework.beans.factory.support.AbstractBeanDefinitionReade
r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:142)
        at
org.springframework.beans.factory.support.AbstractBeanDefinitionReade
r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:168)
        at
org.springframework.context.support.AbstractXmlApplicationContext.loa
dBeanDefinitions(AbstractXmlApplicationContext.java:113)
        at
org.apache.xbean.spring.context.ClassPathXmlApplicationContext.loadBe
anDefinitions(ClassPathXmlApplicationContext.java:180)
        at
org.springframework.context.support.AbstractRefreshableApplicationCon
text.refreshBeanFactory(AbstractRefreshableApplicationContext.java:94)
        at
org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:294)
        at
org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>
(ClassPathXmlApplicationContext.java:161)
        at
org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>
(ClassPathXmlApplicationContext.java:51)
        at
org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBroker
Factory.java:41)
        at
org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.j
ava:57)
        at
org.apache.activemq.console.command.StartCommand.startBroker(StartCom
mand.java:82)
        at
org.apache.activemq.console.command.StartCommand.runTask(StartCommand
.java:47)
        ... 10 more
Caused by: java.lang.NoSuchMethodError:
java.lang.String.replaceAll(Ljava/lang/S
tring;Ljava/lang/String;)Ljava/lang/String;
        at
org.apache.xbean.spring.context.impl.NamespaceHelper.createDiscoveryP
athName(NamespaceHelper.java:46)
        at
org.apache.xbean.spring.context.impl.NamespaceHelper.createDiscoveryP
athName(NamespaceHelper.java:36)
        at
org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.findNamespa
ceProperties(XBeanNamespaceHandler.java:691)
        at
org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.parseBeanFr
omExtensionElement(XBeanNamespaceHandler.java:251)
        at
org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.parse(XBean
NamespaceHandler.java:152)
        at
org.apache.xbean.spring.context.v2.XBeanNamespaceHandler.parse(XBeanN
amespaceHandler.java:49)
        at
org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.pa
rseCustomElement(BeanDefinitionParserDelegate.java:1147)
        at
org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.pa
rseCustomElement(BeanDefinitionParserDelegate.java:1137)
        at
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentRe
ader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:145)
        at
org.apache.xbean.spring.context.v2.XBeanBeanDefinitionDocumentReader.
parseBeanDefinitions(XBeanBeanDefinitionDocumentReader.java:63)
        at
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentRe
ader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:89)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registe
rBeanDefinitions(XmlBeanDefinitionReader.java:499)
        at
org.apache.xbean.spring.context.v2.XBeanXmlBeanDefinitionReader.regis
terBeanDefinitions(XBeanXmlBeanDefinitionReader.java:79)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadB
eanDefinitions(XmlBeanDefinitionReader.java:407)
        ... 25 more
ERROR: java.lang.Exception:
org.springframework.beans.factory.BeanDefinitionStor
eException: Unexpected exception parsing XML document from class path
resource [
activemq.xml]; nested exception is java.lang.NoSuchMethodError:
java.lang.String
.replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
java.lang.Exception:
org.springframework.beans.factory.BeanDefinitionStoreExcept
ion: Unexpected exception parsing XML document from class path resource
[activem
q.xml]; nested exception is java.lang.NoSuchMethodError:
java.lang.String.replac
eAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
        at
org.apache.activemq.console.command.StartCommand.runTask(StartCommand
.java:71)
        at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractC
ommand.java:50)
        at
org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand
.java:65)
        at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractC
ommand.java:50)
        at
org.apache.activemq.console.command.ShellCommand.main(ShellCommand.ja
va:46)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:30)
        at
sun.reflect.InflatableMethodAccessorImpl.invoke(InflatableMethodAcces
sorImpl.java:48)
        at java.lang.reflect.Method.invoke(Method.java:306)
        at org.apache.activemq.console.Main.runTaskClass(Main.java:159)
        at org.apache.activemq.console.Main.main(Main.java:91)
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException:
Unexp
ected exception parsing XML document from class path resource
[activemq.xml]; ne
sted exception is java.lang.NoSuchMethodError:
java.lang.String.replaceAll(Ljava
/lang/String;Ljava/lang/String;)Ljava/lang/String;
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadB
eanDefinitions(XmlBeanDefinitionReader.java:427)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
nDefinitions(XmlBeanDefinitionReader.java:357)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
nDefinitions(XmlBeanDefinitionReader.java:334)
        at
org.springframework.beans.factory.support.AbstractBeanDefinitionReade
r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:126)
        at
org.springframework.beans.factory.support.AbstractBeanDefinitionReade
r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:142)
        at
org.springframework.beans.factory.support.AbstractBeanDefinitionReade
r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:168)
        at
org.springframework.context.support.AbstractXmlApplicationContext.loa
dBeanDefinitions(AbstractXmlApplicationContext.java:113)
        at
org.apache.xbean.spring.context.ClassPathXmlApplicationContext.loadBe
anDefinitions(ClassPathXmlApplicationContext.java:180)
        at
org.springframework.context.support.AbstractRefreshableApplicationCon
text.refreshBeanFactory(AbstractRefreshableApplicationContext.java:94)
        at
org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:294)
        at
org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>
(ClassPathXmlApplicationContext.java:161)
        at
org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>
(ClassPathXmlApplicationContext.java:51)
        at
org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBroker
Factory.java:41)
        at
org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.j
ava:57)
        at
org.apache.activemq.console.command.StartCommand.startBroker(StartCom
mand.java:82)
        at
org.apache.activemq.console.command.StartCommand.runTask(StartCommand
.java:47)
        ... 10 more
Caused by: java.lang.NoSuchMethodError:
java.lang.String.replaceAll(Ljava/lang/S
tring;Ljava/lang/String;)Ljava/lang/String;
        at
org.apache.xbean.spring.context.impl.NamespaceHelper.createDiscoveryP
athName(NamespaceHelper.java:46)
        at
org.apache.xbean.spring.context.impl.NamespaceHelper.createDiscoveryP
athName(NamespaceHelper.java:36)
        at
org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.findNamespa
ceProperties(XBeanNamespaceHandler.java:691)
        at
org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.parseBeanFr
omExtensionElement(XBeanNamespaceHandler.java:251)
        at
org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.parse(XBean
NamespaceHandler.java:152)
        at
org.apache.xbean.spring.context.v2.XBeanNamespaceHandler.parse(XBeanN
amespaceHandler.java:49)
        at
org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.pa
rseCustomElement(BeanDefinitionParserDelegate.java:1147)
        at
org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.pa
rseCustomElement(BeanDefinitionParserDelegate.java:1137)
        at
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentRe
ader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:145)
        at
org.apache.xbean.spring.context.v2.XBeanBeanDefinitionDocumentReader.
parseBeanDefinitions(XBeanBeanDefinitionDocumentReader.java:63)
        at
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentRe
ader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:89)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registe
rBeanDefinitions(XmlBeanDefinitionReader.java:499)
        at
org.apache.xbean.spring.context.v2.XBeanXmlBeanDefinitionReader.regis
terBeanDefinitions(XBeanXmlBeanDefinitionReader.java:79)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadB
eanDefinitions(XmlBeanDefinitionReader.java:407)
        ... 25 more
-- 
View this message in context: http://www.nabble.com/starting-activemq-getting-errors-tf3453449s2354.html#a9633590
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message