IntelliJ Java IDE
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
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Reply 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
 
IntelliJ Java IDE
 
subject: Issue in getting HumantaskmanagerHome(process server) from websphere portal
 
Threads others viewed
System exception on UserTransaction.commit() , followed by RollbackException
Getting SOAPMessage as null
Can we Call a Midlet From Another Midlet
a4j is undefined when I use ajax tags
java.exe in Task Manager
developer file tools