329 Lotus blogs updated hourly. Who will post next? Home | Downloads | Events | Jobs | Twitter | Bookmarks | Pods | Blogs | Search | myPL | About 
 
Latest 7 Posts
IBM Notes accepts Java applet and JavaScript tags inside HTML
Fri, May 3rd 2013 174
Domino Designer Help has been moved completely to Eclipse help in Notes 9.0
Wed, Apr 17th 2013 294
Upgrading ODS for databases with old DB class in Domino 9
Tue, Apr 9th 2013 323
Customizing Domino Out of Office Service
Fri, Mar 29th 2013 265
Syncing Confidential Contacts with Traveler & Co
Mon, Mar 18th 2013 227
BES10 and Traveler 9
Wed, Feb 27th 2013 564
SpamGeek V1.3 with Linux64 Support and new Feature to allow to change SMTP Replies / Workaround for TLS over SMTP
Fri, Feb 22nd 2013 248
Top 10
BES10 and Traveler 9
Wed, Feb 27th 2013 564
TODO Application for iOS and Android with Traveler 8.5.3 UP2
Fri, Dec 14th 2012 542
NSL, ID-Vault and Roaming working together
Wed, Mar 30th 2011 497
Preventing wrong server time and "time too far in the future"
Fri, Jul 20th 2012 481
New Performance Problem with Domino on Windows 2008 64bit
Fri, Oct 1st 2010 471
Installing Domino on current RHEL servers
Mon, Dec 3rd 2012 436
Notes/Domino 8.5.2 available for download
Tue, Aug 24th 2010 400
Lotus Traveler V8.5.3 Upgrade Pack 1 and Traveler HA available today
Tue, Jun 26th 2012 387
New Traveler Db Usage command in 8.5.3.2
Fri, Mar 9th 2012 339
Upgrading ODS for databases with old DB class in Domino 9
Tue, Apr 9th 2013 323


FTIndex Crash with C-API based tools caused by a change in D8.5.3
Daniel Nashed    


We ran into this problem quite badly and the root cause was hard to track.
One of my applications (nshrun -- a tool to do multiple tasks in parallel on multiple databases) started to crash without a meaningful call-stack.
I started to figure out the root cause and identified that the C-API call FTIndex causes a crash of the calling function because the stack is damaged.

It turned out that IBM changed the structure of the statistic buffer for FTIndex by adding two new variables.
This change caused incompatibility with all existing applications using this structure with FTIndex.
When using a previous version of the C-API toolkit the memory buffer passed to the function was to small and the function did overwrite memory which caused the stack to be corrupt.

The problem exists with 8.5.3 and 8.5.3 FP1 and will be corrected in 8.5.3 FP2 and 8.5.4. The exposed structure will be reverted back to the old format.
In the meantime to get your application working you have multiple options

a.) wait for 8.5.3 FP2 or 8.5.4
b.) don't use the statistics returned and pass NULL as the parameter
c.) recompile just for 8.5.3 with the current 8.5.3 C-API
d.) redefine the structure in your earlier toolkit version and compile -- for older versions the bigger buffer does not cause any issues

There is a upcoming technote (TN #1590244) which is not yet released and the SPR we got for the problem is APAR#LO68258/SPR #VDES8SMFCJ.

I am going to compile my applications with a changed header structure to ensure it will continue to work with all releases of Domino.

-- Daniel



STATUS LNPUBLIC FTIndex(DBHANDLE hDB,WORD Options,char far *StopFile, FT_INDEX_STATS far *retStats);

In version 853, the structure FT_INDEX_STATS was updated as shown below in both product code and the C API toolkit.
typedef struct
{
DWORD DocsAdded; /* # of new documents */
DWORD DocsUpdated; /* # of revised documents */
DWORD DocsDeleted; /* # of deleted documents */
DWORD BytesIndexed; /* # of bytes indexed */
DWORD Merges; /* # of index merges */
DWORD MergeMsec; /* Msec spent merging */
}
FT_INDEX_STATS;

In previous versions on the product, this structure was defined as shown below.
typedef struct
{
DWORD DocsAdded; /* # of new documents */
DWORD DocsUpdated; /* # of revised documents */
DWORD DocsDeleted; /* # of deleted documents */
DWORD BytesIndexed; /* # of bytes indexed */
}
FT_INDEX_STATS;

---------------------
http://blog.nashcom.de/nashcomblog.nsf/dx/ftindex-crash-with-c-api-based-tools-caused-by-a-change-in-d8.5.3.htm
Apr 10, 2012
176 hits



Recent Blog Posts
174


IBM Notes accepts Java applet and JavaScript tags inside HTML
Fri, May 3rd 2013 9:16a   Daniel Nashed
There is an issue in the Notes client that you should be aware of. heise Security has posted about this issue yesterday -->http://www.h-online.com/security/news/item/Huge-Java-hole-in-Lotus-Notes-1855406.html Notes did allow Java/JavaScript and Applets in emails for a long time. I have tested with and old Notes 7 client today. There have been issues with the underlaying JVM which makes it more critical. In Notes you can control as described in the article and also in the IBM technote releas [read] Keywords: ibm lotus notes notes client policies desktop email java javascript oracle security
294


Domino Designer Help has been moved completely to Eclipse help in Notes 9.0
Wed, Apr 17th 2013 9:17a   Daniel Nashed
The last available Designer Help in the "classical" NSF based format is 8.5.1. Since then IBM started to move to the Eclipsed based help system. This can have advantages but many developers still like to have also a NSF based version because searching/etc in the Eclipse help is not that flexible. With Notes 9 most information -- including @Formula, Lotus-Script, Java Class documentation has been completely removed from the NSF help. And if you have lost your old 8.5.1 documentation due to th [read] Keywords: admin domino ibm lotus notes database eclipse java wiki
323


Upgrading ODS for databases with old DB class in Domino 9
Tue, Apr 9th 2013 8:14a   Daniel Nashed
When you create a database for example with the extenson .ns7 the ODS will be ODS43 instead of ODS51. This kind of trick was used in earlier days and was to ensure that an older ODS was used when really needed. What this causes is that the DB class of the database instance is set to that version. And you cannot use a copy style compact to change this database to the new ODS -- even you rename the extension back to ".nsf". The only way to change the database class and ODS was to create a new [read] Keywords: domino ods applications database virus
265


Customizing Domino Out of Office Service
Fri, Mar 29th 2013 11:13a   Daniel Nashed
I have got this question from two customers in the same week and I have never looked into this before. Thanks for Julie to point me to the right direction. With that information (field names) I found an interesting old The View article. It looks like this is the only documented source for this information. In my customer case the requirement was to not have the OOS (Out of Office Service) reply to potential SPAM messages even OOO replies to Internet email should be enabled in general. If you [read] Keywords: agent domino applications email office server
227


Syncing Confidential Contacts with Traveler & Co
Mon, Mar 18th 2013 6:14a   Daniel Nashed
In Notes 8.5 you can mark a contact as confidential to avoid that another person with access to your mailfile can see the contact. Contact sync marks contacts in the mailfile as public documents so reader access to the calendar does already provide access to contacts... The Confidential flag sets a reader names field "Readers" which avoids that someone with access to the mail-file can see those contacts. This functionality adds hard coded also "LocalDomainServers" to the "Readers" field t [read] Keywords: admin notes traveler security server
564


BES10 and Traveler 9
Wed, Feb 27th 2013 2:11p   Daniel Nashed
There has been some confusion about how BES10 will access Domino based mailfiles. A couple of customers asked me to explain how this is going to work. The following abstract describes briefly on high level how both will work together. The current BES server uses a C-API based solution which access the Domino Mail-Databases via Notes protocol (NRPC). With BES10 there is no native access any more and BES 10 only support devices with the new BB OS. All communication between BES 10 and Domino wil [read] Keywords: domino ibm notes policies traveler bes blackberry mobile profile security server




248


SpamGeek V1.3 with Linux64 Support and new Feature to allow to change SMTP Replies / Workaround for TLS over SMTP
Fri, Feb 22nd 2013 10:09a   Daniel Nashed
Just finished SpamGeek V 1.3 which now also works on Domino 9.0 Beta Linux 64bit. I added one new feature that allows to change the reply the server is sending in reply to SMTP commands... This helps a customer to solve his issue with TLS over SMTP that he is running into for over an year. Domino doesn't support the full TLS for SMTP and it isn't on the list for Domino 9 eigher. Only full support for TLS in HTTP is implemented by replacing the HTTP stack with the IBM one. So native TLS (it' [read] Keywords: domino ibm linux server smtp
287


Linux I/O Performance Tweek
Sun, Jan 27th 2013 8:18a   Daniel Nashed
During a performance troubleshooting session at a customer we found a very interesting tuning option that can boost your storage performance dramatically. This setting is really helpful for SAN environments, SSD discs, virtual servers and also physical servers using RAID storage. Current Linux versions do use the an I/O scheduler called CFQ (complete fair queuing). This scheduler is helpful when you have simple local disk where Linux can optimize the I/O requests by re-ordering them. But this [read] Keywords: ibm application enterprise linux server virtualization vm vmware
260


Lotusphere / IBM Connect 2013 -- meet me there
Tue, Jan 22nd 2013 9:13a   Daniel Nashed
Last days before Lotusphere / IBM Connect 2013 in Orlando ... This year I got two sessions in different tracks ... If you plan to look into Domino on Linux the Show and Tell session might be for you. I am showing a complete server install and also how to tune and troubleshoot it. The session comes with a complete set of screen prints for SLES and RHEL and I will use SLES 11 SP2 in the live in session. You will also see up to date tuning and configuration information in the second part of the s [read] Keywords: admin domino ibm lotus lotusphere notes show and tell linux server
542


TODO Application for iOS and Android with Traveler 8.5.3 UP2
Fri, Dec 14th 2012 8:10a   Daniel Nashed
Traveler 8.5.3 UP2 was quite a surprise and nobody really expected new functionality before x-mas. Quite a nice pre-x-mas present :-) Thanks to the Traveler team! Once you installed the new version the updated Android app has a new Todo application part. On iOS you need to install a separate application which looks good on iPad and iPhone. You have to specify server URL and account settings. The app has a separate connection and shows up as separate device in your device list. Here is a link [read] Keywords: ibm lotus notes traveler apple application iphone server




Created and Maintained by Yancy Lent - About - Blog Submission - Suggestions - Change Log - Blog Widget - Advertising - Mobile Edition