This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This code fragment can be run against any user mail database. It searches for any calendar event in a 3 months span. | |
It's part of an OSGi servlet and it's using OpenNTF Domino API. If I get rid of the Domino API code and use standard Domino classes it works flawlessly. But if I try to use the Domino API I'm having really bad time. | |
1. If the collection, be it through FTSearch or regular search, is empty (the getCount() equals to 0) both the ViewEntries loop and the DocumentCollection loop fire infinite errors. That's why I added the "getCount" check. | |
2. If the collection is not empty the FTSearch case seems to be working. The search one fires errors like crazy. It doesn't matter whether I call any method inside the loop, it just throughs a gazillion errors by simply declaring the loop. | |
What am I doing wrong? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.still.demo; | |
import lotus.domino.NotesException; | |
import org.eclipse.core.runtime.IProgressMonitor; | |
import com.ibm.dots.annotation.Run; | |
import com.ibm.dots.task.AbstractServerTaskExt; | |
import com.ibm.dots.task.RunWhen; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> tell dots diag org.openntf.domino.plugin | |
05/07/2014 05:37:37 PM [DOTS] update@../../../../../../../../../var/ibm/domino/data/domino/workspace-dots/applications/eclipse/plugins/org.openntf.domino.plugin_1.0.0.201312231409.jar [22] | |
05/07/2014 05:37:37 PM [DOTS] | |
05/07/2014 05:37:37 PM [DOTS] | |
05/07/2014 05:37:37 PM [DOTS] Direct constraints which are unresolved: | |
05/07/2014 05:37:37 PM [DOTS] | |
05/07/2014 05:37:37 PM [DOTS] | |
05/07/2014 05:37:37 PM [DOTS] Missing required bundle com.ibm.icu_3.8.1. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: domino | |
# Required-Start: $remote_fs $syslog $named $network $time | |
# Required-Stop: $remote_fs $syslog $named $network | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: IBM Domino Server | |
# Description: IBM Domino Server |