-
1. Re: Does jboss-as-maven-plugin not support Java 7
randahl Apr 30, 2012 4:34 PM (in response to randahl)Can anyone confirm they have got the plugin working with Java 7 (on Windows or elsewhere)?
Thanks.
-
2. Re: Does jboss-as-maven-plugin not support Java 7
randahl May 1, 2012 1:38 PM (in response to randahl)I switched back to traditional Apple Java 1.6, and now the plugin is again able to contact JBoss for deployment.
-
3. Re: Does jboss-as-maven-plugin not support Java 7
jamezp May 3, 2012 1:17 PM (in response to randahl)Currently we're just using GitHub issues for the maven plugin. Feel free to file an issue there.
--
James R. Perkins
-
4. Re: Does jboss-as-maven-plugin not support Java 7
bookwood Aug 22, 2012 5:34 AM (in response to randahl)I can confirm your issue on Gentoo Linux with "IcedTea JDK 6.1.11.3 [icedtea-6]" too. I saw the helloworld-html5 example in my Jboss Tools and I'm bursting with curiosity. After installation I would be asked to read the Readme and I noticed the "mvn package jboss-as:deploy" command. I stopped and leave the jbosstools and start with a "mvn clean; mvn package jboss-as:deploy". The result:
[ERROR] Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.1.0.Final:deploy (default-cli) on project helloworld-html5: Could not execute goal deploy on helloworld-html5.war. Reason: java.net.ConnectException: JBAS012144: Could not connect to remote://localhost:9999. The connection timed out -> [Help 1]
[ERROR]
Under my handinstalled jboss-as-maven-plugin:7.1.1.Final everything is running fine (icedtea-6 too).
-
5. Re: Does jboss-as-maven-plugin not support Java 7
nickarls Aug 22, 2012 5:37 AM (in response to randahl)I use jboss-as:deploy on java 7 (Windows) and it works for me.
-
6. Re: Does jboss-as-maven-plugin not support Java 7
ctomc Aug 22, 2012 8:35 AM (in response to randahl)Hi,
there are bunch of bugs in JDK7 for mac, especialy in area of NIO, which is technology jboss maven plugin uses to connect to AS.
you can check bug database for this exact issue: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7159361
workaround is to add -Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.KQueueSelectorProvider to app running this, in your case maven.
--
tomaz
-
7. Re: Does jboss-as-maven-plugin not support Java 7
jamezp Aug 22, 2012 11:26 AM (in response to bookwood)Jochen Buchholz wrote:
I can confirm your issue on Gentoo Linux with "IcedTea JDK 6.1.11.3 [icedtea-6]" too. I saw the helloworld-html5 example in my Jboss Tools and I'm bursting with curiosity. After installation I would be asked to read the Readme and I noticed the "mvn package jboss-as:deploy" command. I stopped and leave the jbosstools and start with a "mvn clean; mvn package jboss-as:deploy". The result:
[ERROR] Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.1.0.Final:deploy (default-cli) on project helloworld-html5: Could not execute goal deploy on helloworld-html5.war. Reason: java.net.ConnectException: JBAS012144: Could not connect to remote://localhost:9999. The connection timed out -> [Help 1]
[ERROR]
Under my handinstalled jboss-as-maven-plugin:7.1.1.Final everything is running fine (icedtea-6 too).
That sounds more like maybe the application server was not running. The deploy goal does require a standalone or domain server to be running in order to deploy.
--
James R. Perkins
-
8. Re: Does jboss-as-maven-plugin not support Java 7
alitokmen Aug 27, 2012 1:24 PM (in response to randahl)As an alternative, you can simply use Codehaus CARGO, http://cargo.codehaus.org/
It can locally or remotely deploy to many application servers and many versions of them; including JBoss 7. Read more on: http://cargo.codehaus.org/JBoss+Remote+Deployer
-
9. Re: Does jboss-as-maven-plugin not support Java 7
ctomc Aug 27, 2012 1:33 PM (in response to alitokmen)Savas,
given that cargo plugin under the hood uses jboss-as-controller-client it has same problem on mac jdk7 becouse of broken nio.
--
tomaz