facebook

JONAS server autoredeploy everytime i try to change a file

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #313201 Reply

    Fernimal
    Participant

    Hi,
    I have an JOnAS 5.1.2 server, and an application deployed as “Exployed archive“.
    Everytime i change a file (.jsp, .html, java class, xml..) and Save, the server automatically redeploy the application (Stop/Start server), and I have to wait a long time in order the application redeployes.

    With JRun4, the hot redeploy works fine….

    The following messages appear where redeploy:

    2010-12-09 13:38:28,624 : DeployableMonitor.checkModifiedDeployables : Deployable ‘WARDeployableImpl[archive=C:\jonas-full-5.1.2\deploy\APP.war]’ has been updated, reloading it
    2010-12-09 13:38:28,639 : WARDeployer.doUndeploy : Undeploying APP.war
    2010-12-09 13:38:28,842 : BaseWebContainerService.unRegisterWar : War APP.war no longer available
    2010-12-09 13:38:29,124 : WARDeployer.doDeploy : Deploying APP.war

    Thank you!!

    #313242 Reply

    support-swapna
    Moderator

    Fernimal,

    I could replicate it at my end. I have raised a PR with the dev team.
    Thanks for letting us know.

    #313244 Reply

    Fernimal
    Participant

    Ok Swapna,
    Thanks you four your help.

    #313702 Reply

    Samura
    Member

    Hi, i have the same problem. Do you know when will it be solved?
    Regards!

    #314517 Reply

    anon
    Member

    Well, it is not a bug, its just a feature XD

    Jonas 5 default behavior (development mode) is to deploy every time it detects a change in a war

    Just go to jonas.properties and change jonas.development value from true to false and you got it.

    Saludos fernimal!

    #314541 Reply

    Fernimal
    Participant

    Ohhh, thanks anon… You are my hero!!! 😉
    Regards.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: JONAS server autoredeploy everytime i try to change a file

You must be logged in to post in the forum log in