Uploaded image for project: 'Thorntail'
  1. Thorntail
  2. THORN-17

Parse Error at PicketBox module.xml

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.0.0.Alpha6
    • Component/s: None
    • Labels:
      None

      Description

      WildFly Swarm is indeed what I wanted! Thanks.

      BTW, I got a parse error at PicketBox module.xml. It seems name attribute(${org.picketbox:picketbox}) of resources -> artifact doesn't resolve. Any idea?

       sh
      $ git clone https://github.com/wildfly-swarm/example-jaxrs.git
      $ mvn clean package
      $ java -jar target/wildfly-swarm-example-jaxrs-1.0.0.Beta1-SNAPSHOT-swarm.jar
      15:33:19,758 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.4.Final
      15:33:19,878 INFO  [org.jboss.as] (MSC service thread 1-6) WFLYSRV0049: WildFly Core 1.0.0.CR1 "Kenny" starting
      15:33:19,918 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed to start service jboss.as: org.jboss.msc.service.StartException in service jboss.as: Failed to start service
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: org.jboss.modules.ModuleLoadError: Error loading module from modules/system/layers/base/org/picketbox/main/module.xml
      	at org.jboss.modules.ModuleLoadException.toError(ModuleLoadException.java:74)
      	at org.jboss.modules.Module.getPathsUnchecked(Module.java:1384)
      	at org.jboss.modules.Module.loadModuleClass(Module.java:555)
      	at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:197)
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:455)
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:404)
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:385)
      	at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:130)
      	at java.lang.ClassLoader.defineClass1(Native Method)
      	at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
      	at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:353)
      	at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:432)
      	at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:269)
      	at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:77)
      	at org.jboss.modules.Module.loadModuleClass(Module.java:560)
      	at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:197)
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:455)
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:404)
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:385)
      	at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:130)
      	at java.lang.Class.forName0(Native Method)
      	at java.lang.Class.forName(Class.java:348)
      	at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:370)
      	at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
      	at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
      	at org.jboss.as.server.ApplicationServerService.service(ApplicationServerService.java:224)
      	at org.jboss.as.server.ApplicationServerService.start(ApplicationServerService.java:153)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
      	... 3 more
      Caused by: org.jboss.modules.xml.XmlPullParserException: Failed to resolve artifact '${org.picketbox:picketbox}' (position: END_TAG seen ...<resources>\n        <artifact name="${org.picketbox:picketbox}"/>... @32:54) 
      	at org.jboss.modules.ModuleXmlParser.parseArtifact(ModuleXmlParser.java:890)
      	at org.jboss.modules.ModuleXmlParser.parseResources(ModuleXmlParser.java:729)
      	at org.jboss.modules.ModuleXmlParser.parseModuleContents(ModuleXmlParser.java:494)
      	at org.jboss.modules.ModuleXmlParser.parseDocument(ModuleXmlParser.java:287)
      	at org.jboss.modules.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:150)
      	at org.jboss.modules.BootModuleFinder.findModule(BootModuleFinder.java:48)
      	at org.jboss.modules.ModuleLoader.findModule(ModuleLoader.java:452)
      	at org.jboss.modules.ModuleLoader.loadModuleLocal(ModuleLoader.java:355)
      	at org.jboss.modules.ModuleLoader.preloadModule(ModuleLoader.java:302)
      	at org.jboss.modules.Module.addPaths(Module.java:1028)
      	at org.jboss.modules.Module.link(Module.java:1398)
      	at org.jboss.modules.Module.getPaths(Module.java:1359)
      	at org.jboss.modules.Module.getPathsUnchecked(Module.java:1382)
      	... 30 more
      
      15:33:19,932 ERROR [stderr] (main) Exception in thread "main" java.lang.reflect.InvocationTargetException
      15:33:19,933 ERROR [stderr] (main) 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      15:33:19,933 ERROR [stderr] (main) 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      15:33:19,933 ERROR [stderr] (main) 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      15:33:19,934 ERROR [stderr] (main) 	at java.lang.reflect.Method.invoke(Method.java:497)
      15:33:19,934 ERROR [stderr] (main) 	at org.wildfly.swarm.bootstrap.Main.main(Main.java:37)
      15:33:19,934 ERROR [stderr] (main) Caused by: java.lang.reflect.InvocationTargetException
      15:33:19,934 ERROR [stderr] (main) 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      15:33:19,935 ERROR [stderr] (main) 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      15:33:19,935 ERROR [stderr] (main) 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      15:33:19,935 ERROR [stderr] (main) 	at java.lang.reflect.Method.invoke(Method.java:497)
      15:33:19,935 ERROR [stderr] (main) 	at org.wildfly.swarm.container.Main.main(Main.java:44)
      15:33:19,935 ERROR [stderr] (main) 	... 5 more
      15:33:19,935 ERROR [stderr] (main) Caused by: java.lang.IllegalStateException: WFLYSRV0141: Cannot start server
      15:33:19,936 ERROR [stderr] (main) 	at org.jboss.as.server.BootstrapImpl.startup(BootstrapImpl.java:156)
      15:33:19,936 ERROR [stderr] (main) 	at org.jboss.as.server.SelfContainedContainer.start(SelfContainedContainer.java:102)
      15:33:19,936 ERROR [stderr] (main) 	at org.wildfly.swarm.container.Container.start(Container.java:79)
      15:33:19,936 ERROR [stderr] (main) 	at org.wildfly.swarm.container.DefaultMain.main(DefaultMain.java:9)
      15:33:19,936 ERROR [stderr] (main) 	... 10 more
      15:33:19,936 ERROR [stderr] (main) Caused by: java.util.concurrent.ExecutionException: Operation failed
      15:33:19,936 ERROR [stderr] (main) 	at org.jboss.threads.AsyncFutureTask.operationFailed(AsyncFutureTask.java:74)
      15:33:19,937 ERROR [stderr] (main) 	at org.jboss.threads.AsyncFutureTask.get(AsyncFutureTask.java:268)
      15:33:19,937 ERROR [stderr] (main) 	at org.jboss.as.server.BootstrapImpl.startup(BootstrapImpl.java:152)
      15:33:19,937 ERROR [stderr] (main) 	... 13 more
      15:33:19,937 ERROR [stderr] (main) Caused by: org.jboss.msc.service.StartException in service jboss.as: Failed to start service
      15:33:19,937 ERROR [stderr] (main) 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904)
      15:33:19,937 ERROR [stderr] (main) 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      15:33:19,937 ERROR [stderr] (main) 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      15:33:19,938 ERROR [stderr] (main) 	at java.lang.Thread.run(Thread.java:745)
      15:33:19,938 ERROR [stderr] (main) Caused by: org.jboss.modules.ModuleLoadError: Error loading module from modules/system/layers/base/org/picketbox/main/module.xml
      15:33:19,938 ERROR [stderr] (main) 	at org.jboss.modules.ModuleLoadException.toError(ModuleLoadException.java:74)
      15:33:19,938 ERROR [stderr] (main) 	at org.jboss.modules.Module.getPathsUnchecked(Module.java:1384)
      15:33:19,938 ERROR [stderr] (main) 	at org.jboss.modules.Module.loadModuleClass(Module.java:555)
      15:33:19,938 ERROR [stderr] (main) 	at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:197)
      15:33:19,938 ERROR [stderr] (main) 	at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:455)
      15:33:19,939 ERROR [stderr] (main) 	at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:404)
      15:33:19,939 ERROR [stderr] (main) 	at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:385)
      15:33:19,939 ERROR [stderr] (main) 	at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:130)
      15:33:19,939 ERROR [stderr] (main) 	at java.lang.ClassLoader.defineClass1(Native Method)
      15:33:19,939 ERROR [stderr] (main) 	at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
      15:33:19,939 ERROR [stderr] (main) 	at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:353)
      15:33:19,939 ERROR [stderr] (main) 	at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:432)
      15:33:19,940 ERROR [stderr] (main) 	at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:269)
      15:33:19,940 ERROR [stderr] (main) 	at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:77)
      15:33:19,940 ERROR [stderr] (main) 	at org.jboss.modules.Module.loadModuleClass(Module.java:560)
      15:33:19,940 ERROR [stderr] (main) 	at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:197)
      15:33:19,940 ERROR [stderr] (main) 	at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:455)
      15:33:19,940 ERROR [stderr] (main) 	at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:404)
      15:33:19,940 ERROR [stderr] (main) 	at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:385)
      15:33:19,941 ERROR [stderr] (main) 	at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:130)
      15:33:19,941 ERROR [stderr] (main) 	at java.lang.Class.forName0(Native Method)
      15:33:19,941 ERROR [stderr] (main) 	at java.lang.Class.forName(Class.java:348)
      15:33:19,941 ERROR [stderr] (main) 	at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:370)
      15:33:19,941 ERROR [stderr] (main) 	at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
      15:33:19,941 ERROR [stderr] (main) 	at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
      15:33:19,941 ERROR [stderr] (main) 	at org.jboss.as.server.ApplicationServerService.service(ApplicationServerService.java:224)
      15:33:19,942 ERROR [stderr] (main) 	at org.jboss.as.server.ApplicationServerService.start(ApplicationServerService.java:153)
      15:33:19,942 ERROR [stderr] (main) 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
      15:33:19,942 ERROR [stderr] (main) 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
      15:33:19,942 ERROR [stderr] (main) 	... 3 more
      15:33:19,942 ERROR [stderr] (main) Caused by: org.jboss.modules.xml.XmlPullParserException: Failed to resolve artifact '${org.picketbox:picketbox}' (position: END_TAG seen ...<resources>\n        <artifact name="${org.picketbox:picketbox}"/>... @32:54) 
      15:33:19,942 ERROR [stderr] (main) 	at org.jboss.modules.ModuleXmlParser.parseArtifact(ModuleXmlParser.java:890)
      15:33:19,942 ERROR [stderr] (main) 	at org.jboss.modules.ModuleXmlParser.parseResources(ModuleXmlParser.java:729)
      15:33:19,943 ERROR [stderr] (main) 	at org.jboss.modules.ModuleXmlParser.parseModuleContents(ModuleXmlParser.java:494)
      15:33:19,943 ERROR [stderr] (main) 	at org.jboss.modules.ModuleXmlParser.parseDocument(ModuleXmlParser.java:287)
      15:33:19,943 ERROR [stderr] (main) 	at org.jboss.modules.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:150)
      15:33:19,943 ERROR [stderr] (main) 	at org.jboss.modules.BootModuleFinder.findModule(BootModuleFinder.java:48)
      15:33:19,943 ERROR [stderr] (main) 	at org.jboss.modules.ModuleLoader.findModule(ModuleLoader.java:452)
      15:33:19,943 ERROR [stderr] (main) 	at org.jboss.modules.ModuleLoader.loadModuleLocal(ModuleLoader.java:355)
      15:33:19,943 ERROR [stderr] (main) 	at org.jboss.modules.ModuleLoader.preloadModule(ModuleLoader.java:302)
      15:33:19,944 ERROR [stderr] (main) 	at org.jboss.modules.Module.addPaths(Module.java:1028)
      15:33:19,944 ERROR [stderr] (main) 	at org.jboss.modules.Module.link(Module.java:1398)
      15:33:19,944 ERROR [stderr] (main) 	at org.jboss.modules.Module.getPaths(Module.java:1359)
      15:33:19,944 ERROR [stderr] (main) 	at org.jboss.modules.Module.getPathsUnchecked(Module.java:1382)
      15:33:19,945 ERROR [stderr] (main) 	... 30 more
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                emag Yoshimasa Tanabe
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: