9 Replies Latest reply: Jan 9, 2012 12:59 AM by S V S G Krishna Murthy K RSS

    org.reflections.ReflectionsException: during the jboss startup

    Marcin Misiewicz Newbie

      Hi

       

      I'm using Errai 1.1-CR2, during startup of the jboss I get the following exceptions.

       

      12:11:49,320 INFO  [Errai] Starting Errai
      

       

       

      12:11:49,320 INFO  [Errai] Starting Errai Service
      12:11:50,041 ERROR [Reflections] could not create Vfs.Dir from url. ignoring the exception and continuing: org.reflections.ReflectionsException: could not create Dir using org.jboss.errai.bus.server.service.metadata.VFSUrlType from url vfs:/home/misiek/dev/jboss-eas/server/default/deploy/pl.scentia.smartoffice.ear.ear/pl.scentia.smartoffice.business.jar/
       at org.reflections.vfs.Vfs.fromURL(Vfs.java:99) [:]
       at org.reflections.vfs.Vfs.fromURL(Vfs.java:89) [:]
       at org.reflections.Reflections.scan(Reflections.java:136) [:]
       at org.jboss.errai.bus.server.service.metadata.MetaDataScanner.<init>(MetaDataScanner.java:83) [:1.1-SNAPSHOT]
       at org.jboss.errai.bus.server.service.metadata.MetaDataScanner.createInstance(MetaDataScanner.java:95) [:1.1-SNAPSHOT]
       at org.jboss.errai.bus.server.service.metadata.MetaDataScanner.createInstance(MetaDataScanner.java:87) [:1.1-SNAPSHOT]
       at org.jboss.errai.bus.server.service.ErraiServiceConfiguratorImpl.<init>(ErraiServiceConfiguratorImpl.java:58) [:1.1-SNAPSHOT]
       at org.jboss.errai.bus.server.service.ErraiServiceConfiguratorImpl$$FastClassByGuice$$b6139751.newInstance(<generated>)
       at com.google.inject.internal.cglib.reflect.FastConstructor.newInstance(FastConstructor.java:40) [:]
       at com.google.inject.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:60) [:]
       at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:85) [:]
       at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111) [:]
       at com.google.inject.FactoryProxy.get(FactoryProxy.java:56) [:]
       at com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42) [:]
       at com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66) [:]
       at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84) [:]
       at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111) [:]
       at com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45) [:]
       at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811) [:]
       at com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42) [:]
       at com.google.inject.Scopes$1$1.get(Scopes.java:54) [:]
       at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48) [:]
       at com.google.inject.FactoryProxy.get(FactoryProxy.java:56) [:]
       at com.google.inject.InjectorImpl$4$1.call(InjectorImpl.java:758) [:]
       at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:804) [:]
       at com.google.inject.InjectorImpl$4.get(InjectorImpl.java:754) [:]
       at com.google.inject.InjectorImpl.getInstance(InjectorImpl.java:793) [:]
       at org.jboss.errai.container.JBossService.start(JBossService.java:53) [:]
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_20]
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_20]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_20]
       at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_20]
       at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:60) [jboss-reflect.jar:2.2.0.Alpha9]
       at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:168) [jboss-reflect.jar:2.2.0.Alpha9]
       at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66) [jboss-reflect.jar:2.2.0.Alpha9]
       at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:257) [jboss-kernel.jar:2.2.0.Alpha10]
       at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47) [jboss-kernel.jar:2.2.0.Alpha10]
       at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:125) [jboss-kernel.jar:2.2.0.Alpha10]
       at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:72) [jboss-kernel.jar:2.2.0.Alpha10]
       at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:202) [jboss-kernel.jar:2.2.0.Alpha10]
       at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.Alpha10]
       at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:894) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:641) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:182) [:2.2.0.Alpha6]
       at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:58) [:2.2.0.Alpha6]
       at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) [:2.2.0.Alpha6]
       at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55) [:2.2.0.Alpha6]
       at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.0.Alpha6]
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.Alpha6]
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.0.Alpha6]
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1571) [:2.2.0.Alpha6]
       at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.2.0.Alpha6]
       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [:2.2.0.Alpha6]
       at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [:2.2.0.Alpha6]
       at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [:2.2.0.Alpha6]
       at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106) [:6.0.0.20100721-M4]
       at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:130) [:0.1.0.Alpha1]
       at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:148) [:0.1.0.Alpha1]
       at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94) [:0.1.0.Alpha1]
       at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.Alpha10]
       at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.profileservice.dependency.ProfileServiceController.activate(ProfileServiceController.java:188) [:0.1.0.Alpha1]
       at org.jboss.profileservice.AbstractProfileService.activateProfile(AbstractProfileService.java:170) [:0.1.0.Alpha1]
       at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.activate(AbstractProfileServiceBootstrap.java:117) [:0.1.0.Alpha1]
       at org.jboss.profileservice.resolver.BasicResolverFactory$ProfileResolverFacade.deploy(BasicResolverFactory.java:89) [:0.1.0.Alpha1]
       at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.start(AbstractProfileServiceBootstrap.java:97) [:0.1.0.Alpha1]
       at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:130) [:6.0.0.20100721-M4]
       at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.20100721-M4]
       at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
       at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
       at java.lang.Thread.run(Thread.java:619) [:1.6.0_20]
      
      12:11:50,288 ERROR [Reflections] could not create Vfs.Dir from url. ignoring the exception and continuing: org.reflections.ReflectionsException: could not create Dir using org.jboss.errai.bus.server.service.metadata.VFSUrlType from url vfs:/home/misiek/dev/jboss-eas/server/default/deploy/pl.scentia.smartoffice.ear.ear/pl.scentia.smartoffice.persistence.jar/
       at org.reflections.vfs.Vfs.fromURL(Vfs.java:99) [:]
       at org.reflections.vfs.Vfs.fromURL(Vfs.java:89) [:]
       at org.reflections.Reflections.scan(Reflections.java:136) [:]
       at org.jboss.errai.bus.server.service.metadata.MetaDataScanner.<init>(MetaDataScanner.java:83) [:1.1-SNAPSHOT]
       at org.jboss.errai.bus.server.service.metadata.MetaDataScanner.createInstance(MetaDataScanner.java:95) [:1.1-SNAPSHOT]
       at org.jboss.errai.bus.server.service.metadata.MetaDataScanner.createInstance(MetaDataScanner.java:87) [:1.1-SNAPSHOT]
       at org.jboss.errai.bus.server.service.ErraiServiceConfiguratorImpl.<init>(ErraiServiceConfiguratorImpl.java:58) [:1.1-SNAPSHOT]
       at org.jboss.errai.bus.server.service.ErraiServiceConfiguratorImpl$$FastClassByGuice$$b6139751.newInstance(<generated>)
       at com.google.inject.internal.cglib.reflect.FastConstructor.newInstance(FastConstructor.java:40) [:]
       at com.google.inject.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:60) [:]
       at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:85) [:]
       at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111) [:]
       at com.google.inject.FactoryProxy.get(FactoryProxy.java:56) [:]
       at com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42) [:]
       at com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66) [:]
       at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84) [:]
       at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111) [:]
       at com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45) [:]
       at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811) [:]
       at com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42) [:]
       at com.google.inject.Scopes$1$1.get(Scopes.java:54) [:]
       at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48) [:]
       at com.google.inject.FactoryProxy.get(FactoryProxy.java:56) [:]
       at com.google.inject.InjectorImpl$4$1.call(InjectorImpl.java:758) [:]
       at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:804) [:]
       at com.google.inject.InjectorImpl$4.get(InjectorImpl.java:754) [:]
       at com.google.inject.InjectorImpl.getInstance(InjectorImpl.java:793) [:]
       at org.jboss.errai.container.JBossService.start(JBossService.java:53) [:]
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_20]
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_20]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_20]
       at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_20]
       at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:60) [jboss-reflect.jar:2.2.0.Alpha9]
       at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:168) [jboss-reflect.jar:2.2.0.Alpha9]
       at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66) [jboss-reflect.jar:2.2.0.Alpha9]
       at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:257) [jboss-kernel.jar:2.2.0.Alpha10]
       at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47) [jboss-kernel.jar:2.2.0.Alpha10]
       at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:125) [jboss-kernel.jar:2.2.0.Alpha10]
       at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:72) [jboss-kernel.jar:2.2.0.Alpha10]
       at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:202) [jboss-kernel.jar:2.2.0.Alpha10]
       at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.Alpha10]
       at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:894) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:641) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:182) [:2.2.0.Alpha6]
       at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:58) [:2.2.0.Alpha6]
       at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) [:2.2.0.Alpha6]
       at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55) [:2.2.0.Alpha6]
       at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.0.Alpha6]
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.Alpha6]
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.0.Alpha6]
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1571) [:2.2.0.Alpha6]
       at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.2.0.Alpha6]
       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [:2.2.0.Alpha6]
       at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [:2.2.0.Alpha6]
       at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [:2.2.0.Alpha6]
       at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106) [:6.0.0.20100721-M4]
       at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:130) [:0.1.0.Alpha1]
       at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:148) [:0.1.0.Alpha1]
       at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94) [:0.1.0.Alpha1]
       at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.Alpha10]
       at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.Alpha10]
       at org.jboss.profileservice.dependency.ProfileServiceController.activate(ProfileServiceController.java:188) [:0.1.0.Alpha1]
       at org.jboss.profileservice.AbstractProfileService.activateProfile(AbstractProfileService.java:170) [:0.1.0.Alpha1]
       at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.activate(AbstractProfileServiceBootstrap.java:117) [:0.1.0.Alpha1]
       at org.jboss.profileservice.resolver.BasicResolverFactory$ProfileResolverFacade.deploy(BasicResolverFactory.java:89) [:0.1.0.Alpha1]
       at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.start(AbstractProfileServiceBootstrap.java:97) [:0.1.0.Alpha1]
       at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:130) [:6.0.0.20100721-M4]
       at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.20100721-M4]
       at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
       at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
       at java.lang.Thread.run(Thread.java:619) [:1.6.0_20]
      
      12:11:50,339 INFO  [OrderedBootstrap] Bootstrap Errai
      12:11:50,357 INFO  [DefaultComponents] using dispatcher implementation: org.jboss.errai.bus.server.SimpleDispatcher
      12:11:50,368 INFO  [DefaultComponents] using session provider implementation: org.jboss.errai.bus.server.HttpSessionProvider
      12:11:50,384 INFO  [LoadExtensions] beging searching for Errai extensions ...
      12:11:50,397 INFO  [LoadExtensions] found extension org.jboss.errai.tools.monitoring.MonitorExtension
      12:11:53,353 INFO  [LoadExtensions] added extension binding: org.jboss.errai.bus.client.framework.ModelAdapter
      12:11:53,353 INFO  [LoadExtensions] total extension binding: 1
      12:11:53,500 INFO  [ServiceProcessor] discovered service: org.jboss.errai.tools.source.server.SourceViewService
      12:11:53,532 INFO  [EntityProcessor] Checking ErraiApp.properties for configured types ...
      12:11:53,556 INFO  [BootstrapContext] Running deferred bootstrap tasks ...
      12:11:53,556 INFO  [OrderedBootstrap] Bootstrap complete. Ready to rumble!
      12:11:53,599 INFO  [Errai] Bound to java:/Errai
      12:11:53,880 INFO  [Version] WELD-000900 1.0.1 (SP4)
      
      

      My application is deployed within ear. with the following structure :

       

      lib
      META-INF
      pl.scentia.smartoffice.businessClient.jar
      pl.scentia.smartoffice.business.jar
      pl.scentia.smartoffice.gui.war
      pl.scentia.smartoffice.persistence.jar
      pl.scentia.smartoffice.proxy.jar
      pl.scentia.smartoffice.security.jar
      
      
      We have packaged and configured errai-cdi not in sar but in our ear/lib directory. Despite of the exceptions everything seems to work fine. But I wonder why do we get those exceptions ?

      I have also notice another problem, to properly bootstrap errai we have to add ErraiApp.properties and ErraiService.properties to the business.jar project despite the fact that we don't have errai services in the business.jar. We have errai services only in the gui.war and we have those files in the WEB-INF/classes. If we don't put those files in the business.jar we get the exception saying that errai can't find ErraiService.properties file ?

        • 1. Re: org.reflections.ReflectionsException: during the jboss startup
          John DeStefano Apprentice

          Hi,

           

          I have a similar issue. I using an exploded directory for deployment on JBoss 5.1 and get the following error:

           

          12:28:21,925 INFO  [TomcatDeployment] deploy, ctxPath=/Registry
          12:28:22,508 ERROR [Reflections] could not create Vfs.Dir from url. ignoring the exception and continuing
          org.reflections.ReflectionsException: could not create Dir using org.jboss.errai.bus.server.service.metadata.VFSUrlType from url vfsfile:/home/jdestef/javastuff/jboss/servers/jboss-5.1.0.GA_mysql/server/default/deploy/Registry.war/WEB-INF/classes/
          at org.reflections.vfs.Vfs.fromURL(Vfs.java:99)
          at org.reflections.vfs.Vfs.fromURL(Vfs.java:89)
          at org.reflections.Reflections.scan(Reflections.java:136)
          at org.jboss.errai.bus.server.service.metadata.MetaDataScanner.<init>(MetaDataScanner.java:83)
          at org.jboss.errai.bus.server.service.metadata.MetaDataScanner.createInstance(MetaDataScanner.java:95)
          at org.jboss.errai.bus.server.service.metadata.MetaDataScanner.createInstance(MetaDataScanner.java:87)
          at org.jboss.errai.bus.server.service.ErraiServiceConfiguratorImpl.<init>(ErraiServiceConfiguratorImpl.java:58)
          at org.jboss.errai.bus.server.service.ErraiServiceConfiguratorImpl$$FastClassByGuice$$b6139751.newInstance(<generated>)
          at com.google.inject.internal.cglib.reflect.FastConstructor.newInstance(FastConstructor.java:40)
          at com.google.inject.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:60)
          at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:85)
          at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111)
          at com.google.inject.FactoryProxy.get(FactoryProxy.java:56)
          at com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
          at com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
          at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84)
          at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111)
          at com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)
          at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)
          at com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)
          at com.google.inject.Scopes$1$1.get(Scopes.java:54)
          at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)
          at com.google.inject.FactoryProxy.get(FactoryProxy.java:56)
          at com.google.inject.InjectorImpl$4$1.call(InjectorImpl.java:758)
          at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:804)
          at com.google.inject.InjectorImpl$4.get(InjectorImpl.java:754)
          at com.google.inject.InjectorImpl.getInstance(InjectorImpl.java:789)
          at org.jboss.errai.bus.server.servlet.AbstractErraiServlet.buildService(AbstractErraiServlet.java:109)
          at org.jboss.errai.bus.server.servlet.AbstractErraiServlet.init(AbstractErraiServlet.java:88)

          12:28:21,925 INFO  [TomcatDeployment] deploy, ctxPath=/Registry

          12:28:22,508 ERROR [Reflections] could not create Vfs.Dir from url. ignoring the exception and continuing

          org.reflections.ReflectionsException: could not create Dir using org.jboss.errai.bus.server.service.metadata.VFSUrlType from url vfsfile:/home/jdestef/javastuff/jboss/servers/jboss-5.1.0.GA_mysql/server/default/deploy/Registry.war/WEB-INF/classes/

          at org.reflections.vfs.Vfs.fromURL(Vfs.java:99)

          at org.reflections.vfs.Vfs.fromURL(Vfs.java:89)

          at org.reflections.Reflections.scan(Reflections.java:136)

          at org.jboss.errai.bus.server.service.metadata.MetaDataScanner.<init>(MetaDataScanner.java:83)

          at org.jboss.errai.bus.server.service.metadata.MetaDataScanner.createInstance(MetaDataScanner.java:95)

          at org.jboss.errai.bus.server.service.metadata.MetaDataScanner.createInstance(MetaDataScanner.java:87)

          at org.jboss.errai.bus.server.service.ErraiServiceConfiguratorImpl.<init>(ErraiServiceConfiguratorImpl.java:58)

          at org.jboss.errai.bus.server.service.ErraiServiceConfiguratorImpl$$FastClassByGuice$$b6139751.newInstance(<generated>)

          at com.google.inject.internal.cglib.reflect.FastConstructor.newInstance(FastConstructor.java:40)

          at com.google.inject.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:60)

          at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:85)

          at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111)

          at com.google.inject.FactoryProxy.get(FactoryProxy.java:56)

          at com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)

          at com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)

          at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84)

          at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111)

          at com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)

          at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)

          at com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)

          at com.google.inject.Scopes$1$1.get(Scopes.java:54)

          at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)

          at com.google.inject.FactoryProxy.get(FactoryProxy.java:56)

          at com.google.inject.InjectorImpl$4$1.call(InjectorImpl.java:758)

          at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:804)

          at com.google.inject.InjectorImpl$4.get(InjectorImpl.java:754)

          at com.google.inject.InjectorImpl.getInstance(InjectorImpl.java:789)

          at org.jboss.errai.bus.server.servlet.AbstractErraiServlet.buildService(AbstractErraiServlet.java:109)

          at org.jboss.errai.bus.server.servlet.AbstractErraiServlet.init(AbstractErraiServlet.java:88)

          Thx

          • 2. Re: org.reflections.ReflectionsException: during the jboss startup
            Marcin Misiewicz Newbie

            That's good to hear that I'm not alone

            • 3. Re: org.reflections.ReflectionsException: during the jboss startup
              Marcin Misiewicz Newbie

              It seems that errai has some problems with exploded jar archives. Right know I'm working on the ExtensionComponent and when I deployed exploded jar with that extension errai could not find this extension even with auto_load_extensions set to true. When I deployed zipped jar, errai found that extension without any problems and of course I don't see error messages any more.

              • 5. Re: org.reflections.ReflectionsException: during the jboss startup
                Heiko Braun Master

                Marcin, are you getting these errors on AS 5.1 as well. Or are you using JBoss 6?

                Have you able to identify which jars are causing the stacktrace? Are they within the ear/lib dir or within the webapplication?

                 

                /Heiko

                • 6. Re: org.reflections.ReflectionsException: during the jboss startup
                  Heiko Braun Master

                  Looks like the reflections lib swallows an exception. Hence the useless error message. But i've been able to track it down to the Errai VfsUrlType.

                  It didn't handle WEB-INF/classes correctly. I'll push an update soon.

                  • 7. Re: org.reflections.ReflectionsException: during the jboss startup
                    Marcin Misiewicz Newbie

                    Hi

                     

                    I'm using JBoss 6 M4. Jars causing the stacktrace are within ear/lib. I don't know if it's important but we have also errai-cdi.jar located inside ear/lib. We didn't wanted to have application dependencies outside the ear. But the cdi works as expected so I'm not sure if it's important.

                    • 8. Re: org.reflections.ReflectionsException: during the jboss startup
                      S V S G Krishna Murthy K Novice

                      Hi John,

                       

                      I'm facing same issue now.Could you able to solve that..Please suggest me how to solve that exception.

                       

                      Thanks

                      • 9. Re: org.reflections.ReflectionsException: during the jboss startup
                        S V S G Krishna Murthy K Novice

                        Hi Braun,

                         

                        Can you update me how to solve that exception.

                         

                        Thanks