]
Tomaz Cerar commented on WFLY-5321:
-----------------------------------
there is extra log message which you didn't include that tells you on what context it
is listening.
something along the lines:
{noformat}
2015-08-17 15:56:43,231 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool
-- 10) WFLYUT0021: Registered web context: /optaconf
{noformat}
but that doesn't include full url itself.
Deploying a war to wildfly should mention the localhost url including
context root of that war in the log
---------------------------------------------------------------------------------------------------------
Key: WFLY-5321
URL:
https://issues.jboss.org/browse/WFLY-5321
Project: WildFly
Issue Type: Enhancement
Reporter: Geoffrey De Smet
Assignee: Jason Greene
Here what I see now in the log:
{code}
[2015-09-10 04:56:44,211] Artifact optaconf-webapp:war exploded: Artifact is being
deployed, please wait...
16:56:44,235 INFO [org.jboss.weld.deployer] (MSC service thread 1-9) JBAS016009:
Stopping weld service for deployment optaconf-webapp-0.1.0-SNAPSHOT
16:56:44,244 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877:
Stopped deployment optaconf-webapp-0.1.0-SNAPSHOT (runtime-name:
optaconf-webapp-0.1.0-SNAPSHOT) in 15ms
16:56:44,255 INFO [org.jboss.as.server] (management-handler-thread - 3) JBAS018558:
Undeployed "optaconf-webapp-0.1.0-SNAPSHOT" (runtime-name:
"optaconf-webapp-0.1.0-SNAPSHOT")
16:56:44,322 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876:
Starting deployment of "optaconf-webapp-0.1.0-SNAPSHOT" (runtime-name:
"optaconf-webapp-0.1.0-SNAPSHOT")
...
16:56:44,508 INFO [org.jboss.as.server] (management-handler-thread - 3) JBAS018559:
Deployed "optaconf-webapp-0.1.0-SNAPSHOT" (runtime-name :
"optaconf-webapp-0.1.0-SNAPSHOT")
[2015-09-10 04:56:44,519] Artifact optaconf-webapp:war exploded: Artifact is deployed
successfully
[2015-09-10 04:56:44,519] Artifact optaconf-webapp:war exploded: Deploy took 308
milliseconds
{code}
But as a developer, it's very hard to figure out the url to test the app, especially
if someone changed it recently. Note that in my case it could be any of these, depending
on the state of the jboss-web.xml, war file name (potentially exploded), IDE
configuration, etc:
-
http://localhost:8080/optaconf-webapp-0.1.0-SNAPSHOT/
-
http://localhost:8080/optaconf-webapp/
-
http://localhost:8080/optaconf/