activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davis, Dorothea" <Dorothea_Da...@homedepot.com>
Subject RE: activemq 5.3.1 SEVERE: NATURAL JSON notation configured, but JAXB RI 2.1.10 not found.
Date Wed, 05 May 2010 23:31:19 GMT

1 more clue.

I am getting the error after adding 3 jar files for the 'el' language
geronimo-el_1.0_spec-1.0.1.jar
juel-2.1.2.jar
camel-juel-2.2.0-fuse-01-00.jar

for this type of route:

        <route>
            <from uri="activemq:queue:BR0.ISPA.ST9056"/>
            <choice>
                <when>
                        <el>${in.headers.queueName == 'PT.LOAD.DATA'}</el>
                        <to uri="activemq:queue:BR0.ISPA.ST9056.PT.LOAD.DATA"/>
                </when>
                <otherwise>
                        <to uri="activemq:queue:UNKNOWN-DESTINATION"/>
                </otherwise>
                </choice>
        </route>

THANKS for your help!

-----Original Message-----
From: Davis, Dorothea
Sent: Wednesday, May 05, 2010 7:11 PM
To: users@activemq.apache.org
Subject: RE: activemq 5.3.1 SEVERE: NATURAL JSON notation configured, but JAXB RI 2.1.10 not
found.



Hello Bruce,



I am still getting the error.  I tried the 2.1.12, and then even tried the 2.2.



I downloaded from https://jaxb.dev.java.net/   and installed into the following directories

$ pwd

/opt/isv/activemq/fuse-mb/lib

$ ls

                                       camel-jetty-2.2.0-fuse-01-00.jar           geronimo-jta_1.0.1B_spec-1.0.1.jar

activation-1.1.jar                     camel-jms-2.2.0-fuse-01-00.jar             jaxb-ri-20090708

activemq-camel-5.3.1-fuse-00-00.jar    camel-juel-2.2.0-fuse-01-00.jar            jaxb-ri-20091104

activemq-console-5.3.1-fuse-00-00.jar  camel-spring-2.2.0-fuse-01-00.jar          juel-2.1.2.jar

activemq-core-5.3.1-fuse-00-00.jar     commons-logging-1.1.jar                    kahadb-5.3.1-fuse-00-00.jar

activemq-jaas-5.3.1-fuse-00-00.jar     commons-management-1.0.jar                 optional

activemq-protobuf-1.0.0.0-fuse.jar     geronimo-el_1.0_spec-1.0.1.jar             stax-1.2.0.jar

activemq-web-5.3.1-fuse-00-00.jar      geronimo-j2ee-management_1.0_spec-1.0.jar  stax-api-1.0.1.jar

camel-core-2.2.0-fuse-01-00.jar        geronimo-jms_1.1_spec-1.1.1.jar            web



$ cd jaxb-ri-20090708



$ ls

bin  docs  lib  License.txt  samples  ThirdPartyLicenseReadme.txt



$ cd lib

$ ls

activation.jar  jaxb1-impl-src.zip  jaxb-api.jar      jaxb-impl.jar      jaxb-xjc.jar    
 jsr173_1.0_api.jar

jaxb1-impl.jar  jaxb-api-doc.zip    jaxb-api-src.zip  jaxb-impl.src.zip  jaxb-xjc.src.zip




System Properties
Name

Value

activemq.base

/opt/isv/activemq/fuse-mb/BR0

activemq.classpath

/opt/isv/activemq/fuse-mb/lib;/opt/isv/activemq/fuse-mb;/opt/isv/activemq/fuse-mb/BR0;/opt/isv/activemq/fuse-mb/BR0/lib/lib/jaxb-ri-20090708/lib;

activemq.home

/opt/isv/activemq/fuse-mb

com.sun.management.jmxremote

true

com.sun.management.jmxremote.authenticate

false

com.sun.management.jmxremote.port

61650

com.sun.management.jmxremote.ssl

false

file.encoding

UTF-8

file.encoding.pkg

sun.io

file.separator

/

java.awt.graphicsenv

sun.awt.X11GraphicsEnvironment

java.awt.printerjob

sun.print.PSPrinterJob

java.class.path

/opt/isv/activemq/fuse-mb/bin/run.jar

java.class.version

50.0

java.endorsed.dirs

/usr/java/jre1.6.0_17/lib/endorsed

java.ext.dirs

/usr/java/jre1.6.0_17/lib/ext:/usr/java/packages/lib/ext

java.home

/usr/java/jre1.6.0_17

java.io.tmpdir

/tmp

java.library.path

/usr/java/jre1.6.0_17/lib/amd64/server:/usr/java/jre1.6.0_17/lib/amd64:/usr/java/jre1.6.0_17/../lib/amd64:/usr/java/packages/lib/amd64:/lib:/usr/lib

java.rmi.server.randomIDs

true

java.runtime.name

Java(TM) SE Runtime Environment

java.runtime.version

1.6.0_17-b04

java.specification.name

Java Platform API Specification

java.specification.vendor

Sun Microsystems Inc.

java.specification.version

1.6

java.vendor

Sun Microsystems Inc.

java.vendor.url

http://java.sun.com/

java.vendor.url.bug

http://java.sun.com/cgi-bin/bugreport.cgi

java.version

1.6.0_17

java.vm.info

mixed mode

java.vm.name

Java HotSpot(TM) 64-Bit Server VM

java.vm.specification.name

Java Virtual Machine Specification

java.vm.specification.vendor

Sun Microsystems Inc.

java.vm.specification.version

1.0

java.vm.vendor

Sun Microsystems Inc.

java.vm.version

14.3-b01

line.separator

org.apache.activemq.UseDedicatedTaskRunner

true

os.arch

amd64

os.name

Linux

os.version

2.6.18-53.el5

path.separator

:

sun.arch.data.model

64

sun.boot.class.path

/usr/java/jre1.6.0_17/lib/resources.jar:/usr/java/jre1.6.0_17/lib/rt.jar:/usr/java/jre1.6.0_17/lib/sunrsasign.jar:/usr/java/jre1.6.0_17/lib/jsse.jar:/usr/java/jre1.6.0_17/lib/jce.jar:/usr/java/jre1.6.0_17/lib/charsets.jar:/usr/java/jre1.6.0_17/classes

sun.boot.library.path

/usr/java/jre1.6.0_17/lib/amd64

sun.cpu.endian

little

sun.cpu.isalist

sun.io.unicode.encoding

UnicodeLittle

sun.java.launcher

SUN_STANDARD

sun.jnu.encoding

UTF-8

sun.management.compiler

HotSpot 64-Bit Server Compiler

sun.os.patch.level

unknown

user.country

US

user.dir

/opt/isv/activemq/fmb-5.3.0.5/fuse-mb/lib

user.home

/home/mqmadm

user.language

en

user.name

mqmadm

user.timezone

America/New_York






-----Original Message-----
From: Bruce Snyder [mailto:bruce.snyder@gmail.com]
Sent: Wednesday, May 05, 2010 6:31 PM
To: users@activemq.apache.org
Subject: Re: activemq 5.3.1 SEVERE: NATURAL JSON notation configured, but JAXB RI 2.1.10 not
found.



On Wed, May 5, 2010 at 4:07 PM, Davis, Dorothea

<Dorothea_Davis@homedepot.com> wrote:

> I will be using camel routes, so I will need the correct jars.  How can I be sure I get
the correct one?



The errors are due to to the use of the Camel web console by default

in the ActiveMQ configuration. The Camel web console is not required

in order to use Camel routes.



According to the camel-web component's Maven POM, you need the

jaxb-api and the jaxb-impl. The versions vary depending on the version

of Camel you are using. Below are just a few:



Camel 2.2:

* jaxb-impl 2.1.12

* jaxb-api 2.1



Camel 2.1:

* jaxb-impl 2.1.12

* jaxb-api 2.1



Camel 2.0:

* jaxb-impl 2.1.10

* jaxb-api 2.1



Camel 1.6.2:

* jaxb-impl 2.1.6

* jaxb-api 2.1



Bruce

--

perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"

);'



ActiveMQ in Action: http://bit.ly/2je6cQ

Blog: http://bruceblog.org/

Twitter: http://twitter.com/brucesnyder

________________________________
The information in this Internet Email is confidential and may be legally privileged. It is
intended solely for the addressee. Access to this Email by anyone else is unauthorized. If
you are not the intended recipient, any disclosure, copying, distribution or any action taken
or omitted to be taken in reliance on it, is prohibited and may be unlawful. When addressed
to our clients any opinions or advice contained in this Email are subject to the terms and
conditions expressed in any applicable governing The Home Depot terms of business or client
engagement letter. The Home Depot disclaims all responsibility and liability for the accuracy
and content of this attachment and for any damages or losses arising from any inaccuracies,
errors, viruses, e.g., worms, trojan horses, etc., or other items of a destructive nature,
which may be contained in this attachment and shall not be liable for direct, indirect, consequential
or special damages in connection with this e-mail message or its attachment.



-----------------------------------------
The information contained in this e-mail and any attached documents
may contain information that is confidential or otherwise protected
from disclosure. If you are not the intended recipient of this
message, or if this message has been sent to you in error, please
immediately alert the sender by reply e-mail and then delete this
message, including any attachments. Any dissemination, distribution
or other use of the contents of this message by anyone other than
the intended recipient is strictly prohibited.

The information in this Internet Email is confidential and may be legally privileged. It is
intended solely for the addressee. Access to this Email by anyone else is unauthorized. If
you are not the intended recipient, any disclosure, copying, distribution or any action taken
or omitted to be taken in reliance on it, is prohibited and may be unlawful. When addressed
to our clients any opinions or advice contained in this Email are subject to the terms and
conditions expressed in any applicable governing The Home Depot terms of business or client
engagement letter. The Home Depot disclaims all responsibility and liability for the accuracy
and content of this attachment and for any damages or losses arising from any inaccuracies,
errors, viruses, e.g., worms, trojan horses, etc., or other items of a destructive nature,
which may be contained in this attachment and shall not be liable for direct, indirect, consequential
or special damages in connection with this e-mail message or its attachment.

Mime
View raw message