..and its working fine now.. and also successfully deployed..

Arjun

On Nov 27, 11:46 pm, JT <[email protected]> wrote:
> Please use jdk  instead of the jre.
>
> Hth
> On Nov 27, 2011 1:44 PM, "Arjun Damodar" <[email protected]> wrote:
>
>
>
> > I was trying to deploy the Guestbook app. but unable to do so. bellow
> > attached are the logs.
>
> > I have an app engine SDK 1.6.0 installed as well as JRE6.
>
> > Console:
>
> > 27 Nov, 2011 11:30:51 AM com.google.apphosting.utils.jetty.JettyLogger
> > info
> > INFO: Logging to JettyLogger(null) via
> > com.google.apphosting.utils.jetty.JettyLogger
> > 27 Nov, 2011 11:30:51 AM
> > com.google.apphosting.utils.config.AppEngineWebXmlReader
> > readAppEngineWebXml
> > INFO: Successfully processed C:\Users\Arjun\workspace\Guestbook\war
> > \WEB-INF/appengine-web.xml
> > 27 Nov, 2011 11:30:51 AM
> > com.google.apphosting.utils.config.AbstractConfigXmlReader
> > readConfigXml
> > INFO: Successfully processed C:\Users\Arjun\workspace\Guestbook\war
> > \WEB-INF/web.xml
> > 27 Nov, 2011 5:00:53 PM
> > com.google.appengine.tools.development.DevAppServerImpl start
> > INFO: The server is running athttp://localhost:8888/
>
> > Error:
>
> > Description     Resource        Path    Location        Type
> > Your project must be configured to use a JDK in order to use JSPs
> > guestbook.jsp   /Guestbook/war  Unknown Google App Engine Problem
>
> > Warning:
>
> > Description     Resource        Path    Location        Type
> > The serializable class GuestbookServlet does not declare a static
> > final serialVersionUID field of type long       GuestbookServlet.java   /
> > Guestbook/src/guestbook line 9  Java Problem
>
> > Description     Resource        Path    Location        Type
> > The serializable class SignGuestbookServlet does not declare a static
> > final serialVersionUID field of type long       SignGuestbookServlet.java
> >       /
> > Guestbook/src/guestbook line 10 Java Problem
>
> > Log:
>
> > Unable to update:
> > com.google.appengine.tools.admin.JspCompilationException: Failed to
> > compile jsp files.
> >        at
> > com.google.appengine.tools.admin.Application.compileJsps(Application.java:
> > 582)
> >        at
>
> > com.google.appengine.tools.admin.Application.createStagingDirectory(Applica­tion.java:
> > 434)
> >        at
> > com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java:
> > 311)
> >        at
> > com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:
> > 52)
> >        at
>
> > com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy(AppEngin­eBridgeImpl.java:
> > 401)
> >        at
>
> > com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace(De­ployProjectJob.java:
> > 149)
> >        at
>
> > org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorksp­aceJob.java:
> > 38)
> >        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
>
> > ---------------------------------------------------------------------------­---------------------------------------------------------------------------­---------------------------------
>
> > ------------ Deploying frontend ------------
>
> > Preparing to deploy:
> >        Created staging directory at: 'C:\Users\Arjun\AppData\Local\Temp
> > \appcfg3708366004765838545.tmp'
> >        Scanning for jsp files.
> >        Compiling jsp files.
> > com.google.appengine.tools.admin.JspCompilationException: Failed to
> > compile jsp files.
> > 27 Nov, 2011 5:16:14 PM org.apache.jasper.compiler.AntCompiler
> > generateClass
> > SEVERE: Error compiling file: C:\Users\Arjun\AppData\Local\Temp
> > \appcfg3708366004765838545.tmp\WEB-INF\classes\org\apache\jsp
> > \guestbook_jsp.java     [javac] Compiling 1 source file
>
> > 27 Nov, 2011 5:16:14 PM org.apache.jasper.compiler.AntCompiler
> > generateClass
> > SEVERE: Javac exception
> > Error running javac.exe compiler
> >        at
>
> > org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExter­nalCompile(DefaultCompilerAdapter.java:
> > 473)
> >        at
>
> > org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal­.java:
> > 47)
> >        at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:931)
> >        at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757)
> >        at
> > org.apache.jasper.compiler.AntCompiler.generateClass(AntCompiler.java:
> > 226)
> >        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:349)
> >        at org.apache.jasper.JspC.processFile(JspC.java:1192)
> >        at org.apache.jasper.JspC.execute(JspC.java:1341)
> >        at
> > com.google.appengine.tools.development.LocalJspC.main(LocalJspC.java:
> > 18)
> > Caused by: java.io.IOException: Cannot run program "javac.exe":
> > CreateProcess error=2, The system cannot find the file specified
> >        at java.lang.ProcessBuilder.start(Unknown Source)
> >        at java.lang.Runtime.exec(Unknown Source)
> >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> >        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> >        at java.lang.reflect.Method.invoke(Unknown Source)
> >        at org.apache.tools.ant.taskdefs.Execute
> > $Java13CommandLauncher.exec(Execute.java:834)
> >        at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:435)
> >        at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:449)
> >        at
>
> > org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExter­nalCompile(DefaultCompilerAdapter.java:
> > 470)
> >        ... 8 more
> > Caused by: java.io.IOException: CreateProcess error=2, The system
> > cannot find the file specified
> >        at java.lang.ProcessImpl.create(Native Method)
> >        at java.lang.ProcessImpl.<init>(Unknown Source)
> >        at java.lang.ProcessImpl.start(Unknown Source)
> >        ... 18 more
> > --- Nested Exception ---
> > java.io.IOException: Cannot run program "javac.exe": CreateProcess
> > error=2, The system cannot find the file specified
> >        at java.lang.ProcessBuilder.start(Unknown Source)
> >        at java.lang.Runtime.exec(Unknown Source)
> >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> >        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> >        at java.lang.reflect.Method.invoke(Unknown Source)
> >        at org.apache.tools.ant.taskdefs.Execute
> > $Java13CommandLauncher.exec(Execute.java:834)
> >        at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:435)
> >        at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:449)
> >        at
>
> > org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExter­nalCompile(DefaultCompilerAdapter.java:
> > 470)
> >        at
>
> > org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal­.java:
> > 47)
> >        at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:931)
> >        at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757)
> >        at
> > org.apache.jasper.compiler.AntCompiler.generateClass(AntCompiler.java:
> > 226)
> >        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:349)
> >        at org.apache.jasper.JspC.processFile(JspC.java:1192)
> >        at org.apache.jasper.JspC.execute(JspC.java:1341)
> >        at
> > com.google.appengine.tools.development.LocalJspC.main(LocalJspC.java:
> > 18)
> > Caused by: java.io.IOException: CreateProcess error=2, The system
> > cannot find the file specified
> >        at java.lang.ProcessImpl.create(Native Method)
> >        at java.lang.ProcessImpl.<init>(Unknown Source)
> >        at java.lang.ProcessImpl.start(Unknown Source)
> >        ... 18 more
> > 27 Nov, 2011 5:16:14 PM org.apache.jasper.compiler.AntCompiler
> > generateClass
> > SEVERE: Environment: Compile: javaFileName=C:\Users\Arjun\AppData\Local
> > \Temp\appcfg3708366004765838545.tmp\WEB-INF\classes\org\apache\jsp
> > \guestbook_jsp.java
> >    classpath=/C:/eclipse/plugins/
> > com.google.appengine.eclipse.sdkbundle_1.6.0.v201111171704r37/
> > appengine-java-sdk-1.6.0/lib/impl/appengine-api-labs.jar;/C:/eclipse/
> > plugins/com.google.appengine.eclipse.sdkbundle_1.6.0.v201111171704r37/
> > appengine-java-sdk-1.6.0/lib/impl/appengine-api-stubs.jar;/C:/eclipse/
> > plugins/com.google.appengine.eclipse.sdkbundle_1.6.0.v201111171704r37/
> > appengine-java-sdk-1.6.0/lib/impl/appengine-api.jar;/C:/eclipse/
> > plugins/com.google.appengine.eclipse.sdkbundle_1.6.0.v201111171704r37/
> > appengine-java-sdk-1.6.0/lib/impl/appengine-local-runtime.jar;/C:/
> > eclipse/plugins/
> > com.google.appengine.eclipse.sdkbundle_1.6.0.v201111171704r37/
> > appengine-java-sdk-1.6.0/lib/impl/google_sql.jar;C:\eclipse\plugins
> > \com.google.appengine.eclipse.sdkbundle_1.6.0.v201111171704r37\appengine-
> > java-sdk-1.6.0\lib\shared\appengine-local-runtime-shared.jar;C:\eclipse
> > \plugins
> > \com.google.appengine.eclipse.sdkbundle_1.6.0.v201111171704r37\appengine-
> > java-sdk-1.6.0\lib\shared\el-api.jar;C:\eclipse\plugins
> > \com.google.appengine.eclipse.sdkbundle_1.6.0.v201111171704r37\appengine-
> > java-sdk-1.6.0\lib\shared\jsp\repackaged-appengine-ant-1.7.1.jar;C:
> > \eclipse\plugins
> > \com.google.appengine.eclipse.sdkbundle_1.6.0.v201111171704r37\appengine-
> > java-sdk-1.6.0\lib\shared\jsp\repackaged-appengine-ant-
> > launcher-1.7.1.jar;C:\eclipse\plugins
> > \com.google.appengine.eclipse.sdkbundle_1.6.0.v201111171704r37\appengine-
> > java-sdk-1.6.0\lib\shared\jsp\repackaged-appengine-jasper-6.0.29.jar;C:
> > \eclipse\plugins
> > \com.google.appengine.eclipse.sdkbundle_1.6.0.v201111171704r37\appengine-
> > java-sdk-1.6.0\lib\shared\jsp\repackaged-appengine-jasper-
> > el-6.0.29.jar;C:\eclipse\plugins
> > \com.google.appengine.eclipse.sdkbundle_1.6.0.v201111171704r37\appengine-
> > java-sdk-1.6.0\lib\shared\jsp\repackaged-appengine-tomcat-
> > juli-6.0.29.jar;C:\eclipse\plugins
> > \com.google.appengine.eclipse.sdkbundle_1.6.0.v201111171704r37\appengine-
> > java-sdk-1.6.0\lib\shared\jsp-api.jar;C:\eclipse\plugins
> > \com.google.appengine.eclipse.sdkbundle_1.6.0.v201111171704r37\appengine-
> > java-sdk-1.6.0\lib\shared\servlet-api.jar;C:\Users\Arjun\AppData\Local
> > \Temp\appcfg3708366004765838545.tmp\WEB-INF\classes;C:\Users\Arjun
>
> ...
>
> read more »

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to