Remember, your app is /, but the directory is actuall _. If you use tomcat manager to deploy your war, the uploaded war is at manager's work dir under name of _.war and the compiled classes etc are located at work dir's _
-----Original Message----- From: kax [mailto:[EMAIL PROTECTED] Sent: October 5, 2004 9:58 AM To: Tomcat Users List Subject: Re: RE: Root application in Tomcat Thanks for your fast reply but I still can't get it to work. When looking in the manager I can see that an application has been deployed to Context (/) and another to the Context (/myApp). When looking at the "/" no document base or path is visible. When trying to look at the "/myApp" I get an error: "HTTP Status 500 - Error retrieving attribute debug" What can be the problem? Thanks in advance /Kax > > From: "Shapira, Yoav" <[EMAIL PROTECTED]> > Date: 2004/10/05 ti PM 01:42:58 GMT > To: "Tomcat Users List" <[EMAIL PROTECTED]> > �mne: RE: Root application in Tomcat > > > Hi, > > ><Context docBase="myApp" path="" > workDir="work/Catalina/localhost/myApp"> > > This is fine. You probably don't need to specify workDir explicitly > since you're just using the default anyways. > > >I thought that leaving the path empty and removing the ROOT > >application > was > >enough to install the application att root level so I can use > >http://localhost to reach the application instead of > >http://localhost/myApp. > > Your thought is correct. > > >But this doesn't seem to work. When entering the > >root after deployment I end up in "Directory Listing for /" and all > >applications are shown. > > Do you have a welcome file in your app to match the welcome-files > defines in your web.xml? > > Yoav > > > > This e-mail, including any attachments, is a confidential business > communication, and may contain information that is confidential, > proprietary and/or privileged. This e-mail is intended only for the > individual(s) to whom it is addressed, and may not be saved, copied, > printed, disclosed or used by anyone else. If you are not the(an) > intended recipient, please immediately delete this e-mail from your > computer system and notify the sender. Thank you. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] !DSPAM:4162a87f11832027331781!
