IvyDE
  1. IvyDE
  2. IVYDE-290

Deployment to Tomcat fails when IvyDE is configured to use "Resolve dependencies in workspace" and referred projects are indeed in your workspace

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 2.2.0.beta1
    • Fix Version/s: None
    • Component/s: workspace resolver
    • Environment:

      Description

      When I configure Eclipse to deploy a certain scope of ivy(eg. runtime) to Tomcat (via Deployment Assembly in Eclipse 3.7) I get nasty NPEs and the document-root is not available (org.apache.catalina.core.StandardContext resourcesStart
      SEVERE: Error starting static Resources java.lang.IllegalArgumentException: Document base ..../my-workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/my-context does not exist or is not a readable directory)

      When I close all projects and only re-open the project that I want to deploy to a Eclipse-managed-Tomcat, I get no errors during deploy & "Run on server".

        Activity

        Nicolas Lalevée made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Duplicate [ 3 ]
        Hide
        Nicolas Lalevée added a comment -

        I have reread again the WTP bug comments, it actually says that WTP doesn't support IvyDE's workspace resolver. You're probably hitting this, yes.

        Show
        Nicolas Lalevée added a comment - I have reread again the WTP bug comments, it actually says that WTP doesn't support IvyDE's workspace resolver. You're probably hitting this, yes.
        Hide
        Nicolas Lalevée added a comment -

        I am not a WTP user myself, but did you tried to make the projects you depends on an "utility project" like described there:
        https://bugs.eclipse.org/bugs/show_bug.cgi?id=184125#c12

        Show
        Nicolas Lalevée added a comment - I am not a WTP user myself, but did you tried to make the projects you depends on an "utility project" like described there: https://bugs.eclipse.org/bugs/show_bug.cgi?id=184125#c12
        Hide
        GK Ephorus added a comment -

        This might be related to IVYDE-227

        Show
        GK Ephorus added a comment - This might be related to IVYDE-227
        GK Ephorus made changes -
        Description When I configure Eclipse to deploy a certain scope of ivy(eg. runtime) to Tomcat (via Deployment Assembly in Eclipse 3.7) I get nasty NPEs and the document-root is not available (org.apache.catalina.core.StandardContext resourcesStart
        SEVERE: Error starting static Resources java.lang.IllegalArgumentException: Document base ..../my-workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/my-context does not exist or is not a readable directory)

        When I close all projects and only re-open the project that I want to deploy to a Eclipse-managed-Tomcat, I get no errors.
        When I configure Eclipse to deploy a certain scope of ivy(eg. runtime) to Tomcat (via Deployment Assembly in Eclipse 3.7) I get nasty NPEs and the document-root is not available (org.apache.catalina.core.StandardContext resourcesStart
        SEVERE: Error starting static Resources java.lang.IllegalArgumentException: Document base ..../my-workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/my-context does not exist or is not a readable directory)

        When I close all projects and only re-open the project that I want to deploy to a Eclipse-managed-Tomcat, I get no errors during deploy & "Run on server".
        GK Ephorus made changes -
        Field Original Value New Value
        Environment   Apache Ivy 2.2.1.alpha_20111113200050 org.apache.ivy.feature.feature.group Apache Software Foundation
          Apache Ivy Ant Tasks 2.2.1.alpha_20111113200050 org.apache.ivy.eclipse.ant.feature.feature.group Apache Software Foundation
          Apache IvyDE 2.2.0.201111080039-hudson-200 org.apache.ivyde.feature.feature.group Apache Software Foundation
          Apache IvyDE Resolve Visualizer 2.2.0.201111080039-hudson-200 org.apache.ivyde.eclipse.resolvevisualizer.feature.feature.group Apache Software Foundation
        Version: Indigo Service Release 1
        Build id: 20110916-0149
        Plugins (AO):
          Apache Ivy 2.2.1.alpha_20111113200050 org.apache.ivy.feature.feature.group Apache Software Foundation
          Apache Ivy Ant Tasks 2.2.1.alpha_20111113200050 org.apache.ivy.eclipse.ant.feature.feature.group Apache Software Foundation
          Apache IvyDE 2.2.0.201111080039-hudson-200 org.apache.ivyde.feature.feature.group Apache Software Foundation
          Apache IvyDE Resolve Visualizer 2.2.0.201111080039-hudson-200 org.apache.ivyde.eclipse.resolvevisualizer.feature.feature.group Apache Software Foundation
        GK Ephorus created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            GK Ephorus
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development