LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-15-2005, 01:09 PM   #1
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
Problem deploying EJBs on JBoss


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).
 
Old 04-15-2005, 01:46 PM   #2
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092

Original Poster
Blog Entries: 1

Rep: Reputation: 90
I solved it. I effectively did something silly. I duplicated one env-entry in teh deployment descriptor. Anyway... that's a weird way for JBoss to report it, right?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Deploying PHP on Jboss ???? markwaugh Linux - General 0 07-12-2005 08:48 AM
EJB: Problem with concurrent calls to EJBs (according to JBoss) eantoranz Programming 0 03-14-2005 11:10 AM
jboss start problem dodgethis Linux - Software 0 03-11-2005 11:36 AM
jboss sitting-duck problem eantoranz Linux - Software 0 04-09-2004 09:56 PM
Jboss hell with ejbs plz help juby Programming 0 12-15-2003 02:01 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration