facebook

Empty "Deployment Location"

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #264986 Reply

    I can’t add the project to the Tomcat deployment. I deleted the project from the deployment and later on try to add it again. I then select Tomcat 5 and set the “Deploy Type” to “Exploded Archive”. However, the “Deploy Location” field is empty. Thus, the [Finish] button is disabled. Somehow it seems like it doesn’t know where to place it. I did create a dummy project and this problem is not an issue with it.

    Can anybody tell me why the Deployment Location is empty?

    #264993

    Riyad Kalla
    Member

    Can you open your project properties, go to MyEclipse > Web and make sure that the 2nd box is not blank. If it is, please fill it back in with the correct web context root that you want to use (e.g. /myapp)

    #265007

    Thank you so much! That was the problem. The field was set to “/”. I think the source control system is causing problems with the configuration file. What file is used for the project’s properties?

    #265009

    Something is wrong. After I clicked [OK], I got an error window but had nothing in it! It just said “ERROR”. The project is in the list of apps to be deployed but when say “DEPLOY IT!” the target area is never updated. I “Clean” the project and rebuilt it with no success.

    #265011

    Riyad Kalla
    Member

    Can you check your log file (<workspace dir>\.metadata\.log) near the bottom for an exception related to the error and see if it sheds some light on the problem?

    #265013

    It is asserting at DeploymentUtil.isSourceFolder( Unknown Source ) with a null pointer.

    #265014

    Found the problem! The “webrootdir” attribute in the “.metadata” file had the wrong source folder name. It was set to “WebRoot” when in fact the source folder is “WebContent”. Someone changed the deployment layout and did not change the configuration file. Thanks again for your help. It is now fixed!

    #265018

    Riyad Kalla
    Member

    Oh I’m glad it’s fixed now, thank you for letting us know.

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Empty "Deployment Location"

You must be logged in to post in the forum log in