facebook

Tomcat 5 context file

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #247121 Reply

    iwirawan
    Member

    OS:Win2k
    Eclipse:Version: 3.1.2 Build id: M20060118-1600
    MyEclipse:Version: 4.1.0 Build id: 20060122-4.1-GA

    Hi,

    Can MyEclipse put my application’s context file in \conf\Catalina\localhost during application deployment? If yes, where should I specify my context file?

    Regards,
    Iwan

    #247125 Reply

    Riyad Kalla
    Member

    Iwan,
    No it can’t. Since you are using Tomcat though you can specify your context information in a file named “context.xml” and store it in your WebRoot/META-INF folder. Tomcat should honor it when deploying your app. I’m not sure if it only does it when deploying a WAR or not.

    I would suggest just save yourself the time during deployment, and copy it yourself into your conf/Catalina/localhost dir, you only have to do it one time.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Tomcat 5 context file

You must be logged in to post in the forum log in