facebook

Hot deployment with MyEclipse Tomcat (Sandbox)

  1. MyEclipse IDE
  2.  > 
  3. Spring Development
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #318460 Reply

    Luis Pedro
    Participant

    Dear all,
    Since I updated to MyEclipse for Spring 9 (from MyEclipse 8.5), my project does not auto-deploy anymore. I’ve started with a clean workspace and checked out my project from CVS. The project was updated by MyEclipse for Spring and it builds and deploys correctly. Hot deployment doesn’t work though.

    My instalation details:

    
    
    *** Date: 
    mardi, 26. juillet 2011 09.28. h CEST
    
    ** System properties:
    OS=WindowsVista
    OS version=6.1.0
    Java version=1.6.0_13
    
    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 9.1
    Build id: 9.1-20110701
    
    
    *** Eclipse details:
    MyEclipse for Spring
    
    Version: 9.1.0
    
    Build ID: 9.1.0 Build 10 (110630_1845)
    
    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\luisLocal\ProgramFiles\Genuitec\MyEclipse for Spring 9\myeclipseforspring.exe
    -name
    Myeclipseforspring
    --launcher.library
    C:\luisLocal\ProgramFiles\Genuitec\MyEclipse for Spring 9\../Common/plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_3.2.0.v201103301700\eclipse_3215.dll
    -startup
    C:\luisLocal\ProgramFiles\Genuitec\MyEclipse for Spring 9\../Common/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
    -install
    C:\luisLocal\ProgramFiles\Genuitec\MyEclipse for Spring 9
    -configuration
    C:\luisLocal\ProgramFiles\Genuitec\MyEclipse for Spring 9\configuration
    -vm
    C:\luisLocal\ProgramFiles\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\client\jvm.dll
    

    In both Tomcat, Project and Workspace settings I’m using SunJDK 1.6.0_13

    I’m also posting my .project file:

    
    <?xml version="1.0" encoding="UTF-8"?>
    <projectDescription>
        <name>DAMF3Administration</name>
        <comment></comment>
        <projects>
        </projects>
        <buildSpec>
            <buildCommand>
                <name>org.eclipse.wst.common.project.facet.core.builder</name>
                <arguments>
                </arguments>
            </buildCommand>
            <buildCommand>
                <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
                <triggers>full,incremental,</triggers>
                <arguments>
                    <dictionary>
                        <key>LaunchConfigHandle</key>
                        <value><project>/.externalToolBuilders/org.eclipse.wst.jsdt.core.javascriptValidator (1).launch</value>
                    </dictionary>
                </arguments>
            </buildCommand>
            <buildCommand>
                <name>com.genuitec.eclipse.j2eedt.core.WebClasspathBuilder</name>
                <arguments>
                </arguments>
            </buildCommand>
            <buildCommand>
                <name>org.eclipse.jdt.core.javabuilder</name>
                <arguments>
                </arguments>
            </buildCommand>
            <buildCommand>
                <name>com.genuitec.eclipse.j2eedt.core.J2EEProjectValidator</name>
                <arguments>
                </arguments>
            </buildCommand>
            <buildCommand>
                <name>com.genuitec.eclipse.j2eedt.core.DeploymentDescriptorValidator</name>
                <arguments>
                </arguments>
            </buildCommand>
            <buildCommand>
                <name>org.eclipse.wst.validation.validationbuilder</name>
                <arguments>
                </arguments>
            </buildCommand>
            <buildCommand>
                <name>com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder</name>
                <arguments>
                </arguments>
            </buildCommand>
        </buildSpec>
        <natures>
            <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
            <nature>com.genuitec.eclipse.ast.deploy.core.deploymentnature</nature>
            <nature>com.genuitec.eclipse.j2eedt.core.webnature</nature>
            <nature>org.eclipse.jdt.core.javanature</nature>
            <nature>org.eclipse.wst.jsdt.core.jsNature</nature>
            <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
            <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
        </natures>
    </projectDescription>
    

    Project deplyoment mode is “Exploded” and any modification in my .jsp files reflect imidiatly in my deplyed application. But not when I modify and .java file (althoug I can see that project is building automatically).

    Any idea how to enable hot deployment for this project?

    Thank you very much in advance for your time,

    Luis

    #318489 Reply

    Luis Pedro
    Participant

    Anyone with an idea how to solve this?

    Thanks in advance,

    Luis Pedro

    #318515 Reply

    Brian Fernandes
    Moderator

    Luis,

    Are you starting your server in Debug mode? Hot-synch for Java classes will only work in that mode.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Hot deployment with MyEclipse Tomcat (Sandbox)

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