简体   繁体   English

同一Websphere服务器上的2个应用程序如何才能看到彼此的静态内容?

[英]How can 2 applications on the same websphere server see each others static content?

We have one websphere server with multiple applications running on it. 我们有一台Websphere服务器,上面运行着多个应用程序。 They're all running on separate profiles, but they are somehow able to access each others static content. 它们都在单独的配置文件上运行,但是它们能够以某种方式访问​​彼此的静态内容。

For example, the following URLs both return images... 例如,以下URL都返回图像...

http://firstapp.com/images/image.gif
http://secondapp.com/images/image.gif

...when the image only exists in the project of the first app! ...当图像仅存在于第一个应用程序的项目中时! The domains each point to different IPs, which are then routed to different ports on the server. 每个域都指向不同的IP,然后将这些IP路由到服务器上的不同端口。

We can't see anything obvious in the websphere configuration files. 我们在websphere配置文件中看不到任何明显的东西。 Anyone seen this before? 有人看过吗? We'd appreciate any help! 我们将不胜感激!

UPDATE: I won't have access to troubleshoot or even analyze the server for about a month, unfortunately. 更新:不幸的是,大约一个月后,我将无权进行故障排除或分析服务器。 I'm pretty sure the problem is in the websphere apache plugin configuration. 我很确定问题出在websphere apache插件配置中。

I need additional inputs to help you. 我需要其他帮助。

First thing, is images a webapp context root? 首先,图像是webapp上下文根吗?

From the URL i am assuming that is the case. 从URL,我假设是这种情况。

I am also assuming that you are fronting the WAS with a web server as you are not specifying the port number of the WAS Server instances. 我还假设您正在将WAS置于Web服务器的前面,因为您未指定WAS Server实例的端口号。

WHat is firstapp.com and secondapp.com (is that a host name). WHat是firstapp.com和secondapp.com(是主机名)。 I want to ascertain that you are not swallowing the context root when you provided these URLs. 我想确定当您提供这些URL时您没有吞下上下文根。

If the Web Server plugin is used (which is the case if you are accessing via port 80 as seen by the URL), whom does it route the request to? 如果使用了Web Server插件(如果您正在通过端口80(如URL所示)进行访问,则是这种情况),它将请求发送给谁?

I guess i will be able to help you once i have your inputs on the above. 我想一旦我对上述内容提出意见,我就能为您提供帮助。

Manglu 芒鲁

Do you have content fronted up by IBM Apache or similar? 您是否有IBM Apache或类似机构提供的内容? That's what I'd look at in the first instance. 这就是我首先要看的内容。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在Websphere控制台上查看另一个节点应用程序? - How to see another nodes applications on Websphere console? 如何在同一WebSphere Application Server上安装的应用程序之间共享EJB本地接口? - How to share EJB local interface across applications installed on the same WebSphere Application Server? 同一包中的类不能互相看到,也不能在终端中编译 - classes in same package not see each others and not compiled in terminal 如何在同一个 WebSphere Liberty 上远程调试两个应用程序 - How to remote debug two applications on the same WebSphere Liberty 在应用程序服务器(weblogic / websphere)上部署多个应用程序 - Deploying multiple applications on an application server(weblogic/websphere) 如何使Websphere App将每个应用程序日志条目重定向到不同的文件? - How do i make Websphere App redirect each applications log entry to different file? Websphere 7-如何知道部署在同一服务器实例中的EARs端口 - Websphere 7 - How to know EARs ports deployed in the same Server Instance 如何同时从Tomcat服务器上的两个不同的SpringBoot应用程序加载DLL? - How can I load a DLL from two different SpringBoot applications on a Tomcat server at the same time? 如何查看 MultipartForm 请求的内容? - How can I See the content of a MultipartForm request? 为什么同一包中的类无法自动相互看见? - Why can't classes in the same package see each other automagically?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM