WebSphere Portal Server - error while looking up ejb

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > May 2007 > error while looking up ejb





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author error while looking up ejb

2007-05-28, 1:20 am

Hi there,
I need to use and build a front end using portlet technology for a third party developed ejb.
can anyone help me with the strategy to take for this?
Currently we have tried one solution which is like-
The portlets use state pattern. We have added the service locator part of looking up the ejb in a helper class. There is no business delegate component sitting between the portlet structure and ejbs.

My problem here is when i'm trying to look up the ejb, i get some error! The cause is not known yet. We have added SOPs at all the points to check the flow of the portlet. The moment my state constructor is called which has a call to new delegateClass(),
the execution stops. Even SOP put before this call are not printed. The exception is caught and am printing the stack trace as well which also does not say much about the error. It says
javax.servlet.ServletException..

If I moved the code of delegate instance creation to the first setInitialState method then the war is not installed on the portal.

Any pointers for this highly appreciated.
TIA
Ritu

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com