Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Issue in getting HumantaskmanagerHome(process server) from websphere portal

kasyaparushi kiran
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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, "");

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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic