Re: Re: Re: Custom ctxroot.war is successfully deployed but returns error 404 on 5.3 M5 ?
"Guillaume Sauthier (OW2)" <[email protected]> Thu, 19 Jan 2012 13:22:16 +0100
| Newsgroups | gmane.comp.java.objectweb.jonas |
|---|---|
| Message-ID | <CAG1yf3O8aBkHoSaRaeTX-GuftbjAmmDdxF3o5v3LLdfrKcRBCA@mail.gmail.com> |
--f46d0443066461bcd104b6e09d2d Content-Type: text/plain; charset=ISO-8859-1 No. You should find our (jonas team) ctxroot.war here: repositories/maven2-internal/org/ow2/jonas/jonas-ctxroot/*/*.war --G 2012/1/19 Hans J. Prueller <[email protected]> > ** > > Hi Guillaume, > > thanks for your reply. What do you mean with > > " try with our own ctxroot.war ?" > > guess this was a type and should mean "try with Your own ctxroot.war ?" > > > > -- i.e. I should give it a try with the latest 5.3.0-M6-SNAPSHOT with our > "problematic" ctxroot.war ?? > > > > regards, > > HANS > > > > Am 19.01.2012 12:02, schrieb Guillaume Sauthier (OW2): > > Hi Hans > We also have a ctxroot webapp with a simple JSP in it. > It works as expected with the trunk of JOnAs (5.3.0-M6-SNAPSHOT) > Can you make a try with our own ctxroot.war ? > Thanks > --G > > 2012/1/13 Hans J. Prueller <[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 >> >> >> >> >> >> -- > > > > > > --f46d0443066461bcd104b6e09d2d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable No.<div>You should find our (jonas team) ctxroot.war here:=A0</div><div>rep= ositories/maven2-internal/org/ow2/jonas/jonas-ctxroot/*/*.war</div><div><br= ></div><div>--G<br><br><div class=3D"gmail_quote">2012/1/19 Hans J. Pruelle= r <span dir=3D"ltr"><<a href=3D"mailto:[email protected]">han= [email protected]</a>></span><br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"><u></u> <div> <p>Hi Guillaume,</p> <p>thanks for your reply. What do you mean with</p><div class=3D"im"> <p>"=A0try with our own ctxroot.war ?"</p> </div><p>guess this was a type and should mean =A0"try with Your own c= txroot.war ?"</p> <p>=A0</p> <p>-- i.e. I should give it a try with the latest 5.3.0-M6-SNAPSHOT with ou= r "problematic" ctxroot.war =A0??=A0</p> <p>=A0</p> <p>regards,</p> <p>HANS</p> <p>=A0</p> <p>Am 19.01.2012 12:02, schrieb Guillaume Sauthier (OW2):</p><div><div clas= s=3D"h5"> <blockquote type=3D"cite" style=3D"padding-left:5px;border-left:#1010ff 2px= solid;margin-left:5px;width:100%"> <p>Hi Hans</p> <div>We also have a ctxroot webapp with a simple JSP in it.<br>It works as = expected with the trunk of JOnAs (5.3.0-M6-SNAPSHOT)</div> <div>Can you make a try with our own ctxroot.war ?</div> <div>Thanks</div> <div>--G</div> <div><br> <div class=3D"gmail_quote">2012/1/13 Hans J. Prueller <span><<a href=3D"= mailto:[email protected]" target=3D"_blank">hans.prueller@lbs-lo= gics.com</a>></span><br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex">Hi all,<br><br> we upgraded recently to JOnA= S 5.3 M5 on our machines. For the last years, we have been using<br> a cust= om written tiny webapp (ctxroot.war), which only consists of some artifacts= and an "index.jsp"<br> page, that auto-forwards to a specific webapp context if somebody directly= lands at the context root.<br><br> for example:<br><br> we have an .ear pr= oject with an app at context =A0"/mycontrolcenter"<br><br> and a = "ctxroot.war" deployed at "/" =A0with index.jsp that do= es a redirect (simply via meta-refresh tag) to "/mycontrolcenter"= <br> <br> So if some body enters: <a href=3D"http://www.myserver.com" target=3D"= _blank">www.myserver.com</a> he / she automatically is redirected to <a hre= f=3D"http://www.myserver.com/mycontrolcenter" target=3D"_blank">www.myserve= r.com/<span style=3D"text-decoration:underline"></span>mycontrolcenter</a><= br> <br><br> This was quickly made some years ago and worked fine until we swit= ched to 5.3 M5:<br><br> - we also switched the web container from Tomcat6 t= o Tomcat7<br> ( - and mojarra implementation from 1.2 to 2.0 )<br><br><br> Jonas says at startup everything is ok:<br><br> Deploying ctxroot.war<br> = 2012-01-12 16:58:59,844 : INFO : Thread-13 : BaseWebContainerService.<span = style=3D"text-decoration:underline"></span>registerWar : =A0 =A0War ctxroot= .war available at the context /.<br> 2012-01-12 16:59:00,673 : INFO : Thread-13 : J2EEServer.__info : =A0 =A0JO= nAS AS v5.3.0-M5 named 'jonas' RUNNING<br><br><br> BUT: when we ope= n the browser and enter e.g. <a href=3D"http://localhost:9000/" target=3D"_= blank">http://localhost:9000/</a> --> we get a HTTP 404 (not found) erro= r<br> <br><br> can anybody =A0else reproduce this? could this somehow be related = to the switch to tomcat7 as servlet container or something<br> else that wa= s changed in 5.3 ????<br><br><br> regards,<br> Hans<br><br><br><br><br><br> </blockquote> </div> </div> </blockquote> </div></div><div>-- <br> <pre>=A0</pre> <pre>=A0</pre> </div> </div> </blockquote></div><br></div> --f46d0443066461bcd104b6e09d2d--