lotus-domino

JDBC Ordeal: it shouldn't be that difficult (Partial Solved, New Errors)

倾然丶 夕夏残阳落幕 提交于 2019-12-02 10:25:23
I have been trying to get the JDBC portion of the Extension library to work with our Oracle databases now for about 2 months. I've worked through various issues and misunderstandings. Currently, I can run the sample database that comes with the Extension Library with no apparent issues. But, it doesn't like something about my Oracle setup. My jdbc file is ojdbc14.jdbc and I am using ojdbc14 as my connection name. I put the ojdbc14.jdbc file in the WEB-Inf folder in the package explorer. I put the ojdbc14.jar file in the Notes\jvm\lib\ext folder of my client computer and put the ojdbc.jar file

Can not attach debugger to HTTP JVM, AMGR JVM is attached instead

杀马特。学长 韩版系。学妹 提交于 2019-12-02 09:59:51
Domino is configured to allow remote debugging by notes.ini param: JavaEnableDebug=1 JavaDebugOptions=transport=dt_socket,server=y,suspend=n,address=8703 Debug is tarted in Domino Designer/Eclipse to debug some XPages code. Debugger attaches to different JVM. As I discovered, it is JVM of AMGR which run Java agent previously. Disconnecting and reconnecting debugger does not help. Only workaround is to shutdown/restart AMGR to be able to attach to HTTP JVM. Is it possible to set different ports for AMGR and HTTP debuggers? I spoke to development about this issue and it is a known issue (to them

Axis 1.4 log4j-1.2.8.jar incompatible with XPages?

烂漫一生 提交于 2019-12-02 09:25:30
I'm trying to add some of the JARs from Apache Axis 1.4 into the WebContent/WEB-INF/lib directory. One of the JARs is log4j-1.2.8.jar . As soon as this JAR is added to the lib directory, all XPages in the NSF stop working. I just get an error 500 with the following message: "HTTP Web Server: Command Not Handled Exception". The following message is written to the error log: java.lang.RuntimeException: com.ibm.xsp.FacesExceptionEx: org.apache.commons.logging.LogConfigurationException: java.lang.reflect.InvocationTargetException . . . . Caused by: java.lang.NoClassDefFoundError: org/apache/log4j

@ReplaceSubstring doesn't display value as expected

自作多情 提交于 2019-12-02 09:16:34
I have this formula in one of the columns in my view in Lotus notes database. However, it does not change the value of the field "EmployeeName" in the view and still displays the original name. Example: Original value : Franco Martínez, José Ramó Expected output : Franco Martinez, Jose Ramo value1:="i"; value2:="e"; value3:="o"; optionList := value1:value2:value3; aliasList := "í":"é":"ó"; @ReplaceSubstring(@Text(EmployeeName); aliasList; optionList) As the formula is absolutely correct, the issue has to be somewhere else. You already checked, that the field is summary, so this cannot be the

Getting SSLHandshakeException when using Dropbox Java SDK for API v2

六月ゝ 毕业季﹏ 提交于 2019-12-02 08:24:51
In a XPages application I want to make use of the Dropbox Java SDK (2.1.2) for API v2 to get information about my Dropbox account. The following code is used to retrieve the corresponding account object: String atoken = "****"; DbxRequestConfig rc = new DbxRequestConfig("****"); DbxClientV2 client = new DbxClientV2(rc,atoken); DbxUserUsersRequests users = client.users(); FullAccount acc = users.getCurrentAccount(); // Exception raised here The last line raises the following exception: com.dropbox.core.NetworkIOException: No appropriate protocol at com.dropbox.core.DbxRequestUtil.startPostRaw

Create cross certificate for Domino Java agent?

怎甘沉沦 提交于 2019-12-02 06:22:55
问题 I am trying to connect to an https enabled web service using a Domino java agent. It works fine using http but fails on https. I disabled TLS 1.2 (apparently Fix Pack 4 and 5 have a bug with TLS 1.2 and Java). Now I get the following errors... [1034:0007-1164] 12/08/2015 05:44:57.75 PM SSLAdvanceHandshake Exit> State HandshakeCertificate (8) [1034:0007-1164] 12/08/2015 05:44:57.75 PM SSLProcessHandshakeMessage Enter> Message: Certificate (11) State: HandshakeCertificate (8) Key Exchange: 15

Where I can find ncso.jar?

好久不见. 提交于 2019-12-02 05:29:48
问题 I am trying to develop an application, which will remotely connected to a Lotusnote server and as I got to know, I should have ncso.jar file to add in my application for enabling remote access to the Lotus Note domino server. So would be appreciated to help me for downloading this file. 回答1: You can find ncso.jar in installed Notes Client or Domino Server directory in folder ... / data / domino / java 来源: https://stackoverflow.com/questions/26529625/where-i-can-find-ncso-jar

Retrieving changes made by a Java Agent on a document

我与影子孤独终老i 提交于 2019-12-02 05:00:32
问题 I am passing parameters to a Java agent from Lotus Script like this: Set db = session.CurrentDatabase Set doc = db.CreateDocument Set uiDoc = workspace.CurrentDocument Call doc.AppendItemValue("fileName", "SomeString" ) Call doc.Save(True, False) Set MyAgent = db.GetAgent("AgentName") Call MyAgent.Run(doc.NoteID) Set session = New NotesSession Set db = session.CurrentDatabase result = doc.GetItemValue("Result")(0) The agent says the following in Java: Session session = getSession();

Create room reservations using Domino data services REST API

心不动则不痛 提交于 2019-12-02 02:35:40
I've been attempting to create room bookings using the Domino data services REST API but I seem to be missing a trick. Sending a POST request to the document endpoint I am able to submit and create a reservation document which appears in the Rooms and resource view but the underlying room still shows as available in the notes client. Here is a sample of the request body: { "@authors": [ "CN=Andrew Jones/O=MyCorp", "" ], "@form": "Reservation", "From": "CN=Andrew Jones/O=MyCorp", "Chair": "CN=Andrew Jones/O=MyCorp", "AltChair": "CN=Andrew Jones/O=MyCorp", "Principal": "CN=Andrew Jones/O=MyCorp"

Lotus Notes Java app can’t find notes.ini

我的梦境 提交于 2019-12-02 01:40:14
Both the systems described are Windows XP with Lotus Notes 8.5. I have a Java app (sample code below) that uses notes.jar to interact with Lotus Notes. The app works fine on a system that has notes.ini in the Lotus install dir of c:\Program Files\Lotus\Notes and the user ID file is in c:\Program Files\Lotus\Notes\Data . The user has to type a password to login to Lotus. This system has HKLM\Software\Lotus\Notes\MultiUser set to 0 (single user system). On this machine, the below code displays good values on the four println ’s. On a problem system, this app prints the four headings but blanks