• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Websphere 3.5 virtual host?

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a project on my desktop that I deploy through Visual Age 3.5. The production version of this is on the Websphere application server. The modifications I am making are done on my desktop. What we would like to do is have a test environment on the actual Websphere server sitting beside the real application. Reason being that there are some weird quirks that are happening on my desktop and therefore we would like to be able to test it in a live environment as well. So is there a way to create a virtual host next to the default host or some way that on the same server I can either point to the test application or the actual one without having to change all the names? I also don't even have a Websphere manual here for the product and there is not much help on the web. Sorry if this is confusing to read. I'd appreciate any help you can give me....I know this version is outdated and we are upgrading soon but for the time being I need to get something working. Thanks!

Kathy
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Kathy,
The simplest way is to change the context root of the test app.

I'm going to move this to our WebSphere forum since it is more about the server than VAJ. And welcome to JavaRanch!
 
Kathy Navarro
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Jeanne,
I did think of doing that but then I would have to make that change in every single file I have which is over 40 plus all my JSP? (see I have packages so changing the root would mean changing everything). There's gotta be an easier way I would think.

Thanks for replying.
Kathy
 
Jeanne Boyarsky
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Kathy,
The package names can all stay the same. The context root is what is used in the URL. For example, suppose you have the URL http://mysite.com/project/page.jsp.

The context root is "project". It's set in the web.xml file.
 
reply
    Bookmark Topic Watch Topic
  • New Topic