Custom ctxroot.war is successfully deployed but returns error 404 on 5.3 M5 ?

"Hans J. Prueller" <[email protected]> Fri, 13 Jan 2012 07:26:33 +0100
Newsgroups gmane.comp.java.objectweb.jonas
Message-ID <[email protected]>
Hi all,

we upgraded recently to JOnAS 5.3 M5 on our machines. For the last 
years, we have been using
a custom written tiny webapp (ctxroot.war), which only consists of some 
artifacts and an "index.jsp"
page, that auto-forwards to a specific webapp context if somebody 
directly lands at the context root.

for example:

we have an .ear project with an app at context  "/mycontrolcenter"

and a "ctxroot.war" deployed at "/"  with index.jsp that does a redirect 
(simply via meta-refresh tag) to "/mycontrolcenter"

So if some body enters: www.myserver.com he / she automatically is 
redirected to www.myserver.com/mycontrolcenter


This was quickly made some years ago and worked fine until we switched 
to 5.3 M5:

- we also switched the web container from Tomcat6 to Tomcat7
( - and mojarra implementation from 1.2 to 2.0 )


Jonas says at startup everything is ok:

Deploying ctxroot.war
2012-01-12 16:58:59,844 : INFO : Thread-13 : 
BaseWebContainerService.registerWar :    War ctxroot.war available at 
the context /.
2012-01-12 16:59:00,673 : INFO : Thread-13 : J2EEServer.__info :    
JOnAS AS v5.3.0-M5 named 'jonas' RUNNING


BUT: when we open the browser and enter e.g. http://localhost:9000/ --> 
we get a HTTP 404 (not found) error


can anybody  else reproduce this? could this somehow be related to the 
switch to tomcat7 as servlet container or something
else that was changed in 5.3 ????


regards,
Hans