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

Run Swarm in IDE

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Out of Date
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core
    • Labels:
    • External issue ID:
      163

      Description

      I've just tried running Swarm from my Eclipse so I can debug the code, and unfortunately dies with:

      2015-11-19 12:27:53,035 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Core 2.0.0.CR8 "Kenny" started in 1410ms - Started 119 of 126 services (16 services are lazy, passive or on-demand)
      2015-11-19 12:28:46,755 ERROR [stderr] (main) Exception in thread "main" java.lang.UnsupportedOperationException: JavaArchive spec does not support Libraries
      2015-11-19 12:28:46,755 ERROR [stderr] (main) 	at org.wildfly.swarm.container.JARArchiveImpl.getLibraryPath(JARArchiveImpl.java:106)
      2015-11-19 12:28:46,755 ERROR [stderr] (main) 	at org.jboss.shrinkwrap.impl.base.container.ContainerBase.addAsLibrary(ContainerBase.java:1704)
      2015-11-19 12:28:46,756 ERROR [stderr] (main) 	at org.jboss.shrinkwrap.impl.base.container.ContainerBase.addAsLibraries(ContainerBase.java:1903)
      2015-11-19 12:28:46,756 ERROR [stderr] (main) 	at org.jboss.shrinkwrap.impl.base.container.ContainerBase.addAsLibraries(ContainerBase.java:1916)
      2015-11-19 12:28:46,756 ERROR [stderr] (main) 	at org.wildfly.swarm.container.DependenciesContainer.addAllDependencies(DependenciesContainer.java:32)
      2015-11-19 12:28:46,756 ERROR [stderr] (main) 	at org.wildfly.swarm.container.DefaultJarDeploymentFactory.setupUsingMaven(DefaultJarDeploymentFactory.java:136)
      2015-11-19 12:28:46,756 ERROR [stderr] (main) 	at org.wildfly.swarm.container.DefaultJarDeploymentFactory.setup(DefaultJarDeploymentFactory.java:76)
      2015-11-19 12:28:46,756 ERROR [stderr] (main) 	at org.wildfly.swarm.container.DefaultJarDeploymentFactory.create(DefaultJarDeploymentFactory.java:52)
      2015-11-19 12:28:46,756 ERROR [stderr] (main) 	at org.wildfly.swarm.container.Container.createDefaultDeployment(Container.java:443)
      2015-11-19 12:28:46,756 ERROR [stderr] (main) 	at org.wildfly.swarm.container.Container.deploy(Container.java:337)
      2015-11-19 12:28:46,757 ERROR [stderr] (main) 	at org.wildfly.swarm.Swarm.simpleMain(Swarm.java:60)
      2015-11-19 12:28:46,757 ERROR [stderr] (main) 	at org.wildfly.swarm.Swarm.main(Swarm.java:52)
      

      I would have thought this would be one of the first use-cases rather than having to bind remotely. If there is a way of doing this, can it be documented please?

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                kenfinni Ken Finnigan
                Reporter:
                dansiviter Daniel Siviter
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: