Can't ab;e to execute user task

com.wm.app.prt.ProcessException: [PRT.0101.9432] Task execution was unsuccessful. The task engine returned status: error and error message: Unhandled Exception during rule processing. Rule [/meta/default/wm_xt_portalrules/0000008395] com.webmethods.caf.rules.RuleException: javax.el.ELException: com.webmethods.caf.faces.data.ContentProviderException: com.webmethods.caf.wsclient.WSClientException: java.net.MalformedURLException: no protocol: /ws/gdcdcommon.ws:gdcdCommonWs/gdcdcommon_ws_gdcdCommonWs_Port at com.webmethods.portal.mech.rules.impl.BindingExpressionResolver.evaluate(BindingExpressionResolver.java:85) at com.webmethods.caf.rules.impl.constant.BindingExpressionConstant.evaluate(BindingExpressionConstant.java:53) at com.webmethods.caf.rules.impl.Rule.evaluateResult(Rule.java:67) at com.webmethods.portal.mech.task.impl.TaskRuleHelper.evaluateRule(TaskRuleHelper.java:131) at com.webmethods.portal.mech.task.impl.TaskChangeHandler.evaluateTriggerRule(TaskChangeHandler.java:949) at com.webmethods.portal.mech.task.impl.TaskChangeHandler.processTriggerRulesInFolder(TaskChangeHandler.java:966) at com.webmethods.portal.mech.task.impl.TaskChangeHandler.processTaskChangedEvent(TaskChangeHandler.java:828) at com.webmethods.portal.mech.task.impl.TaskChangeHandler$2.run(TaskChangeHandler.java:380) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: javax.el.ELException: com.webmethods.caf.faces.data.ContentProviderException: com.webmethods.caf.wsclient.WSClientException: java.net.MalformedURLException: no protocol: /ws/gdcdcommon.ws:gdcdCommonWs/gdcdcommon_ws_gdcdCommonWs_Port at com.sun.el.parser.AstValue.invoke(AstValue.java:258) at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:302) at com.webmethods.caf.faces.application.CAFMethodExpression.invoke(CAFMethodExpression.java:73) at com.webmethods.portal.mech.rules.impl.BindingExpressionResolver.evaluate(BindingExpressionResolver.java:75) … 12 more Caused by: com.webmethods.caf.faces.data.ContentProviderException: com.webmethods.caf.wsclient.WSClientException: java.net.MalformedURLException: no protocol: /ws/gdcdcommon.ws:gdcdCommonWs/gdcdcommon_ws_gdcdCommonWs_Port at com.webmethods.caf.faces.data.ws.glue.GlueWSClientContentProvider.getObjectInstance(GlueWSClientContentProvider.java:121) at com.webmethods.caf.faces.data.object.ObjectMethodContentProvider.refresh(ObjectMethodContentProvider.java:361) at caf.war.BuildPermitsApprovalWorkflowTasks.taskclient.PenaltyTaskRuleContext.queue_action(PenaltyTaskRuleContext.java:104) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.sun.el.parser.AstValue.invoke(AstValue.java:254) … 15 more Caused by: com.webmethods.caf.wsclient.WSClientException: java.net.MalformedURLException: no protocol: /ws/gdcdcommon.ws:gdcdCommonWs/gdcdcommon_ws_gdcdCommonWs_Port at com.webmethods.caf.wsclient.util.WSClientUtil.extractHostURL(WSClientUtil.java:476) at com.webmethods.caf.wsclient.proxy.impl.WSClientDynamicProxy.(WSClientDynamicProxy.java:94) at com.webmethods.caf.wsclient.proxy.impl.WSProxyFactory.getProxy(WSProxyFactory.java:161) at com.webmethods.caf.faces.data.ws.glue.GlueWSClientContentProvider.getObjectInstance(GlueWSClientContentProvider.java:106) … 22 more Caused by: java.net.MalformedURLException: no protocol: /ws/gdcdcommon.ws:gdcdCommonWs/gdcdcommon_ws_gdcdCommonWs_Port at java.net.URL.(URL.java:593) at jav

Hi Rakesh,

can you provide your wM version please?

Please check your CAF Application Runtime Configuration for this Task in MWS Portal Administration.
Looks like it is missing address for the IntegrationServer there.

Regards,
Holger

Hi Holger,I figured out the issue,i.e In a user task under bindings for a web service end point address passing empty,When I hardcode it like http://localhost:5555 it is working fine but when I give like #{environment[“wsclient-endpointAddress”]} throwing above error.

Hi Rakesh,

when using the expression you need to update the CAF Application Runtime Configuration in MWS.

Login as SysAdmin to MWS and go to “Administration Dashboard” (this should be the default startpage for SysAdmin) and select “CAF Application Runtime Configuration”. Search your Task Application and edit the environment settings.

See MWS Admin Guide for further informations.

Regards,
Holger

1 Like

Thank you very much Holger,Resolved by doing so…

Hi,

The “CAF Application Runtime Configuration” settings should be available in the substitutions definitions in “Configure Build” inside the Deployer’s Maps.

I already have a open ticket with SAG as this is available in the command line tools and does not work.

Maybe you need to raise another for the web interface.

Best regards,