2 Replies Latest reply on Jan 12, 2012 1:56 AM by Mark P

    After modifying jbpm-gwt-console.war file, I got Runtime Exceptins at deploying  jbpm-gwt-console.war file in running jboss instance.

    Mark P Newbie

      Hi Guys,

          I got some runtime Exceptions while followed the below steps. Help me in solving this issue.

       

          1) Downloaded the source code(zip file) from https://github.com/bpmc/bpm-console.

       

          2) Extracted in a folder (bpmc-bpm-console-1cf8710).

         

          3) I run "mvn clean install" from the bpmc-bpm-console-1cf8710 folder.

       

          4) I run "mvn package"  from the bpmc-bpm-console-1cf8710 folder

       

          5) After that the war file(gwt-console.war) was generated in target folder(bpmc-bpm-console-1cf8710/gui/war/target)

       

          6) I renamed the war file(gwt-console.war) to "jbpm-gwt-console.war" file and i deployed the "jbpm-gwt-console.war" file in running jboss instance (jboss/server/default/deploy),

             i got some errors which i posted here.

       

       

          2012-01-05 17:42:44,779 ERROR [org.reflections.Reflections] (HDScanner) 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 vfszip:/D:/jbpm5.1_BKP/jbpm-installer/jboss-5.1.0.GA/server/default/deploy/jbpm-gwt-console.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:793)

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

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

          at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)

          at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950)

          at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4122)

          at org.apache.catalina.core.StandardContext.start(StandardContext.java:4421)

          at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)

          at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)

          at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)

          at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)

          at org.jboss.web.deployers.WebModule.start(WebModule.java:97)

          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 org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)

          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)

          at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)

          at $Proxy38.start(Unknown Source)

          at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)

          at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)

          at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)

          at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)

          at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)

          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

          at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)

          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)

          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)

          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)

          at org.jboss.system.ServiceController.doChange(ServiceController.java:688)

          at org.jboss.system.ServiceController.start(ServiceController.java:460)

          at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)

          at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)

          at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)

          at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)

          at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)

          at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)

          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)

          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)

          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)

          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)

          at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)

          at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)

          at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:362)

          at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)

          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

          at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)

          at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)

          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)

          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)

          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

          at java.lang.Thread.run(Thread.java:619)

      2012-01-05 17:42:44,905 INFO  [org.jboss.errai.bus.server.service.bootstrap.OrderedBootstrap] (HDScanner) Bootstrap Errai

      2012-01-05 17:42:44,917 INFO  [org.jboss.errai.bus.server.service.bootstrap.DefaultComponents] (HDScanner) using dispatcher implementation: org.jboss.errai.bus.server.AsyncDispatcher

      2012-01-05 17:42:44,924 INFO  [org.jboss.errai.bus.server.WorkerFactory] (HDScanner) initializing async worker pools (poolSize: 5; workerTimeout: 5000)

      2012-01-05 17:42:44,926 INFO  [org.jboss.errai.bus.server.WorkerFactory] (HDScanner) starting worker pool.

      2012-01-05 17:42:44,930 INFO  [org.jboss.errai.bus.server.service.bootstrap.DefaultComponents] (HDScanner) using session provider implementation: org.jboss.errai.bus.server.HttpSessionProvider

      2012-01-05 17:42:44,938 INFO  [org.jboss.errai.bus.server.service.bootstrap.LoadExtensions] (HDScanner) beging searching for Errai extensions ...

      2012-01-05 17:42:44,984 INFO  [org.jboss.errai.bus.server.service.bootstrap.LoadExtensions] (HDScanner) added extension binding: org.jboss.errai.bus.client.framework.ModelAdapter

      2012-01-05 17:42:44,984 INFO  [org.jboss.errai.bus.server.service.bootstrap.LoadExtensions] (HDScanner) total extension binding: 1

      2012-01-05 17:42:45,025 INFO  [org.jboss.errai.bus.server.service.bootstrap.BootstrapContext] (HDScanner) Running deferred bootstrap tasks ...

      2012-01-05 17:42:45,025 INFO  [org.jboss.errai.bus.server.service.bootstrap.OrderedBootstrap] (HDScanner) Bootstrap complete. Ready to rumble!

       

      Thanks

      Mark

        • 1. Re: After modifying jbpm-gwt-console.war file, I got Runtime Exceptins at deploying  jbpm-gwt-console.war file in running jboss instance.
          Tihomir Surdilovic Master

          Are you trying to make some changes to the bpm-console and then build it all to test?

          If so you can do these steps:

          1) clone from bpm-console master: https://github.com/bpmc/bpm-console

          2) (remember, bpm-console is not only used by jbpm so you have to pass in the profile)

          build it with:

          mvn clean install -Dconsole.profile=jbpm -Dfull -DskipTests

          3) This will create bpm-console 2.4.0-SNAPSHOT. Note that jBPM master is on a .Final release 2.3.4.Final so search all the jBPM pom.xml files where you can find 2.3.4.Final and replace with 2.4.0-SNAPSHOT so that yours is picked up

          4) Build jBPM with mvn clean install -Dfull -DskipTests and find your zips in jbpm-distribution/target

           

          If you are using the jbpm installer at this point you would have to look at the build.properties to chage the jbpm version, move your zips to the installer/lib dir and run

          ant clean.demo

          ant install.demo (or ant install.demo.noeclipse)

          ant start.demo (or ant start.demo.noeclipse)

           

          Hope this helps.

          1 of 1 people found this helpful
          • 2. Re: After modifying jbpm-gwt-console.war file, I got Runtime Exceptins at deploying  jbpm-gwt-console.war file in running jboss instance.
            Mark P Newbie

            Hi Tihomir

                 Thanks for the  Reply. I followd the steps which you have given. But i got the error

             

            2012-01-11 19:49:45,779 ERROR [org.reflections.Reflections] (HDScanner) 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 vfszip:/D:/jbpm5.1_BKP/jbpm-installer/jboss-5.1.0.GA/server/default/deploy/jbpm-gwt-console.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:793)

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

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

                at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)

                at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950)

                at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4122)

                at org.apache.catalina.core.StandardContext.start(StandardContext.java:4421)

                at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)

                at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)

                at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)

                at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)

                at org.jboss.web.deployers.WebModule.start(WebModule.java:97)

                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 org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)

                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

                at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)

                at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)

                at $Proxy38.start(Unknown Source)

                at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)

                at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)

                at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)

                at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)

                at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)

                at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

                at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)

                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)

                at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)

                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)

                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)

                at org.jboss.system.ServiceController.doChange(ServiceController.java:688)

                at org.jboss.system.ServiceController.start(ServiceController.java:460)

                at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)

                at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)

                at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)

                at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)

                at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)

                at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)

                at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)

                at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)

                at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)

                at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)

                at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)

                at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)

                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)

                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)

                at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)

                at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)

                at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)

                at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:362)

                at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)

                at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

                at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)

                at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)

                at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)

                at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)

                at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)

                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

                at java.lang.Thread.run(Thread.java:619)

             

             

             

            Thanks

            Mark