FAST ESP Apiqueue too full for operation of size

In FAST ESP 5.3 when trying to index large files, you might run in to the problem that the indexer API-queue
can’t handle the document because of its size.
By default the indexer API Queue is set at 52428800 bytes (50Mb). Mind that you only re-size this
API Queue when a single document is larger than the 50Mb, otherwise you can try to limit the size
of the submitted batch by whichever connector you are using.

If you are sure you need to enlarge the indexer API Queue do the following:

  1. On the admin-server edit the file $FASTSEARCH\etc\config_data\RTSearch\webcluster\rtsearchrc.xml
  2. Add the attribute maxQueueSize=”78643200“ to set the indexer API Queue Size to 75Mb, adjust to
    an appropriate value for your environment.
  3. Do a nctrl reloadcfg on the admin-server
  4. Do a restart of all indexer processes (either via nctrl or the System Management tab in the Admin-UI)

Apple Exchange sync problems and solution

At our company we have decided to relocate our mailserver to an hosted Exchange 2010.
We’ve been using Zimbra for the past three years, but we feel that development of Zimbra isn’t moving
into the direction of better OSX support (we are all using MacBook Pro’s) but is more focussed on enhancing
their webclient and own desktop-mail-client. In the meantime OSX has received good Exchange support.
So after a test-period with a limited number of users we decided to all switch to Exchange 2010.

My sync problems started when I was trying to move complete folders with hundreds of e-mails to my Exchange
account. I use a big folder-structure within my Exchange account to separate all kinds of e-mails by
customer and by action. Mail and Exchange than got angry with each other. Mail was slowing down to an
unusable state, refused to sync some mailfolders and started throwing errors:

23-11-10 19:07:28	Mail[34524]	*** Assertion failure in -[EWSConnection sendMessage:forRequest:], /SourceCache/Message/Message-1082/MessageStores.subproj/EWSConnection.m:374>
Received an unexpected error: Error Domain=EWSExchangeWebServicesErrorDomain Code=165 UserInfo=0x119f3b210 "The operation couldn’t be completed. (EWSExchangeWebServicesErrorDomain error 165.)", response: (null)>
    0   Message                             0x00007fff83bbc6e4 -[MFAssertionHandler _handleFailureWithPreamble:description:arguments:] + 137>
    1   Message                             0x00007fff83bbc649 -[MFAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 220>
    2   Message                             0x00007fff83afe01b -[EWSConnection sendMessage:forRequest:] + 1117>
    3   Message                             0x00007fff83b095b9 -[EWSGateway sendMessage:forRequest:] + 79>
    4   Message                             0x00007fff83b1ca63 -[EWSRequestOperation executeOperation] + 104>
    5   Message                             0x00007fff83bcaab9 -[MonitoredOperation main] + 229>
    6   Foundation                          0x00007fff832e7de4 -[__NSOperationInternal start] + 681>
    7   Foundation                          0x00007fff833c6beb __doStart2 + 97>
    8   libSystem.B.dylib                   0x00007fff86bea2c4 _dispatch_call_block_and_release + 15>
    9   libSystem.B.dylib                   0x00007fff86bc8831 _dispatch_worker_thread2 + 239>
    10  libSystem.B.dylib                   0x00007fff86bc8168 _pthread_wqthread + 353>
    11  libSystem.B.dylib                   0x00007fff86bc8005 start_wqthread + 13>

These errors wouldn’t stop, the syncing wasn’t complete, OMG
Apparently I wasn’t the first to encounter these problems, but the solutions either sounded too far off for me, or were to rigorous for my taste.
I have found a much easier and faster method to get Exchange and Mail back to communicating with each other.

  1. Remove Exchange account from Mail
  2. Remove Exchange account from iCal
  3. Remove Exchange account from Address Book
  4. Close all three programs
  5. Verify that the local mailbox was removed. In ~/Library/Mail there shouldn’t be a directory named EWS-[USERNAME]@[EXCHANGE-SERVER] if it is there throw it away, and empty thrash.
  6. Start Mail
  7. Add Exchange-account using the Wizzard
  8. Only move tiny batches of e-mail between accounts
    Although tedious, it does work :)

Parallels Explorer is gone, Parallels Mounter is the new kid

It’s a tool I rarely use, Parallels Explorer. It enables you to browse a Virtual Machine Disk from OSX without booting the whole Virtual Machine. Today I needed the tool, but I couldn’t find it anywhere. Tried Google and searching the Parallels Support Forums, but nowhere any explanation where the Parallels Explorer could be found. So I started a chat with Parallels Support, and it appears that Parallels Explorer was available in Parallels Desktop 4.0. In Parallels Desktop 5.0 it is replace by a tool called Parallels Mounter. You don’t start it directly from your Applications folder, but you can select it from the Open With… list after you’ve right-clicked the VM Harddisk in Finder.
As I couldn’t find this information myself via Google, I hope this post will help anybody in search for Paralells Explorer.

FAST ESP 5.3 - Disable daylight savings in a timezone without daylight savings

I’m installing a FAST ESP 5.3 sp3 setup in India. No I’m not there physically, via a remote desktop. As you might know, FAST doesn’t like Daylight Savings Time Adjustment. The Indian Timezone used by the server does not obey Daylight Savings, but the FAST ESP 5.3 sp3 installer still blocked on it’s check of Daylight Savings. To disable this correctly I opened up the timezone-adjustment dialog, switched to Amsterdam Timezone, unchecked Daylight Savings Support, switched back to the Indian timezone and pressed ok. FAST ESP 5.3 sp3 Installer is happy again :$

Citrix SA Client for Mac OSX

Some time ago for a specific client I needed to connect to some protected infrastructure using some proprietary Citrix client. The firewall protecting the infrastructure only allowed access via VPN technology as implemented in the Citrix SA Client. At the time I couldn’t find a Mac OSX client, and the Administrator of the firewall protected environment also told me that no such software was available. So I ended up using parallels with a windows OS and running the client on that platform. Today I had some serious connection problems from windows to the aforementioned firewall, the connection would drop and reestablish every 15 seconds, not workable. I suspect there is something wrong with the parallels network driver within windows in combination with the Airport wireless network I’m using since a couple of days.
This let me to search for the Citrix SA Client once more, and guess what; I found it! Installed like a charm, and now Remote Desktop-ing to the servers from OSX. I hate it when I need specific software for setting up a VPN, but I love it when it works like a charm.

Snow Leopard with Ruby 1.9 and Rails 2.3.5

I’m working my way through “Agile Web Development with Rails - Third Edition” and the latest version of the PickAxe “Programming Ruby - Third Edition” books of the Pragmatic Programmers.
As Snow Leopard is my OS I need to update the default shipped Ruby and Rails versions to get to Ruby 1.9 and Rails on top of that.

I’ve been installing and uninstalling multiple things before finally settling on my ultimate recipe for installing the correct Ruby version and Gems:
(Within Terminal and already running the latest version of macports )

sudo port install ruby19 +nosuffix
sudo port install sqlite3
sudo gem update --system
sudo gem install sqlite3-ruby
sudo gem install rails

Great Visual Diff/Merge tool for OSX

Back when my primary dev-environment was Microsoft I would use the open-source tool WinMerge for all my Diff/Merge needs. Great tool, good performance, does the job.
Now that I’ve switched to the Mac I had to find a new visual Diff/Merge tool, and I want it cheap, or better free :)
Searches in the past didn’t turn up any satisfying results, but I think I’ve found the tool to do the job. Sourcegear, a company I knew from the past for their Vault product, which is a compelling replacement of Visual SourceSafe, has been so kind to distribute their Diff/Merge tool as a standalone and free cross-platform tool.
Downloaded, used it for comparing and merging FAST indexprofile files (which are plain XML), loving it.
Oh, I’m not affiliated to Sourcegear in any way, just like their Diff/Merge tool on OSX.

Restoring MacBook Pro using Time Capsule

To my horror suddenly my MacBook Pro wouldn’t display anything anymore, a blank screen was all I got. Hooked up an external monitor, no success. Searched the internet and concluded that I might have a broken Nvidia graphics “card” (it’s soldered on the board so it’s not really a card) as the batch my MBP is from contains a faulty Nvidia card
So I went to an Apple Service Center where they concluded that indeed my graphics card is broken and that repair is covered by the extended warranty. The ASC had a MBP for rent for the duration of the repair, but as I was late on the day they weren’t able to swap the harddisks.
So I took the MBP home and ventured out to restore a Time Machine backup. I have a Time Capsule so there should be a recent backup available.
The MBP booted into the installation of Leopard, after the introduction video (couldn’t bypass watching the whole video) I was give the option to do a restore from a backup. Selected the option, the MBP found my Time Capsule but after I selected a backup-set got the Spinning Beachball and nothing happening for more than an hour, I uttered a small curse.
What the heck, let’s boot into Leopard and start the Migration Assistant. Hmm, the same experience, found my Time Capsule but after selecting the backup-set a Beachball. Damn.
Read something about restoring a backup by starting the restore tool off from the OSX installation CD. So started the utilities, selected the restore, hmm it can’t find my Time Capsule. Looked up a knowledgebase article on the Apple site and found that I had to start the Wireless network by clicking the WIFI icon in the upper right corner of the utilities screen. Ok, so the backup-set can be selected, but you guessed it, a Beachball.
Than it dawned me that the backup was made with Time Machine running Snow Leopard not Leopard, so I put in the Snow Leopard DVD, started the Utilities, selected restore from Time Capsule, saw the backupset, and now was able to select exactly which backup I wanted to restore. Selected the most recent (which was from just before the screen problems started) and went to bed.
The next morning I was greeted with my trusted login-screen and everything was installed in such a way that I couldn’t tell that I was working on another machine. Great, love automatic backups. Note to Apple, a meaningful message along the lines of “Backup was created with a newer version of Time Machine” would have saved me a couple of hours.