File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Portals and Portlets and the fly likes Issue in getting HumantaskmanagerHome(process server)  from websphere portal Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Issue in getting HumantaskmanagerHome(process server)  from websphere portal" Watch "Issue in getting HumantaskmanagerHome(process server)  from websphere portal" New topic
Author

Issue in getting HumantaskmanagerHome(process server) from websphere portal

kasyaparushi kiran
Ranch Hand

Joined: May 05, 2009
Posts: 33
Hi,

I am working on integration of portal and process server.In that trying to invoke Human task(process server) from portal.


I am trying to get HumantaskmanagerHome from portlet class.but am getting below exception when i look up.
*WsnInitCtxFac W NMSV0602E: Naming Service unavailable. A communications error* .

Please guide me to resolve this issue.


hashtable.put(Context.INITIAL_CONTEXT_FACTORY, "com.ibm.websphere.naming.WsnInitialContextFactory");

hashtable.put(Context.PROVIDER_URL, url);
context = new InitialContext(hashtable);

HumanTaskManagerHome _htmh = null;
_htmh = (HumanTaskManagerHome) context.lookup("com/ibm/task/api/HumanTaskManagerHome");


Thanks & Regards,
K.Kiran Kumar
 
 
subject: Issue in getting HumantaskmanagerHome(process server) from websphere portal