• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem running Client  RSS feed

 
Ram Pra
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
When I deploy my bean on the WebSphere,it says that it has succesfully deployed,but I don't see my bean's name under "Default Container" in the admin console.
Because of this i think my client is not able to find the JNDI name and fails in the look up saying that it has not found the name.But if I try with any of the JNDI name of the beans which is already present in the listing of the Default Container ,it runs succesfully.Is there any problem in my deployment.COuld anyone tell me the complete steps of deploying and running the client.
Please help me out of this situation.
Thanks,
Prashanth
 
daman sidhu
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am working on WAS and hope that this might help u out, first after u have generated the deployed code for your ejb, export it to any directory, open was and create enterprise bean as u must be normally doing, if u are using a datasource in this then specify it there.and after u create it , the name should appear under the default container, if it does not then there might be a problem with that application, make a new application just to test it, and make sure u check the ejb option when making it.Try it there, if still there is a problem then u might be having a problem with the jndi, if u have visual age for java too, then test all the applications there before porting it to WAS.
Hope this helps.
Regards,
Daman
 
Ram Pra
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot Sidhu,
I figured out what the problem was actually!!
I was not running the bean..
Actually after deploying the bean you have to right-click on the default-container tab and then choose the option "create enterprisebean".After which the bean is added to the container.
Then You have to right click on the bean you have just added to the container and say start.Now the Bean is started and is ready for use.
Prashanth
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!