Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP 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
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic