facebook

Adding project context into server.xml [Closed]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #209963 Reply

    thomd
    Member

    when I create a new Web Module Project, I would like to have the appropriate context to be added into Tomcats server.xml .

    I still don’t find a way to do this. When I create a new project, the server is unspecified, so I expected that when deploying to tomcat, the context will be added into server.xml. But it doesn’t.

    Could someone tell me how to manage this.

    kind regards,
    thomd

    #209973

    Riyad Kalla
    Member

    Thomd,
    This is outside the realm of MyEclipse, BUT if you are running Tomcat 5, you can supposidly extract your context settings into a file named “context.xml” and place it in your META-INF directory of your webapp, and when you deploy it, Tomcat will pickup the settings and use them.

    You may want to check with the Tomcat mailing list, becuase I’ve heard that you should name this file the same name as your webapp, and put it in your WEB-INF dir… so I don’t know which one works. Either way, this is up to you to configure your application server correctly.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Adding project context into server.xml [Closed]

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