Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-208

Failed to deploy on JBoss AS7 with Reflections VFS errors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • None
    • 4.1.2
    • Extension
    • JBoss7.1.1Final
    • N/A
    • N/A

    Description

      For each lib in WEB-INF/lib I get:

      08:38:22,654 ERROR [org.reflections.Reflections] (MSC service thread 1-2) could not create Vfs.Dir from url. ignoring the exception and continuing: org.reflections.ReflectionsException: could not create Vfs.Dir from url, no matching UrlType was found [vfs:/Users/vmassol/Desktop/jboss-as-7.1.1.Final/standalone/deployments/xwiki.war/WEB-INF/lib/xwiki-commons-extension-api-4.2-20120625.154809-41.jar/]
      either use fromURL(final URL url, final List<UrlType> urlTypes) or use the static setDefaultURLTypes(final List<UrlType> urlTypes) or addDefaultURLTypes(UrlType urlType) with your specialized UrlType.
      	at org.reflections.vfs.Vfs.fromURL(Vfs.java:108) [reflections-0.9.8.jar:]
      	at org.reflections.vfs.Vfs.fromURL(Vfs.java:90) [reflections-0.9.8.jar:]
      	at org.reflections.Reflections.scan(Reflections.java:165) [reflections-0.9.8.jar:]
      	at org.reflections.Reflections.<init>(Reflections.java:94) [reflections-0.9.8.jar:]
      	at org.xwiki.extension.internal.DefaultExtensionLicenseManager.initialize(DefaultExtensionLicenseManager.java:85) [xwiki-commons-extension-api-4.2-20120625.154809-41.jar:]
      	at org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39) [xwiki-commons-component-default-4.2-20120625.154634-43.jar:]
      	at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:291) [xwiki-commons-component-default-4.2-20120625.154634-43.jar:]
      	at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:346) [xwiki-commons-component-default-4.2-20120625.154634-43.jar:]
      	at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:314) [xwiki-commons-component-default-4.2-20120625.154634-43.jar:]
      	at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:149) [xwiki-commons-component-default-4.2-20120625.154634-43.jar:]
      	at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:280) [xwiki-commons-component-default-4.2-20120625.154634-43.jar:]
      	at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:346) [xwiki-commons-component-default-4.2-20120625.154634-43.jar:]
      	at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:314) [xwiki-commons-component-default-4.2-20120625.154634-43.jar:]
      	at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:143) [xwiki-commons-component-default-4.2-20120625.154634-43.jar:]
      	at org.xwiki.component.internal.multi.DelegateComponentManager.getInstance(DelegateComponentManager.java:77) [xwiki-commons-component-api-4.2-20120625.154600-43.jar:]
      	at org.xwiki.extension.repository.internal.local.ExtensionStorage.<init>(ExtensionStorage.java:96) [xwiki-commons-extension-api-4.2-20120625.154809-41.jar:]
      	at org.xwiki.extension.repository.internal.local.DefaultLocalExtensionRepository.initialize(DefaultLocalExtensionRepository.java:113) [xwiki-commons-extension-api-4.2-20120625.154809-41.jar:]
      	at org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39) [xwiki-commons-component-default-4.2-20120625.154634-43.jar:]
      ...
      

      The reason is because the last version of Reflections seems to have dropped somr stuff, see http://code.google.com/p/reflections/wiki/JBossIntegration

      Attachments

        Activity

          People

            vmassol Vincent Massol
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: