Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

create new server environment from existing environment

 
suresh bhandari
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can we create a new environment by copying all the files and folders from existing and modifying the properties or is it necessary to install using installer to create new server environment?
 
Muhammad Saifuddin
Ranch Hand
Posts: 1324
Android Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi suresh,

Welcome to Javaranch,

yes you can, I guess only thing is required to change the port to run server on different port otherwise you'll get the message something like "the port is already in use".
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18152
52
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The problem is "what do you mean by server environment?"

Presumably, you mean Tomcat, since this is the Tomcat forum. Tomcat specifically has the ability to setup multiple "environments" (Tomcat instances) by taking advantage of the CATALINA_HOME and CATALINA_BASE environment variables.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic