- This topic has 11 replies, 3 voices, and was last updated 16 years, 10 months ago by
Loyal Water.
-
AuthorPosts
-
sudhakarkvaMemberHi,
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 WorkbenchVersion: 5.5.1 GA
Build id: 20070521-5.5.1-GAEclipse Platform
Version: 3.2.2.r322_v20070119-RQghndJN8IM0MsK
Build id: M20070212-1330Eclipse RCP
Version: 3.2.2.r322_v20070104-8pcviKVqd8J7C1U
Build id: M20070212-1330Eclipse Java Development Tools
Version: 3.2.2.r322_v20070104-R4CR0Znkvtfjv9-
Build id: M20070212-1330Eclipse Plug-in Development Environment
Version: 3.2.1.r321_v20060823-6vYLLdQ3Nk8DrFG
Build id: M20070212-1330Eclipse Project SDK
Version: 3.2.2.r322_v20070104-dCGKm0Ln38lm-8s
Build id: M20070212-1330Eclipse Graphical Editing Framework
Version: 3.2.2.v20070208
Build id: 20070208-1315Eclipse 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.exeJune 12, 2008 at 2:55 am #285826
sudhakarkvaMembersorry 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
SudhakarJune 12, 2008 at 9:50 am #285838
Loyal WaterMembersorry 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_debugCan you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.
June 12, 2008 at 11:27 am #285847
sudhakarkvaMember*** 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 WorkbenchVersion: 5.5.1 GA
Build id: 20070521-5.5.1-GAEclipse Platform
Version: 3.2.2.r322_v20070119-RQghndJN8IM0MsK
Build id: M20070212-1330Eclipse RCP
Version: 3.2.2.r322_v20070104-8pcviKVqd8J7C1U
Build id: M20070212-1330Eclipse Java Development Tools
Version: 3.2.2.r322_v20070104-R4CR0Znkvtfjv9-
Build id: M20070212-1330Eclipse Plug-in Development Environment
Version: 3.2.1.r321_v20060823-6vYLLdQ3Nk8DrFG
Build id: M20070212-1330Eclipse Project SDK
Version: 3.2.2.r322_v20070104-dCGKm0Ln38lm-8s
Build id: M20070212-1330Eclipse Graphical Editing Framework
Version: 3.2.2.v20070208
Build id: 20070208-1315Eclipse 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.exeJune 12, 2008 at 12:48 pm #285854
Loyal WaterMemberCan 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.
June 12, 2008 at 10:31 pm #285862
sudhakarkvaMemberok i will try and revert you Nipun
June 13, 2008 at 2:50 am #285864
sudhakarkvaMemberHi Nipun do we have Struts 2.0 plugin i mean
we have struts 1.X plugin cababilities or notJune 13, 2008 at 2:51 am #285865
sudhakarkvaMemberHi Nipun do we have Struts 2.0 plugin i mean
we have struts 1.X plugin cababilities
so any new release have this capabilitiesJune 13, 2008 at 9:54 am #285873
Loyal WaterMemberWe don’t support Struts 2 at the moment and I’m not aware of any struts 2.0 plugin. Sorry about that.
August 21, 2008 at 11:01 am #288492
bouliaMemberI 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 WorkbenchVersion: 6.5.1 GA
Build id: 6.5.1-GA-20080715Eclipse Platform
Version: 3.3.3.r33x_r20080129-_19UEl7Ezk_gXF1kouft
Build id: M20080221-1800Eclipse RCP
Version: 3.3.3.r33x_r20080129-8y8eE9UEUWI6qujeED0xT7bc
Build id: M20080221-1800Eclipse Java Development Tools
Version: 3.3.2.r33x_r20080129-7o7jE7_EDhYDiyVEnjb1pFd7ZGD7
Build id: M20080221-1800Eclipse Plug-in Development Environment
Version: 3.3.3.r33x_r20080129-7N7M5DQVIA_6oJsEFkEL
Build id: M20080221-1800Eclipse Project SDK
Version: 3.3.3.r33x_r20080129-7M7J7LB-u3aphGW6o3_VmiVfGXWO
Build id: M20080221-1800Eclipse Graphical Editing Framework
Version: 3.3.2.v20080129
Build id: 20080221-1602Eclipse 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.exeAugust 21, 2008 at 1:44 pm #288505
bouliaMemberWell, 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.
August 21, 2008 at 4:06 pm #288514
Loyal WaterMemberboulia,
Glad its working fine now. Thanks for letting me know. -
AuthorPosts