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

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

     [ 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