- This topic has 42 replies, 6 voices, and was last updated 17 years, 4 months ago by
Riyad Kalla.
-
AuthorPosts
-
myeclipse_gsMemberHi,
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 using MyEclipse plugin. Then I deployed the project using MyEclipse plugin and the files were copied from my project directory to Tomcat’s webapp folder. The only problem is now when I change Java files the corresponding class files under Tomcat are not getting updated though the class files under the project directory are getting updated. So, in order for the changes to take affect I have to either redeploy or build the entire project and place the war file under tomcat. I am using Eclipse 3.2 and Tomcat/5.0.30. Any suggestions on what could be the issue would be greately appreciated.Regards,
Gaurav
Loyal WaterMemberCan you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me,
myeclipse_gsMemberHere are the installation details:
*** Date:
Thursday, November 15, 2007 10:21:20 AM 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:
Eclipse SDKVersion: 3.2.0
Build id: M20060629-1905Eclipse Platform
Version: 3.2.0.v20060609m-AgOexn6hlEUsvBO
Build id: M20060629-1905Eclipse Java Development Tools
Version: 3.2.0.v20060609m-F7snq1fxia-Z4XP
Build id: M20060629-1905Eclipse Plug-in Development Environment
Version: 3.2.0.v20060609m——6zXJJzJzJq
Build id: M20060629-1905Eclipse Project SDK
Version: 3.2.0.v20060609m-GNq6oQq-7es-Y81
Build id: M20060629-1905Eclipse Graphical Editing Framework
Version: 3.2.2.v20070208
Build id: 20070208-1315Eclipse RCP
Version: 3.2.0.v20060609m-SVDNgVrNoh-MeGG
Build id: M20060629-1905Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-launcher
C:\dev\tools\eclipseide\3.2\eclipse\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
dc0_79c
-clean
-plugincustomization
C:\dev\tools\eclipseide\3.2\eclipse\configuration\de-eclipse32-prefs.ini
-data
C:\Documents and Settings\sgau\de\eclipseide\3.2\workspace\default
-vm
C:\dev\tools\sunjdk\1.5.0_11\jre\bin\javaw.exeRegards,
Gaurav
myeclipse_gsMemberAh, the last line didn’t come up completely in my previous post. Its
-vm
C:\dev\tools\sunjdk \ 1.5.0_11\jre\bin\javaw.exeRegards,
Gaurav
myeclipse_gsMemberAh, the last line didn’t come up completely in my previous post. Its actually
-vm
C:\dev\tools\sunjdk \ 1.5.0_11\jre\bin\javaw.exeRegards,
Gaurav
Loyal WaterMemberGaurav,
I hope you are using Exploded deployment. Can you switch to a new workspace, create a new project with some sample java files and test the hot deployment again. This could be a workspace/cache issue.
myeclipse_gsMemberHi Nipun,
Thanks, its working now. Now when I make changes to java files the class files under tomcat are getting updated. Though now I have run into a strange problem. I am registering certain databases in my InitServlet. This works fine when I create a war file from build.xml and deploy the war in tomcat. But when I deploy directly(exploded package itself) from MyEclipse, the databases are not registered properly. I believe MyEclipse also deploys the project based on build.xml, so I could not really figure out a reason for this.Regards,
Gaurav
Riyad KallaMemberGaurav,
MyEclipse uses it’s own deployment routine and doesn’t utilize the build.xml file at all. So if you are doing custom steps in that build.xml file related to registering these databases, that would explain why they don’t popup when you deploy from MyEclipse.
RSO_ROMANMemberHi,
I am encountering a similar problem: I have got a “MyEclipse Web Project”, and have this deployed to the integrated “MyEclipse Tomcat” Server.
Hot deployment works fine for the jsp-Page of my Web Project. It does not at all work for my java-classes in this project. The project is deployed in exploded mode and I already tried to switch the workspace.I would appreciate any help.
RegardsRoman
My installation details are the following:
*** Date:
Monday, December 31, 2007 11:18:12 AM CET** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.5.0_11*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 6.0.1 GA
Build id: 6.0.1-GA-200710*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 6.0.1 GA
Build id: 6.0.1-GA-200710Eclipse Graphical Editing Framework
Version: 3.3.1.v20070814
Build id: 20070814-1555Eclipse Platform
Version: 3.3.1.R33x_r20070911-_19UEkpF-B7Uh2hKy75y
Build id: M20070921-1145Eclipse RCP
Version: 3.3.1.R33x_r20070802-8y8eE8sEV3Fz0z0GlHJrXvTAUS
Build id: M20070921-1145Eclipse Java Development Tools
Version: 3.3.1.r331_v20070629-7o7jE72EDlXAbqAcnbmyg1rf8RIL
Build id: M20070921-1145Eclipse Plug-in Development Environment
Version: 3.3.1.R33x_r20070802-7N7M3D1VIA_52JsDFsEC
Build id: M20070921-1145Eclipse Project SDK
Version: 3.3.1.R33x_r20070802-7M7J78_mu1mnlRa7A4Ns52XeZ6D0
Build id: M20070921-1145Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Program Files\MyEclipse 6.0\eclipse\eclipse.exe
-name
Eclipse
–launcher.library
C:\Program Files\MyEclipse 6.0\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.1.R33x_v20070828\eclipse_1020.dll
-startup
C:\Program Files\MyEclipse 6.0\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
-exitdata
908_7c
-vm
C:\Program Files\MyEclipse 6.0\jre\bin\javaw.exe
Loyal WaterMemberThis message has not been recovered.
RSO_ROMANMemberThis message has not been recovered.
Loyal WaterMemberThis message has not been recovered.
RSO_ROMANMemberThis message has not been recovered.
RSO_ROMANMemberThis message has not been recovered.
Loyal WaterMemberThis message has not been recovered.
-
AuthorPosts