• Post Reply Bookmark Topic Watch Topic
  • New Topic

exception in entity bean on weblogic6.1  RSS feed

 
amit ang
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Everybody,
Iam getting some problem while executing the entity bean on weblogic6.1
I have checked for my datasouce with the external program that works properly.
Getting the following error when i deploy my ejbc jar.
cabinmethd is the ejb name
table name is cabin_table
JNDI Name for datasource is CabinEntityJndi
Unable to deploy EJB: cabinmethod from ejb_cabin.jar:
Unable to bind EJB Home Interface to the JNDI name: CabinEntityJndi. The error w
as:
javax.naming.NameAlreadyBoundException: Can't rebind anything but a replica-awar
e stub to a name that is currently bound to a replica-aware stub; remaining name
''
<>

>
.\config\mydomain\applications\ejb_cabin.jar: java.lang.reflect.UndeclaredThrowa
bleException>
Thanks in advance
Amit
 
Cherry Mathew
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Amit
I think u already deployed a bean with the same JNDI name
please check that
Cherry
 
amit ang
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanxs Cherry, the problem was with the datasourc ad the ejb having the same JNDI name.
Tell me, if u hae any idea of testing the EJB bean. Using some tool. where u can track the performance of the same.
I have tried to use the JProbe with the weblogic 6.1, but gives me all the proxy class that the weblogic is using.
Do u have any idea about this ?
Amit
Originally posted by Cherry Mathew:
Amit
I think u already deployed a bean with the same JNDI name
please check that
Cherry

 
Cherry Mathew
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Amit,
Write a client application for testing the bean> You can make this clietn generic which can be reused for other beans also.
Im using Jbuilder5 for developing testing and deployment.
Cherry
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!