facebook

7.0M2, hot deployment of XHTML delayed 40 seconds

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

    Holger Linge
    Participant

    Hi

    A rather strange effect here. I’ve started a JSF web project, using exploded deployment on the myEclipse-Tomcat. Now, after changing and saving a XHTML-File, is is NOT deployed instantly. Instead of, after 40 seconds of waiting, myEclipse states “building workspace” in the upper right corner of the screen for a split of a second, and THEN the file is copied to the server.

    I have no clue what’s the reason for this behaviour.

    Currently i need to stop the server, make a complete redeploy, and start the server again to make my changes visible. I checked for file locks with ProcessExplorer, but the deployed file is accessible all the time.

    Holger

    Here’s the installation summary:

    *** Date:
    Donnerstag, 23. Oktober 2008 11.48 Uhr CEST

    ** System properties:
    OS=WindowsXP
    OS version=5.1.0
    Java version=1.6.0_07

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 7.0 Milestone-2
    Build id: 7.0-M2-20080915

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 7.0 Milestone-2
    Build id: 7.0-M2-20080915

    Eclipse Platform

    Version: 3.4.0.v20080610-9I96EhtEm-T_5LxIsybz-3MdGZmOA3uwv7Ka_M
    Build id: I20080617-2000

    Eclipse Project SDK

    Version: 3.4.0.v20080522-7O7S-CHEp2gcoGjmFFomLz-d5M8NdvuPgDrH17jw0Mvhe
    Build id: I20080617-2000

    Eclipse Graphical Editing Framework GEF

    Version: 3.4.0.v20080115-677-8082A5696H274A
    Build id: 200806091334

    Eclipse RCP

    Version: 3.4.0.v20080324a-989JERhEk-jWnd5IY8K5tjxB
    Build id: I20080617-2000

    Eclipse Java Development Tools

    Version: 3.4.0.v20080603-2000-7o7tEAXEFpPqqoXxgaBhhhq
    Build id: I20080617-2000

    Eclipse Plug-in Development Environment

    Version: 3.4.0.v20080603-7T7U-E_EkMNrNKb39WcMC
    Build id: I20080617-2000

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    C:\MyEclipse 7.0 M2\eclipse\plugins\com.genuitec.myeclipse.product_6.9.200.zmyeclipse69200200809\splash.bmp
    -launcher
    C:\MyEclipse 7.0 M2\eclipse\eclipse.exe
    -name
    Eclipse
    –launcher.library
    C:\MyEclipse 7.0 M2\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.100.v20080509-1800\eclipse_1114.dll
    -startup
    C:\MyEclipse 7.0 M2\eclipse\plugins\org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar
    -clean
    -vm
    C:\Programme\Java\jre1.6.0_07\bin\client\jvm.dll

    #290242 Reply

    Loyal Water
    Member

    kalo,
    I was unable to reproduce this issue at my end. The xhtml file changes get deployed right away for me. Can you switch to a new workspace and check if you are able to reproduce this issue.

    #290362 Reply

    Holger Linge
    Participant

    The name’s Holger. I prefer my code stirred, not shaken 😉

    I’ve assembled a testcase. Please try the following:

    Create a new web project with maven support
    – Web root: /src/main/webapp
    – Source: /src/main/java

    Create directory /src/main/webapp/pages

    Link /src/main/webapp to “WebRoot” in build path properties

    Create file “webapp.xhtml” in /src/main/webapp/pages

    Create file “webroot.xhtml” in /WebRoot
    – Note message: File is not a Web Project and will not be deployable.

    Deploy project
    – webapp.xhtml => Deployed
    – webroot.xhtml => Nothing

    Change the files
    – webapp.xhtml => Deployed
    – webroot.xhtml => Nothing

    I have no clue where myEclipse stores the difference between these two files. But i believe this is the root cause of my files not being deployed.

    Holger

    #290363 Reply

    Holger Linge
    Participant

    Oops

    Create file “webroot.xhtml” in /WebRoot/pages

    #290364 Reply

    Holger Linge
    Participant

    Ok, i just checked my original project. I deleted the xhtml-file, and recreated in /src/main/webapp/pages instead of the linked folder WebRoot/pages. Now the file is hot-deployed instantly on change.

    Holger

    #290399 Reply

    Loyal Water
    Member

    Holger,
    Glad to know that the hot-deployment is working fine now.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: 7.0M2, hot deployment of XHTML delayed 40 seconds

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