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

        GK Ephorus created issue -
        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 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".
        Nicolas Lalevée made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Duplicate [ 3 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development