soa - java.net.ConnectException while running webservice? -


i developing web service in want connect soa server. it's giving connection exception.

code:

public class connectsoa{      public static void main(string[] args){              map<iworkflowserviceclientconstants.connection_property, string> connproperties = new hashmap<iworkflowserviceclientconstants.connection_property, string>();             connproperties.put(iworkflowserviceclientconstants.connection_property.client_type,workflowserviceclientfactory.remote_client);             connproperties.put(iworkflowserviceclientconstants.connection_property.ejb_provider_url,"t3://10.10.78.79:8001");             connproperties.put(iworkflowserviceclientconstants.connection_property.ejb_initial_context_factory,"weblogic.jndi.wlinitialcontextfactory");             try {                 workflowserviceclient = workflowserviceclientfactory                         .getworkflowserviceclient(connproperties, null, null);                 itaskqueryservice = workflowserviceclient.gettaskqueryservice();                 statepredicate = new predicate(                         tableconstants.wftask_state_column, predicate.op_eq,                         iworkflowconstants.task_state_assigned);                 iworkflowcontext = itaskqueryservice.authenticate("demouser","demo1".tochararray(), null);             } catch(exception e ){                 e.printstacktrace();             }         }     } 

exception :

java.net.connectexception: t3://10.10.78.79:8001 bootstrap to: hostname/'10.10.78.79:8001' over: 't3' got error or timed out 

i have check soa server , running on machine.

can ping weblogic?

java weblogic.admin -url t3://ip:8001 -username xxx -password xxx ping 10 

i see have 10.10.78.79:8001 , in exception ip:8001

could server not ok. check config. see config.xml , listen address server , verify can ping it.


Comments