WebGUI
      Click here to register.
      
View Cart (0)
IRC banner

View All Tickets
wreservice.pl restart spectre message weirdness  (#3574)
Issue

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

Solution Summary
Comments
Graham
0
2/14/2008 9:47 am

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
Graham
0
2/28/2008 9:56 am
For 7.5.3, spectre disconnects from its terminal when run as a daemon, so these messages won't show up
Details
Ticket Status Closed  
Rating0.0 
Submitted Bysbaur 
Date Submitted2008-02-13 
Assigned To unassigned  
Date Assigned2008-10-13 
Assigned By 
Severity Cosmetic (misspelling, formatting problems)  
What's the bug in? WebGUI Stable  
WebGUI / WRE Version 7.3.?/0.8.1  
URLbugs/tracker/wreservice_pl-restart-spectre-message-weirdness
Keywords
Ticket History