File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and Other Java EE Technologies and the fly likes exception in entity bean on weblogic6.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » EJB and Other Java EE Technologies
Reply Bookmark "exception in entity bean on weblogic6.1" Watch "exception in entity bean on weblogic6.1" New topic
Author

exception in entity bean on weblogic6.1

amit ang
Ranch Hand

Joined: Sep 28, 2001
Posts: 38
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

Joined: Dec 26, 2000
Posts: 159
Amit
I think u already deployed a bean with the same JNDI name
please check that
Cherry
amit ang
Ranch Hand

Joined: Sep 28, 2001
Posts: 38
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

Joined: Dec 26, 2000
Posts: 159
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
 
 
subject: exception in entity bean on weblogic6.1
 
Threads others viewed
Deploy DataSource in Entity Bean
problem in calling the mapped JNDI name
help please--URGENT!!! deploying an EJB component
datasource and connectionpool problem :weblogic6.1 and oracle8.1.5.0
Error while running entity bean on weblogic6.0
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture