Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • 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

Context-Root problem in WAS5

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
I try to put a WAS4 Application to WAS5. I got one Problem:
for example, we have the following sourcecode in a JSP:

In WAS4 the target of the redirect-commad is:
http://host/anyfolder/any.jsp
or, if I use the context-root = /test
http://host/test/anyfolder/any.jsp

in WAS5 an error occures:
http://host/anyfolder/any.jsp
or, if I use the context-root = /test
http://host/anyfolder/any.jsp
WAS5 removes the context-root, if there is one.
Any Idea, how I can solve this, without changing the source-codes??
Thanks & Happy New Year
B.
 
Ranch Hand
Posts: 1551
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is the error that occurs?
 
Ben Klug
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
a simple wrong URL-Message like:
_____
Virtual host or webapplication not found
/anyfolder/any.jsp is not defined
IBM WebSphere Application Server
_____
Thanks for your efforts!
 
The two armies met. But instead of battle, they decided to eat some pie and contemplate this 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