WebGUI
      Click here to register.
      
YAPC North America 2008


     Report a Bug > WebGUI Bug Tracker

wreservice.pl restart spectre message weirdness

User susanb
Date 2/13/2008 5:50 pm
Severity Cosmetic (misspelling, formatting problems)
Version WebGUI Stable 7.3.?/0.8.1
Views 219
Rating 5    Rate [
|
]
Karma Rank 0.000000
Previous · Next
User Message
susanb

Question 1, why can't I say a bug is in the WRE on this form?

Real Question:

So, I just ran the following:

[me@myserver /data/WebGUI/sbin]$ sudo wreservice.pl --restart web spectre
Restart mod_perl:     OK
Restart mod_proxy:    OK
Restart S.P.E.C.T.R.E.:OK
[me@myserver /data/WebGUI/sbin]$ Session 'workflow' has not published state 'getJsonStatus' [poe://127.0.0.1:32133/workflow/getJsonStatus]

See how the Session 'workflow' message popped up after my command prompt came back 

Seems to me it shouldn't work that way. :-)

More Info:
And, it printed two more copies of that message to the terminal while I was typing this in here. Something's still open somewhere... I'm going to ctrl-c hopefully spectre doesn't die when I do that.

Susan B



Back to Top
Rate [
|
]
 
 
Graham

There are two parts to this:

The WRE monitor in WRE 0.8.1 uses a method introduced in WebGUI 7.4 to verify that spectre is processing jobs properly.

You can remove this check by commenting out a line from wre/sbin/wremonitor.pl:

#monitorSpectre($spectre);

This should be line 50.  It will still check for spectre being running with this commented out.

I'm going to leave this bug open to deal with the second issue: spectre doesn't disconnect from it's terminal when run as a daemon.  So when the WRE monitor called an invalid function, it spit out its error message on your terminal.

Back to Top
Rate [
|
]
 
 
Graham
For 7.5.3, spectre disconnects from its terminal when run as a daemon, so these messages won't show up there.

Back to Top
Rate [
|
]