- This topic has 5 replies, 2 voices, and was last updated 19 years, 11 months ago by Riyad Kalla.
-
AuthorPosts
-
bradmMemberI am suddenly unable to deploy or redeploy any projects to Tomcat. Firstly, MyEclipse doesn’t see any of the apps that are actually in webapps (though it did yesterday; and all of these apps still run). When I try to deploy one, I pick Tomcat as the server, choose Tomcat in the “Manage Deployments” screen, select a project to deploy, and click “Add”, the “Finish” button remains grayed out.
Something surely changed on my system in the last 24 hours, but I haven’t the foggiest notion of what it might be.
My Tomcat home dir is C:\Program Files\Apache Software Foundation\Tomcat 5.5; I am using JDK 1.5_01 and Tomcat 5.5.7. I’m dead in the water here: help!
bradmMemberI just noticed that in the final “New Deployment” screen, there is an error saying “Undefined exploded archive location”. I’ve never specified this before: what is MyEclipse asking for here
?
bradmMemberGoing over the online documentation, it’s step three below that isn’t happening. Why?
Step-3: Specify new deployment details
1. Select the desired Deployment Type, Exploded Archive or Packaged Archive.
2. In the Server drop-down list, select the target deployment server. Note that only servers that support the desired deployment type and project type will be presented as valid choices.
3. If the deployment is Exploded Archive then the Exploded location field will be automatically filled with the appropriate deployment path, based on the type of server that is selected.
4. Select Finish to initiate the deployment.
5. The New Deployment Wizard will display a progress monitor that describes deployment progress.
6. Upon completion of the deployment the New Deployment Wizard will close and control is returned to the Project Deployments dialog.
Riyad KallaMemberFirstly, MyEclipse doesn’t see any of the apps that are actually in webapps
Please explain what you mean by “see”, how are you used to “seeing” these apps?
My Tomcat home dir is C:\Program Files\Apache Software Foundation\Tomcat 5.5
While this likely will work fine, I suggest reinstalling Tomcat to a shorter path, like C:\Java\Tomcat 5.5, or C:\Dev\Tomcat 5.5, if you launch an app server with a long path and it has a lot of JARs, the commands it tries to execute to compile the JSP pages can blow out past the 4k limit of Windows command line and you will get strange failures.
I just noticed that in the final “New Deployment” screen, there is an error saying “Undefined exploded archive location”. I’ve never specified this before: what is MyEclipse asking for here
Navigate back to your Window > Prefs > MyEclipse > App Server > Tomcat 5, preferences and make sure everything is still setup correclty.
Going over the online documentation, it’s step three below that isn’t happening. Why?
Ahhhh, open up your project properties (right click on project root > properties) go to MyEclipse-Web, what is your Web context and Web roots set to? I have a feeling that Web context might be empty…
bradmMemberThanks Riyad: that was it. How might the Web context setting have been deleted?
Riyad KallaMemberHow might the Web context setting have been deleted?
It is this really random issue that has happened to me once before, and 3 other users, including you… but that was it, just happened once, freak thing, and then it’s gone. We think it might be related to a preference failing to be written out and there is no error being reported by it, but it was such a infrequent thing that we just told people what had happened so if it happens again they can fix it on their own.
-
AuthorPosts