Skip to main content
Question

subscriber workspace does not run against posts to JOBSUBMITTER_ASYNC_JOB_SUCCESS/FAILURE notifications

  • August 2, 2017
  • 20 replies
  • 48 views

aguan
Supporter
Forum|alt.badge.img+11

I published a simple workspace to the FME server's Job Submitter service with the Job Completion notification posted to JOBSUBMITTER_ASYNC_JOB_SUCCESS/FAILURE topics. Then I published a second simple workspace (Creator and Logger just for testing) and add it to the subscription to the same topics. I would expect when I run the 1st workspace and at the end of it, the 2nd workspace should be run. But it did not. I can see the 1st workspace was run in the Topic Monitoring, but didn't see the 2nd job to follow up. Did I miss anything? I also tried using a new topic, instead of the out of box JOBSUBMITTER_ASYNC_JOB_SUCCESS/FAILURE topic, but no luck.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

20 replies

Forum|alt.badge.img
  • August 2, 2017
How do you run the first workspace? From the FME Server web interface?

 

And how do publish the second workspace?

 

 


aguan
Supporter
Forum|alt.badge.img+11
  • Author
  • Supporter
  • August 2, 2017

@larry, yes run the 1st on the FME server web interface.


Forum|alt.badge.img
  • August 2, 2017

@larry, yes run the 1st on the FME server web interface.

Are you publishing the second workspace to the notification service?

 

 


aguan
Supporter
Forum|alt.badge.img+11
  • Author
  • Supporter
  • August 2, 2017

@larry, I tried both publishing to the notification service, and publishing first and adding it to the subscriber in the Web UI. Neither works.


Forum|alt.badge.img
  • August 2, 2017

@larry, I tried both publishing to the notification service, and publishing first and adding it to the subscriber in the Web UI. Neither works.

What version of FME Server are you using?

 

 


aguan
Supporter
Forum|alt.badge.img+11
  • Author
  • Supporter
  • August 2, 2017

@larry, I tried both publishing to the notification service, and publishing first and adding it to the subscriber in the Web UI. Neither works.

2017.0, both server and desktop

 

 


aguan
Supporter
Forum|alt.badge.img+11
  • Author
  • Supporter
  • August 2, 2017

@larry, I tried both publishing to the notification service, and publishing first and adding it to the subscriber in the Web UI. Neither works.

The folder watch publication and subscription works great.

 

 


Forum|alt.badge.img
  • August 2, 2017
The folder watch publication and subscription works great.

 

 

I tested with FME Server 2017.0.0.2 and this is working as expected.

 

What do you see in the push log?

 

Home>Logs>core>current>subscribers

 

 


aguan
Supporter
Forum|alt.badge.img+11
  • Author
  • Supporter
  • August 2, 2017
I tested with FME Server 2017.0.0.2 and this is working as expected.

 

What do you see in the push log?

 

Home>Logs>core>current>subscribers

 

 

There is nothing recorded in the push.log for today.

 

 


aguan
Supporter
Forum|alt.badge.img+11
  • Author
  • Supporter
  • August 2, 2017
I tested with FME Server 2017.0.0.2 and this is working as expected.

 

What do you see in the push log?

 

Home>Logs>core>current>subscribers

 

 

Ours FME server is 2017.0.1.1

 

 


Forum|alt.badge.img
  • August 2, 2017
There is nothing recorded in the push.log for today.

 

 

Can you send a capture of you subscription like this one:

 

 

 


aguan
Supporter
Forum|alt.badge.img+11
  • Author
  • Supporter
  • August 2, 2017
Can you send a capture of you subscription like this one:

 

 

 

I set up a push subscriber like your screen, and got this in the push.log file:

 

 

Wed-02-Aug-2017 01:42:26 PM INFORM main 802002 : Subscriber "push" is updating configurations ...Wed-02-Aug-2017 01:43:26 PM INFORM main 802002 : Subscriber "push" is updating configurations ...Wed-02-Aug-2017 01:44:22 PM INFORM pool-1-thread-2 802006 : Push thread 14: Sending HTTP message to URL: "POST http://phoupgisapw108/fmenotification/Support/Subscriber.fmw?opt_servicemode=async&opt;_topic=JOBSUBMITTER_ASYNC_JOB_SUCCESS HTTP/1.1" with subscription "test_push"Wed-02-Aug-2017 01:44:22 PM ERROR pool-1-thread-2 Push thread 14: Failed to send HTTP message. Status code: 500, reason:

 

 


aguan
Supporter
Forum|alt.badge.img+11
  • Author
  • Supporter
  • August 2, 2017
I set up a push subscriber like your screen, and got this in the push.log file:

 

 

Wed-02-Aug-2017 01:42:26 PM INFORM main 802002 : Subscriber "push" is updating configurations ...Wed-02-Aug-2017 01:43:26 PM INFORM main 802002 : Subscriber "push" is updating configurations ...Wed-02-Aug-2017 01:44:22 PM INFORM pool-1-thread-2 802006 : Push thread 14: Sending HTTP message to URL: "POST http://phoupgisapw108/fmenotification/Support/Subscriber.fmw?opt_servicemode=async&opt;_topic=JOBSUBMITTER_ASYNC_JOB_SUCCESS HTTP/1.1" with subscription "test_push"Wed-02-Aug-2017 01:44:22 PM ERROR pool-1-thread-2 Push thread 14: Failed to send HTTP message. Status code: 500, reason:

 

 

The above push log happens after the 1st workspace is run.

 

 


rylanatsafe
Safer
Forum|alt.badge.img+14
  • Safer
  • August 2, 2017
Hi @ag! I am curious if you tried using the FME Workspace Subscriber instead of Push Subscriber – does that work?

 


aguan
Supporter
Forum|alt.badge.img+11
  • Author
  • Supporter
  • August 2, 2017
Hi @ag! I am curious if you tried using the FME Workspace Subscriber instead of Push Subscriber – does that work?

 

@Rylan, yes Workspace subscriber is the 1st thing I want and tried. The subscriber worspace is not triggered by the topic messaging.

 


Forum|alt.badge.img
  • August 2, 2017
Given what we tried so far and the 500 error you are having in the logs, I guess the next step is to open a support case with SAFE (https://www.safe.com/support/).

 

 


aguan
Supporter
Forum|alt.badge.img+11
  • Author
  • Supporter
  • August 2, 2017

Can anybody do a simple test -- create a workspace with just Creator and Logger. Published to Job Submitter with the job completion posted to JOBSUBMITTER_ASYNC_JOB_SUCCESS/FAILURE topics. Create a second workspace with just Creator and Logger, publish it to the server and create a workspace subscription with it for the same Topics. Run the 1st workspace, and see if it triggers the run of the 2nd workspace.

This simple test does not work for me. I don't see the 2nd workspace is triggered to run at the end of the 1st workspace run.


Forum|alt.badge.img
  • August 2, 2017

Can anybody do a simple test -- create a workspace with just Creator and Logger. Published to Job Submitter with the job completion posted to JOBSUBMITTER_ASYNC_JOB_SUCCESS/FAILURE topics. Create a second workspace with just Creator and Logger, publish it to the server and create a workspace subscription with it for the same Topics. Run the 1st workspace, and see if it triggers the run of the 2nd workspace.

This simple test does not work for me. I don't see the 2nd workspace is triggered to run at the end of the 1st workspace run.

This is also working for me but I see nothing in the logs (FMEServerShare\\resources\\logs\\core\\current\\subscribers\\_workspace.log) as I had before in the push log.

aguan
Supporter
Forum|alt.badge.img+11
  • Author
  • Supporter
  • August 3, 2017
This is also working for me but I see nothing in the logs (FMEServerShare\\resources\\logs\\core\\current\\subscribers\\_workspace.log) as I had before in the push log.
Thanks for the testing. The logs should have nothing. I will open a case.

 

 


Forum|alt.badge.img+2

Hi @ag

 

 

Can you confirm that you're seeing messages come through for JOBSUBMITTER_ASYNC_JOB_SUCCESS or JOBSUBMITTER_ASYNC_JOB_FAILURE when using topic monitoring and running the initial workspace?