You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Markus Wolf (JIRA)" <ji...@apache.org> on 2009/11/19 12:49:52 UTC

[jira] Created: (CAMEL-2204) Import of package javax.xml.bind.annotation.adapters

Import of package javax.xml.bind.annotation.adapters
----------------------------------------------------

                 Key: CAMEL-2204
                 URL: https://issues.apache.org/activemq/browse/CAMEL-2204
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.0.0
         Environment: Java 5, Apache Karaf 1.0
            Reporter: Markus Wolf


Since the package 'javax.xml.bind.annotation.adapters' is missing from the imports on camel-core we could not deploy our bundles on karaf.
On Java 6 this is no problem, since the package is bootdelegated anyway since its included in the JVM.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-2204) Import of package javax.xml.bind.annotation.adapters

Posted by "Markus Wolf (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55632#action_55632 ] 

Markus Wolf commented on CAMEL-2204:
------------------------------------

We have several bundles using camel. I'm not sure which one exactly does run into this problem. 
This is one of the contexts we have:
{noformat}<camel:camelContext id="camel">
	<camel:jmxAgent id="camelJmxAgent"
		usePlatformMBeanServer="true" />
	<camel:routeBuilder ref="bounceRoute" />
</camel:camelContext>{noformat}
And this is the route builder relevant code:
{noformat}from("quartz://bounces/pop3Timer?cron=" + this.cronExpression).beanRef("pop3Job");
from("jms:topic:de.llynch.endion.reponse.rule-reset").beanRef("resetRuleProcessor");{noformat}

Yes I tried with the servicemix bundles as well as with the spring bundles.
After adding the package import it does work well for us.

> Import of package javax.xml.bind.annotation.adapters
> ----------------------------------------------------
>
>                 Key: CAMEL-2204
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2204
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.0.0
>         Environment: Java 5, Apache Karaf 1.0
>            Reporter: Markus Wolf
>            Assignee: Willem Jiang
>             Fix For: 2.1.0
>
>
> Since the package 'javax.xml.bind.annotation.adapters' is missing from the imports on camel-core we could not deploy our bundles on karaf.
> On Java 6 this is no problem, since the package is bootdelegated anyway since its included in the JVM.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-2204) Import of package javax.xml.bind.annotation.adapters

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55633#action_55633 ] 

Willem Jiang commented on CAMEL-2204:
-------------------------------------

@ Markus,
Your camel context is normal for us, I don't think it hit the trigger of issue.
As I can't see any side effect so far, I will committed the fix shortly


> Import of package javax.xml.bind.annotation.adapters
> ----------------------------------------------------
>
>                 Key: CAMEL-2204
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2204
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.0.0
>         Environment: Java 5, Apache Karaf 1.0
>            Reporter: Markus Wolf
>            Assignee: Willem Jiang
>             Fix For: 2.1.0
>
>
> Since the package 'javax.xml.bind.annotation.adapters' is missing from the imports on camel-core we could not deploy our bundles on karaf.
> On Java 6 this is no problem, since the package is bootdelegated anyway since its included in the JVM.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-2204) Import of package javax.xml.bind.annotation.adapters

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55631#action_55631 ] 

Willem Jiang commented on CAMEL-2204:
-------------------------------------

It's easy to move the !javax.xml.bind.annotation.adapters, but I don't know if there are any side effect on current camel bundles.
I went through the came-core code , there are reference of the javax.xml.bind.annotation.adapters, but I don't know why we don't hit that kind of issue before.
Markus,  can I have a look at your camel context?
BTW,  did you try to load the jaxb which shipped by Servicemix.
{code}
    <bundle>mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jaxb-api-2.1/1.4-SNAPSHOT</bundle>
    <bundle>mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.stax-api-1.0/1.4-SNAPSHOT</bundle>
    <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-impl/2.1.12_1</bundle>
{code}




> Import of package javax.xml.bind.annotation.adapters
> ----------------------------------------------------
>
>                 Key: CAMEL-2204
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2204
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.0.0
>         Environment: Java 5, Apache Karaf 1.0
>            Reporter: Markus Wolf
>            Assignee: Willem Jiang
>             Fix For: 2.1.0
>
>
> Since the package 'javax.xml.bind.annotation.adapters' is missing from the imports on camel-core we could not deploy our bundles on karaf.
> On Java 6 this is no problem, since the package is bootdelegated anyway since its included in the JVM.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CAMEL-2204) Import of package javax.xml.bind.annotation.adapters

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-2204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-2204.
--------------------------------

    Resolution: Fixed

Resolving this so there are no tickets blocking for 2.1.

Created sub ticket for backporting this to 1.x

> Import of package javax.xml.bind.annotation.adapters
> ----------------------------------------------------
>
>                 Key: CAMEL-2204
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2204
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.0.0
>         Environment: Java 5, Apache Karaf 1.0
>            Reporter: Markus Wolf
>            Assignee: Willem Jiang
>             Fix For: 2.1.0
>
>
> Since the package 'javax.xml.bind.annotation.adapters' is missing from the imports on camel-core we could not deploy our bundles on karaf.
> On Java 6 this is no problem, since the package is bootdelegated anyway since its included in the JVM.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-2204) Import of package javax.xml.bind.annotation.adapters

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55594#action_55594 ] 

Claus Ibsen commented on CAMEL-2204:
------------------------------------

And you have tried with latest code from trunk?

And have the server totally restarted, eg. stop it completely and then use the 2.1-SNAPSHOT jars instead of 2.0

> Import of package javax.xml.bind.annotation.adapters
> ----------------------------------------------------
>
>                 Key: CAMEL-2204
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2204
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.0.0
>         Environment: Java 5, Apache Karaf 1.0
>            Reporter: Markus Wolf
>
> Since the package 'javax.xml.bind.annotation.adapters' is missing from the imports on camel-core we could not deploy our bundles on karaf.
> On Java 6 this is no problem, since the package is bootdelegated anyway since its included in the JVM.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (CAMEL-2204) Import of package javax.xml.bind.annotation.adapters

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-2204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang reassigned CAMEL-2204:
-----------------------------------

    Assignee: Willem Jiang

> Import of package javax.xml.bind.annotation.adapters
> ----------------------------------------------------
>
>                 Key: CAMEL-2204
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2204
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.0.0
>         Environment: Java 5, Apache Karaf 1.0
>            Reporter: Markus Wolf
>            Assignee: Willem Jiang
>
> Since the package 'javax.xml.bind.annotation.adapters' is missing from the imports on camel-core we could not deploy our bundles on karaf.
> On Java 6 this is no problem, since the package is bootdelegated anyway since its included in the JVM.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-2204) Import of package javax.xml.bind.annotation.adapters

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55634#action_55634 ] 

Willem Jiang commented on CAMEL-2204:
-------------------------------------

trunk http://svn.apache.org/viewvc?rev=882575&view=rev

Will merge this fix back to camel 1.x if it don't break anything next week :)

> Import of package javax.xml.bind.annotation.adapters
> ----------------------------------------------------
>
>                 Key: CAMEL-2204
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2204
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.0.0
>         Environment: Java 5, Apache Karaf 1.0
>            Reporter: Markus Wolf
>            Assignee: Willem Jiang
>             Fix For: 2.1.0
>
>
> Since the package 'javax.xml.bind.annotation.adapters' is missing from the imports on camel-core we could not deploy our bundles on karaf.
> On Java 6 this is no problem, since the package is bootdelegated anyway since its included in the JVM.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-2204) Import of package javax.xml.bind.annotation.adapters

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55596#action_55596 ] 

Willem Jiang commented on CAMEL-2204:
-------------------------------------

We exclude the importation of javax.xml.bind.annotation.adapters long time ago, I can't recall why we do this.
It's time to clean it up.



> Import of package javax.xml.bind.annotation.adapters
> ----------------------------------------------------
>
>                 Key: CAMEL-2204
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2204
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.0.0
>         Environment: Java 5, Apache Karaf 1.0
>            Reporter: Markus Wolf
>            Assignee: Willem Jiang
>
> Since the package 'javax.xml.bind.annotation.adapters' is missing from the imports on camel-core we could not deploy our bundles on karaf.
> On Java 6 this is no problem, since the package is bootdelegated anyway since its included in the JVM.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CAMEL-2204) Import of package javax.xml.bind.annotation.adapters

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-2204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-2204:
-------------------------------

    Fix Version/s: 2.1.0

> Import of package javax.xml.bind.annotation.adapters
> ----------------------------------------------------
>
>                 Key: CAMEL-2204
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2204
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.0.0
>         Environment: Java 5, Apache Karaf 1.0
>            Reporter: Markus Wolf
>            Assignee: Willem Jiang
>             Fix For: 2.1.0
>
>
> Since the package 'javax.xml.bind.annotation.adapters' is missing from the imports on camel-core we could not deploy our bundles on karaf.
> On Java 6 this is no problem, since the package is bootdelegated anyway since its included in the JVM.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-2204) Import of package javax.xml.bind.annotation.adapters

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55626#action_55626 ] 

Claus Ibsen commented on CAMEL-2204:
------------------------------------

Willem whats the status of this?

> Import of package javax.xml.bind.annotation.adapters
> ----------------------------------------------------
>
>                 Key: CAMEL-2204
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2204
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.0.0
>         Environment: Java 5, Apache Karaf 1.0
>            Reporter: Markus Wolf
>            Assignee: Willem Jiang
>             Fix For: 2.1.0
>
>
> Since the package 'javax.xml.bind.annotation.adapters' is missing from the imports on camel-core we could not deploy our bundles on karaf.
> On Java 6 this is no problem, since the package is bootdelegated anyway since its included in the JVM.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.