JBoss plugin keeps blowing up

No matter what I try, I can't seem to get the jboss plugin to deploy a very
basic (1 jsp) project. I keep getting this error in the console, and further
it seems to trigger the red warning ! in idea too asking to blame core.
I'm on the latest EAP, on Windows.

R


No message
Incomplete Deployment listing:

--- Packages waiting for a deployer ---
org.jboss.deployment.DeploymentInfo@a8a7f834 { url=file:/C:/IdeaProjects/ERIC/exploded/
}
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/C:/IdeaProjects/ERIC/exploded/
altDD: null
lastDeployed: 1127745715843
lastModified: 1127745365118
mbeans:

--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@a8a7f834 { url=file:/C:/IdeaProjects/ERIC/exploded/
}
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/C:/IdeaProjects/ERIC/exploded/
altDD: null
lastDeployed: 1127745715843
lastModified: 1127745365118
mbeans:


at org.jboss.deployment.MainDeployer.checkIncompleteDeployments(MainDeployer.java:1286)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:741)
at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:251)
at sun.reflect.GeneratedMethodAccessor91.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:164)
at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:805)
at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:406)
at sun.reflect.GeneratedMethodAccessor89.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
at sun.rmi.transport.Transport$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


2 comments

JBoss uses the deployment target's file extension to choose an appopriate deployer. In your case JBoss doesn't know which deployer to use since the directory you're deploying from (exploded) doesn't have an extension. Rename the directory to 'exploded.war' and JBoss will be happy. And blame JBoss about that, neither the plugin nor IDEA... :)

In a future version of the plugin I'll try to catch this situation and display some helpful information. Maybe I also find a way to log the exception without IDEA showing the warning sign.

0

JBoss uses the deployment target's file extension to choose an
appopriate deployer. In your case JBoss doesn't know which deployer to
use since the directory you're deploying from (exploded) doesn't have
an extension. Rename the directory to 'exploded.war' and JBoss will be
happy. And blame JBoss about that, neither the plugin nor IDEA... :)


Yup that totally makes sense now that you post this. As soon as you mentioned
file extention, then it clicked right away. I think I'll name it something
more intelligent than exploded too :)

In a future version of the plugin I'll try to catch this situation and
display some helpful information. Maybe I also find a way to log the
exception without IDEA showing the warning sign.


indeed, if you detect that the output dir is exploded and doesn't contain
a . followed by war then it's a problem for sure.

Thanks for the quick response Martin.

R


0

Please sign in to leave a comment.