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/09/09 16:08:08 UTC

[jira] [Created] (CAMEL-4432) camel-example-spring-ws - missing jaxb.index files in distribution

camel-example-spring-ws - missing jaxb.index files in distribution
------------------------------------------------------------------

                 Key: CAMEL-4432
                 URL: https://issues.apache.org/jira/browse/CAMEL-4432
             Project: Camel
          Issue Type: Task
          Components: examples
    Affects Versions: 2.8.0, 2.8.1
            Reporter: Claus Ibsen
            Priority: Minor
             Fix For: 2.9.0


The follow file is missing in the dist
 src/main/resources/org/apache/camel/example/server/model/jaxb.index

It should be included.

Because the file is missing, it cases the example to not work.

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

        

[jira] [Commented] (CAMEL-4432) camel-example-spring-ws - missing jaxb.index files in distribution

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

Claus Ibsen commented on CAMEL-4432:
------------------------------------

Well spotted Babak.

The exclude is for IDEA project files and it should be *.i?? instead.
Fell free to work on a patch if you have a sec for that.

> camel-example-spring-ws - missing jaxb.index files in distribution
> ------------------------------------------------------------------
>
>                 Key: CAMEL-4432
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4432
>             Project: Camel
>          Issue Type: Task
>          Components: examples
>    Affects Versions: 2.8.0, 2.8.1
>            Reporter: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.9.0
>
>
> The follow file is missing in the dist
>  src/main/resources/org/apache/camel/example/server/model/jaxb.index
> It should be included.
> Because the file is missing, it cases the example to not work.

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

        

[jira] [Updated] (CAMEL-4432) camel-example-spring-ws - missing jaxb.index files in distribution

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

Babak Vahdat updated CAMEL-4432:
--------------------------------

    Attachment: CAMEL-4432..patch

> camel-example-spring-ws - missing jaxb.index files in distribution
> ------------------------------------------------------------------
>
>                 Key: CAMEL-4432
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4432
>             Project: Camel
>          Issue Type: Task
>          Components: examples
>    Affects Versions: 2.8.0, 2.8.1
>            Reporter: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.9.0
>
>         Attachments: CAMEL-4432..patch
>
>
> The follow file is missing in the dist
>  src/main/resources/org/apache/camel/example/server/model/jaxb.index
> It should be included.
> Because the file is missing, it cases the example to not work.

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

        

[jira] [Resolved] (CAMEL-4432) camel-example-spring-ws - missing jaxb.index files in distribution

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

Claus Ibsen resolved CAMEL-4432.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.8.2

Thanks for the patch.

> camel-example-spring-ws - missing jaxb.index files in distribution
> ------------------------------------------------------------------
>
>                 Key: CAMEL-4432
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4432
>             Project: Camel
>          Issue Type: Task
>          Components: examples
>    Affects Versions: 2.8.0, 2.8.1
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.8.2, 2.9.0
>
>         Attachments: CAMEL-4432..patch
>
>
> The follow file is missing in the dist
>  src/main/resources/org/apache/camel/example/server/model/jaxb.index
> It should be included.
> Because the file is missing, it cases the example to not work.

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

        

[jira] [Assigned] (CAMEL-4432) camel-example-spring-ws - missing jaxb.index files in distribution

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

Claus Ibsen reassigned CAMEL-4432:
----------------------------------

    Assignee: Claus Ibsen

> camel-example-spring-ws - missing jaxb.index files in distribution
> ------------------------------------------------------------------
>
>                 Key: CAMEL-4432
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4432
>             Project: Camel
>          Issue Type: Task
>          Components: examples
>    Affects Versions: 2.8.0, 2.8.1
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.9.0
>
>         Attachments: CAMEL-4432..patch
>
>
> The follow file is missing in the dist
>  src/main/resources/org/apache/camel/example/server/model/jaxb.index
> It should be included.
> Because the file is missing, it cases the example to not work.

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

        

[jira] [Commented] (CAMEL-4432) camel-example-spring-ws - missing jaxb.index files in distribution

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

Babak Vahdat commented on CAMEL-4432:
-------------------------------------

patch attached.

> camel-example-spring-ws - missing jaxb.index files in distribution
> ------------------------------------------------------------------
>
>                 Key: CAMEL-4432
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4432
>             Project: Camel
>          Issue Type: Task
>          Components: examples
>    Affects Versions: 2.8.0, 2.8.1
>            Reporter: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.9.0
>
>         Attachments: CAMEL-4432..patch
>
>
> The follow file is missing in the dist
>  src/main/resources/org/apache/camel/example/server/model/jaxb.index
> It should be included.
> Because the file is missing, it cases the example to not work.

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

        

[jira] [Commented] (CAMEL-4432) camel-example-spring-ws - missing jaxb.index files in distribution

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

Babak Vahdat commented on CAMEL-4432:
-------------------------------------

@Claus,

I saw your comments [1] and gave a try on the distribution myself, and indeed running the example, one ends up with the following exception

{code}
...
...
Caused by:
javax.xml.bind.JAXBException: "org.apache.camel.example.server.model" doesnt contain ObjectFactory.class or jaxb.index
        at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:197)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:128)
        at javax.xml.bind.ContextFinder.find(ContextFinder.java:277)
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:372)
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:337)
        at org.apache.camel.converter.jaxb.JaxbDataFormat.createContext(JaxbDataFormat.java:284)
{code}

IMHO the cause of the problem is the following line

{code}
<exclude>**/*.i*</exclude>
{code}

in [2] & [3]

[1] http://camel.465427.n5.nabble.com/VOTE-Release-Apache-Camel-2-8-1-tp4775694p4785699.html
[2] https://svn.apache.org/repos/asf/camel/trunk/apache-camel/src/main/descriptors/unix-bin.xml
[3] https://svn.apache.org/repos/asf/camel/trunk/apache-camel/src/main/descriptors/windows-bin.xml


> camel-example-spring-ws - missing jaxb.index files in distribution
> ------------------------------------------------------------------
>
>                 Key: CAMEL-4432
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4432
>             Project: Camel
>          Issue Type: Task
>          Components: examples
>    Affects Versions: 2.8.0, 2.8.1
>            Reporter: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.9.0
>
>
> The follow file is missing in the dist
>  src/main/resources/org/apache/camel/example/server/model/jaxb.index
> It should be included.
> Because the file is missing, it cases the example to not work.

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