2 Replies Latest reply: Aug 26, 2011 8:34 AM by Greg Jewell RSS

JBoss 6 NameAlreadyBoundException

Greg Jewell Newbie

Hello,

 

I am attempting to deploy 3 separate ear files in JBoss AS 6.  These ears contain a common jar that has a Main-Class attribute in the manifest.  This is causing a NameAlreadyBoundException as discussed here:

 

http://community.jboss.org/message/554657

 

As a temporary solution, I have removed this jar and placed it into the <server config>/lib directory.  However, this isn't a viable solution since we provide our ear files to somebody else.  Additionally, the offending jar is not ours, so modifying the jar would potentially have licensing issues. 

Is there some configuration that I can provide inside the ear files that would prevent this error from occurring?

 

 

Thanks,

Greg Jewell