Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

exception in entity bean on weblogic6.1

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
If I had asked people what they wanted, they would have said faster horses - Ford. Tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic