• 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

Configuring Resin

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am looking for a way to have Resin recognise servlets when I change them without restarting the server. I did a little reading about it, I guess its all in the resin.conf file, but we are virtually hosted, so I am not sure about accessing that file...
Any ideas?
Thanks
 
Author
Posts: 350
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

(What if Resin doesn't update changed servlets and JSP pages?)

Resin has a delay for testing updated servlets and JSP pages. The configuration variable for both is 'class-update-interval' in resin.conf. It's an application-level variable. The default is 15 seconds. So Resin will only check every 15 seconds for an updated page. You can set this value to 0 for development work.
<http-config class-update-interval='0'>
...
</http-config>


If you want Resin to check servlets for updates every hour, your resin.conf might look like:
<http-config class-update-interval='3600'>
...
</http-config>

http://www.caucho.com/resin/faq/classloader.xtp
[ September 30, 2002: Message edited by: Rick Hightower ]
 
tumbleweed and gunslinger
Posts: 192
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've also found that you can tweak compile settings via:
<classpath id='WEB-INF/classes'
source='WEB-INF/src'
compile='true'/>
as well...
reply
    Bookmark Topic Watch Topic
  • New Topic