Hello,
I've installed kie-drools-wb-distribution-wars-6.1.0.CR1-wildfly with all
the defaults - i.e m2 repo is in WIDLFLY_HOME/bin/repositories/kie) and
everything works fine so, except that I can't manage to upload a JAR.
The JAR I'm trying to upload is a mavenized JAR, it has no dependencies but
a parent pom. I get this Exception in the logs :
16:33:54,459 ERROR [io.undertow.request] (default task-9) UT005023:
Exception handling request to
/kie-drools-wb-distribution-wars-6.1.0.CR1-wildfly/org.kie.workbench.drools.KIEDroolsWebapp/m2repo/file:
java.lang.LinkageError:
com/ning/http/client/providers/netty/NettyAsyncHttpProvider
at
org.sonatype.maven.wagon.AhcWagon.openConnectionInternal(AhcWagon.java:150)
[wagon-ahc-1.2.1.jar:]
at
org.apache.maven.wagon.AbstractWagon.openConnection(AbstractWagon.java:105)
[wagon-provider-api-1.0.jar:1.0]
at
org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:207)
[wagon-provider-api-1.0.jar:1.0]
at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector.connectWagon(WagonRepositoryConnector.java:345)
[aether-connector-wagon-1.13.1.jar:]
at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector.pollWagon(WagonRepositoryConnector.java:385)
[aether-connector-wagon-1.13.1.jar:]
at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:571)
[aether-connector-wagon-1.13.1.jar:]
at
org.sonatype.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:60)
[aether-util-1.13.1.jar:]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[rt.jar:1.7.0_11]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[rt.jar:1.7.0_11]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_11]
16:33:54,463 ERROR [stderr] (pool-14-thread-1) Exception in thread
"pool-14-thread-1" java.lang.LinkageError:
com/ning/http/client/providers/netty/NettyAsyncHttpProvider
16:33:54,464 ERROR [stderr] (pool-14-thread-1) at
org.sonatype.maven.wagon.AhcWagon.openConnectionInternal(AhcWagon.java:150)
16:33:54,464 ERROR [stderr] (pool-14-thread-1) at
org.apache.maven.wagon.AbstractWagon.openConnection(AbstractWagon.java:105)
16:33:54,471 ERROR [stderr] (pool-14-thread-1) at
org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:207)
16:33:54,472 ERROR [stderr] (pool-14-thread-1) at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector.connectWagon(WagonRepositoryConnector.java:345)
16:33:54,473 ERROR [stderr] (pool-14-thread-1) at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector.pollWagon(WagonRepositoryConnector.java:385)
16:33:54,473 ERROR [stderr] (pool-14-thread-1) at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:571)
16:33:54,474 ERROR [stderr] (pool-14-thread-1) at
org.sonatype.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:60)
16:33:54,474 ERROR [stderr] (pool-14-thread-1) at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
16:33:54,474 ERROR [stderr] (pool-14-thread-1) at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
16:33:54,475 ERROR [stderr] (pool-14-thread-1) at
java.lang.Thread.run(Thread.java:722)
I also try to upload my parent pom ... but I get an error message "The JAR
does not contain a valid pom" ... of course it's not a JAR, it's just a
pom.xml
Can someone give me some hints on how to do this ?
Can I workaround and do a "mvn install" to put the JAR in the REPO under
WIDLFLY_HOME/bin/repositories/kie ?
Any help or hint would be appreciated.
Regards
-JPS
--
View this message in context: http://drools.46999.n3.nabble.com/drools-wb-6-1-0-CR1-wildfly-error-when-upload-jar-M2-Repo-tp4030276.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users