wood burning stoves 2.0*
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
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Issue in getting HumantaskmanagerHome(process server) from websphere portal
 
Similar Threads
java.exe in Task Manager
a4j is undefined when I use ajax tags
Can we Call a Midlet From Another Midlet
System exception on UserTransaction.commit() , followed by RollbackException
Getting SOAPMessage as null