facebook

My myeclipse can’t auto redeploy file to tomcat.

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #345307 Reply

    nextw3
    Participant

    My os is win7.I developed the web project.
    When I modify the JSP or Java file, MyEclipse can be compiled, but not the modified JSP and class redeploy to tomcat.
    I remember in the last version, as long as the file changes, will immediately trigger the redeployment process.

    #345340 Reply

    nextw3,

    Sorry that you are seeing this issue.

    1) Can you clarify if you are using exploded deployment, that you are starting the server in Debug mode ? If you are using the Servers view to launch Tomcat and are selecting “Run”, you need to stop it and select “Debug”… the server has to be running in Debug mode.

    2) Also,please make sure that “Project -> Build Automatically” is switched. Hot code replacement works (only?) if automatic build is switched on.

    3) Can you switch to a new workspace, create a new project with sample java files and JSP files, check if the hot deployment is working ? It might also be a workspace/cache issue.

    4) Can you please share your MyEclipse installation details from MyEclipse > Installation summary > Installation details ?

    4) Can you also check the .log file which is located at <workspace dir>/.metadata/.log for any errors of interest ? If yes then paste the errors here for us to investigate further.

    #345374 Reply

    nextw3
    Participant

    @support-pradeep wrote:

    nextw3,

    Sorry that you are seeing this issue.

    1) Can you clarify if you are using exploded deployment, that you are starting the server in Debug mode ? If you are using the Servers view to launch Tomcat and are selecting “Run”, you need to stop it and select “Debug”… the server has to be running in Debug mode.

    2) Also,please make sure that “Project -> Build Automatically” is switched. Hot code replacement works (only?) if automatic build is switched on.

    3) Can you switch to a new workspace, create a new project with sample java files and JSP files, check if the hot deployment is working ? It might also be a workspace/cache issue.

    4) Can you please share your MyEclipse installation details from MyEclipse > Installation summary > Installation details ?

    4) Can you also check the .log file which is located at <workspace dir>/.metadata/.log for any errors of interest ? If yes then paste the errors here for us to investigate further.

    1)I use myeclipse tomcat7,not server view of wtp.The deploy type of server is exploded archive.

    2) “Project -> Build Automatically” is switched.

    3) I switch to a new workspace,create a new project the hot deployment is working.

    4)installation details is here:

    
    *** Date: 
    2013年12月19日 星期四 下�10时04分42秒 CST
    
    *** System properties:
    OS=Windows7
    OS version=6.1.0
    OS arch=x86
    Profile arch=x86
    Window system=win32
    Java version=1.7.0_45
    Workspace=file:/E:/WORKSPCE/java/EMP/
    VM Args=-Xmx768m
    -XX:MaxPermSize=320m
    -XX:ReservedCodeCacheSize=64m
    -Dosgi.nls.warnings=ignore
    -Djava.class.path=D:\TOOL\MYECLI~2\plugins/OR8508~1.JAR
    
    
    
    *** Subscription information
    Product Id: E3MP (MyEclipse Professional Subscription)
    License version: 3.0
    Full Maintenance Included
    Subscription expiration date (YYYYMMDD): 20141207
    Number of users: 1
    
    *** Eclipse details:
    MyEclipse Enterprise Workbench
    
    Version: 2014
    Build id: 12.0.0-20131202
    
    
    Blueprint: N/A
    
    com.genuitec.eclipse.mobile.feature - 12.0.0.201311260528
    com.genuitec.myeclipse.database - 12.0.0.me201311281640
    com.genuitec.myeclipse.desktop - 12.0.0.me201311281640
    com.genuitec.myeclipse.enterprise.workbench - 12.0.0.me201311281640
    com.genuitec.myeclipse.glassfish - 12.0.0.me201311281640
    com.genuitec.myeclipse.jetty - 12.0.0.me201311281640
    com.genuitec.myeclipse.jsf - 12.0.0.me201311281640
    com.genuitec.myeclipse.maven - 12.0.0.me201311281640
    com.genuitec.myeclipse.persistence - 12.0.0.me201311281640
    com.genuitec.myeclipse.struts - 12.0.0.me201311281640
    com.genuitec.myeclipse.tomcat - 12.0.0.me201311281640
    com.genuitec.myeclipse.uml2 - 12.0.0.me201311281640
    com.genuitec.myeclipse.visualvm - 12.0.0.me201311281640
    com.genuitec.myeclipse.visualvm.server - 12.0.0.me201311281640
    com.genuitec.myeclipse.ws - 12.0.0.me201311281640
    org.eclipse.datatools.connectivity.feature - 1.11.1.me201311281640
    org.eclipse.datatools.enablement.feature - 1.11.1.me201311281640
    org.eclipse.datatools.modelbase.feature - 1.11.1.v201306041610-7707GCcNBHLDaKTEcRi
    org.eclipse.datatools.sqldevtools.feature - 1.11.1.me201311281640
    org.eclipse.emf - 2.9.1.v20130902-0605
    org.eclipse.gef - 3.9.1.201308190730
    org.eclipse.graphiti.feature - 0.10.1.v20130918-0838
    org.eclipse.jpt.jpa.feature - 3.3.1.me201311281640
    org.eclipse.jpt.jpadiagrameditor.feature - 1.2.0.me201311281640
    org.eclipse.jst.common.fproj.enablement.jdt - 3.4.0.me201311281640
    org.eclipse.jst.enterprise_ui.feature - 3.5.0.me201311281640
    org.eclipse.jst.server_adapters.ext.feature - 3.3.103.me201311281640
    org.eclipse.jst.server_adapters.feature - 3.2.201.me201311281640
    org.eclipse.jst.server_ui.feature - 3.4.1.me201311281640
    org.eclipse.jst.ws.axis2tools.feature - 1.1.200.me201311281640
    org.eclipse.m2e.feature - 1.4.0.me201311281640
    org.eclipse.sapphire.platform - 0.6.6.201310081535
    org.eclipse.wst.common.fproj - 3.4.0.me201311281640
    org.eclipse.wst.server_adapters.feature - 3.2.300.me201311281640
    org.eclipse.xsd - 2.9.1.v20130902-0605
    org.springframework.ide.eclipse.feature - 3.3.0.me201311281640
    
    
    fr.obeo.acceleo.bridge.feature - 2.6.0.me201311281640
    org.eclipse.cvs - 1.4.0.v20130911-1000
    org.eclipse.draw2d - 3.9.1.201308190730
    org.eclipse.e4.rcp - 1.2.1.v20130910-2014
    org.eclipse.egit - 3.1.0.201310021548-r
    org.eclipse.epp.mpc - 1.2.1.I20130917-2019
    org.eclipse.equinox.p2.core.feature - 1.2.1.v20130827-1605
    org.eclipse.equinox.p2.discovery.feature - 1.0.100.v20130502-0334
    org.eclipse.equinox.p2.extras.feature - 1.2.0.v20130827-1605
    org.eclipse.equinox.p2.rcp.feature - 1.2.0.v20130828-0031
    org.eclipse.equinox.p2.user.ui - 2.2.0.v20130828-0031
    org.eclipse.help - 2.0.1.v20130911-1000
    org.eclipse.jdt - 3.9.1.v20130911-1000
    org.eclipse.jgit - 3.1.0.201310021548-r
    org.eclipse.jsf.feature - 3.7.0.me201311281640
    org.eclipse.mylyn.bugzilla_feature - 3.9.1.v20130917-0100
    org.eclipse.mylyn.commons - 3.9.1.v20130917-0100
    org.eclipse.mylyn.commons.identity - 1.1.1.v20130917-0100
    org.eclipse.mylyn.commons.notifications - 1.1.1.v20130917-0100
    org.eclipse.mylyn.commons.repositories - 1.1.1.v20130917-0100
    org.eclipse.mylyn.context_feature - 3.9.1.v20130917-0100
    org.eclipse.mylyn.cvs - 1.1.1.v20130917-0100
    org.eclipse.mylyn.discovery - 3.9.1.v20130917-0100
    org.eclipse.mylyn.git - 1.1.1.v20130917-0100
    org.eclipse.mylyn.ide_feature - 3.9.1.v20130917-0100
    org.eclipse.mylyn.java_feature - 3.9.1.v20130917-0100
    org.eclipse.mylyn.monitor - 3.9.1.v20130917-0100
    org.eclipse.mylyn.tasks.ide - 3.9.1.v20130917-0100
    org.eclipse.mylyn.team_feature - 3.9.1.v20130917-0100
    org.eclipse.mylyn.versions - 1.1.1.v20130917-0100
    org.eclipse.mylyn_feature - 3.9.1.v20130917-0100
    org.eclipse.ocl - 3.1.0.v20110606-1427
    org.eclipse.pde - 3.9.1.v20130911-1000
    org.eclipse.platform - 4.3.1.v20130911-1000
    org.eclipse.rcp - 4.3.1.v20130911-1000
    org.eclipse.wb.core.feature - 1.6.1.r43x201309092314
    org.eclipse.wb.core.java.feature - 1.6.1.r43x201309092318
    org.eclipse.wb.core.ui.feature - 1.6.1.r43x201309092325
    org.eclipse.wb.core.xml.feature - 1.6.1.r43x201309092330
    org.eclipse.wb.doc.user.feature - 1.6.1.r43x201309092334
    org.eclipse.wb.layout.group.feature - 1.6.1.r43x201309092345
    org.eclipse.wb.rcp.SWT_AWT_support - 1.6.1.r43x201309100026
    org.eclipse.wb.rcp.doc.user.feature - 1.6.1.r43x201309100019
    org.eclipse.wb.rcp.feature - 1.6.1.r43x201309100008
    org.eclipse.wb.swing.doc.user.feature - 1.6.1.r43x201309100012
    org.eclipse.wb.swing.feature - 1.6.1.r43x201309100023
    org.eclipse.wb.swt.feature - 1.6.1.r43x201309092350
    org.eclipse.wb.xwt.feature - 1.6.1.r43x201309100031
    org.mybatis.generator - 1.3.2.201207161521
    org.mybatis.generator.source - 1.3.2.201207161521
    org.sonatype.m2e.mavenarchiver.feature - 0.15.0.201207090125-signed-20130612210623
    
    
    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    D:\TOOL\MyEclipse Professional 2014\myeclipse.exe
    -name
    Myeclipse
    --launcher.library
    D:\TOOL\MyEclipse Professional 2014\plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_3.2.0.v201103301700\eclipse_3215.dll
    -startup
    D:\TOOL\MyEclipse Professional 2014\plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
    -install
    D:\TOOL\MyEclipse Professional 2014
    -vm
    D:\TOOL\MyEclipse Professional 2014\binary/com.sun.java.jdk7.win32.x86_1.7.0.u45/jre/bin/client/jvm.dll
    
    

    5)The error log to see Appendix。

    Attachments:
    You must be logged in to view attached files.
    #345407 Reply

    nextw3,

    There might be an issue in the current workspace. Can you please import your projects into the new workspace and continue working in the new workspace ?

    Sorry for the inconvenience caused.

    #345424 Reply

    nextw3
    Participant

    @support-pradeep wrote:

    nextw3,

    There might be an issue in the current workspace. Can you please import your projects into the new workspace and continue working in the new workspace ?

    Sorry for the inconvenience caused.

    I tried the following, the project completely copied to a new workspace, or unable to automatically deploy.

    #345452 Reply

    nextw3,

    If possible, can you please attach a sample project which exhibits this issue to help us investigate further ? Else, can you please strip the project of its source code and send us all the .* files (.class,.settings etc) of the project to help us investigate further ?

    Sorry for the inconvenience caused.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: My myeclipse can’t auto redeploy file to tomcat.

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