<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 12pt; color: #000000'><br><br><hr id="zwchr"><blockquote id="DWT3947" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px; color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Max Rydahl Andersen" <max.andersen@redhat.com><br><b>To: </b>"Brian Stansberry" <brian.stansberry@redhat.com><br><b>Cc: </b>jboss-as7-dev@lists.jboss.org<br><b>Sent: </b>Friday, June 10, 2011 10:56:23 AM<br><b>Subject: </b>Re: [jboss-as7-dev] Cleaner welcome page<br><br>> <br>> Perhaps better to just make it fixed as localhost:9990. In the default <br>> configs, the interface for the management sockets is configured <br>> separately from the ones for other services, so changing the others to <br>> some non-localhost value will not affect the management socket. The <br>> users have to intentionally decide to keep them in sync, and my guess is <br>> they won't do that by default.<br><br>Ok - i've removed the javascript magic so its just basic localhost:9990 in the pullrequest.<br></blockquote>I liked the javascript magic, because in all my testing the first thing I do is change the "default" interface from localhost to the IP address of the server, since I do all my testing on a headless server, and use the console from my laptop.<br><br>Hmm.....<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px; color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><br>>> I also wanted to add info about how to change the welcome page but I don't have the info available<br>>> so for now just kept it simple.<br>> <br>> Deploy a war with / as its context path. I assume the magic ROOT.war <br>> name still works, but haven't tried it.<br><br>ROOT.war gives this kind of error:<br>18:39:38,914 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) Starting deployment of "ROOT.war"<br>18:39:39,131 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC00001: Failed to start service jboss.web."ROOT.war": org.jboss.msc.service.StartException in service jboss.web."ROOT.war": Failed to start service<br> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1696)<br> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_24]<br> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_24]<br> at java.lang.Thread.run(Thread.java:680) [:1.6.0_24]<br>Caused by: java.lang.IllegalStateException: Root contexts can not be deployed when the virtual host configuration has the welcome root enabled, disable it and redeploy<br> at org.jboss.as.web.deployment.WebContextInjector.inject(WebContextInjector.java:56)<br> at org.jboss.as.web.deployment.WebContextInjector.inject(WebContextInjector.java:37)<br> at org.jboss.msc.inject.CastingInjector.inject(CastingInjector.java:55)<br> at org.jboss.msc.service.ServiceControllerImpl.doInject(ServiceControllerImpl.java:1482)<br> at org.jboss.msc.service.ServiceControllerImpl.access$2000(ServiceControllerImpl.java:47)<br> at org.jboss.msc.service.ServiceControllerImpl$StartTask.performInjections(ServiceControllerImpl.java:1709)<br> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1670)<br> ... 3 more<br><br><br>So that doesn't work ;)<br><br>Setting enable-welcome-root=false did though so I added that as a foot note on the welcome page in the pull request and now<br>the page looks like this: http://screencast.com/t/Crau0rOIk3p<br><br>If anyone got a better/shorter version of the explanation - even more awesome :)<br><br>But please merge some of this in so we get rid of that 1mb welcome page.<br> <br>/max<br><br>> <br>>> <br>>> /max<br>>> <br>>> <br>>>> <br>>>> On 6/10/11 8:31 AM, Max Rydahl Andersen wrote:<br>>>>> Hi,<br>>>>> <br>>>>> (reposting with link instead of image)<br>>>>> <br>>>>> Emmanuel showed me the current welcome page and said that was most likely what AS7 would be released with next week.<br>>>>> <br>>>>> I know there are other work going on and the final page will be better but I really would like we make that page simpler and actually<br>>>>> link to something relevant from it ;)<br>>>>> <br>>>>> So please merge in this pull request https://github.com/jbossas/jboss-as/pull/52<br>>>>> <br>>>>> and you will get something like this http://screencast.com/t/BNHqc1qZ<br>>>>> <br>>>>> It scales and works in all browser and at all resolutions.<br>>>>> <br>>>>> Please :)<br>>>>> <br>>>>> /max<br>>>>> http://about.me/maxandersen<br>>>>> <br>>>>> <br>>>>> <br>>>>> <br>>>>> _______________________________________________<br>>>>> jboss-as7-dev mailing list<br>>>>> jboss-as7-dev@lists.jboss.org<br>>>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev<br>>>> <br>>>> <br>>>> --<br>>>> Brian Stansberry<br>>>> Principal Software Engineer<br>>>> JBoss by Red Hat<br>>>> _______________________________________________<br>>>> jboss-as7-dev mailing list<br>>>> jboss-as7-dev@lists.jboss.org<br>>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev<br>>> <br>>> /max<br>>> http://about.me/maxandersen<br>>> <br>>> <br>>> <br>> <br>> <br>> -- <br>> Brian Stansberry<br>> Principal Software Engineer<br>> JBoss by Red Hat<br>> _______________________________________________<br>> jboss-as7-dev mailing list<br>> jboss-as7-dev@lists.jboss.org<br>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev<br><br>/max<br>http://about.me/maxandersen<br><br><br><br><br>_______________________________________________<br>jboss-as7-dev mailing list<br>jboss-as7-dev@lists.jboss.org<br>https://lists.jboss.org/mailman/listinfo/jboss-as7-dev<br></blockquote><br></div></body></html>