如果在通过代理连接到互联网的环境中构築了intra-mart AccelPlatform,那么在intra-mart AccelPlatform上连接到互联网的外部服务时,
需要进行代理设置和环境构筑。
例如,如果您要使用以下连接到外部服务的功能时,就需要通过代理进行访问。
・使用LogicDeisnger的REST任务连接到外部服务
https://document.intra-mart.jp/library/iap/public/im_logic/im_logic_specification/texts/function_specification/user_definition/rest.html
・利用intra-mart Accel Collaboration日程Google OAuth验证客户端
https://document.intra-mart.jp/library/iac/public/iac_core/iac_core_user_guide/texts/apply_guide/google_oauth/index.html
・Office 365对接的利用
https://document.intra-mart.jp/library/iap/public/im_office365/im_office365_setup_guide/index.html
https://document.intra-mart.jp/library/iap/public/im_office365/im_office365_programming_guide/index.html
https://document.intra-mart.jp/library/iap/public/im_logic/im_logic_specification/texts/appendix/task/im_office365/index.html
通过代理的方法会根据代理服务器的类型而有所不同,解决方法也会不同。
【对于不需要认证的代理服务器】
请执行以下任意一个。
■ <%RESIN_HOME%>/conf/resin.properties中的jvm_args 项目时,请追加以下的代理设置。
-Dhttp.proxyHost=<代理主机的URL>
-Dhttp.proxyPort=<代理主机的端口编号>
-Dhttps.proxyHost=<代理主机的URL>
-Dhttps.proxyPort=<代理主机的端口编号>
■ <%RESIN_HOME%>/conf/resin.xml时,请追加以下的代理设置。
<system-property http.proxyHost="代理主机的IP地址"/>
<system-property http.proxyPort="代理主机的端口编号"/>
<system-property https.proxyHost="代理主机的IP地址"/>
<system-property https.proxyPort="代理主机的端口编号"/>
如果执行以上两项设置后仍然无法通过代理,请考虑代理服务器端的排除设置。
■利用代理服务器端的排除设置
例如,如果代理服务器端有只针对来自特定服务器的通信排除代理的设置的情况下,
则可以考虑只在从运行intra-mart AccelPlatform 的服务器进行访问时执行排除的方法。
[对于需要认证的代理服务器]
在intra-mart AccelPlatform 中,对于需要认证的代理服务器,无法设置ID/密码。
为了解决这个问题,可以采用以下替代方案:
■利用CNTLM等等。
例如,在CNTLM等中,可以在服务器通信之间设置一个代理服务器,通过上述服务器来代替认证。
■利用代理服务器端的认证排除设置
例如,如果在代理服务器端存在一种设置,可以只在特定服务器的通信时排除代理认证的情况下,
则可以考虑只在从运行intra-mart AccelPlatform 的服务器进行访问时执行排除的方法。
-- 适用对象 --------------------------------------------------------------------
iAP/Accel Platform/所有更新版本
------------------------------------------------------------------------------------
FAQID:1279
请告知如何在代理环境下从intra-mart AccelPlatform访问外部网址。