You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "christian ruffy (JIRA)" <ji...@apache.org> on 2011/03/31 17:58:05 UTC

[jira] [Created] (CAMEL-3825) Camel-Joss jar does not work with JBoss 6.0.0 final due to NoClassDefFoundError VirtualFileVisitor

Camel-Joss jar does not work with JBoss 6.0.0 final due to NoClassDefFoundError VirtualFileVisitor
--------------------------------------------------------------------------------------------------

                 Key: CAMEL-3825
                 URL: https://issues.apache.org/jira/browse/CAMEL-3825
             Project: Camel
          Issue Type: Bug
    Affects Versions: 2.7.0, 2.6.0, 2.1.0
         Environment: Jboss 6.0.0, camel version from 2.1 up to 7 have been tried
            Reporter: christian ruffy


We are trying to run camel on jboss, after getting through the intial type loader problems we have tried the camel-joss loader but it is loading a class in jboss called VirtualFileVisitor - Jboss has now moved this class to org.jbos.vfs.VirtualFileVisitor

Error creating bean with name 'jbossresolver' defined in ServletContext resource [/WEB-INF/application-context.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: 
org/jboss/virtual/VirtualFileVisitor

the example shown here doesnt work for this reason

http://camel.apache.org/pluggable-class-resolvers.html



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

[jira] [Updated] (CAMEL-3825) Camel-Joss jar does not work with JBoss 6.0.0 final due to NoClassDefFoundError VirtualFileVisitor

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

Frank Schwarz updated CAMEL-3825:
---------------------------------

    Attachment:     (was: JBossPackageScanClassResolver.java)

> Camel-Joss jar does not work with JBoss 6.0.0 final due to NoClassDefFoundError VirtualFileVisitor
> --------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3825
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3825
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 2.1.0, 2.6.0, 2.7.0
>         Environment: Jboss 6.0.0, camel version from 2.1 up to 7 have been tried
>            Reporter: christian ruffy
>         Attachments: JBossPackageScanClassResolver.java
>
>
> We are trying to run camel on jboss, after getting through the intial type loader problems we have tried the camel-joss loader but it is loading a class in jboss called VirtualFileVisitor - Jboss has now moved this class to org.jbos.vfs.VirtualFileVisitor
> Error creating bean with name 'jbossresolver' defined in ServletContext resource [/WEB-INF/application-context.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: 
> org/jboss/virtual/VirtualFileVisitor
> the example shown here doesnt work for this reason
> http://camel.apache.org/pluggable-class-resolvers.html

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

[jira] [Commented] (CAMEL-3825) Camel-Joss jar does not work with JBoss 6.0.0 final due to NoClassDefFoundError VirtualFileVisitor

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

Claus Ibsen commented on CAMEL-3825:
------------------------------------

Okay I found JVF 3.0.0.GA JAR in a JBoss repo.

> Camel-Joss jar does not work with JBoss 6.0.0 final due to NoClassDefFoundError VirtualFileVisitor
> --------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3825
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3825
>             Project: Camel
>          Issue Type: Improvement
>    Affects Versions: 2.6.0, 2.7.0
>         Environment: Jboss 6.0.0, camel version from 2.1 up to 7 have been tried
>            Reporter: christian ruffy
>             Fix For: 2.8.0
>
>         Attachments: JBossPackageScanClassResolver.java
>
>
> We are trying to run camel on jboss, after getting through the intial type loader problems we have tried the camel-joss loader but it is loading a class in jboss called VirtualFileVisitor - Jboss has now moved this class to org.jbos.vfs.VirtualFileVisitor
> Error creating bean with name 'jbossresolver' defined in ServletContext resource [/WEB-INF/application-context.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: 
> org/jboss/virtual/VirtualFileVisitor
> the example shown here doesnt work for this reason
> http://camel.apache.org/pluggable-class-resolvers.html

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

[jira] [Updated] (CAMEL-3825) Camel-Joss jar does not work with JBoss 6.0.0 final due to NoClassDefFoundError VirtualFileVisitor

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

Claus Ibsen updated CAMEL-3825:
-------------------------------

    Affects Version/s:     (was: 2.1.0)
        Fix Version/s: 2.8.0
           Issue Type: Improvement  (was: Bug)

> Camel-Joss jar does not work with JBoss 6.0.0 final due to NoClassDefFoundError VirtualFileVisitor
> --------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3825
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3825
>             Project: Camel
>          Issue Type: Improvement
>    Affects Versions: 2.6.0, 2.7.0
>         Environment: Jboss 6.0.0, camel version from 2.1 up to 7 have been tried
>            Reporter: christian ruffy
>             Fix For: 2.8.0
>
>         Attachments: JBossPackageScanClassResolver.java
>
>
> We are trying to run camel on jboss, after getting through the intial type loader problems we have tried the camel-joss loader but it is loading a class in jboss called VirtualFileVisitor - Jboss has now moved this class to org.jbos.vfs.VirtualFileVisitor
> Error creating bean with name 'jbossresolver' defined in ServletContext resource [/WEB-INF/application-context.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: 
> org/jboss/virtual/VirtualFileVisitor
> the example shown here doesnt work for this reason
> http://camel.apache.org/pluggable-class-resolvers.html

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

[jira] [Commented] (CAMEL-3825) Camel-Joss jar does not work with JBoss 6.0.0 final due to NoClassDefFoundError VirtualFileVisitor

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

Claus Ibsen commented on CAMEL-3825:
------------------------------------

Thanks Frank. We will get that into camel-extra so we have a jboss5 and jboss6 component for ppl to use.

> Camel-Joss jar does not work with JBoss 6.0.0 final due to NoClassDefFoundError VirtualFileVisitor
> --------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3825
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3825
>             Project: Camel
>          Issue Type: Improvement
>    Affects Versions: 2.6.0, 2.7.0
>         Environment: Jboss 6.0.0, camel version from 2.1 up to 7 have been tried
>            Reporter: christian ruffy
>             Fix For: 2.8.0
>
>         Attachments: JBossPackageScanClassResolver.java
>
>
> We are trying to run camel on jboss, after getting through the intial type loader problems we have tried the camel-joss loader but it is loading a class in jboss called VirtualFileVisitor - Jboss has now moved this class to org.jbos.vfs.VirtualFileVisitor
> Error creating bean with name 'jbossresolver' defined in ServletContext resource [/WEB-INF/application-context.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: 
> org/jboss/virtual/VirtualFileVisitor
> the example shown here doesnt work for this reason
> http://camel.apache.org/pluggable-class-resolvers.html

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

[jira] [Updated] (CAMEL-3825) Camel-Joss jar does not work with JBoss 6.0.0 final due to NoClassDefFoundError VirtualFileVisitor

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

Claus Ibsen updated CAMEL-3825:
-------------------------------

    Attachment:     (was: camel-jboss6-2.8-SNAPSHOT.jar)

> Camel-Joss jar does not work with JBoss 6.0.0 final due to NoClassDefFoundError VirtualFileVisitor
> --------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3825
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3825
>             Project: Camel
>          Issue Type: Improvement
>    Affects Versions: 2.6.0, 2.7.0
>         Environment: Jboss 6.0.0, camel version from 2.1 up to 7 have been tried
>            Reporter: christian ruffy
>            Assignee: Claus Ibsen
>             Fix For: 2.8.0
>
>         Attachments: JBossPackageScanClassResolver.java, camel-jboss6-2.8-SNAPSHOT.jar
>
>
> We are trying to run camel on jboss, after getting through the intial type loader problems we have tried the camel-joss loader but it is loading a class in jboss called VirtualFileVisitor - Jboss has now moved this class to org.jbos.vfs.VirtualFileVisitor
> Error creating bean with name 'jbossresolver' defined in ServletContext resource [/WEB-INF/application-context.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: 
> org/jboss/virtual/VirtualFileVisitor
> the example shown here doesnt work for this reason
> http://camel.apache.org/pluggable-class-resolvers.html

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

[jira] [Commented] (CAMEL-3825) Camel-Joss jar does not work with JBoss 6.0.0 final due to NoClassDefFoundError VirtualFileVisitor

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

Claus Ibsen commented on CAMEL-3825:
------------------------------------

I have attached an updated file.

The package name has changed due Apache moved the camel-extra project and we cannot use org.apache in the packagename.

The new packagename is: 
{{org.apachextras.camel.jboss}}



> Camel-Joss jar does not work with JBoss 6.0.0 final due to NoClassDefFoundError VirtualFileVisitor
> --------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3825
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3825
>             Project: Camel
>          Issue Type: Improvement
>    Affects Versions: 2.6.0, 2.7.0
>         Environment: Jboss 6.0.0, camel version from 2.1 up to 7 have been tried
>            Reporter: christian ruffy
>            Assignee: Claus Ibsen
>             Fix For: 2.8.0
>
>         Attachments: JBossPackageScanClassResolver.java, camel-jboss6-2.8-SNAPSHOT.jar
>
>
> We are trying to run camel on jboss, after getting through the intial type loader problems we have tried the camel-joss loader but it is loading a class in jboss called VirtualFileVisitor - Jboss has now moved this class to org.jbos.vfs.VirtualFileVisitor
> Error creating bean with name 'jbossresolver' defined in ServletContext resource [/WEB-INF/application-context.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: 
> org/jboss/virtual/VirtualFileVisitor
> the example shown here doesnt work for this reason
> http://camel.apache.org/pluggable-class-resolvers.html

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

[jira] [Updated] (CAMEL-3825) Camel-Joss jar does not work with JBoss 6.0.0 final due to NoClassDefFoundError VirtualFileVisitor

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

Frank Schwarz updated CAMEL-3825:
---------------------------------

    Attachment: JBossPackageScanClassResolver.java

Second try with correct log level.

> Camel-Joss jar does not work with JBoss 6.0.0 final due to NoClassDefFoundError VirtualFileVisitor
> --------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3825
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3825
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 2.1.0, 2.6.0, 2.7.0
>         Environment: Jboss 6.0.0, camel version from 2.1 up to 7 have been tried
>            Reporter: christian ruffy
>         Attachments: JBossPackageScanClassResolver.java
>
>
> We are trying to run camel on jboss, after getting through the intial type loader problems we have tried the camel-joss loader but it is loading a class in jboss called VirtualFileVisitor - Jboss has now moved this class to org.jbos.vfs.VirtualFileVisitor
> Error creating bean with name 'jbossresolver' defined in ServletContext resource [/WEB-INF/application-context.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: 
> org/jboss/virtual/VirtualFileVisitor
> the example shown here doesnt work for this reason
> http://camel.apache.org/pluggable-class-resolvers.html

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

[jira] [Commented] (CAMEL-3825) Camel-Joss jar does not work with JBoss 6.0.0 final due to NoClassDefFoundError VirtualFileVisitor

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

Claus Ibsen commented on CAMEL-3825:
------------------------------------

Ah that's great. Thanks a lot. I will update the wiki page about the packagename change.

> Camel-Joss jar does not work with JBoss 6.0.0 final due to NoClassDefFoundError VirtualFileVisitor
> --------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3825
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3825
>             Project: Camel
>          Issue Type: Improvement
>    Affects Versions: 2.6.0, 2.7.0
>         Environment: Jboss 6.0.0, camel version from 2.1 up to 7 have been tried
>            Reporter: christian ruffy
>            Assignee: Claus Ibsen
>             Fix For: 2.8.0
>
>         Attachments: JBossPackageScanClassResolver.java, camel-jboss6-2.8-SNAPSHOT.jar
>
>
> We are trying to run camel on jboss, after getting through the intial type loader problems we have tried the camel-joss loader but it is loading a class in jboss called VirtualFileVisitor - Jboss has now moved this class to org.jbos.vfs.VirtualFileVisitor
> Error creating bean with name 'jbossresolver' defined in ServletContext resource [/WEB-INF/application-context.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: 
> org/jboss/virtual/VirtualFileVisitor
> the example shown here doesnt work for this reason
> http://camel.apache.org/pluggable-class-resolvers.html

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

[jira] [Commented] (CAMEL-3825) Camel-Joss jar does not work with JBoss 6.0.0 final due to NoClassDefFoundError VirtualFileVisitor

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

Maximilien Wiktorowski commented on CAMEL-3825:
-----------------------------------------------

i'v just tried the file attached and it works for me

> Camel-Joss jar does not work with JBoss 6.0.0 final due to NoClassDefFoundError VirtualFileVisitor
> --------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3825
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3825
>             Project: Camel
>          Issue Type: Improvement
>    Affects Versions: 2.6.0, 2.7.0
>         Environment: Jboss 6.0.0, camel version from 2.1 up to 7 have been tried
>            Reporter: christian ruffy
>            Assignee: Claus Ibsen
>             Fix For: 2.8.0
>
>         Attachments: JBossPackageScanClassResolver.java, camel-jboss6-2.8-SNAPSHOT.jar
>
>
> We are trying to run camel on jboss, after getting through the intial type loader problems we have tried the camel-joss loader but it is loading a class in jboss called VirtualFileVisitor - Jboss has now moved this class to org.jbos.vfs.VirtualFileVisitor
> Error creating bean with name 'jbossresolver' defined in ServletContext resource [/WEB-INF/application-context.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: 
> org/jboss/virtual/VirtualFileVisitor
> the example shown here doesnt work for this reason
> http://camel.apache.org/pluggable-class-resolvers.html

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

[jira] [Assigned] (CAMEL-3825) Camel-Joss jar does not work with JBoss 6.0.0 final due to NoClassDefFoundError VirtualFileVisitor

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

Claus Ibsen reassigned CAMEL-3825:
----------------------------------

    Assignee: Claus Ibsen

> Camel-Joss jar does not work with JBoss 6.0.0 final due to NoClassDefFoundError VirtualFileVisitor
> --------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3825
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3825
>             Project: Camel
>          Issue Type: Improvement
>    Affects Versions: 2.6.0, 2.7.0
>         Environment: Jboss 6.0.0, camel version from 2.1 up to 7 have been tried
>            Reporter: christian ruffy
>            Assignee: Claus Ibsen
>             Fix For: 2.8.0
>
>         Attachments: JBossPackageScanClassResolver.java, camel-jboss6-2.8-SNAPSHOT.jar
>
>
> We are trying to run camel on jboss, after getting through the intial type loader problems we have tried the camel-joss loader but it is loading a class in jboss called VirtualFileVisitor - Jboss has now moved this class to org.jbos.vfs.VirtualFileVisitor
> Error creating bean with name 'jbossresolver' defined in ServletContext resource [/WEB-INF/application-context.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: 
> org/jboss/virtual/VirtualFileVisitor
> the example shown here doesnt work for this reason
> http://camel.apache.org/pluggable-class-resolvers.html

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

[jira] [Updated] (CAMEL-3825) Camel-Joss jar does not work with JBoss 6.0.0 final due to NoClassDefFoundError VirtualFileVisitor

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

Claus Ibsen updated CAMEL-3825:
-------------------------------

    Attachment: camel-jboss6-2.8-SNAPSHOT.jar

> Camel-Joss jar does not work with JBoss 6.0.0 final due to NoClassDefFoundError VirtualFileVisitor
> --------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3825
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3825
>             Project: Camel
>          Issue Type: Improvement
>    Affects Versions: 2.6.0, 2.7.0
>         Environment: Jboss 6.0.0, camel version from 2.1 up to 7 have been tried
>            Reporter: christian ruffy
>            Assignee: Claus Ibsen
>             Fix For: 2.8.0
>
>         Attachments: JBossPackageScanClassResolver.java, camel-jboss6-2.8-SNAPSHOT.jar
>
>
> We are trying to run camel on jboss, after getting through the intial type loader problems we have tried the camel-joss loader but it is loading a class in jboss called VirtualFileVisitor - Jboss has now moved this class to org.jbos.vfs.VirtualFileVisitor
> Error creating bean with name 'jbossresolver' defined in ServletContext resource [/WEB-INF/application-context.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: 
> org/jboss/virtual/VirtualFileVisitor
> the example shown here doesnt work for this reason
> http://camel.apache.org/pluggable-class-resolvers.html

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

[jira] [Resolved] (CAMEL-3825) Camel-Joss jar does not work with JBoss 6.0.0 final due to NoClassDefFoundError VirtualFileVisitor

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

Claus Ibsen resolved CAMEL-3825.
--------------------------------

    Resolution: Fixed

Thanks for the patches and helping out testing and whatnot.

I have updated the wiki page. Notice the package name change of the class resolver.

> Camel-Joss jar does not work with JBoss 6.0.0 final due to NoClassDefFoundError VirtualFileVisitor
> --------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3825
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3825
>             Project: Camel
>          Issue Type: Improvement
>    Affects Versions: 2.6.0, 2.7.0
>         Environment: Jboss 6.0.0, camel version from 2.1 up to 7 have been tried
>            Reporter: christian ruffy
>            Assignee: Claus Ibsen
>             Fix For: 2.8.0
>
>         Attachments: JBossPackageScanClassResolver.java, camel-jboss6-2.8-SNAPSHOT.jar
>
>
> We are trying to run camel on jboss, after getting through the intial type loader problems we have tried the camel-joss loader but it is loading a class in jboss called VirtualFileVisitor - Jboss has now moved this class to org.jbos.vfs.VirtualFileVisitor
> Error creating bean with name 'jbossresolver' defined in ServletContext resource [/WEB-INF/application-context.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: 
> org/jboss/virtual/VirtualFileVisitor
> the example shown here doesnt work for this reason
> http://camel.apache.org/pluggable-class-resolvers.html

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

[jira] [Updated] (CAMEL-3825) Camel-Joss jar does not work with JBoss 6.0.0 final due to NoClassDefFoundError VirtualFileVisitor

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

Frank Schwarz updated CAMEL-3825:
---------------------------------

    Attachment: JBossPackageScanClassResolver.java

This is the PackageScanClassResolver I use for JBoss AS 6.0.0.

> Camel-Joss jar does not work with JBoss 6.0.0 final due to NoClassDefFoundError VirtualFileVisitor
> --------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3825
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3825
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 2.1.0, 2.6.0, 2.7.0
>         Environment: Jboss 6.0.0, camel version from 2.1 up to 7 have been tried
>            Reporter: christian ruffy
>         Attachments: JBossPackageScanClassResolver.java
>
>
> We are trying to run camel on jboss, after getting through the intial type loader problems we have tried the camel-joss loader but it is loading a class in jboss called VirtualFileVisitor - Jboss has now moved this class to org.jbos.vfs.VirtualFileVisitor
> Error creating bean with name 'jbossresolver' defined in ServletContext resource [/WEB-INF/application-context.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: 
> org/jboss/virtual/VirtualFileVisitor
> the example shown here doesnt work for this reason
> http://camel.apache.org/pluggable-class-resolvers.html

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

[jira] [Commented] (CAMEL-3825) Camel-Joss jar does not work with JBoss 6.0.0 final due to NoClassDefFoundError VirtualFileVisitor

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

Claus Ibsen commented on CAMEL-3825:
------------------------------------

Frank can you check which JAR from JBoss 6 that has the vfs classes? I am looking into adding a new camel-jboss6 project at camel-extra and need the JAR file.

> Camel-Joss jar does not work with JBoss 6.0.0 final due to NoClassDefFoundError VirtualFileVisitor
> --------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3825
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3825
>             Project: Camel
>          Issue Type: Improvement
>    Affects Versions: 2.6.0, 2.7.0
>         Environment: Jboss 6.0.0, camel version from 2.1 up to 7 have been tried
>            Reporter: christian ruffy
>             Fix For: 2.8.0
>
>         Attachments: JBossPackageScanClassResolver.java
>
>
> We are trying to run camel on jboss, after getting through the intial type loader problems we have tried the camel-joss loader but it is loading a class in jboss called VirtualFileVisitor - Jboss has now moved this class to org.jbos.vfs.VirtualFileVisitor
> Error creating bean with name 'jbossresolver' defined in ServletContext resource [/WEB-INF/application-context.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: 
> org/jboss/virtual/VirtualFileVisitor
> the example shown here doesnt work for this reason
> http://camel.apache.org/pluggable-class-resolvers.html

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

[jira] [Updated] (CAMEL-3825) Camel-Joss jar does not work with JBoss 6.0.0 final due to NoClassDefFoundError VirtualFileVisitor

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

Claus Ibsen updated CAMEL-3825:
-------------------------------

    Attachment: camel-jboss6-2.8-SNAPSHOT.jar

Can any of you try this JAR file in JBoss 6?

> Camel-Joss jar does not work with JBoss 6.0.0 final due to NoClassDefFoundError VirtualFileVisitor
> --------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3825
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3825
>             Project: Camel
>          Issue Type: Improvement
>    Affects Versions: 2.6.0, 2.7.0
>         Environment: Jboss 6.0.0, camel version from 2.1 up to 7 have been tried
>            Reporter: christian ruffy
>             Fix For: 2.8.0
>
>         Attachments: JBossPackageScanClassResolver.java, camel-jboss6-2.8-SNAPSHOT.jar
>
>
> We are trying to run camel on jboss, after getting through the intial type loader problems we have tried the camel-joss loader but it is loading a class in jboss called VirtualFileVisitor - Jboss has now moved this class to org.jbos.vfs.VirtualFileVisitor
> Error creating bean with name 'jbossresolver' defined in ServletContext resource [/WEB-INF/application-context.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: 
> org/jboss/virtual/VirtualFileVisitor
> the example shown here doesnt work for this reason
> http://camel.apache.org/pluggable-class-resolvers.html

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

[jira] [Commented] (CAMEL-3825) Camel-Joss jar does not work with JBoss 6.0.0 final due to NoClassDefFoundError VirtualFileVisitor

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

Maximilien Wiktorowski commented on CAMEL-3825:
-----------------------------------------------

hi claus,
if you are talking about jboss vfs 3.0.0.GA yes it's the jar packaged in jboss 6.0.0.Final

> Camel-Joss jar does not work with JBoss 6.0.0 final due to NoClassDefFoundError VirtualFileVisitor
> --------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3825
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3825
>             Project: Camel
>          Issue Type: Improvement
>    Affects Versions: 2.6.0, 2.7.0
>         Environment: Jboss 6.0.0, camel version from 2.1 up to 7 have been tried
>            Reporter: christian ruffy
>            Assignee: Claus Ibsen
>             Fix For: 2.8.0
>
>         Attachments: JBossPackageScanClassResolver.java, camel-jboss6-2.8-SNAPSHOT.jar
>
>
> We are trying to run camel on jboss, after getting through the intial type loader problems we have tried the camel-joss loader but it is loading a class in jboss called VirtualFileVisitor - Jboss has now moved this class to org.jbos.vfs.VirtualFileVisitor
> Error creating bean with name 'jbossresolver' defined in ServletContext resource [/WEB-INF/application-context.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: 
> org/jboss/virtual/VirtualFileVisitor
> the example shown here doesnt work for this reason
> http://camel.apache.org/pluggable-class-resolvers.html

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