activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <christian.po...@gmail.com>
Subject Re: Why does ActivemQ not start?
Date Tue, 11 Jun 2013 19:37:32 GMT
Seems your jetty.xml got corrupted? What's in the jetty.xml file in your
conf/ dir of activemq distro?

On Tuesday, June 11, 2013, Ben Stover wrote:

> I setup a new computer with java 1.7 and ActiveMQ 5.8.0
>
> When I try to start ActiveMQ by double clicking on activemq.bat it shows
> the following error.
>
> Whats wrong?
>
>
> D:\java\JMS\ActiveMQ\v5.8.0free\bin>activemq.bat
> Java Runtime: Oracle Corporation 1.7.0_21 C:\Program Files
> (x86)\Java\jdk\v1.7.x\jre
>   Heap sizes: current=1013632k  free=996854k  max=1013632k
>     JVM args: -Dcom.sun.management.jmxremote -Xms1G -Xmx1G
> -Djava.util.logging.config.file=logging.properties -
> Dactivemq.classpath=D:\java\JMS\ActiveM
> Q\v5.8.0free\bin\..\conf;D:\java\JMS\ActiveMQ\v5.8.0free\bin\../conf;D:\java\JMS\ActiveMQ\v5.8.0free\bin\../conf;
> -
> Dactivemq.home=D:\java\JMS\ActiveMQ
> \v5.8.0free\bin\.. -Dactivemq.base=D:\java\JMS\ActiveMQ\v5.8.0free\bin\..
> -Dactivemq.conf=D:\java\JMS\ActiveMQ
> \v5.8.0free\bin\..\conf -Dactivemq.data=
> D:\java\JMS\ActiveMQ\v5.8.0free\bin\..\data
> -Djava.io.tmpdir=D:\java\JMS\ActiveMQ\v5.8.0free\bin\..\data\tmp
> Extensions classpath:
>
> [D:\java\JMS\ActiveMQ\v5.8.0free\bin\..\lib,D:\java\JMS\ActiveMQ\v5.8.0free\bin\..\lib\camel,D:\java\JMS\ActiveMQ
> \v5.8.0free\bin\..\lib\optional,D:\
>
> java\JMS\ActiveMQ\v5.8.0free\bin\..\lib\web,D:\java\JMS\ActiveMQ\v5.8.0free\bin\..\lib\extra]
> ACTIVEMQ_HOME: D:\java\JMS\ActiveMQ\v5.8.0free\bin\..
> ACTIVEMQ_BASE: D:\java\JMS\ActiveMQ\v5.8.0free\bin\..
> ACTIVEMQ_CONF: D:\java\JMS\ActiveMQ\v5.8.0free\bin\..\conf
> ACTIVEMQ_DATA: D:\java\JMS\ActiveMQ\v5.8.0free\bin\..\data
> Loading message broker from: xbean:activemq.xml
>  INFO | Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@1f46c5d:
> startup date [Tue Jun 11 20:29:38 CEST
> 2013]; root of context hierarchy
> ERROR | Failed to load: class path resource [activemq.xml], reason:
> IOException parsing XML document from class path
> resource [jetty.xml]; nested exce
> ption is
> com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException:
> Invalid byte 2 of 3-byte UTF-8
> sequence.
> org.springframework.beans.factory.BeanDefinitionStoreException:
> IOException parsing XML document from class path resource
> [jetty.xml]; nested exceptio
> n is
> com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException:
> Invalid byte 2 of 3-byte UTF-8 sequence.
>         at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions
> (XmlBeanDefinitionReader.java:408)
>         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.v2.XBeanBeanDefinitionDocumentReader.importBeanDefinitionResource
> (XBeanBeanDefinitionDocumentReader.java:12
> 9)
>         at
> org.apache.xbean.spring.context.v2.XBeanBeanDefinitionDocumentReader.parseDefaultElement
> (XBeanBeanDefinitionDocumentReader.java:95)
>         at
> org.apache.xbean.spring.context.v2.XBeanBeanDefinitionDocumentReader.parseBeanDefinitions
> (XBeanBeanDefinitionDocumentReader.java:81)
>         at
> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions
> (DefaultBeanDefinitionDocumentReader.jav
> a:140)
>         at
> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions
> (DefaultBeanDefinitionDocumentReader.java:
> 111)
>         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:131
>
>         at
> org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory
> (AbstractApplicationContext.java:530)
>         at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:444)
>         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:101)
> ....
>
>
>

-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta

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