Additional information for those who have this same problem and find this post like I did. Using Eclipse 3.4.2, Google Eclipse Plugin 1.0.1.v200905131143, GWT 1.6.4, App Engine Java SDK 1.2.1
I faced two issues when trying to develop my JSP web application (which uses JDBC and is not intended to be deployed on Google App Engine; it just uses GWT) - With App Engine enabled for the project it would compile my JSPs correctly but give the security errors noted above - With App Engine disabled (only gwt enabled) the JSP files would not compile with the error "org.apache.jasper.JasperException: Unable to compile class for JSP" and referencing me to the Compile Error Output which does not seem to be available anywhere I can find... My work around hack: Extract appengine-java-sdk-1.2.1\libappengine-tools-api.jar Use JBE (Java Bytecode Editor) to edit com\google\appengine\tools \development\DevAppServerFactory$CustomSecurityManager.class Empty out the check* functions so they only contain a 'return' Jar back up and replace the original libappengine jar I can now leave App Engine enabled and have no more security errors AND my JSP files compile correctly! Huzzah!! Note that of course this app could NOT be deployed to google app engine. The App engine is just enabled since it allows my JSPs to compile correctly. Regards On Jun 16, 12:35 pm, Khoa <khoa.cof...@gmail.com> wrote: > Another soul is saved -- thank you > > On Jun 7, 8:34 am, aydogdu <aydo...@gmail.com> wrote: > > > god bless you > > > On Apr 13, 2:46 pm, martin <hotston...@googlemail.com> wrote: > > > > Ok, I solved the problem ;-) > > > > Go to the project's properties and uncheck "Use Google App Engine". > > > Additionally, as vitali mentioned, the mysql-connector jar has to be > > > in the war/WEB-INF/lib directory. > > > Cheers, > > > > Martin. > > > > On Apr 12, 3:16 pm, IvanRdz <ivan.rd...@gmail.com> wrote: > > > > > I have the same problem and I am sure it´s due to Jetty and security > > > > settings as you have mentioned. Are you using google plugin? > > > > > On Apr 11, 7:59 pm, martin <hotston...@googlemail.com> wrote: > > > > > > Ok, I am still stuck :-( > > > > > Anybody got Mysql working with GWT 1.6.4? It worked fine for GWT 1.5 > > > > > for me, but something seems to have changed with GWT 1.6.4. > > > > > Maybe it is due to Jetty and security settings, since I get a > > > > > "java.security.AccessControlException"... All I did was to add the "/ > > > > > usr/share/java/mysql-connector-java-5.1.6.jar" to the referenced > > > > > libraries. > > > > > > Please help me out! > > > > > Thanks, > > > > > Martin. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---