#1239 ✓resolved
opensas

error deploying to gae 1.4 with play 1.2.4RC2

Reported by opensas | November 11th, 2011 @ 02:22 PM | in 1.2.4 (closed)

java.lang.SecurityException: SHA1 digest error for org/eclipse/jdt/
internal/compiler/env/INameEnvironment.class

same problem appeared in

https://bugs.launchpad.net/play/+bug/594316

I'm trying to unsign org.eclipse.jdt.core-3.8.0.v_C03.jar

following this guide

http://frank.zinepal.com/unsign-a-jar-with-ant

see build file attached to unsign a jar

see signed and unsigned jars attached

--

detailed error stack:

The same app works flawlessy with play 1.2.3
modules versions:

- play -> gae 1.4

this is the error log:
I 2011-11-11 05:30:43.595 play.Logger info: Play! is running in Google
App Engine
W 2011-11-11 05:30:43.861 Failed startup of context
com.google.apphosting.utils.jetty.RuntimeAppEngineWebAppContext@842d9a{/,/
base/data/home/apps/s~playdocestest/prod.354608013
C 2011-11-11 05:30:43.864 Uncaught exception from servlet
javax.servlet.UnavailableException: Initialization failed. at
com.google.apphosting.runtime.jetty.AppVersionHandlerMa
I 2011-11-11 05:30:43.867 This request caused a new process to be
started for your application, and thus caused your application code to
be loaded for the first time. This requ
2011-11-11 05:18:36.166 / 200 10805ms 4kb Mozilla/5.0 (X11; Linux
i686) AppleWebKit/535.7 (KHTML, like Gecko) Ubuntu/10.10 Chromium/
17.0.919.0

this is the expanded error:

I 2011-11-11 05:30:43.595
play.Logger info: Play! is running in Google App Engine
W 2011-11-11 05:30:43.861
Failed startup of context
com.google.apphosting.utils.jetty.RuntimeAppEngineWebAppContext@842d9a{/,/
base/data/home/apps/s~playdocestest/prod.354608013222658273}
java.lang.SecurityException: SHA1 digest error for org/eclipse/jdt/
internal/compiler/env/INameEnvironment.class

    at

com.google.appengine.runtime.Request.process-0000000000000000(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:124) 
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:273) 
    at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) 
    at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp l.java:
43)

    at java.lang.reflect.Method.invoke(Method.java:616) 
    at java.lang.ClassLoader.loadClass(ClassLoader.java:266) 
    at

play.classloading.ApplicationClasses.(ApplicationClasses.java:
29)

    at play.Play.init(Play.java:202) 
    at play.server.ServletWrapper.contextInitialized(ServletWrapper.java:

77)

    at

org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:
548)

    at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) 
    at

org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:
1250)

    at

org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:
517)

    at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:

467)

    at

org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
50)

    at com.google.tracing.TraceContext

$TraceContextRunnable.runInContext(TraceContext.java:449)

    at com.google.tracing.TraceContext$TraceContextRunnable

$1.run(TraceContext.java:455)

    at com.google.tracing.TraceContext.runInContext(TraceContext.java:

695)

    at com.google.tracing.TraceContext

$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.jav a: 333)

    at com.google.tracing.TraceContext

$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java: 325)

    at com.google.tracing.TraceContext

$TraceContextRunnable.run(TraceContext.java:453)

    at java.lang.Thread.run(Thread.java:679)

C 2011-11-11 05:30:43.864
Uncaught exception from servlet
javax.servlet.UnavailableException: Initialization failed.

    at

com.google.apphosting.runtime.jetty.AppVersionHandlerMap.createHandler(AppV ersionHandlerMap.java:
211)

    at

com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler(AppVers ionHandlerMap.java:
171)

    at

com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceReques t(JettyServletEngineAdapter.java:
123)

    at com.google.apphosting.runtime.JavaRuntime

$RequestRunnable.run(JavaRuntime.java:392)

    at com.google.tracing.TraceContext

$TraceContextRunnable.runInContext(TraceContext.java:449)

    at com.google.tracing.TraceContext$TraceContextRunnable

$1.run(TraceContext.java:455)

    at com.google.tracing.TraceContext.runInContext(TraceContext.java:

695)

    at com.google.tracing.TraceContext

$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.jav a: 333)

    at com.google.tracing.TraceContext

$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java: 325)

    at com.google.tracing.TraceContext

$TraceContextRunnable.run(TraceContext.java:453)

    at com.google.apphosting.runtime.ThreadGroupPool

$PoolEntry.run(ThreadGroupPool.java:162)

    at java.lang.Thread.run(Thread.java:679)

-- I guess the problem is:
java.lang.SecurityException: SHA1 digest error for org/eclipse/jdt/
internal/compiler/env/INameEnvironment.class
???

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2>Play framework</h2>

Play makes it easier to build Web applications with Java. It is a clean alternative to bloated Enterprise Java stacks. It focuses on developer productivity and targets RESTful architectures. Learn more on the <a href="http://www.playframework.org">http://www.playframework.org</a> website.<br><br>

<h2>Source code is hosted on github</h2>Check out our repository at <a href="http://github.com/playframework/play">http://github.com/playframework/play</a><br><br>

<h2>Contributing, creating a patch</h2> Please read the <a href="http://play.lighthouseapp.com/projects/57987/contributor-guide">contributor guide</a><br><br>

<h2>Reporting Security Vulnerabilities</h2> Since all bug reports are public, please report any security vulnerability directly to <em>guillaume dot bort at gmail dot com</em>.<br><br>

<h2>Creating a bug report</h2> Bug reports are incredibly helpful, so take time to report bugs and request features in our ticket tracker. We’re always grateful for patches to Play’s code. Indeed, bug reports with attached patches will get fixed far quickly than those without any.<br><br>

Please include as much relevant information as possible including the exact framework version you're using and a code snippet that reproduces the problem.<br><br>

Don't have too much expectations. Unless the bug is really a serious "everything is broken" thing, you're creating a ticket to start a discussion. Having a patch (or a branch on Github we can pull from) is better, but then again we'll only pull high quality branches that make sense to be in the core of Play.

Tags

Pages