lotus-domino

Xpages can't load, Error 500; java.util cannot be resolved

你离开我真会死。 提交于 2019-12-18 05:13:26
问题 I recently moved a couple of applications to a server that is running Domino 9.0.1FP8 (JVM version: JRE 1.8.0 Windows Server 2008 R2 amd64-64). Since I did this I've been unable to load any, but the most basic of Xpages. I get the "Error 500 HTTP Web Server: Command Not Handled Exception" page. Via the ...IBM\Domino\data\IBM_TECHNICAL_SUPPORT\xpages_exec I get Exceptions such as: The type java.util.Comparator cannot be resolved. It is indirectly referenced from required .class files The type

Are JAR files in WebContent/WEB-INF/lib available to Java design elements in Domino Designer?

故事扮演 提交于 2019-12-17 20:37:28
问题 When using Domino Designer 8.5.3, I have a bunch of custom classes added using the Java design element. I want to use a 3rd party JAR in my custom classes in the same way you would when using external JARs in xPages SSJS, via Package Explorer: WebContent-->WEB-INF-->lib However my custom classes aren't picking the JAR up. Is this a known limitation or have I got my configuration screwed up somewhere? 回答1: They are after you do: Project -> Properties -> Java Build Path -> Libraries -> Add JARS

How to create an auto incrementing field in lotus domino?

你离开我真会死。 提交于 2019-12-17 17:07:36
问题 I have an application in lotus domino with a field UNIDID -number(computed)... I want that every time a new entry is created, this field to increment by 1 and the new value should be stored in new record document.. I have a @dbcolumn formula which will get me the last entry in the UNIDID field- mFind:=@DbColumn("" : "NoCache" ; @DbName ; "lkpEmpMasterbyOnlyUnidCode";1); How do I increment mFind and submit it in form of ' UNIDXXXX '? 回答1: Employ document locking to assure number uniqueness in

How to create an auto incrementing field in lotus domino?

梦想与她 提交于 2019-12-17 17:06:12
问题 I have an application in lotus domino with a field UNIDID -number(computed)... I want that every time a new entry is created, this field to increment by 1 and the new value should be stored in new record document.. I have a @dbcolumn formula which will get me the last entry in the UNIDID field- mFind:=@DbColumn("" : "NoCache" ; @DbName ; "lkpEmpMasterbyOnlyUnidCode";1); How do I increment mFind and submit it in form of ' UNIDXXXX '? 回答1: Employ document locking to assure number uniqueness in

Domino server internet rule “HTTP response headers”

ⅰ亾dé卋堺 提交于 2019-12-14 03:06:49
问题 When creating a "HTTP response headers" rule on a Domino server there is an option for "Customer Header". The description of this field says: (HTTP Response Header only) For each custom header you want to use, specify: "Name" - files in the directory are displayed in the browser or downloaded. "Value" - files in the directory are CGI files to be executed on the server. "Override" - (override application's header) In the "Value" field it says something about CGI, so my question is: Is it

NoClassDEfFoundError while Using AXis with Lotus notes 6.5

白昼怎懂夜的黑 提交于 2019-12-13 21:42:02
问题 I am trying to use APACHE-AXIS framework in Lotus notes 6.5. I did: Created java library in Script library created the Java files from WSDL and added to the library added xml-apis.jar to the library. Now i created an agent an added the created library to it. See Agent code below: import lotus.domino.*; import java.net.URL; import javax.xml.namespace.QName; import javax.xml.parsers.ParserConfigurationException; import org.apache.axis.client.*; public class JavaAgent extends AgentBase { public

Reloading a document while being changed by an agent running in the background

混江龙づ霸主 提交于 2019-12-13 21:30:08
问题 A Lotus script calls a Java agent and passes parameters to it in an In-Memory-Document. The agent performs some computations and reports its progress in a property of the shared document. A Timer on the form periodically checks the value representing the progress in the document and updates the UI accordingly. The agent, having accomplished some progress, says: doc.replaceItemValue("Percent", String.valueOf(percent)); doc.save(true, false); The timer on the forms loads the document

Are web services processed sequentially or in parallel?

半世苍凉 提交于 2019-12-13 20:28:17
问题 I am just getting started in web services using Lotus Notes. What I would like to be able to do is to create a web service that generates a sequential number. The code to generate the number is based on existing code we have used for some time within our databases (just straight lotus script, no web services). Basically there is a document that stores the next number, the next number is returned and is updated for the next call save conflicts are detected and the number is tried again if

JavaAgent" java.lang.NoClassDefFoundError: de.bea.domingo.DNotesFactory

大兔子大兔子 提交于 2019-12-13 16:27:01
问题 I'm try debuging the follownig java agent in domino designer public class JavaAgent extends AgentBase { public void NotesMain() { DNotesFactory factory = DNotesFactory.getInstance(); DSession session = factory.getSession(); DDatabase database; try { database = session.getDatabase("", "names.nsf"); DView view = database.getView("($Users)"); Iterator entries = view.getAllEntries(); while (entries.hasNext()) { DViewEntry entry = (DViewEntry) entries.next(); System.out.println(entry

Unable to start the process of nhttp.exe on my local machine using Notes 9

喜夏-厌秋 提交于 2019-12-13 16:15:24
问题 I have IBM Notes 9.0.1 (Revision 20131022.1138) installed on my Windows 8.1. Whenever I start my Domino Designer and try to preview a page it does not show up. I tried to start the local HTTP process using the command nhttp.exe -preview but it gave me an error as: HTTP Server: Error - Unable to Bind port 80, port may be in use or user needs net_privaddr privilege Using the command of netstat -o I was able to find Toaster.exe process bound to 80. I disabled it using instructions from here. But