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

mvn gae:run - Unable to restore the previous TimeZone

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 1.2.1.RELEASE
    • Fix Version/s: 1.2.2.RELEASE
    • Component/s: GAE
    • Labels:
      None
    • Environment:
      java version "1.6.0_24"
      OpenJDK Runtime Environment (IcedTea6 1.11.1) (6b24-1.11.1-4ubuntu2)
      OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

      Description

      Steps to reproduce:

      // Spring Roo 1.2.1.RELEASE [rev 6eae723] log opened at 2012-05-06 16:56:00
      project --topLevelPackage net.christophersnow
      persistence setup --provider DATANUCLEUS --database GOOGLE_APP_ENGINE 
      web mvc setup
      q
      

      Followed by:

      mvn gae:run
      

      Results in:

      [INFO] [gae:run {execution: default-cli}]
      java.lang.RuntimeException: Unable to restore the previous TimeZone
      	at com.google.appengine.tools.development.DevAppServerImpl.restoreLocalTimeZone(DevAppServerImpl.java:228)
      ...
      

      A workaround was to:

      1) upgrade the gae version in the pom.xml: s/1.6.2.1/1.6.5/g
      2) add <threadsafe>true</threadsafe> to src/main/webapp/WEB-INF/appengine-web.xml

        Attachments

          Activity

            People

            Assignee:
            stewarta Alan Stewart
            Reporter:
            snowch chris snow
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: