Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Unable to Run JSP Client for EJB  RSS feed

 
Vinod Ponmanadiyil
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have successfully deployed a simple stateless session bean in Weblogic Application Server Version 6.
But I am unable to run the JSP Client for the deployed bean.
I am getting the following while JDNI lookup :
java.lang.ClassCastException: ejb.hellobean.HelloBeanHomeImpl_ServiceStub
I will be thankful if anybody please let me know why I am getting this error.
Thanks
Vinod
 
Marcos Maia
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you run the weblogic.ejbc compiler in your ejb before deploy in the WL server?
if yes, pls post the fragment of code from your jsp where you try to get a reference to the bean so it�ll be easyer to help
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!