susan_donato
|
Posted: November 09, 2009 17:07 by susan_donato
|
|
Hi Sir Sonny -- Can you help me with this error please. I made some changes in the webapp I created (with your help) this morning but when I tried to Deploy to Google App Engine to see how it would look like, here's what I got.. Reading application configuration data... Beginning server interaction for leanneszashi... 0% Creating staging directory 5% Scanning for jsp files. 8% Compiling jsp files. 11% Compiling java files. Error Details: Nov 10, 2009 12:19:33 AM org.apache.jasper.JspC processFile INFO: Built File: \index.jsp java.lang.IllegalStateException: cannot find javac executable based on java.home, tried "C:\Program Files\Java\jre6\bin\javac.exe" and "C:\Program Files\Java\bin\javac.exe" Unable to update app: cannot find javac executable based on java.home, tried "C:\Program Files\Java\jre6\bin\javac.exe" and "C:\Program Files\Java\bin\javac.exe" Please see the logs [C:\DOCUME~1\Emsue\LOCALS~1\Temp\appcfg7099644109036512233.log] for further information. Reading application configuration data... Beginning server interaction for try... 0% Creating staging directory 5% Scanning for jsp files. 8% Compiling jsp files. 11% Compiling java files. Error Details: Nov 10, 2009 12:24:53 AM org.apache.jasper.JspC processFile INFO: Built File: \index.jsp java.lang.IllegalStateException: cannot find javac executable based on java.home, tried "C:\Program Files\Java\jre6\bin\javac.exe" and "C:\Program Files\Java\bin\javac.exe" Unable to update app: cannot find javac executable based on java.home, tried "C:\Program Files\Java\jre6\bin\javac.exe" and "C:\Program Files\Java\bin\javac.exe" Please see the logs [C:\DOCUME~1\Emsue\LOCALS~1\Temp\appcfg364552748316988227.log] for further information. Reading application configuration data... Beginning server interaction for leanneszashi... 0% Creating staging directory 5% Scanning for jsp files. 8% Compiling jsp files. 11% Compiling java files. Error Details: Nov 10, 2009 12:25:15 AM org.apache.jasper.JspC processFile INFO: Built File: \index.jsp java.lang.IllegalStateException: cannot find javac executable based on java.home, tried "C:\Program Files\Java\jre6\bin\javac.exe" and "C:\Program Files\Java\bin\javac.exe" Unable to update app: cannot find javac executable based on java.home, tried "C:\Program Files\Java\jre6\bin\javac.exe" and "C:\Program Files\Java\bin\javac.exe" Please see the logs [C:\DOCUME~1\Emsue\LOCALS~1\Temp\appcfg3769012008582199676.log] for further information. Before I TOUCHED the webapp here's what I did (see if i missed something): 1. I installed the glassfish plugins (all 4 of them, without the hint). 2. I opened the webapp I created. I just saved it in my USB since I had trouble committing to the repository. 3. When it opened it showed that the project had a Missing Server Problem. 4. So I right-clicked on the webapp, clicked on Resolve Missing Server Problem. 5. It showed me that my netbeans 6.8 only had GlassFish v3 Domain installed. 6. I added new Server - Google App Engine (I had the java-sdk in my USB). 7. In the tab Service> Servers> The Google App Engine wont start in normal mode. I got a long text message and this: [java] Could not open the requested socket: Address already in use: bind [java] Try overriding --address and/or --port. BUT it would Start in Debug Mode. 8. I ignored the server problem since it started running in debug mode. I worked on the webapp and made a little modification only in the heading (<h1>) 9. Saved it and Build and Clean without errors. BUT it wont Deploy to Google App Engine ![]() -- Did I miss something? Thanks for the patience while reading this ![]() |
Error while Deploying to Google App Engine - Help please
Replies: 1 - Last Post: November 13, 2009 07:33
by: Sonny Gauran
by: Sonny Gauran
showing 1 - 2 of 2
Sonny Gauran
|
Posted: November 13, 2009 07:33 by Sonny Gauran
|
|
The problem here is that the Google App Engine Java SDK looks for the JDK in Program Files\Java\bin, where, usually when we install our JDK it'll be located at Program Files\Java\jdk1.6.0_16. To make this work, i copied everything inside the jdk1.6.0_16 folder and pasted it inside Program Files\Java. This satisfied the problem of the App Engine Java SDK for the missing JDK. Another way to solve this would be to install the jdk straight inside Program Files\Java. |
Replies: 1 - Last Post: November 13, 2009 07:33
by: Sonny Gauran
by: Sonny Gauran









