0 Replies - 426 Views - Last Post: 03 October 2017 - 04:33 AM

#1 Nova6112  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 90
  • Joined: 28-November 14

Why i am getting some exception while Deploying to Google appengine

Posted 03 October 2017 - 04:33 AM

Hello,

I am new to Google cloud app engine. I followed this one https://cloud.google...docs/quickstart and i am using Spring with Windows 7.

I don't see Configure > Convert to App Engine Project this option in my spring ref : https://cloud.google.../docs/deploying

And when i click "Deploy to App engine standard" it throws an error as follows

Reading application configuration data...


Beginning interaction for module default...
0% Scanning for jsp files.
0% Compiling jsp files.
Unable to stage app: Cannot run program "C:\Program Files\Java\jre1.8.0_141\bin\java.exe": CreateProcess error=206, The filename or extension is too long
Please see the logs [C:\Users\Lenovo\AppData\Local\Temp\appcfg8836991475151099626.log] for further information.



----------------------------------------------------------------------
Unable to stage:
java.io.IOException: Cannot run program "C:\Program Files\Java\jre1.8.0_141\bin\java.exe": CreateProcess error=206, The filename or extension is too long
at java.lang.ProcessBuilder.start(Unknown Source)
at com.google.appengine.tools.admin.Utility.startProcess(Utility.java:150)
at com.google.appengine.tools.admin.Application.compileJsps(Application.java:1224)
at com.google.appengine.tools.admin.Application.populateStagingDirectory(Application.java:959)
at com.google.appengine.tools.admin.Application.createStagingDirectory(Application.java:864)
at com.google.appengine.tools.admin.AppAdminImpl.stageApplication(AppAdminImpl.java:539)
at com.google.appengine.tools.admin.AppAdminImpl.stageApplicationWithDefaultResourceLimits(AppAdminImpl.java:492)
at com.google.appengine.tools.admin.AppCfg$StagingAction.execute(AppCfg.java:2510)
at com.google.appengine.tools.admin.AppCfg.executeAction(AppCfg.java:393)
at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:216)
at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:116)
at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:112)
Caused by: java.io.IOException: CreateProcess error=206, The filename or extension is too long
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 12 more
com.google.appengine.tools.admin.AdminException: Unable to stage app: Cannot run program "C:\Program Files\Java\jre1.8.0_141\bin\java.exe": CreateProcess error=206, The filename or extension is too long
at com.google.appengine.tools.admin.AppAdminImpl.stageApplication(AppAdminImpl.java:543)
at com.google.appengine.tools.admin.AppAdminImpl.stageApplicationWithDefaultResourceLimits(AppAdminImpl.java:492)
at com.google.appengine.tools.admin.AppCfg$StagingAction.execute(AppCfg.java:2510)
at com.google.appengine.tools.admin.AppCfg.executeAction(AppCfg.java:393)
at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:216)
at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:116)
at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:112)
Caused by: java.io.IOException: Cannot run program "C:\Program Files\Java\jre1.8.0_141\bin\java.exe": CreateProcess error=206, The filename or extension is too long
at java.lang.ProcessBuilder.start(Unknown Source)
at com.google.appengine.tools.admin.Utility.startProcess(Utility.java:150)
at com.google.appengine.tools.admin.Application.compileJsps(Application.java:1224)
at com.google.appengine.tools.admin.Application.populateStagingDirectory(Application.java:959)
at com.google.appengine.tools.admin.Application.createStagingDirectory(Application.java:864)
at com.google.appengine.tools.admin.AppAdminImpl.stageApplication(AppAdminImpl.java:539)
... 6 more
Caused by: java.io.IOException: CreateProcess error=206, The filename or extension is too long
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 12 more


----------------------------------------------------------------------
Attached full log also please help

Also please let me know is this possible to pull my code from Github and deploy automatically by Jenkins to App engine. If yes ples help me or direct me to the help page

This post has been edited by Nova6112: 03 October 2017 - 04:35 AM


Is This A Good Question/Topic? 0
  • +

Page 1 of 1