Focal Point Banner


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. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] WF MRE 7.7.* - basedir domain.htm file zero bytes issue

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] WF MRE 7.7.* - basedir domain.htm file zero bytes issue
 Login/Join
 
Expert
posted
Hello, I was wondering if any of the long-time WebFOCUS developers remember a problem they may have encountered in the past - namely the control file, Domainname.htm, sometimes getting zapped to zero bytes.

Do any of you know the reason why this happens?

I tried digging around in FocalPoint but couldn't find anything.

I know I've encountered this in the past and it happened yesterday on the antique system I'm supporting.

Thanks,

This message has been edited. Last edited by: Francis Mariani,


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
Remember it happening, but don't remember a solution.

Hope you have backups


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6349 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Expert
posted Hide Post
I found two troubleshooting documents related to this bug.

The first describes what I already remember doing in the past - restoring the domain.htm file from a backup.

80452520 – Not able to access reports in one Managed Reporting domain

It seems I'll have to do what the second describes - I can't view that domain via Dev Studio.

52172518 – Cannot associate domain with WFRS node in Managed Reporting


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Virtuoso
posted Hide Post
I remember in some releases, when trying to open a file from an outside text editor and saving changes, it would revert the file to 0 bytes and everything would be gone after. The code was deleted somehow by saving the file from Notepad++. Not sure if that is related or not.


8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.
 
Posts: 1113 | Location: USA | Registered: January 27, 2015Report This Post
Platinum Member
posted Hide Post
Oh man - I remember that one. I always had to restore from a backup. It got to the point where I saved off a copy before I started an edit.


WebFOCUS 8.2.03 - Production
WebFOCUS 8.2.04 - Sand Box
Windows 2012 R2 Server
HTML, PDF, Excel
In FOCUS since 1980
 
Posts: 115 | Location: Seattle, WA | Registered: April 07, 2015Report This Post
Expert
posted Hide Post
Our External editor was always set to backup on save.

Its just safer that way


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6349 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Silver Member
posted Hide Post
quote:
mes

We found that it was the way the software saved when a change was being made; it deletes the file and then saves the new one. This is great when it works, but zeros out the file if it glitches mid-process.
Never found a fix, just set up an hourly backup process to recover files and a zero-byte scan to find them when it happened


8105 Tomcat and AIX reporting server
input: Teradata, SQL, DB2, Essbase, Oracle, text
output:html, excel, PDF,
 
Posts: 35 | Location: DFW Texas | Registered: May 30, 2008Report This Post
Expert
posted Hide Post
Yes, this is the infamous FILE zero-byte problem. EditPlus has a life-saving option to backup the file being edited. I have backups of files I edited in 2005!

The bigger problem is the MRE Domain "control" (as the documentation calls it) file, domain-id.htm. I've experienced this file getting zapped at least a couple of times in my career. We restored the file, things worked for a day, then things got unstable, so a server reboot (WebSphere, WebFOCUS) seems to have fixed it for now.

My current job is to babysit a dying (v7.7.05) star.



Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Virtuoso
posted Hide Post
LOL Sooo true... Our's was a 7.6.11 red giant. We barely got the last application off of it before it went super nova on us... *moment of silence/takes hat off*


8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.
 
Posts: 1113 | Location: USA | Registered: January 27, 2015Report This Post
Gold member
posted Hide Post
quote:
7705

As if millions of voices suddenly cried out in terror and were suddenly silenced


8.2.03 AIX Client Windows Tomcat
DB2, Terradata, SQL, Oracle
 
Posts: 56 | Location: Fort Worth, Texas USA | Registered: January 27, 2012Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] WF MRE 7.7.* - basedir domain.htm file zero bytes issue

Copyright © 1996-2020 Information Builders