在WebSphere中的上下文根文件夹位置

huangapple 未分类评论48阅读模式
英文:

Context root folder location in WebSphere

问题

尝试在WebSphere中的上下文根文件夹中包含一些自定义的HTML文件,对于WebSphere 8.5中的物理目录结构/URL是怎样的?在JBOSS中,它曾经是

jboss\server\default\deploy\jbossweb-tomcat50.sar\ROOT.war

寻找在WebSphere中与此位置相对应的位置。有什么提示吗?

英文:

Trying to include some custom html files for a webapp in the context root folder in WebSphere. What's the physical directory structure/URL in WebSphere 8.5 for the context root? In JBOSS, it used to be

jboss\server\default\deploy\jbossweb-tomcat50.sar\ROOT.war

Looking for the WebSphere equivalent of this location. Any tips?

答案1

得分: 0

WebSphere 中的一场战斗将扩展到 <WebSphere 安装目录>/profiles/<配置文件名称>/config/cells/<单元名称>/applications/<应用程序名称>.ear/deployments/<应用程序名称>/<模块名称>.war/

如果该目录中的新/更改的文件未被识别,您将不得不编辑该应用程序的压缩 .ear 文件,将这些文件包含在其中,然后通过管理控制台或 wsadmin 进行更新/重新部署。

英文:

A war in WebSphere will be expanded into &lt;WebSphere install dir&gt;/profiles/&lt;profile name&gt;/config/cells/&lt;cell name&gt;/applications/&lt;app name&gt;.ear/deployments/&lt;app name&gt;/&lt;module name&gt;.war/

If new/changed files in that directory don't get picked up you'll have to edit the compressed .ear of the app to include those files and update/redeploy it through the admin console or wsadmin.

huangapple
  • 本文由 发表于 2020年7月23日 22:13:24
  • 转载请务必保留本文链接:https://java.coder-hub.com/63056337.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定