Total Pageviews

2017/07/06

[webMethods] Service 'group2.kafka:KafkaSubscriber' is not operational. To run this service, first recompile the Java source.

Problem
當我在執行 Flow Service 時,出現此錯誤
1:  [ISS.0059.0001W] Interrupted [ISS.0026.9102] Service 'group2.kafka:KafkaSubscriber' is not operational.   
2:  To run this service, first recompile the Java source.  


How-To
會出現此錯誤,是因為 webMethods 沒有 compile 此 Java Service,此時要強迫 webMethods 去 compile Java Service

執行步驟:
Step 1. 打開命令提示字元,變更目錄到 [integration server directory]\instances\default\bin

Step 2. 執行 jcode 來做強迫 compile OpcTest2 此 package 下的所有 Java Services,指令如下 jcode makeall [package name]
1:  D:\SoftwareAG\IntegrationServer\instances\default\bin>jcode makeall OpcTest2  

Reference
[1] https://docs-old.servicerocket.com/display/WMFAQ/How+to+make+a+Java+service+recompiled+even+if+it+hasnt+been+changed

No comments: