Bugs item #475302, was opened at 2001-10-26 07:00 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376685&aid=475302&group_id=22866
Category: CatalinaBundle Group: v2.4 (stable) >Status: Closed >Resolution: Fixed Priority: 6 Submitted By: toby cabot (tcabot) Assigned to: Scott M Stark (starksm) >Summary: can't deploy webapps to "root" Initial Comment: System context: Debian 2.2 Linux tobypc 2.2.18pre21 #10 Thu Jun 7 17:04:47 EDT 2001 i686 unknown java version "1.3.1" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24) Java HotSpot(TM) Client VM (build 1.3.1-b24, mixed mode) JBoss-2.4.3_Tomcat-4.0 You can't deploy a webapp packaged in an .ear file to the root context, i.e. the context that catches requests for http://host.domain.tld/. The problem is that EmbeddedCatalinaServiceSX.java:initCatalina() deploys a root context ("webapps/ROOT"), but because this wasn't deployed using the normal process it never gets undeployed and prevents any user application from grabbing the root context. As a workaround you can comment out lines 295 and 296. This means that no root context will exist until the user deploys one (so requests will get a 500), but the user's deployment works. ---------------------------------------------------------------------- >Comment By: Scott M Stark (starksm) Date: 2001-11-10 21:11 Message: Logged In: YES user_id=175228 Integrated fixes for 2.4.4 release. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2001-11-09 08:30 Message: Logged In: NO I just plugged in a new catalina-service.jar with the fix and it fixes the problem on my stock 2.4.3/Tomcat installation. ---------------------------------------------------------------------- Comment By: toby cabot (tcabot) Date: 2001-10-26 08:23 Message: Logged In: YES user_id=55510 There seems to be another issue. With the change as described above, you can deploy a webapp to "/" and it works fine until you deploy another one to e.g. "/foo" in which case the root webapp seems to disappear. The old contrib/catalina code had a line that mapped a context path of "/" onto "" just before deployment, and that seems to do the trick here, too. With that change you can now deploy webapps to the root and to other context paths. I've uploaded a patch with these two changes. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376685&aid=475302&group_id=22866 _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
