• 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

Can't get latest version of jsp in server !!!!

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am able to call .jsp file from my system ONLY ONCE (the very 1st time), after its creation. Our JSP-server is TOMCAT-Server 3.2.1 which is located in another machine(our network server -Win2000 ).
If I modified the .jsp file from my system & downloaded into TOMCAT-Server 3.2.1, I am not getting the refreshed/latest version. I don't know why my jsp-server is not refreshing it.
All the PCs are getting the old version of JSPs.
I have tried all the solutions & means from tips in this website.
Please assist me urgently. Your help will be much appreciated. Thanks in advance.
Best regards,
Neo
 
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I know that there's a setting in Tomcat in which it won't recompile (gives better performance on sites where the pages aren't expected to change - Tomcat doesn't have to check date/time stamps for recompilation). Check to see if that setting is on. (I remember that it exists, though I'm having trouble finding it in the documentation at the moment.) Also see the ReloadInterceptor documentation at http://jakarta.apache.org/tomcat/tomcat-3.3-doc/serverxml.html#ReloadInterceptor
 
Ranch Hand
Posts: 732
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
search for the server.xml file.
there search for the service tag.
inside add this tag:
<DefaultContext reloadable="true"/>
thats it
 
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"neocs"
your name deosn't agree with the javaranch guidelines. Please take a moment and re-register after reviewing the guidelines at http://www.javaranch.com/name.jsp
thanks for your cooperation.
- satya
 
neo cs
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think I got a solution. Check your PC system time & your TOMCAT server system time. If your TOMCAT server system time is much forward than your PC system time. The server will always run the server JSP copy (old copy) because PC JSP copy is much earlier due to the timestamp checking by TOMCAT server.
Assume that development is done on PC & download into TOMCAT server to compile.
Anyway, thanks a lots, folks
Bye-bye.
 
I need a new interior decorator. This tiny ad just painted every room in my house purple.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic