• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

help understanding deployment

Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Fellow Ranchers

i am not sure if the question qualifies to be part of this forum..perhaps i can't decide.
please help me wrap my brains around this:

i've WAS6.1 and have server1 running on node1. i wish to install an ear (same) with different context roots (absurd!).
here's what i've but am not satisfied with my understanding..the ear has application.xml which defines <context-root>..this context in turn binds to, calls to resources available in a war packaged inside this ear.
for some silly reason i need to install same application with different context say..temp.com/rootA and temp.com/rootB
i can do this by manually changing the application.xml and web.xml to have "rootA" and "rootB" in two different ear's...still is there a way to achieve this in simpler, easier approach?...i am gone blind..

help please...thanks!
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try changing the context root while you are deploying the app(Ear file) from the console.


If you already deployed, goto admin console-->and to applications-->Click on the application...
on your right hand side under web module properties click context root for webmodules and chnage and save.

Access the application with the new context root....

hope this helps.
You ought to ventilate your mind and let the cobwebs out of it. Use this cup to catch the tiny ads:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic