Server Locations from inside eclipse

Server Locations from inside eclipse

Postby javalatte » Thu Feb 07, 2013 5:03 am

When you start Tomcat from inside eclipse, and then double click on the server, you get the server view with two tabs - Overview, Modules. In Overview, there is Server Locations and provides three choices to choose from:
. use workspace metadata
. use tomcat installation
. use custom location
By default, the first one(use workspace metadata) is chosen by eclipse for you and it works fine with it.

Now the question is, what do the choices mean? When or why would you choose one over the other?
javalatte
 
Posts: 55
Joined: Tue Jan 29, 2013 2:31 pm

Re: Server Locations from inside eclipse

Postby Kishan » Fri Feb 08, 2013 2:06 am

When you configure Tomcat server in eclipse,

#1 it requires it's own configuration files to start server in eclipse. This configurations good to isolate from physical server location files.
#2 When you deploy applications it creates context xmls and some generated source and compiled classes (in case of jsp) stores in the server directories.

When you are running tomcat from eclispe where should store the above information. You can use either of choice below:

    use workspace metadata: Above files stored inside server plugin metadata inside eclipse. Difficult to trace these directory.
    use tomcat installation: Use original tomcat installed directory. This is not ideal to use.
    use custom location: Better you can pass preferreable location to store generated files.
Kishan
 
Posts: 191
Joined: Tue Jan 29, 2013 4:21 am


Return to Apache Tomcat

Who is online

Users browsing this forum: No registered users and 1 guest

cron