- This topic has 5 replies, 3 voices, and was last updated 19 years, 5 months ago by Scott Anderson.
-
AuthorPosts
-
Jonas KarlssonMemberHi!
I have run in to a serious problem. When I deploy a project to a application server, only fragments of the files I want to deploy is actually on the server. It worked fine yesterday and haven’t changed anything.
First some information about my environment:
Finally a picture of the project:
Also I’m using Windows XP pro sp1.
The problem is that when I try to deploy the project into Tomcat, in my webapp I only get some files. For example, web.xml is missing as well as other *.class files.
I haven’t the faintest idea what to do to solve this problem. The only thing I know is that I’m not productive.
Please help!
Regards
Jonas Karlsson
Jonas KarlssonMemberThis seams to be a tricky bug to track down. After I had restarted MyEclipseIDE several times, doing nothing special, it worked again. Funny! 8)
However, I still think MyEclipseIDE is the best Java-IDE regardless the cost!
//Jonas
Scott AndersonParticipantJonas,
The issue related to partial deployment *might* be due to a file system lock. Did you have an Explorer window open on the directory, for instance? Usually when something odd like that occurs, simply shutting down the server and redeploying the application from within MyEclipse (Deployment Manager Dialog) will do the trick. If it occurs again, any additional information you can provide to help us track it down would be great. Also, errors may have been logged to the Eclipse error log at <workspace>/.metadata/.log.
However, I still think MyEclipseIDE is the best Java-IDE regardless the cost!
Thanks a lot for that! Any help you can give us on the marketing side, by telling your friends or writing about us in your blog, would be greatly appreciated. 🙂
mi_nielsenMemberHi
I have the same problem, and no there is not another process locking files in the webapps directory. It has been working for a long time, then one day
all of the subdirs under WebRoot containing jsp files no longer get deployed.My setup is:
Windows XP Pro with latest fixes.
MyEclipse 3.8.3
Eclipse 3.0.1
Tomcat: 5.5.4To get going quickly I simply created a web web project and copied the files into that, and that made it work for approx. 1 day.
Now the new project has the same problem. There are no messages in the .log file.The project is build with JSF and hibernate
Regards
Michael
mi_nielsenMemberHi
I might have found the problem. It appears that the WebRoot had become out off sync with the filesystem. After doing a refresh in the Resource perspective
it now works. This might be an eclipse bug/feature. I am aware off the performance issues with automatic sync with the filesystem, but at least on startup
eclipse should have an option to indicate or do a full sync.Michael
Scott AndersonParticipantMichael,
Yes, if Eclipse gets out of sync you have to manually sync it up. It won’t automatically detect changes and perform the sync itself, especially for file adds and deletes.
Sounds like you’ve got it under control though. Good deal! -
AuthorPosts