As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
I am just wondering if anyone has a bit of code or how people recycle their servers at night.
I have to say that the server and client software is very stable and on production we never had a problem, but with test server we get the occasional problems because the code is more likely to contain bugs that create infinite loops or crashed agents.
The plan is to issue a reboot once a week at the weekend and I just wondered what others do about this.
John
Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2 Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
Posts: 888 | Location: Airstrip One | Registered: October 06, 2006
I think you could use windows task management to do just that. With that standard windows tool you can schedule either a batch job which will first stop and then start the server again. You can do that using the NET STOP [servicename] and NET START [servicename] commands.
Hope this helps...
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007
Pat, Yes I just tested it. You do have to give the server a bit of extra time to completely shutdown, say something like 5 extra seconds. And then it starts up again. My bat file looks as follows:
net stop "WebFOCUS 76 Server"
wait 5
net start "WebFOCUS 76 Server"
The wait command calls a small piece of freeware software called wait.exe that does exactly what you expect - it waits (in this case) for 5 seconds. And this can be added to the windows tasks without a problem.
Hope this helps ...
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007
We run 3 WebFOCUS servers on 3 continents and have made it a Standard Operating Procedure to restart them around midnight local time every day. We've been doing this for more than 7 years through several iterations of server hardware and IBI software in each location.
The server is restarted by a simple Windows process, a Control Panel Scheduled task that runs "C:\WINDOWS\system32\shutdown.exe -f" starting in "C:\WINSOWS32" run by WebFOCUS's 'master' UserID (the one we used to install IBI's software).
This technique has served admirably to housekeep all the 'trash' from crashed agents.
Midnight, is an slow time of day when RCaster is more or less inactive with few jobs scheduled. We don't worry about Windows killing RCaster when a job is in process because our lookback setting of 3 days will detect, after the restart, that the job was submitted by RCaster to an agent for processing and was never returned 'completed', so RCaster just dispatches it again to one of the new agents.
7.6.4 supports sending e-mail notifications when any of 4 events happen (see Server Console > Workspace > Configuration > Notification). We have all 4 turned 'on' and have discovered that this schedueled restart is accompanied by Java issuing an error e-mail with subject "JSCOM3 special service crashed". We've given each server a unique e-mail 'From' ID (see see Server Console > Workspace > Configuration > E-Mail) and send these JSCOM3 messages, and those from the other 4 notification types to an e-mail group that monitors the WebFOCUS application. The same-time-every-day appearance of 3 JSCOM3 e-mails tells us that all the platforms are running OK. An e-mail at any other time says something's wrong and a server had to 'auto-restart'. Those we investigate.
Chris
WIN/2K running WF 7.6.4 Development via DevStudio 7.6.4, MRE, TextEditor. Data is Oracle, MS-SQL.
Posts: 154 | Location: NY | Registered: October 27, 2005
My question is why do we have to schedule a WebFOCUS Server restart every night? I am talking about us as a group and not me specifically. Have any of you figured out the real reason why this is necessary? It makes a big difference in performance to restart the WebFOCUS Server periodically, but it seems odd to have to do this.
Posts: 22 | Location: Seattle, WA | Registered: March 29, 2007
On our Unix platform, there is some caching going on and when a new user id, especially an application id, is added to the box, often the reporting server won't know about the id until the server is restarted.