Advertisement

02.25.2008 at 04:40AM PST, ID: 23190020 | Points: 100
[x]
Attachment Details

service=EJB already registered

Hi all
i've created 2 ear files and when i put them both in server\default\deploy i get the following error

service=EjbModule javax.management.InstanceAlreadyExistsException: jboss.j2ee:jndiName=Address,service=EJB already registered.

i created 2 datasouce files xxx-ds.xml  yyy-ds.xml both connect to different database both have different <jndi-name> xxxx </jndi-name> names

i've searched in jar files for ejb-jar.xml for the jndi name to make sure i don't have the same name for my datasources.  i've searched the jboss-app.xml to make sure the <loader-repository> is looking at the correct ear.  But now i'm clutching at straws

When i deploy the ears separately there  is no problem.  i'm missing something, i just know don't where to look or what to look for

any help much appreciated

thanks


Start your free trial to view this solution
Question Stats
Zone: Programming
Question Asked By: dalecon
Question Asked On: 02.25.2008
Participating Experts: 1
Points: 100
Views: 0
Translate:
Loading Advertisement...
02.25.2008 at 12:37PM PST, ID: 20978959

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.27.2008 at 06:42AM PST, ID: 20994333

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.27.2008 at 09:29AM PST, ID: 20996084

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
20080236-EE-VQP-29 / EE_QW_2_20070628