facebook

Hot Deployment problem using tomcat 5.25 with eclipse

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

    sudhakarkva
    Member

    Hi,
    I am using MyEclipse to deploy my project on Tomcat but I am facing a problem with hot deployment. I have a java project to which I added Web Project Capabilities.can any one help how to do..hot deployment and . Any suggestions on what could be the issue would be greately appreciated.

    Regards,
    Sudhakar

    *** Date:
    Thursday, June 12, 2008 12:58:07 PM IST

    ** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_11

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 5.5.1 GA
    Build id: 20070521-5.5.1-GA

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 5.5.1 GA
    Build id: 20070521-5.5.1-GA

    Eclipse Platform

    Version: 3.2.2.r322_v20070119-RQghndJN8IM0MsK
    Build id: M20070212-1330

    Eclipse RCP

    Version: 3.2.2.r322_v20070104-8pcviKVqd8J7C1U
    Build id: M20070212-1330

    Eclipse Java Development Tools

    Version: 3.2.2.r322_v20070104-R4CR0Znkvtfjv9-
    Build id: M20070212-1330

    Eclipse Plug-in Development Environment

    Version: 3.2.1.r321_v20060823-6vYLLdQ3Nk8DrFG
    Build id: M20070212-1330

    Eclipse Project SDK

    Version: 3.2.2.r322_v20070104-dCGKm0Ln38lm-8s
    Build id: M20070212-1330

    Eclipse Graphical Editing Framework

    Version: 3.2.2.v20070208
    Build id: 20070208-1315

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    C:\Program Files\MyEclipse 5.5.1 GA\eclipse\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    1138_88
    -vm
    C:\Program Files\MyEclipse 5.5.1 GA\jre\bin\javaw.exe

    #285826

    sudhakarkva
    Member

    sorry i am not using.. to deploy my project on the tomcat
    can you please tell how to do that.. also..

    it would be really helpful thank you very much.

    Regards
    Sudhakar

    #285838

    Loyal Water
    Member

    sorry i am not using.. to deploy my project on the tomcat
    can you please tell how to do that.. also..

    You want help with deploying you project? You can refer to this quickstart doc:-
    http://www.myeclipseide.com/documentation/quickstarts/webprojects/#deploy_testing_debug

    Can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.

    #285847

    sudhakarkva
    Member

    *** Date:
    Thursday, June 12, 2008 12:58:07 PM IST

    ** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_11

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 5.5.1 GA
    Build id: 20070521-5.5.1-GA

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 5.5.1 GA
    Build id: 20070521-5.5.1-GA

    Eclipse Platform

    Version: 3.2.2.r322_v20070119-RQghndJN8IM0MsK
    Build id: M20070212-1330

    Eclipse RCP

    Version: 3.2.2.r322_v20070104-8pcviKVqd8J7C1U
    Build id: M20070212-1330

    Eclipse Java Development Tools

    Version: 3.2.2.r322_v20070104-R4CR0Znkvtfjv9-
    Build id: M20070212-1330

    Eclipse Plug-in Development Environment

    Version: 3.2.1.r321_v20060823-6vYLLdQ3Nk8DrFG
    Build id: M20070212-1330

    Eclipse Project SDK

    Version: 3.2.2.r322_v20070104-dCGKm0Ln38lm-8s
    Build id: M20070212-1330

    Eclipse Graphical Editing Framework

    Version: 3.2.2.v20070208
    Build id: 20070208-1315

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    C:\Program Files\MyEclipse 5.5.1 GA\eclipse\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    1138_88
    -vm
    C:\Program Files\MyEclipse 5.5.1 GA\jre\bin\javaw.exe

    #285854

    Loyal Water
    Member

    Can you switch to a new workspace, create a new web project and check if hot deployment works for this project.

    Incase the problem persists, I would suggest you download MyEclipse 6.0.1 and test deploy to to the MyEclipse Tomcat server.

    #285862

    sudhakarkva
    Member

    ok i will try and revert you Nipun

    #285864

    sudhakarkva
    Member

    Hi Nipun do we have Struts 2.0 plugin i mean
    we have struts 1.X plugin cababilities or not

    #285865

    sudhakarkva
    Member

    Hi Nipun do we have Struts 2.0 plugin i mean
    we have struts 1.X plugin cababilities
    so any new release have this capabilities

    #285873

    Loyal Water
    Member

    We don’t support Struts 2 at the moment and I’m not aware of any struts 2.0 plugin. Sorry about that.

    #288492

    boulia
    Member

    I am having a similar problem with hot code deployment. I have checked out a project from CVS that was originally created in native Eclipse. I added Web Project Capabilities and deployed it to Tomcat 5.5. Hot code deployment is working for JSPs, but not for Java classes. The new version of the classes are being put in the Tomcat \webapps\..\WEB-INF\classes directory, but when I debug the application, it is still using the previous version of the class. If I restart the Tomcat server, it will pick up the new class. I have the Hot Code Replace debug preferences checked in MyEclipse, and the project is set to build automatically. I haven’t done anything to customize Tomcat, since hot code deploy was working fine for other projects that I have deployed. Is there any other setting that need to be tweaked? Since this project was not originally created as a MyEclipse web project, could that be causing a problem?

    Thanks,
    Tim

    *** Date:
    Thursday, August 21, 2008 11:57:45 AM EDT

    ** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_11

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 6.5.1 GA
    Build id: 6.5.1-GA-20080715

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 6.5.1 GA
    Build id: 6.5.1-GA-20080715

    Eclipse Platform

    Version: 3.3.3.r33x_r20080129-_19UEl7Ezk_gXF1kouft
    Build id: M20080221-1800

    Eclipse RCP

    Version: 3.3.3.r33x_r20080129-8y8eE9UEUWI6qujeED0xT7bc
    Build id: M20080221-1800

    Eclipse Java Development Tools

    Version: 3.3.2.r33x_r20080129-7o7jE7_EDhYDiyVEnjb1pFd7ZGD7
    Build id: M20080221-1800

    Eclipse Plug-in Development Environment

    Version: 3.3.3.r33x_r20080129-7N7M5DQVIA_6oJsEFkEL
    Build id: M20080221-1800

    Eclipse Project SDK

    Version: 3.3.3.r33x_r20080129-7M7J7LB-u3aphGW6o3_VmiVfGXWO
    Build id: M20080221-1800

    Eclipse Graphical Editing Framework

    Version: 3.3.2.v20080129
    Build id: 20080221-1602

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\Program Files\MyEclipse 6.5\eclipse\eclipse.exe
    -name
    Eclipse
    –launcher.library
    C:\Program Files\MyEclipse 6.5\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.3.R33x_v20080118\eclipse_1023.dll
    -startup
    C:\Program Files\MyEclipse 6.5\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar
    -exitdata
    152c_64
    -clean
    -vm
    C:\Program Files\MyEclipse 6.5\jre\bin\javaw.exe

    #288505

    boulia
    Member

    Well, I just answered my own question. I just installed the latest version of MyEclipse. With the previous version, I was used to starting Tomcat from the MyEclipse toolbar, which launches the server in the default debug mode. However, with the new version, I was starting the server using the Servers tab. Like a fool, I was using the green arrow to start in run mode, instead of starting in debug mode. Hot deployment works just fine when running in debug mode.

    #288514

    Loyal Water
    Member

    boulia,
    Glad its working fine now. Thanks for letting me know.

Viewing 12 posts - 1 through 12 (of 12 total)
Reply To: Hot Deployment problem using tomcat 5.25 with eclipse

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

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