4
我运行以下命令后,我在Jboss AS 7.0.1中成功部署了我的war文件;Jboss 7.0.1:启动了176个服务中的122个(54个服务是被动或按需服务)
/host=master/server-config=mobile:start
我得到以下;直到你开始看着它说入门176的122服务的最后一行
[Server:mobile] 12:47:50,349 INFO [org.jboss.as.logging] (MSC service thread 1-4) Removing bootstrap log handlers
[Server:mobile] 12:47:50,391 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) Bound data source [java:jboss/datasources/ExampleDS]
[Server:mobile] 12:47:51,034 INFO [org.jboss.as.ee] (Controller Boot Thread) Activating EE subsystem
[Server:mobile] 12:47:51,068 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) Starting deployment of "MobileGateway.war"
[Server:mobile] 12:47:51,515 INFO [org.jboss.as.jpa] (MSC service thread 1-1) added javax.persistence.api dependency to MobileGateway.war
[Server:mobile] 12:47:51,809 INFO [org.jboss.web] (MSC service thread 1-4) registering web context: /MobileGateway
[Server:mobile] 12:47:51,822 INFO [org.jboss.as.server.controller] (Controller Boot Thread) Deployed "MobileGateway.war"
[Server:mobile] 12:47:51,824 INFO [org.jboss.as] (Controller Boot Thread) JBoss AS 7.0.1.Final "Zap" started in 4692ms - Started 122 of 176 services (54 services are passive or on-demand)
一切都看起来不错。其他54个服务发生了什么变化?为什么服务器不启动其余的服务?
但是您给我的解释与此无关: 找不到 在此服务器上找不到请求的URL/MobileGateway /。 当我只是试图在浏览器中打开它.. – Ahmed
你没有提到你的问题。也许最好为此打开一个新的问题? –
我同意Arjan的看法,这是另一个问题,您需要指定应用程序公开的接口和端口设置。另外,它有助于了解A)你的预期结果,B)你的过程,C)你的结果。按照这个顺序,我们可以更好地帮助解决一个问题,它确实有助于未来会遇到这个问题的社区。虽然很好的问题! – ddri