• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Wanted to migrate web application to the new host

 
Greenhorn
Posts: 12
Firefox Browser
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I wanted to migrate my java application to new host. Currently we are accessing it via OLD_HOST/atmsAPP(atmsAPP is my java app) and now i wanted it to migate to NEW_HOST/atmsAPP. I am new to the deployment in tomcat, how i accomplish this, please help me and how to configure mysql db to new host?.
 
Saloon Keeper
Posts: 25477
180
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm afraid that if you have to ask that question, it is likely that you do not have even basic knowledge of how web applications are constructed, configured, and deployed.

We're here to help, but at this point, what you really need to do is study some fundamentals. We're not constructed to provide personalized in-detail support like that. That's probably why no one attempted to answer.
 
Anil Kumar Goud
Greenhorn
Posts: 12
Firefox Browser
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Tim Holloway wrote:I'm afraid that if you have to ask that question, it is likely that you do not have even basic knowledge of how web applications are constructed, configured, and deployed.

We're here to help, but at this point, what you really need to do is study some fundamentals. We're not constructed to provide personalized in-detail support like that. That's probably why no one attempted to answer.



I may be a fool to ask this question,as i mentioned that i am new for deployment in tomcat so that i need to know.
The general way to deploy app in tomcat we put .war pack in webapp folder(or using tomcat manager). What my question is previously we deployed/accessed my app as sub domain, the same thing i wanted to move my app to as new host's sub domain. Should i do this same in traditional process or is any simple way to accomplishment this.
 
Tim Holloway
Saloon Keeper
Posts: 25477
180
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The Domain Name for a server is not determined by Tomcat. It is attached to the entire machine (whether virtual or physical). There is nothing to configure within Tomcat.

The Context Path for a Tomcat-deployed webapp is determined by the rules outlined in the Tomcat documentation. If you simply copy a WAR into TOMCAT_HOME/webapps, Tomcat will build a default Context whose path is the same name as the WAR (excluding the ".war" extension). By default, Tomcat will also unzip (explode) a WAR file in TOMCAT_HOME/webapps and use that. Meaning that even if you replace the WAR file, the new WAR will be ignored and the older exploded WAR will continue to be used.
 
This. Exactly this. This is what my therapist has been talking about. And now with a tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic