Getting the following error after upgrading from 5.3.0.0 to 5.3.1.0
java 1.6
ocurring on 2 types of linux servers z-linux and redhat 5.1 linux
Please let me know what additional detail you might need to help me resolve this issue.
Thanks for your help.
SEVERE: NATURAL JSON notation configured, but JAXB RI 2.1.10 not found. For the recent builds to get this working correctly, you need even at least JAXB version 2.1.12. Please add it to your classpath!
May 3, 2010 6:07:55 PM com.sun.jersey.core.spi.component.ProviderFactory __getComponentProvider
SEVERE: The provider class, class org.apache.camel.web.util.JAXBContextResolverOSGI, could not be instantiated. Processing will continue but the class will not be utilized
Throwable occurred: java.lang.RuntimeException: NATURAL JSON notation configured, but JAXB RI 2.1.10 not found. For the recent builds to get this working correctly, you need even at least JAXB version 2.1.12. Please add it to your classpath!
at com.sun.jersey.api.json.JSONConfiguration.natural(JSONConfiguration.java:378)
at org.apache.camel.web.util.JAXBContextResolverOSGI.
|
On Wed, May 5, 2010 at 7:52 AM, dgd01 <[hidden email]> wrote:
> > Getting the following error after upgrading from 5.3.0.0 to 5.3.1.0 > java 1.6 > ocurring on 2 types of linux servers z-linux and redhat 5.1 linux > > Please let me know what additional detail you might need to help me resolve > this issue. > > Thanks for your help. > > SEVERE: NATURAL JSON notation configured, but JAXB RI 2.1.10 not found. For > the recent builds to get this working correctly, you need even at least JAXB > version 2.1.12. Please add it to your classpath! > May 3, 2010 6:07:55 PM com.sun.jersey.core.spi.component.ProviderFactory > __getComponentProvider > SEVERE: The provider class, class > org.apache.camel.web.util.JAXBContextResolverOSGI, could not be > instantiated. Processing will continue but the class will not be utilized > Throwable occurred: java.lang.RuntimeException: NATURAL JSON notation > configured, but JAXB RI 2.1.10 not found. For the recent builds to get this > working correctly, you need even at least JAXB version 2.1.12. Please add it > to your classpath! > at > com.sun.jersey.api.json.JSONConfiguration.natural(JSONConfiguration.java:378) > at > org.apache.camel.web.util.JAXBContextResolverOSGI.(JAXBContextResolverOSGI.java:39) > at java.lang.J9VMInternals.newInstanceImpl(Native Method) > at java.lang.Class.newInstance(Class.java:1325) This is an error from the Camel web app's use of the Jersey API. The Camel web app is configured by default in the activemq.xml. If you are not using Camel, just comment out the import of the camel.xml file in the activemq.xml file. The error indicates that some JAXB dependencies are missing from the classpath. The com.sun.jersey.api.json.JSONJAXBContext class is used for RESTful web services by the camel-web component. If you put the appropriate JAXB 2.1.10 JARs on the classpath this error should go away. 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 |
I will be using camel routes, so I will need the correct jars. How can I be sure I get the correct one?
Dorothea Davis THE HOME DEPOT (w) (770) 433-8211 x17476 (c) (404) 314-0352 [hidden email] -----Original Message----- From: Bruce Snyder [mailto:[hidden email]] Sent: Wednesday, May 05, 2010 5:39 PM To: [hidden email] 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 7:52 AM, dgd01 <[hidden email]> wrote: > > Getting the following error after upgrading from 5.3.0.0 to 5.3.1.0 > java 1.6 > ocurring on 2 types of linux servers z-linux and redhat 5.1 linux > > Please let me know what additional detail you might need to help me resolve > this issue. > > Thanks for your help. > > SEVERE: NATURAL JSON notation configured, but JAXB RI 2.1.10 not found. For > the recent builds to get this working correctly, you need even at least JAXB > version 2.1.12. Please add it to your classpath! > May 3, 2010 6:07:55 PM com.sun.jersey.core.spi.component.ProviderFactory > __getComponentProvider > SEVERE: The provider class, class > org.apache.camel.web.util.JAXBContextResolverOSGI, could not be > instantiated. Processing will continue but the class will not be utilized > Throwable occurred: java.lang.RuntimeException: NATURAL JSON notation > configured, but JAXB RI 2.1.10 not found. For the recent builds to get this > working correctly, you need even at least JAXB version 2.1.12. Please add it > to your classpath! > at > com.sun.jersey.api.json.JSONConfiguration.natural(JSONConfiguration.java:378) > at > org.apache.camel.web.util.JAXBContextResolverOSGI.(JAXBContextResolverOSGI.java:39) > at java.lang.J9VMInternals.newInstanceImpl(Native Method) > at java.lang.Class.newInstance(Class.java:1325) This is an error from the Camel web app's use of the Jersey API. The Camel web app is configured by default in the activemq.xml. If you are not using Camel, just comment out the import of the camel.xml file in the activemq.xml file. The error indicates that some JAXB dependencies are missing from the classpath. The com.sun.jersey.api.json.JSONJAXBContext class is used for RESTful web services by the camel-web component. If you put the appropriate JAXB 2.1.10 JARs on the classpath this error should go away. 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. |
On Wed, May 5, 2010 at 4:07 PM, Davis, Dorothea
<[hidden email]> 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 |
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:[hidden email]] Sent: Wednesday, May 05, 2010 6:31 PM To: [hidden email] 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 <[hidden email]> 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. |
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: [hidden email] 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:[hidden email]] Sent: Wednesday, May 05, 2010 6:31 PM To: [hidden email] 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 <[hidden email]> 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. |
In reply to this post by dgd01
On Wed, May 5, 2010 at 5:11 PM, Davis, Dorothea
<[hidden email]> wrote: > > > 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 Based on what I see above, you just downloaded the entire JAXB distribution and unzipped the archive in the ActiveMQ lib directory. You need to place the jaxb-api jar and the jaxb-impl jar in the ActiveMQ lib directory, not the JAXB distribution directory. Furthermore, you need to make sure that you are using the appropriate JAXB jar versions for the version of Camel that you are using. What version of Camel are you using? 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 |
In reply to this post by dgd01
On Wed, May 5, 2010 at 5:31 PM, Davis, Dorothea
<[hidden email]> wrote: > > 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! If it's the same error as the one in your original message, then it's probably just the same problem -- the JAXB jars are missing from the classpath. You should really ask about this on the Camel mailing list since it's an issue with Camel. Information about the Camel mailing list can be found here: http://camel.apache.org/mailing-lists.html 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 |
In reply to this post by Bruce Snyder
Hello Bruce,
OK, I got it working. I moved just the 2 2.1.12 jar files -- jaxb-api.jar & jaxb-impl.jar, directly to my /opt/isv/activemq/fuse-mb/lib THANKS for all your help!! -----Original Message----- From: Bruce Snyder [mailto:[hidden email]] Sent: Thursday, May 06, 2010 1:43 AM To: [hidden email] 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 5:11 PM, Davis, Dorothea <[hidden email]> wrote: > > > 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 Based on what I see above, you just downloaded the entire JAXB distribution and unzipped the archive in the ActiveMQ lib directory. You need to place the jaxb-api jar and the jaxb-impl jar in the ActiveMQ lib directory, not the JAXB distribution directory. Furthermore, you need to make sure that you are using the appropriate JAXB jar versions for the version of Camel that you are using. What version of Camel are you using? 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. |
Free forum by Nabble | Edit this page |