I was able to get past this vfs issue with this change to the Scanner:
| for ( String urlPath: paths )
| {
| try
| {
| log.info("scanning: " + urlPath);
| URL url = new URL(urlPath);
| File file = new File(urlPath);
| if ( file.isDirectory() )
| {
| handleDirectory(file, null);
| }
| else
| {
| handleArchive(url);
| }
| }
| catch (IOException ioe)
| {
| log.warn("could not read entries", ioe);
| }
| }
| }
|
| private void handleArchive(URL url) throws IOException
| {
| log.debug("archive: " + url);
| InputStream inputStream = url.openStream();
| try
| {
| JarInputStream jarInputStream = new JarInputStream(inputStream);
| ZipEntry entry = jarInputStream.getNextEntry();
| while ( entry != null )
| {
| String name = entry.getName();
| log.debug("found: " + name);
| handleItem(name);
| entry = jarInputStream.getNextEntry();
| }
| }
| finally
| {
| inputStream.close();
| }
| }
|
But now I get NCDFE:
| java.lang.RuntimeException: Could not create Component:
org.jboss.seam.bpm.businessProcess
| at org.jboss.seam.init.Initialization.addComponent(Initialization.java:986)
| at org.jboss.seam.init.Initialization.installComponents(Initialization.java:908)
| at org.jboss.seam.init.Initialization.init(Initialization.java:553)
| at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34)
| at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3850)
| at org.apache.catalina.core.StandardContext.start(StandardContext.java:4353)
| at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:344)
| at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:143)
| at
org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:341)
| at org.jboss.web.deployers.WebModule.startModule(WebModule.java:89)
| at org.jboss.web.deployers.WebModule.start(WebModule.java:67)
| 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:585)
| 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:184)
| at $Proxy4.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:327)
| at
org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:255)
| at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
| at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
| at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
| at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
| at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
| at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
| at org.jboss.system.ServiceController.doChange(ServiceController.java:659)
| at org.jboss.system.ServiceController.start(ServiceController.java:431)
| at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:149)
| at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:107)
| at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
| at
org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:65)
| at
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
| at
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
| at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:853)
| at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:874)
| at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:906)
| at
org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:794)
| at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
| at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
| at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
| at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
| at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
| at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
| at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
| at
org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:498)
| at
org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:506)
| at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:245)
| at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:131)
| at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:408)
| at org.jboss.Main.boot(Main.java:208)
| at org.jboss.Main$1.run(Main.java:534)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: java.lang.NoClassDefFoundError: org/jbpm/graph/exe/ProcessInstance
| at java.lang.Class.getDeclaredMethods0(Native Method)
| at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
| at java.lang.Class.getDeclaredMethods(Class.java:1763)
| at org.jboss.seam.Component.initMembers(Component.java:527)
| at org.jboss.seam.Component.<init>(Component.java:254)
| at org.jboss.seam.Component.<init>(Component.java:217)
| at org.jboss.seam.init.Initialization.addComponent(Initialization.java:971)
| ... 61 more
|
although this class is in seam-numberguess.ear/lib/jbpm.jar.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109500#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...