Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-2533

Problems with Cloud Foundry Addon in 1.1.4

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 1.1.4.RELEASE
    • Fix Version/s: 1.1.5.RELEASE
    • Component/s: @ ROO SHELL
    • Labels:
      None

      Description

      There are several problems with the Cloud Foundry Addon in Spring Roo 1.1.4

      Install with
      – addon install bundle --bundleSymbolicName org.springframework.roo.addon.cloud.foundry
      fails and results in:
      NullPointerException at org.springframework.roo.addon.roobot.client.AddOnR ooBotOperationsImpl.installOrUpgradeAddOn(AddOnRoo BotOperation)

      After advice I used this command:
      addon install bundle --bundleSymbolicName org.springframework.roo.addon.cloud.foundry;1.1.4.RELEASE

      This works for installing the addon but fails then on deploy command:

      roo> cloud foundry deploy --appName wedding1234 --path CREATE
      [INFO] Scanning for projects...
      [INFO] ------------------------------------------------------------------------
      [INFO] Building wedding
      [INFO] task-segment: [clean, package]
      [INFO] ------------------------------------------------------------------------
      ...
      [INFO] Webapp assembled in [1130 msecs]
      [INFO] Building war: D:\jens\transport\workspace-roo\wedding\target\wedding-0.1.
      0.BUILD-SNAPSHOT.war
      [WARNING] Warning: selected war files include a WEB-INF/web.xml which will be ig
      nored
      (webxml attribute is missing from war task, or ignoreWebxml attribute is specifi
      ed as 'true')
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESSFUL
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 12 seconds
      [INFO] Finished at: Mon Jun 27 15:42:28 CEST 2011
      [INFO] Final Memory: 58M/509M
      [INFO] ------------------------------------------------------------------------
      NullPointerException at org.springframework.roo.addon.cloud.foundry.CloudF oundry
      Commands.push(CloudFoundryCommands.java:114)

      Alternatively I tried:
      roo> cloud foundry deploy --appName wedding1234 --path target/wedding-0.1.0.BUIL
      D-SNAPSHOT.war
      NullPointerException at java.io.File.<init>(File.java:222)

      (The file target/wedding-0.1.0.BUILD-SNAPSHOT.war exists and it also happens with other samples from 1.1.4)

      Please see also the discussion thread here:
      http://forum.springsource.org/showthread.php?111154-cannot-install-cloud-foundry-addon&s=bd01dbd11f8149f7f4fd054152d15fb3

      Creating a JIRA as suggested.

        Attachments

          Activity

            People

            Assignee:
            jtyrrell James Tyrrell
            Reporter:
            mouseclicker Jens H
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: