activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlopes151 <jlopes...@comcast.net>
Subject Re: ActiveMQ newbie: Problems starting 5.3.1
Date Mon, 10 May 2010 13:15:35 GMT


I'm running ActiveMQ on WinVista

After reading the link
http://old.nabble.com/activemq-5.3.1-SEVERE:-NATURAL-JSON-notation-configured,-but-JAXB-RI-2.1.10-not-found.-td28461082.html#a28461082

I found that the fix was already in the 5.3.1 build. The Camel entry in the
conf\activemq.xml was commented, the jaxb-api-2.1, jaxb-impl-2.1.6 jar files
are in the activemq lib folder. I cleared my classpath and still get the
error. 


Dejan Bosanac wrote:
> 
> Hi can you try the workaround described in this thread
> 
> http://old.nabble.com/activemq-5.3.1-SEVERE:-NATURAL-JSON-notation-configured,-but-JAXB-RI-2.1.10-not-found.-td28461082.html#a28461082
> 
> Cheers
> --
> Dejan Bosanac - http://twitter.com/dejanb
> 
> Open Source Integration - http://fusesource.com/
> ActiveMQ in Action - http://www.manning.com/snyder/
> Blog - http://www.nighttale.net
> 
> 
> On Mon, May 10, 2010 at 7:14 AM, jlopes151 <jlopes151@comcast.net> wrote:
> 
>>
>> I'm trying to start ActiveMQ 5.3.1 and get the following error
>>
>> Java Runtime: Sun Microsystems Inc. 1.6.0_03 C:\jdk1.6.0_03\jre
>>  Heap sizes: current=5056k  free=4480k  max=520256k
>>    JVM args: -Dcom.sun.management.jmxremote -Xmx512M
>> -Dorg.apache.activemq.UseDedicatedTaskRunner=true
>> -Djava.util.logging.config.file=logging.properties
>> -Dactivemq.classpath=C:\apache-activemq-5.3.1\bin\../conf;
>> -Dactivemq.home=C:\apache-activemq-5.3.1\bin\..
>> -Dactivemq.base=C:\apache-activemq-5.3.1\bin\..
>> ACTIVEMQ_HOME: C:\apache-activemq-5.3.1\bin\..
>> ACTIVEMQ_BASE: C:\apache-activemq-5.3.1\bin\..
>> Loading message broker from: xbean:activemq.xml
>>  INFO | Using Persistence Adapter:
>> org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter@3c342b
>>  INFO | Replayed 1 operations from the journal in 0.016 seconds.
>>  INFO | ActiveMQ 5.3.1 JMS Message Broker (localhost) is starting
>>  INFO | For help or more information please see:
>> http://activemq.apache.org/
>>  INFO | Listening for connections at: tcp://grep151:61616
>>  INFO | Connector openwire Started
>>  INFO | ActiveMQ JMS Message Broker (localhost,
>> ID:grep151-61653-1273467969091-0:0) started
>>  INFO | Logging to org.slf4j.impl.JCLLoggerAdapter(org.mortbay.log) via
>> org.mortbay.log.Slf4jLog
>>  INFO | jetty-6.1.9
>>  INFO | ActiveMQ WebConsole initialized.
>>  INFO | Initializing Spring FrameworkServlet 'dispatcher'
>>  INFO | ActiveMQ Console at http://0.0.0.0:8161/admin
>>  INFO | Initializing Spring root WebApplicationContext
>> ERROR | Context initialization failed
>> org.springframework.beans.factory.BeanDefinitionStoreException:
>> Unexpected
>> exception parsing XML document from ServletContext resource
>> [/WEB-INF/applicationContext.xml]; nested
>> exception is java.lang.LinkageError: JAXB 2.0 API is being loaded from
>> the
>> bootstrap classloader, but this RI (from
>> jar:file:/C:/apache-activemq-5.3.1/bin/../lib/jaxb-impl-2.1.6.jar!/
>> com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the
>> endorsed directory mechanism to place jaxb-api.jar in the bootstrap
>> classloader. (See http://java.sun.com/
>> j2se/1.5.0/docs/guide/standards/)
>>
>> --
>> View this message in context:
>> http://old.nabble.com/ActiveMQ-newbie%3A-Problems-starting-5.3.1-tp28507779p28507779.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -----
> Dejan Bosanac
> 
> Open Source Integration - http://fusesource.com/
> ActiveMQ in Action - http://www.manning.com/snyder/
> Blog - http://www.nighttale.net
> 

-- 
View this message in context: http://old.nabble.com/ActiveMQ-newbie%3A-Problems-starting-5.3.1-tp28507779p28511380.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message