Unable to deploy to AS7.1.0 CR1 using Maven
mpgong Jan 30, 2012 12:14 PMHello,
I was trying to deploy my webapp to 7.1 using the maven via the JBoss AS plugin but i keep getting this error
Jan 30, 2012 11:26:45 AM org.xnio.ChannelListeners invokeChannelListener ERROR: A channel event listener threw an exception java.lang.NullPointerException at org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:291) at org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:182) at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:71) at org.xnio.channels.TranslatingSuspendableChannel.handleReadable(TranslatingSuspendableChannel.java:173) at org.xnio.channels.TranslatingSuspendableChannel$2.handleEvent(TranslatingSuspendableChannel.java:94) at org.xnio.channels.TranslatingSuspendableChannel$2.handleEvent(TranslatingSuspendableChannel.java:92) at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:71) at org.xnio.nio.NioHandle.invoke(NioHandle.java:77) at org.xnio.nio.AbstractNioChannelThread$1.run(AbstractNioChannelThread.java:142) at java.lang.Thread.run(Thread.java:662)
and on the server output i see this
11:26:50,927 ERROR [org.jboss.remoting.remote] (Remoting "server1:MANAGEMENT" read-1) JBREM000200: Remote connection failed: java.io.IOException: An existing connection was forcibly closed by the remote host
My pom is set up like so
<plugin> <groupId>org.jboss.as.plugins</groupId> <artifactId>jboss-as-maven-plugin</artifactId> <version>7.0.0.Final</version> <configuration> <username>deployer</username> <password>deployer1</password> </configuration> </plugin>
This all worked fine under 7.0.2 Final but doesn't seem to work here.
Any thoughts as to what i might be missing in order to get this to work. It works fine if i drop the war in the deployment folder. Haven't tried deploying form the console or to the domain but i think those would work as well.
Thanks