Hi, guys!
I've been working with JBoss for some months by now... and today I just happened to find a problem I didn't have before.
I'm working on a EJB project. I have two development branches: development and stable.
Normally, I work on the development one... and once I solve a numbre of problems there, I merge the changes into the stable one (by the way, having two branches is a approach I've been using since not very long ago).
I decided to move a number of the changes, and deployed the "stable" version to see if it was ok. When I deploy the jar, I get this message:
Code:
13:46:54,627 INFO [EJBDeployer] Deployed: file:/usr/jboss-4.0.1sp1/server/desarrollo/deploy/smile.jar
13:46:54,901 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
MBeans waiting for other MBeans:
ObjectName: jboss.mq:service=InvocationLayer,type=UIL2
state: FAILED
I Depend On: jboss.mq:service=Invoker
Depends On Me: java.net.BindException: Address already in use
ObjectName: jboss.j2ee:jndiName=Smile/Conexion,plugin=pool,service=EJB
state: CREATED
I Depend On:
Depends On Me:
ObjectName: jboss.web.deployment:id=322494436,war=smile-web.war
state: DESTROYED
I Depend On:
Depends On Me:
ObjectName: jboss.j2ee:jndiName=Smile/Conexion,service=EJB
state: FAILED
I Depend On:
Depends On Me: javax.naming.NameAlreadyBoundException
MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
ObjectName: jboss.j2ee:jndiName=Smile/Conexion,plugin=pool,service=EJB
state: CREATED
I Depend On:
Depends On Me:
ObjectName: jboss.web.deployment:id=322494436,war=smile-web.war
state: DESTROYED
I Depend On:
Depends On Me:
ObjectName: jboss.mq:service=InvocationLayer,type=UIL2
state: FAILED
I Depend On: jboss.mq:service=Invoker
Depends On Me: java.net.BindException: Address already in use
ObjectName: jboss.j2ee:jndiName=Smile/Conexion,service=EJB
state: FAILED
I Depend On:
Depends On Me: javax.naming.NameAlreadyBoundException
I tried deleting the jar file defore deployment, I tried deleting the project (web project) that depends on it, I tried restarting the server. It's still the same. Can't get it to work.
I don't think this has anything to do with it.... but I'll tell you anyway: I have two instances of jboss running in the same server. One with the stable and one with the development. Right now I'm trying to deploy the "stable" on the "development" server. Once I check It's working fine, I'll deploy it on the stable one.
Let's see if you find my silly mistake (I guess it will be a think or two I just forgot to do).