gpt4 book ai didi

module - WebSphere 上 application.xml 中的模块 id 有什么要求?

转载 作者:行者123 更新时间:2023-12-05 01:08:55 24 4
gpt4 key购买 nike

我有 WebSphere 的企业应用程序。在 application.xml有一行:

<module id="Module_1346393735403">

不幸的是,没有人能说出为什么模块 ID 是这样的形式,它是从某个地方复制的。我试图在谷歌中找到一些关于 id 应该是什么样子的细节,但没有成功。

所以我的问题是,WebSphere 上的模块 ID 有什么要求?需要它是 application.xml 中唯一的任何东西,还是有一些特殊要求?

这对我来说是误导的是来自官方网站的信息: http://pic.dhe.ibm.com/infocenter/wchelp/v7r0m0/index.jsp?topic=%2Fcom.ibm.commerce.developer.doc%2Frefs%2Frdewcbdtrbmapmod.htm

Ensure that the display name in the module deployment descriptor is the same as the module name. For example, if the name of a Web module is ProjectServicesHTTPInterface, the display-name element in the deployment descriptor file web.xml must also be ProjectServicesHTTPInterface.

最佳答案

id 只是一个任意标识符。值 Module_1346393735403看起来它是由一些 IBM 工具生成的(该数字实际上是自 UNIX 纪元以来的时间戳,以毫秒为单位)。除非它被其他部署描述符、IBM 扩展描述符或绑定(bind)文件引用,否则它甚至不是强制性的。

关于module - WebSphere 上 application.xml 中的模块 id 有什么要求?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16418254/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com