- This topic has 7 replies, 3 voices, and was last updated 17 years, 6 months ago by
curmudgeon99.
-
AuthorPosts
-
Hello,
I have been using myeclips 4.1 for a few years. Love the product, but I am still a novice s user. I am making just some simple changes to html text in my jsp and after I save and refresh the page the change did not take. So I tried a few other jsp pages that have been working for years and still no difference. It is like the compiler is not compiling any of my changes. I am using tomcat 5.1. I have read the forms I found one that talked about having this problem with JFS and how to change the web.xml file but I am not using JFS. I also have done a clean on the project, I have created a new workspace. Here is my configuration summary:
*** Date: Thu Dec 13 10:36:47 MST 2007*** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.4.2_03*** MyEclipse details:
MyEclipse Enterprise WorkbenchVersion: 4.1.1 GA
Build id: 20060228-4.1.1-GA*** Eclipse details:
Eclipse SDKVersion: 3.1.2
Build id: M20060118-1600Eclipse Platform
Version: 3.1.2
Build id: M20060118-1600Eclipse RCP
Version: 3.1.2
Build id: M20060118-1600Eclipse Java Development Tools
Version: 3.1.2
Build id: M20060118-1600Eclipse Plug-in Development Environment
Version: 3.1.2
Build id: M20060118-1600Eclipse Project SDK
Version: 3.1.2
Build id: M20060118-1600Eclipse startup command=-data
C:\webapps
-os
win32
-ws
win32
-arch
x86
-launcher
C:\eclipse\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
4c0_3c
-vm
C:\WINDOWS\system32\javaw.exeHope this is an easy fix. Please let me know if you need anything else.
Scott
[/code]
Loyal WaterMemberScott,
After switch to a new workspace, did you try creating a new project and testing that out ?I hope you are using Exploded deployment.
Nipun,
Yes I am using the exploded deployment. Good thought. The first time I used my new workspace. I created a workspace and exported my project from the old workspace and imported it to my new and it did not work. Now I have been spent the better part of the day trying to setup a new workspace with a new hello world test jsp. I am having trouble getting the config right for tomcat. I will keep you posted.Scott
Nipun,
Well my hello world test worked. So I decided to try to change the name of a jsp page on the old workspace. I redeployed expanded and my changes were there. So I change the name back to the original name of the jsp and my changes were gone. It is as if tomcat is some how caching up the jsp pages and not recompiling after a change is made. Any ideas why this happens or what is happing?
Loyal WaterMemberTry removing the deployment, refreshing the project in package explorer, and then deploy the project. Are the changes being picked up now ?
If it still doesn’t work, I would suggest you create a new project and transfer your code to this new project. Then check if the deployment works.
Nipun
You have the right idea. When I started looking at my deployment files under the tomcat/work directory i found some old tldcache files dated in the future. Also there were some jsp compiled files with future modified dates on them, I delete the future ones and redeployed and it works fine now. I think my system date was set wrong on my computer and then I corrected it. But I had made some changes to code.
Thank very much you are a life saver.
Scott
Loyal WaterMemberYour Welcome.
That’s exactly it! The date. I had been testing a widget that had to pay attention to 2008 dates. I set my date to a future and then tested. It must have messed up my deployment!
-
AuthorPosts