Re:redeploy no Weblogic

2 respostas
F

Arquivos dentro do web-inf/classes sao scaneados a procura de mudanças

fonte: http://edocs.bea.com/wls/docs70/webapp/deployment.html#143807


Hot-Deployment

Redeploy files in the WEB-INF/classes directory in the following way. If a class is deployed in WEB-INF/classes, then simply copying a new version of the file with a later time stamp will cause the Web Application to reload everything in the WEB-INF/classes folder with a new classloader.

The frequency in which WLS will look at the filesystem is governed through the console. In the Deployments–>Web Applications tab, select your Web Application. Go to the Configuration tab, and Files subtab, and enter a value in seconds for the Reload Period.

2 Respostas

seufagner

Caros,

Rodando no Tomcat, ao modificar um arquivo XML qualquer contido abaixo de WEB-INF\classes o contexto é recarregado…

E no Weblogic? Ele teria o mesmo comportamento?
Ou ele “escuta” apenas por modificações em servlets e tempaltes JSP nao compilados?

Disabling JSP reload checks

JIRA's performance is considerably affected by Weblogic's tendency to scan JSPs for changes on every page load. This can be disabled by setting pageCheckSeconds to -1.
Disabling servlet reload checks

Similar to the JSP reload checks, Weblogic will scan servlets for modifications every second (by default), hurting performance. This can be prevented by setting the servlet-reload-check-secs element to -1.
Avoiding JSP recompiles on redeploy

If you Weblogic instance is often restarted, performance can be improved by explicitly setting a directory to save compile JSPs to (the workingDir parameter), and setting precompile to 'false'.

fonte: http://www.atlassian.com/software/jira/docs/v3.7.1/servers/weblogic.html

seufagner

Minha questão é se um arquivo XML contido no WEB-INF/classes também faz o contexto ser recarregado…

valeu cara!

Criado 19 de janeiro de 2007
Ultima resposta 19 de jan. de 2007
Respostas 2
Participantes 2