[Domino]使用DIIOP必须作的DOMINO手动设置

news/2023/12/9 16:17:02

使用DIIOP必须作的DOMINO手动设置

编写者

日期

关键词

郑昀@ultrapower

2005-6-26

Java Domino Configuration

应用场景

通过DIIOP访问Domino R6服务器,必须在服务器端手动配置本文讲述的三个地方

Lotus Domino服务的启动设置必须有DIIOP

请您检查Domino Server是否把DIIOP任务加入到了ServerTasks中。

打开您的Domino服务安装目录,比如c:/Lotus/Domino目录下

    打开notes.ini配置文件,然后找到内容中的“ServerTasks”行,如下所示:

   

    默认是没有“DIIOP”的。

       我们为了使得Lotus Domino服务启动时就能加载DIIOP任务,必须手动加DIIOP到ServerTasks

保存本文件,退出文件。

重新启动“Lotus Domino Server (LotusDominoData)”服务。

 

如果Domino服务没有启动DIIOP,那么我们的Java程序会捕获到4062异常错误码,这代表以下含义:

错误号

Domino版本

NotesException

Description

4062

Domino R6R5

NOTES_ERR_SESOPEN_FAILED

代表“无法与服务器建立session”,可能是以下几种原因之一:

1Domino服务器没有启动;

2Domino服务器没有启动DIIOP任务;

3:本Web ServiceDomino服务器的63148端口(DIIOP默认端口)无法通信。

 

Java访问DIIOP必须拿到DIIOP_IOR.txt文件

Domino管理员找到DIIOP_IOR.txt文件,复制给部署人员。

那么,我们如何知道到哪里拷贝diiop_ior.txt?

我们可以在Domino Server启动的控制命令行上输入命令“Tell DIIOP Show Config”,Domino会告诉我们一系列参数,请看:

Lotus Domino Server的命令行拷贝屏幕输出

> Tell DIIOP Show Config
Dump of Domino IIOP (DIIOP) Configuration Settings

 

Full Server Name: 。。。
Common Server Name: 
。。。
Refresh Interval:  3 minutes

 

。。。

 

TCP Port:  63148  Enabled
SSL Port:  0      Disabled
Initial Net Timeout: 120 seconds
Session Timeout:  60 minutes
Client Session Timeout:  62 minutes

 

IOR File:  C:/Lotus/Domino/Data/domino/html/diiop_ior.txt

 

。。。

屏幕输出中的“IOR File:  C:/Lotus/Domino/Data/domino/html/diiop_ior.txt”,就标明了diiop_ior.txt文件的位置。

管理员将此文件拷贝给部署人员即可。

Java程序需要用这个文件来和DominoServer进行Corba对话。

Lotus Domino服务的参数必须修改的地方

修改Domino的配置参数,请启动Lotus Domino Administrator

如果是Domino Server R5,请看我的《[Domino]Java访问Domino R5必需配置的服务器设置》文档。

如果是Domino Server R6,请看我的《[Domino]Java访问Domino必需配置的服务器设置》文档。

 





http://www.niftyadmin.cn/n/3649784.html

相关文章

flutter中的动画效果_Flutter中的基本动画

flutter中的动画效果While Flutter has an enormous amount of amazing packages for creating animation effects for your apps, there are also built-in methods for manually creating more fine-tuned animations. 尽管Flutter提供了大量令人惊叹的软件包,可为…

Android使用SharedPreferneces存储数据

Android使用SharedPreferneces存储数据 实现效果: java代码: package com.henu.sharedpreferences;import androidx.appcompat.app.AppCompatActivity;import android.content.Context; import android.content.SharedPreferences; import android.os.…

typescript 模块_TypeScript中的模块增强

typescript 模块Before getting into module augmentation, let’s look at some TypeScript merging principles which will become useful as we progress. 在进行模块扩充之前,让我们看一下一些TypeScript合并原理,这些原理将随着我们的进步而变得有用…

阴阳怕懵懂吗?

阴阳怕懵懂吗?郑昀 20060621 最近看来势必要有一批人跟着麦田的《 阴阳怕懵懂,说说“无名小站” - 麦田的读书生活 》和方兴东的《 创业者最核心的品质是什么?对模糊性的高度容忍--方兴东观察》的博文继续往下谈。嗯,这就是话题的…

Android开发使用SQLite数据库和Listview实现数据的存储与展示

Android开发使用SQLite数据库和Listview实现数据的存储与展示 实现效果: 使用了SimpleCursorAdapter方便数据库和listview之间的数据传递。 MainActivity.java: package com.henu.saveindatabase;import androidx.appcompat.app.AppCompatActivity;i…

js更改css属性_CSS会更改属性:何时以及何时不使用它

js更改css属性The will-change CSS property is commonly misunderstood or not used correctly, in this short post I will demystify the property so you can make your CSS animations and transitions as performant as possible. will-change CSS属性通常被误解或使用不…

在不断地试错中调整向前

在不断地试错中调整向前郑昀 20060619 几个月前的这两篇文章《Web2.0创业:程序员的创业? - 玩火者的自白 - 邱致中的IT博客》和《Web2.0创业:需要什么样的团队》说的模模糊糊,我们看得也是懵懵懂懂。本来许多事情就是要在不断地…

contentProviderSample实现操作数据库

contentProviderSample实现操作数据库并显示在listview控件中。 实现效果和上个实验相同: 点击进入上个实验 本实验在上个实验基础上完成,与上个实验包名略有不同,并且添加了ContentProvider.java文件、修改了MainActivity.java的代码。 Con…

node.js入门_Node.js中的压缩入门

node.js入门Compression in Node.js and Express decreases the downloadable amount of data that’s served to users. Through the use of this compression, we can improve the performance of our Node.js applications as our payload size is reduced drastically. Nod…

跨域或者Internet访问Remoting[Remoting FAQ]

[Remoting FAQ]跨域或者Internet访问RemotingVersionDateCreatorDescription1.0.0.12006-6-1郑昀Ultrapower草稿继续阅读之前,我们假设您熟悉以下知识:n Remoting[需求]虽然说,Remoting一般都在同一个域内调用,但有时候&a…

Android自定义广播接收

Android自定义广播接收 实现效果: MainActivity.java代码: package com.henu.broadcastsample;import androidx.appcompat.app.AppCompatActivity;import android.content.Intent; import android.content.IntentFilter; import android.os.Bundle; im…

flutter顶部小部件_使用VoidCallback和Function(x)与Flutter进行小部件通信

flutter顶部小部件In this article we’re going to investigate how we can use callback-style events to communicate between widgets with Flutter. 在本文中,我们将研究如何使用Flutter在回调控件之间使用回调风格的事件进行通信。 Why is this important? …

[MSN谈话]专注、口碑和猎头

[网友]: 我原先做.NET WAP的,你的工作是做哪方面的我: 我什么都作。[网友]: 我觉得我做的算多的了,一看才知道,小巫见大巫了我: 移动增值领域我基本都涉及过。[网友]: 我从网络安全到对日外包,再到asp php网站开发之后.NET wap开发…

Python编写数字转换成中文大写

问题描述:输入一串数字金额,然后打印出它的中文大写。 利用列表下标进行转换。 list1 [零, 壹, 贰, 叁, 肆, 伍, 陆, 柒, 捌, 玖, 拾] list2 [圆, 拾, 佰, 仟, 萬]money str(int(input("请输入金额:"))) # 预防输入0开头的数字 money2 …

[推介]明朝的那些事儿-历史应该可以写得好看

无意连接到了一篇把历史讲述得格外精彩的贴子,号称天涯史上最强贴之一:http://cache.tianya.cn/publicforum/Content/no05/1/34523.shtml ,《明朝的那些事儿-历史应该可以写得好看》,写得还真不错,引人入胜…

Python编写2-1000的回文素数

问题描述:找出2-1000的回文素数。 import math for i in range(2, 1001):for j in range(2, int(math.sqrt(i))):if i % j 0:breakelse:m str(i)if m[0] m[-1]:print("%d为回文素数" % i) Python中for循环和else是可以连用的,当for循环执…
最新文章