Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Library files are also being deployed

okmich-JavaNetMar 17 2009 — edited Mar 17 2009
Good day all,

I have a deployment issue that has plagued my development for sometime now.
I have an EJB module called commons which contains a lot of functionalities across my projects. But just recently, whenever I want to deploy another project, I get the NameAlreadyBoundException of the EJBs within the common module.
I package new projects as Ear but do not include the common ejb module as a a module instead I add its jar to the other module to act as a regular library file. Also to note is that it deploys other regular jar files as application stub clients.

Can anyone help me explain why this behaviour happens? My luck hitherto is that it has never occurred on my live server but it is not plaguing my developement server.

Regards,
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 14 2009
Added on Mar 17 2009
6 comments
164 views