[英]Isn't it possible to configure logging INSIDE the application when using jboss AS 7.1.1.Final?
[英]spring mvc web application deployed on JBoss as 7.1.1.Final can not access using localhost
我一直试图以7.1.1的身份访问部署在JBoss上的spring mvc应用程序,但得到404。
以下是我的部署日志的最后几行
21:57:07,627 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/esm]] (MSC service thread 1-8) Initializing Spring FrameworkServlet 'dispatcher'
21:57:07,628 INFO [org.springframework.web.servlet.DispatcherServlet] (MSC service thread 1-8) FrameworkServlet 'dispatcher': initialization started
21:57:07,644 INFO [org.springframework.web.servlet.DispatcherServlet] (MSC service thread 1-8) FrameworkServlet 'dispatcher': initialization completed in 15 ms
21:57:07,646 INFO [org.jboss.web] (MSC service thread 1-8) JBAS018210: Registering web context: /esm
21:57:07,735 INFO [org.jboss.as.server] (HttpManagementService-threads - 3) JBAS018559: Deployed "esm.war"
根据日志,已成功部署。
并在/standalone/deployments/esm.war.deployed文件夹中
因此,所有这些足以使我的应用程序启动并运行。 但是我不知道为什么我要404。
我试图获得如下访问:
有人可以指出我到底哪里出了问题吗? 可能是它没有指向正确的文件夹吗?
@ Tomcat,所有已部署的Web文件夹都可以在/ var / lib / tomcat(7)/ webapp /中找到
JBoss中有这样的事情吗?
启动服务器时,您需要提供绑定地址。
standalone.bat -b 0.0.0.0
要么
standalone.bat -b hostname
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.