The jar file containing the class, org.eclipse.emf.ecore.EObject has been signed<http://download.oracle.com/javase/tutorial/deployment/jar/signing.html>. App Engine doesn't currently support signed jar files. One simple way to work around this is to yank the manifest out of the jar. (META-INF/MANIFEST.MF)
On Wed, Mar 2, 2011 at 11:25 PM, Mike Zhou <[email protected]> wrote: > Hi, > > I have an Eclipse EMF based application. It runs well in may AppEngine > Eclipse testing env. However, when it is deployed to the cloud, I get the > following error: > > Caused by: java.lang.SecurityException: SHA1 digest error for > org/eclipse/emf/ecore/EObject.class > > at > com.google.appengine.runtime.Request.process-9015283aec833f7d(Request.java) > at > sun.security.util.ManifestEntryVerifier.verify(ManifestEntryVerifier.java:210) > at java.util.jar.JarVerifier.processEntry(JarVerifier.java:218) > at java.util.jar.JarVerifier.update(JarVerifier.java:205) > at java.util.jar.JarVerifier$VerifierStream.read(JarVerifier.java:428) > at sun.misc.Resource.getBytes(Resource.java:114) > at java.net.URLClassLoader.defineClass(URLClassLoader.java:273) > at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) > ... 44 more > > > The same application ran well in previous AppEngine version. It seems that > the AppEngine security control has been changes. > > Anyone can explain the reason? Also, the difference between AppEngine Eclipse > testing env and the real Java running env in the cloud would be appreciated. > > Thanks, Mike > > -- > 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. > -- 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.
