You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2011/07/13 12:02:59 UTC

[jira] [Created] (CAMEL-4220) Add jaxb.index file to camel-example-spring-ws to avoid issues on some systems not capable of doing JAXB marshalling

Add jaxb.index file to camel-example-spring-ws to avoid issues on some systems not capable of doing JAXB marshalling
--------------------------------------------------------------------------------------------------------------------

                 Key: CAMEL-4220
                 URL: https://issues.apache.org/jira/browse/CAMEL-4220
             Project: Camel
          Issue Type: Improvement
          Components: tests
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
            Priority: Minor
             Fix For: 2.8.0


You may end up in situations where the example cannot start throwing exceptions

[ main] MessageDispatcherServlet ERROR Context initialization failed
org.apache.camel.RuntimeCamelException: javax.xml.bind.JAXBException: "org.apache.camel.example.server.model" doesnt contain ObjectFactory.class or jaxb.index

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-4220) Add jaxb.index file to camel-example-spring-ws to avoid issues on some systems not capable of doing JAXB marshalling

Posted by "Babak Vahdat (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13064510#comment-13064510 ] 

Babak Vahdat commented on CAMEL-4220:
-------------------------------------

Hmmm, it's really odd, as jaxb.index was/is already there where it should be [1], namely correctly under the resources directory, compatible with the maven's standard layout!

To my understanding it's a jetty-plugin issue (jetty:run) which apparently doesn't setup the classpath correctly... However I didn't really dig into it.

[1] https://svn.apache.org/repos/asf/camel/trunk/examples/camel-example-spring-ws/src/main/resources/org/apache/camel/example/server/model/jaxb.index

Regards, Babak

> Add jaxb.index file to camel-example-spring-ws to avoid issues on some systems not capable of doing JAXB marshalling
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-4220
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4220
>             Project: Camel
>          Issue Type: Improvement
>          Components: tests
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.8.0
>
>
> You may end up in situations where the example cannot start throwing exceptions
> [ main] MessageDispatcherServlet ERROR Context initialization failed
> org.apache.camel.RuntimeCamelException: javax.xml.bind.JAXBException: "org.apache.camel.example.server.model" doesnt contain ObjectFactory.class or jaxb.index

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-4220) Add jaxb.index file to camel-example-spring-ws to avoid issues on some systems not capable of doing JAXB marshalling

Posted by "Babak Vahdat (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13064566#comment-13064566 ] 

Babak Vahdat commented on CAMEL-4220:
-------------------------------------

Claus,

thanks for the fix however the last piece of the puzzle is still missing, that is https://svn.apache.org/repos/asf/camel/trunk/examples/pom.xml, that's it should be changed to
...
    <module>camel-example-loadbalancing</module>
...
    <module>camel-example-reportincident-wssecurity</module>
...

As here maven goes searching for the directory names by the module tag and NOT the artifactId's...And as a result the maven build is currently failing on the trunk. Sorry if I was the cause of any irritation :-(


> Add jaxb.index file to camel-example-spring-ws to avoid issues on some systems not capable of doing JAXB marshalling
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-4220
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4220
>             Project: Camel
>          Issue Type: Improvement
>          Components: tests
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.8.0
>
>
> You may end up in situations where the example cannot start throwing exceptions
> [ main] MessageDispatcherServlet ERROR Context initialization failed
> org.apache.camel.RuntimeCamelException: javax.xml.bind.JAXBException: "org.apache.camel.example.server.model" doesnt contain ObjectFactory.class or jaxb.index

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CAMEL-4220) Add jaxb.index file to camel-example-spring-ws to avoid issues on some systems not capable of doing JAXB marshalling

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

Claus Ibsen resolved CAMEL-4220.
--------------------------------

    Resolution: Fixed

> Add jaxb.index file to camel-example-spring-ws to avoid issues on some systems not capable of doing JAXB marshalling
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-4220
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4220
>             Project: Camel
>          Issue Type: Improvement
>          Components: tests
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.8.0
>
>
> You may end up in situations where the example cannot start throwing exceptions
> [ main] MessageDispatcherServlet ERROR Context initialization failed
> org.apache.camel.RuntimeCamelException: javax.xml.bind.JAXBException: "org.apache.camel.example.server.model" doesnt contain ObjectFactory.class or jaxb.index

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-4220) Add jaxb.index file to camel-example-spring-ws to avoid issues on some systems not capable of doing JAXB marshalling

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

Claus Ibsen commented on CAMEL-4220:
------------------------------------

Ah Babak thanks for pointing out. Indeed the file is there. Let me revert.

> Add jaxb.index file to camel-example-spring-ws to avoid issues on some systems not capable of doing JAXB marshalling
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-4220
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4220
>             Project: Camel
>          Issue Type: Improvement
>          Components: tests
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.8.0
>
>
> You may end up in situations where the example cannot start throwing exceptions
> [ main] MessageDispatcherServlet ERROR Context initialization failed
> org.apache.camel.RuntimeCamelException: javax.xml.bind.JAXBException: "org.apache.camel.example.server.model" doesnt contain ObjectFactory.class or jaxb.index

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-4220) Add jaxb.index file to camel-example-spring-ws to avoid issues on some systems not capable of doing JAXB marshalling

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

Claus Ibsen commented on CAMEL-4220:
------------------------------------

Thanks again I will get that fixed as well

> Add jaxb.index file to camel-example-spring-ws to avoid issues on some systems not capable of doing JAXB marshalling
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-4220
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4220
>             Project: Camel
>          Issue Type: Improvement
>          Components: tests
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.8.0
>
>
> You may end up in situations where the example cannot start throwing exceptions
> [ main] MessageDispatcherServlet ERROR Context initialization failed
> org.apache.camel.RuntimeCamelException: javax.xml.bind.JAXBException: "org.apache.camel.example.server.model" doesnt contain ObjectFactory.class or jaxb.index

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CAMEL-4220) Add jaxb.index file to camel-example-spring-ws to avoid issues on some systems not capable of doing JAXB marshalling

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

Claus Ibsen resolved CAMEL-4220.
--------------------------------

    Resolution: Not A Problem

> Add jaxb.index file to camel-example-spring-ws to avoid issues on some systems not capable of doing JAXB marshalling
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-4220
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4220
>             Project: Camel
>          Issue Type: Improvement
>          Components: tests
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.8.0
>
>
> You may end up in situations where the example cannot start throwing exceptions
> [ main] MessageDispatcherServlet ERROR Context initialization failed
> org.apache.camel.RuntimeCamelException: javax.xml.bind.JAXBException: "org.apache.camel.example.server.model" doesnt contain ObjectFactory.class or jaxb.index

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-4220) Add jaxb.index file to camel-example-spring-ws to avoid issues on some systems not capable of doing JAXB marshalling

Posted by "Babak Vahdat (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13064528#comment-13064528 ] 

Babak Vahdat commented on CAMEL-4220:
-------------------------------------

Hi Claus,

you've done a complete cleanup & quality-check on all example's README.txt today which is really precious. I really appreciate that!

In this context I've also realized that there're two examples where the maven's artifactId doesn't match with the directory name of the given example (in contrast to the rest of the examples).

But I also don't know if you would find it meaningful to fix that as well. Either in pom.xml (which would be the better approach I think) or by renaming of the given example's directory. For any case following the two examples directory names:

camel-example-loadbalancing-mina
camel-example-reportincident-ws-security-osgi

Regards, Babak



> Add jaxb.index file to camel-example-spring-ws to avoid issues on some systems not capable of doing JAXB marshalling
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-4220
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4220
>             Project: Camel
>          Issue Type: Improvement
>          Components: tests
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.8.0
>
>
> You may end up in situations where the example cannot start throwing exceptions
> [ main] MessageDispatcherServlet ERROR Context initialization failed
> org.apache.camel.RuntimeCamelException: javax.xml.bind.JAXBException: "org.apache.camel.example.server.model" doesnt contain ObjectFactory.class or jaxb.index

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Reopened] (CAMEL-4220) Add jaxb.index file to camel-example-spring-ws to avoid issues on some systems not capable of doing JAXB marshalling

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

Claus Ibsen reopened CAMEL-4220:
--------------------------------


> Add jaxb.index file to camel-example-spring-ws to avoid issues on some systems not capable of doing JAXB marshalling
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-4220
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4220
>             Project: Camel
>          Issue Type: Improvement
>          Components: tests
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.8.0
>
>
> You may end up in situations where the example cannot start throwing exceptions
> [ main] MessageDispatcherServlet ERROR Context initialization failed
> org.apache.camel.RuntimeCamelException: javax.xml.bind.JAXBException: "org.apache.camel.example.server.model" doesnt contain ObjectFactory.class or jaxb.index

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-4220) Add jaxb.index file to camel-example-spring-ws to avoid issues on some systems not capable of doing JAXB marshalling

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

Claus Ibsen commented on CAMEL-4220:
------------------------------------

Thanks again I will get that fixed as well

> Add jaxb.index file to camel-example-spring-ws to avoid issues on some systems not capable of doing JAXB marshalling
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-4220
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4220
>             Project: Camel
>          Issue Type: Improvement
>          Components: tests
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.8.0
>
>
> You may end up in situations where the example cannot start throwing exceptions
> [ main] MessageDispatcherServlet ERROR Context initialization failed
> org.apache.camel.RuntimeCamelException: javax.xml.bind.JAXBException: "org.apache.camel.example.server.model" doesnt contain ObjectFactory.class or jaxb.index

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-4220) Add jaxb.index file to camel-example-spring-ws to avoid issues on some systems not capable of doing JAXB marshalling

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

Claus Ibsen commented on CAMEL-4220:
------------------------------------

Thanks for reporting. I have renamed the directories. This keeps the name in the pom.xml, and thus also the name in the maven repo.

Some of the examples is published in central maven
http://repo2.maven.org/maven2/org/apache/camel/

> Add jaxb.index file to camel-example-spring-ws to avoid issues on some systems not capable of doing JAXB marshalling
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-4220
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4220
>             Project: Camel
>          Issue Type: Improvement
>          Components: tests
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.8.0
>
>
> You may end up in situations where the example cannot start throwing exceptions
> [ main] MessageDispatcherServlet ERROR Context initialization failed
> org.apache.camel.RuntimeCamelException: javax.xml.bind.JAXBException: "org.apache.camel.example.server.model" doesnt contain ObjectFactory.class or jaxb.index

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira