war文件Jboss中的部署问题

时间:2023-01-19 22:11:59

If I have a war file genarated in Windows machine and I deploy that to the Jboss in Linux environment, Do I need to make any changes in Jboss server configuration files?

如果我在Windows机器上有一个war文件并将其部署到Linux环境中的Jboss,我是否需要对Jboss服务器配置文件进行任何更改?

When I tried to open an application it says the "The requested resource (/helloworld) is not available". But the same application if I open in Windows Environment it works really great.

当我试图打开一个应用程序时,它说“请求的资源(/ helloworld)不可用”。但是如果我在Windows环境中打开它同样的应用程序它的工作真的很棒。

I tried restarting the server as well, but no Help.

我也试过重启服务器,但没有帮助。

For the first time I have installed the JBoss in my Virtual Private Server, http://:8080/, I get the Jboss Home Page, when I click on jmx_console, that page is also coming without any problem. this is to make sure Jboss is working fine or not.

我第一次在我的虚拟专用服务器中安装了JBoss,http://:8080 /,我得到了Jboss主页,当我点击jmx_console时,该页面也没有任何问题。这是为了确保Jboss正常工作。

Please help if I am missing some thing in this?

如果我遗漏了一些东西,请帮忙吗?

2 个解决方案

#1


0  

war file genarated in Windows machine and I deploy that to the Jboss in Linux environment, Do I need to make any changes in Jboss server configuration files?

war文件在Windows机器中生成,我将其部署到Linux环境中的Jboss,我是否需要对Jboss服务器配置文件进行任何更改?

No.

#2


0  

There may be a trap between windows and linux. (I don't have a Linux-Box so I can't test it).

Windows和Linux之间可能存在陷阱。 (我没有Linux-Box,所以我无法测试它)。

The Linux-Box may be case-sensitive.

Linux-Box可能区分大小写。

Within the JMX-Console you can search for your deployed Web-App and the deplyment-path. May be the path is: http://jbosshost:8080/HelloWorld

在JMX-Console中,您可以搜索已部署的Web应用程序和deplyment-path。可能的路径是:http:// jbosshost:8080 / HelloWorld

Take a look at the JMX-Xonsole: http://jbosshost:8080/jmx-console/ (Filter for: jboss.web.deployment)

看看JMX-Xonsole:http:// jbosshost:8080 / jmx-console /(Filter for:jboss.web.deployment)

#1


0  

war file genarated in Windows machine and I deploy that to the Jboss in Linux environment, Do I need to make any changes in Jboss server configuration files?

war文件在Windows机器中生成,我将其部署到Linux环境中的Jboss,我是否需要对Jboss服务器配置文件进行任何更改?

No.

#2


0  

There may be a trap between windows and linux. (I don't have a Linux-Box so I can't test it).

Windows和Linux之间可能存在陷阱。 (我没有Linux-Box,所以我无法测试它)。

The Linux-Box may be case-sensitive.

Linux-Box可能区分大小写。

Within the JMX-Console you can search for your deployed Web-App and the deplyment-path. May be the path is: http://jbosshost:8080/HelloWorld

在JMX-Console中,您可以搜索已部署的Web应用程序和deplyment-path。可能的路径是:http:// jbosshost:8080 / HelloWorld

Take a look at the JMX-Xonsole: http://jbosshost:8080/jmx-console/ (Filter for: jboss.web.deployment)

看看JMX-Xonsole:http:// jbosshost:8080 / jmx-console /(Filter for:jboss.web.deployment)