• 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

Virtual Host not Functioning properly!!!!!

 
Ranch Hand
Posts: 321
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Iam facing a strange problem with the virtual host setting.I have kept my class files in a jar and set the classpath to this jar.We are having a team of 15 each one of them having its own virtual host, web.xml and each one is sharing a common gateway servlet.The utility classes which the gateway servlet uses in kept in /var/warehouse/common_class_links. and the class-path to these is set on each virtual host.The gateway servlet uses a Global configuration class to read the properties files which are required in the init method of the gateway servlet.The problem which persists is when one user gives a request to the server his default display page is shown , but when the second user gives a request from his virtual host it shows him the previous user default page.Iam not able to figure out whether a single instance of the gateway servlet is getting created or multiple instances are there for every virtual host.How can we set, allocate seperate jvm's for the virtual host.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic