[jboss-as7-dev] Missing 404 for non-existent web app context?

Jason T. Greene jason.greene at redhat.com
Fri Apr 15 12:34:25 EDT 2011


On 4/15/11 11:33 AM, Jason T. Greene wrote:
> On 4/15/11 11:19 AM, Remy Maucherat wrote:
>> On Fri, 2011-04-15 at 18:13 +0200, Max Rydahl Andersen wrote:
>>>> Am 15.04.2011 um 11:27 schrieb Max Rydahl Andersen:
>>>>> But what is different about AS 7's errors and other 404's ?
>>>>
>>>> AS7 may only sent the http code 404 without any actual page content,
>>>> while other sites also send a small http snippet that says "404".
>>>
>>> ah got it - I guess this coincide with the "missing" ROOT.war which
>>> "missing status" also makes
>>> it very hard for newbie users to know if they actually have a running
>>> AS since it just returns a blank boring page.
>>>
>>
>> Yes, but we now have two HTTP ports. It may be better to place a welcome
>> page on the management port (9990). This would also avoid the security
>> problem that can be created by default deployments.
>>
>
> Hmm thats a good idea.
>
>

Although that only would work for standalone, in domain mode the 
management port is not running in the AS server process.

-- 
Jason T. Greene
JBoss, a division of Red Hat



More information about the jboss-as7-dev mailing list