java - 部署我自己的 atg 模块后如何再次部署 atg CommerceReferenceStore?

标签 java atg oracle-commerce

最初,我安装了 ATG 和 CommerceReferenceStore 并使用 ATG CIM 配置它。后来我开始开发自己的 ATG 模块,将其部署在“ATGProduction.ear”上。现在我想点击 CommerceReferenceStore 的默认应用程序,但我不这样做!如果我这样做,它会给出一个错误,提示 404-未找到!

现在我的问题是,我是否必须重新安装它才能访问它,或者是否有其他方式可以通过重新安装直接访问它?

最佳答案

这就是你要做的。

打开%DYNAME_HOME%/../CIM/log/cim.log

搜索atg.cim.productconfig.app assembly.RunAssemblerExecutorTask runAssembler -server

这将带您到 CIM 执行 runAssembler 以生成 ATGProduction.ear 的行;命令将类似于... runAssembler -server "ATGProduction""A:/home/../home/cimEars/ATGProduction.ear"-m DCS-UI.Versioned BIZUI PubPortlet DafEar.Admin ContentMgmt。版本化 DCS-UI.SiteAdmin.版本化 SiteAdmin.版本化 DCS.版本化 DCS-UI Store.EStore.版本化 Store.Storefront ContentMgmt.Endeca.Index.版本化 DCS.Endeca.Index.版本化 Store.Endeca.Index.版本化 DCS.Endeca。 Index.SKUIndexing Store.EStore.International.Versioned Store.Endeca.International

您所要做的就是在命令末尾添加您自己的 ATG 模块,假设您的模块是 VarunModule 新命令将如下所示

runAssembler -server "ATGProduction""A:/home/../home/cimEars/ATGProduction.ear"-m DCS-UI.Versioned BIZUI PubPortlet DafEar.Admin ContentMgmt.Versioned DCS-UI.SiteAdmin。版本化 SiteAdmin.版本化 DCS.版本化 DCS-UI Store.EStore.版本化 Store.Storefront ContentMgmt.Endeca.Index.版本化 DCS.Endeca.Index.版本化 Store.Endeca.Index.版本化 DCS.Endeca.Index.SKUIndexing Store.EStore。 International.Versioned Store.Endeca.International VarunModule

执行此命令将生成一个包含 CommerceReferenceStore 以及您自己的模块的 Ear 文件。在应用程序服务器的生产服务器实例中部署这个新的ear文件并启动它,删除该服务器上的任何现有部署以避免使用相同上下文根等的任何错误,祝你好运。

关于java - 部署我自己的 atg 模块后如何再次部署 atg CommerceReferenceStore?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26255305/

相关文章:

atg - 如何查找 atg 中的优惠券适用的促销事件

java - ValidationException异常描述: Cannot acquire data source [jdbc/MyDataBase]

Java正则表达式匹配确切数量的破折号

java - 如何在 ATG 中模拟存储库项目

java - 如何使用 <dsp :a> in Oracle Commerce(ATG) 生成动态 URL

google-maps - Google Map API 与 Oracle Commerce Cloud 集成

java - 我可以仅缩放 OrthograficCamera libgdx 的一部分吗

javafx TableView 左对齐单列

java - 使用 dsp include in atg 包含动态页面