- This topic has 6 replies, 4 voices, and was last updated 20 years, 1 month ago by Hendie Dijkman.
-
AuthorPosts
-
BdoaneMemberPeriodically I am having problems redeplying my web app to Tomcat.
Not all the files are being copied to the webapp directory. For example none of the jsp pages are being copied.
Riyad KallaMemberCan you please post all the information we request in the [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]Posting Guidelines[/URL] thread at the top of this forum? That will give us some context so that we can determine if this is an installation issue, a configuration problem, or a bug. Thanks.
Also tell us what kind of deployment (packaged/exploded), what version of Tomcat, if the app server is running when you deploy, and if you are getting any status messages after hitting “redeploy” that suggest the deployment actually failed.
I’m guessing this is a file lock issue off the top of my head. Doing a full redeploy to a running server on Windows will likely cause the deployment to fail because the old JARs cannot be removed until Tomcat releases the read-locks on them. If you use an exploded deployment you likely don’t need to use manual redeployment again since changes are hot-synced in realtime as they happen, then you just need to setup Tomcat to reload changes (set the context to reloadable=true using Tomcat administrator).
BdoaneMemberSorry,
Running Tomcat 5.0.27
Eclipse 3.0.1
on WinXP ProI think that I found the problem. It happens when I change to a newer version of the source code from the file system. Usually I access our svn repository from within MyEclipse but certain times I use Tortoise SVN.
I can get the re-deploy to work when reset the project properties in the MyEclipse-Web preferences.
Scott AndersonParticipantYou should also be able to get the redeploy to pick up your changes through Tortoise by right-clicking on your project in the Package Explorer view and selecting Refresh.
Hendie DijkmanMemberI am having problems deploying to Tomcat 5.0 now too. My config is:
Container: Tomcat 5.0.27
Eclipse: 3.0.1
MyEclipse: 3.8.3The symptoms is that in the .war file for all the files in the WEB-INF root (i.e. not “classes” etc), ME generates the WEB-INF directory name in lowercase. In the cases where there are subdirectories, the name is generated correctly in uppercase.
Please explain?
Riyad KallaMemberHendie,
We’ve had this reported 2 other times and it was always a red herring. If you are unzipping the WAR file with WinZip, this is why you are seeing lowercase names, try opening the WAR with another archiver and/or just unjarring it on the command line using jar -xHere are the other posts:
http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-3669-highlight-lowercase+webinf.html
AND
http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-2871-highlight-lowercase+webinf.html
Hendie DijkmanMemberThanks Ryad, I guess it’s just another reason to be moving my home workstation to Linux asap! 🙄
-
AuthorPosts