mvn clean package && java -jar target/testapp-thorntail.jar
java.lang.RuntimeException: java.lang.RuntimeException: THORN0009: Unable to determine version number from GAV: org.apache.activemq.examples.modules:artemis-rar:rar:*
Running the Swarm class has many known issues and is never a good idea. Can you try the Runner? https://thorntail.io/posts/thorntail-runner/
LT
--
You received this message because you are subscribed to the Google Groups "Thorntail" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thorntail+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/thorntail/dc3d7dcc-7dd6-4592-a9e0-22ed77970e8bo%40googlegroups.com.
[0m2020-06-18 15:49:42,573 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: Thorntail 2.7.0.Final (WildFly Core 10.0.3.Final) started in 1525ms - Started 327 of 513 services (329 services are lazy, passive or on-demand)
[31m2020-06-18 15:49:42,584 ERROR [stderr] (main) java.lang.RuntimeException: java.lang.RuntimeException: THORN0009: Unable to determine version number from GAV: org.apache.activemq.examples.modules:artemis-rar:rar:*
[31m2020-06-18 15:49:42,585 ERROR [stderr] (main) at org.wildfly.swarm.spi:api@2.7.0.Final//org.wildfly.swarm.spi.api.ClassLoading.withTCCL(ClassLoading.java:45)
[31m2020-06-18 15:49:42,585 ERROR [stderr] (main) at org.wildfly.swarm.container:runtime@2.7.0.Final//org.wildfly.swarm.container.runtime.ServerBootstrapImpl.bootstrap(ServerBootstrapImpl.java:113)
[31m2020-06-18 15:49:42,585 ERROR [stderr] (main) at org.wildfly.swarm.container:api@2.7.0.Final//org.wildfly.swarm.Swarm.start(Swarm.java:401)
[31m2020-06-18 15:49:42,585 ERROR [stderr] (main) at org.wildfly.swarm.container:api@2.7.0.Final//org.wildfly.swarm.Swarm.main(Swarm.java:745)
[31m2020-06-18 15:49:42,585 ERROR [stderr] (main) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[31m2020-06-18 15:49:42,585 ERROR [stderr] (main) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[31m2020-06-18 15:49:42,585 ERROR [stderr] (main) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[31m2020-06-18 15:49:42,585 ERROR [stderr] (main) at java.base/java.lang.reflect.Method.invoke(Method.java:566)
[31m2020-06-18 15:49:42,586 ERROR [stderr] (main) at org.wildfly.swarm.bootstrap.MainInvoker.invoke(MainInvoker.java:57)
[31m2020-06-18 15:49:42,586 ERROR [stderr] (main) at org.wildfly.swarm.bootstrap.Main.run(Main.java:134)
[31m2020-06-18 15:49:42,586 ERROR [stderr] (main) at org.wildfly.swarm.bootstrap.Main.main(Main.java:87)
[31m2020-06-18 15:49:42,586 ERROR [stderr] (main) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[31m2020-06-18 15:49:42,586 ERROR [stderr] (main) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[31m2020-06-18 15:49:42,586 ERROR [stderr] (main) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[31m2020-06-18 15:49:42,586 ERROR [stderr] (main) at java.base/java.lang.reflect.Method.invoke(Method.java:566)
[31m2020-06-18 15:49:42,586 ERROR [stderr] (main) at org.wildfly.swarm.runner.Runner.callWithClassloader(Runner.java:109)
[31m2020-06-18 15:49:42,586 ERROR [stderr] (main) at org.wildfly.swarm.runner.Runner.run(Runner.java:94)
[31m2020-06-18 15:49:42,587 ERROR [stderr] (main) at org.wildfly.swarm.runner.Runner.main(Runner.java:90)
Running the Swarm class has many known issues and is never a good idea. Can you try the Runner? https://thorntail.io/posts/thorntail-runner/
LT
On 18. 06. 20 14:55, deamn wrote:
--Hello,
how to start in Eclipse IDE a thorntail application that includes resource-adapter (like artemis-rar.rar)?
My application run correctly with
mvn clean package && java -jar target/testapp-thorntail.jar
But when I start in eclipse with org.wildfly.swarm.Swarm as main class, I have this error:
java.lang.RuntimeException: java.lang.RuntimeException: THORN0009: Unable to determine version number from GAV: org.apache.activemq.examples.modules:artemis-rar:rar:*
My environnement:
- Fedora 32
- openjdk 11
- Eclipse 2020-06
- Thorntail 2.7.0
You received this message because you are subscribed to the Google Groups "Thorntail" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thor...@googlegroups.com.
I can reproduce the problem. Looking if there's an easy fix.
LT
To unsubscribe from this group and stop receiving emails from it, send an email to thorntail+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/thorntail/085d0255-8d02-4496-abf6-331c7fcd6d19o%40googlegroups.com.
I can't see an easy fix. At least my IntelliJ IDEA doesn't put the RAR on the classpath when running the Runner, and hence Thorntail doesn't have a way how to figure out the version number.
LT
To view this discussion on the web visit https://groups.google.com/d/msgid/thorntail/32fe19b2-76e0-7165-7fb3-24aa309c9810%40redhat.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/thorntail/085d0255-8d02-4496-abf6-331c7fcd6d19o%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Thorntail" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/thorntail/32fe19b2-76e0-7165-7fb3-24aa309c9810%40redhat.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/thorntail/085d0255-8d02-4496-abf6-331c7fcd6d19o%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Thorntail" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/thorntail/32fe19b2-76e0-7165-7fb3-24aa309c9810%40redhat.com.
Thanks, I've seen https://issues.redhat.com/browse/THORN-2578 and submitted a PR.
I've also filed https://issues.redhat.com/browse/THORN-2577 for
the Commons Logging issue and submitted a PR as well.
To unsubscribe from this group and stop receiving emails from it, send an email to thorntail+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/thorntail/ccfc0118-031d-480d-855b-3eb87c3cb7e5o%40googlegroups.com.
Running the Swarm class has many known issues and is never a good idea. Can you try the Runner? https://thorntail.io/posts/thorntail-runner/
LT
On 18. 06. 20 14:55, deamn wrote:
--Hello,
how to start in Eclipse IDE a thorntail application that includes resource-adapter (like artemis-rar.rar)?
My application run correctly with
mvn clean package && java -jar target/testapp-thorntail.jar
But when I start in eclipse with org.wildfly.swarm.Swarm as main class, I have this error:
java.lang.RuntimeException: java.lang.RuntimeException: THORN0009: Unable to determine version number from GAV: org.apache.activemq.examples.modules:artemis-rar:rar:*
My environnement:
- Fedora 32
- openjdk 11
- Eclipse 2020-06
- Thorntail 2.7.0
You received this message because you are subscribed to the Google Groups "Thorntail" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thor...@googlegroups.com.
Custom main methods have been deprecated a long time ago. And running the Swarm class from the IDE means basically trying to run Thorntail from classpath, which has always been fragile.
LT
To unsubscribe from this group and stop receiving emails from it, send an email to thorntail+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/thorntail/a85dba5a-3937-4b78-b495-43fa842e6bffo%40googlegroups.com.