Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

2253

November 16th, 2009 12:00

custom method is not executing in Auto Activity

Hi All,

I developed a Custom method for promoting a lifecycle. I deployed jar file in java_method folder in CS 6.5.

My wf has two auto activities.  in first auto actity i used outof the box method "WF_promotelifecycle', it is working file, when the workitem comes in send auto activity my custom method is not running. I written my business logic in  execute method.

any idea!!!

Thanks in Advance.

Thanks,

Prasad

152 Posts

November 18th, 2009 14:00

That's good! Can you please mark the thread as anwered and close it?

152 Posts

November 16th, 2009 12:00

Is your custom method getting called or not? Do you see any error in Java Method server logs?

4 Posts

November 16th, 2009 16:00

Hi Neeraj,

No, Its not called from the workflow auto activity.

I am getting the error message as below

"Unale to launch Workflow Activity : Error in operation system"

Thanks In Advance.

152 Posts

November 17th, 2009 07:00

Have you selected your custom method in auto-activity definintion? Also, make sure method class is available to java method server. Did you checked all the logs on method server including ServerApps.log, Server.log, etc.?

4 Posts

November 17th, 2009 13:00

Hi Neeraj,

When ever my custom workflow method running it looking into the following location : /bpm/Servlet/DoMethod. But I didn't installed bpm on my content server.

I deployed my jar files in /Dba/javamethods/

Method running for Workflow Auto Activity :

Tue Nov 17 15:58:13 2009 084751: 27610[27610] DO_METHOD TRACE LAUNCH: user: BGEAssetMgmt, session id: 01018a908000000c, method: ApprovedMethodBGE, host:localhost, port:9080, path:/bpm/servlet/DoMethod, arguments:-method_verb com.bge.dctm.assetmgmt.method.ApprovedDocMethodBGE -__dm_docbase__ BGEAssetMgmt -__dm_server_config__ BGEAssetMgmt -docbase_name BGEAssetMgmt -user "test" -packageId 4a018a908000094f -ticket DM_TICKET=T0JKIE5VTEwgMAoxMwp2ZXJzaW9uIElOVCBTIDAKMwpmbGFncyBJTlQgUyAwCjEKc2VxdWVuY2VfbnVtIElOVCBTIDAKMTI4MwpjcmVhdGVfdGltZSBJTlQgUyAwCjEyNTg0OTE0OTMKZXhwaXJlX3RpbWUgSU5UIFMgMAoxMjU4NDkxNzkzCmRvbWFpbiBJTlQgUyAwCjAKdXNlcl9uYW1lIFNUUklORyBTIDAKQSA0IHRlc3QKcGFzc3dvcmQgSU5UIFMgMAowCmRvY2Jhc2VfbmFtZSBTVFJJTkcgUyAwCkEgMTIgQkdFQXNzZXRNZ210Cmhvc3RfbmFtZSBTVFJJTkcgUyAwCkEgMTUgZG9jYXBkLW1zdy0xMDB6CnNlcnZlcl9uYW1lIFNUUklORyBTIDAKQSAxMiBCR0VBc3NldE1nbXQKc2lnbmF0dXJlX2xlbiBJTlQgUyAwCjU2CnNpZ25hdHVyZSBTVFJJTkcgUyAwCkEgNTYgYk5PVTRyY21RU0V1WVBsYmdmTnNOdE9NNVpFMUJyM3lCRWRsTjA3eFJnR09yWVdJR1AzSEl3PT0K -mode 0
Tue Nov 17 15:58:13 2009 089383: 27610[27610] DO_METHOD TRACE LAUNCH: method launch: successful, user: BGEAssetMgmt, session id: 01018a908000000c, method: ApprovedMethodBGE
Tue Nov 17 15:58:13 2009 203418 [DM_WORKFLOW_E_AGENT_LAUNCH]error:  "Failed to launch 4a018a908000094f due to an operating system error: No Error."

Method  Directly running from DA/Methods: When i run like this, my method is running


Tue Nov 17 16:00:42 2009 836405: 3969[3969] DO_METHOD TRACE LAUNCH: user: dmadmin, session id: 01018a9080024d36, method: ApprovedMethodBGE, host:localhost, port:9080, path:/DmMethods/servlet/DoMethod, arguments:-method_verb com.bge.dctm.assetmgmt.method.ApprovedDocMethodBGE -__dm_docbase__ BGEAssetMgmt -__dm_server_config__ BGEAssetMgmt
Tue Nov 17 16:00:42 2009 941470: 3969[3969] DO_METHOD TRACE LAUNCH: method launch: successful, user: dmadmin, session id: 01018a9080024d36, method: ApprovedMethodBGE

152 Posts

November 18th, 2009 07:00

This is weird. It should pick it up from java_methods.

Have you installed related xCP components like Process Engine? Process enginge installer deplaoys lot of docapps. If you go to content server properties > App servers tab, do you see do_bpm parameters?

4 Posts

November 18th, 2009 13:00

Hi Neeraj,

Thanks for your inputs.

I solved the issue. I did the following changes in server config object

1) we are not installed BPM on our Content Server.

2) I deleted the entry for the do_bpm from the DA (da->basic configuration->contentserver->properties->appservers->delete entry for the 'do_bpm'

3) Restarted Content Server. and executed Publisher job.


Thanks,

Prasad

No Events found!

Top