PDA

View Full Version : Quercus 4.0.25 / GAE Could not initialize class com.caucho.util.Alarm


marcel
03-08-2012, 02:35 PM
After replacing resin.jar from 4.0.18 to 4.0.25 the following error is thrown when run on Google App Engine (in the local server there is no problem though).

Any advice on how to solve this?

Many thanks
Marcel



Uncaught exception from servlet
java.lang.NoClassDefFoundError: Could not initialize class com.caucho.util.Alarm
at com.caucho.quercus.page.PageManager.<init>(PageManager.java:61)
at com.caucho.quercus.QuercusContext.createPageManage r(QuercusContext.java:380)
at com.caucho.quercus.QuercusContext.<init>(QuercusContext.java:250)
at com.caucho.quercus.GoogleQuercus.<init>(GoogleQuercus.java:61)
at com.caucho.quercus.servlet.GoogleQuercusServletImp l.getQuercus(GoogleQuercusServletImpl.java:279)
at com.caucho.quercus.servlet.QuercusServletImpl.init (QuercusServletImpl.java:89)
at com.caucho.quercus.servlet.QuercusServlet.initImpl (QuercusServlet.java:531)
at com.caucho.quercus.servlet.QuercusServlet.init(Que rcusServlet.java:441)
at org.mortbay.jetty.servlet.ServletHolder.initServle t(ServletHolder.java:440)
at org.mortbay.jetty.servlet.ServletHolder.doStart(Se rvletHolder.java:263)
at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:50)
at org.mortbay.jetty.servlet.ServletHandler.initializ e(ServletHandler.java:685)
at org.mortbay.jetty.servlet.Context.startContext(Con text.java:140)
at org.mortbay.jetty.webapp.WebAppContext.startContex t(WebAppContext.java:1250)
at org.mortbay.jetty.handler.ContextHandler.doStart(C ontextHandler.java:517)
at org.mortbay.jetty.webapp.WebAppContext.doStart(Web AppContext.java:467)
at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:50)
at com.google.apphosting.runtime.jetty.AppVersionHand lerMap.createHandler(AppVersionHandlerMap.java:202 )
at com.google.apphosting.runtime.jetty.AppVersionHand lerMap.getHandler(AppVersionHandlerMap.java:171)
at com.google.apphosting.runtime.jetty.JettyServletEn gineAdapter.serviceRequest(JettyServletEngineAdapt er.java:123)
at com.google.apphosting.runtime.JavaRuntime$RequestR unnable.run(JavaRuntime.java:422)
at com.google.tracing.TraceContext$TraceContextRunnab le.runInContext(TraceContext.java:449)
at com.google.tracing.TraceContext$TraceContextRunnab le$1.run(TraceContext.java:455)
at com.google.tracing.TraceContext.runInContext(Trace Context.java:695)
at com.google.tracing.TraceContext$AbstractTraceConte xtCallback.runInInheritedContextNoUnref(TraceConte xt.java:333)
at com.google.tracing.TraceContext$AbstractTraceConte xtCallback.runInInheritedContext(TraceContext.java :325)
at com.google.tracing.TraceContext$TraceContextRunnab le.run(TraceContext.java:453)
at com.google.apphosting.runtime.ThreadGroupPool$Pool Entry.run(ThreadGroupPool.java:251)
at java.lang.Thread.run(Thread.java:679)

ioniser
09-10-2012, 05:30 AM
I am using resin 4.0.30
on localhost my php-app runs fine but on app-engine it gives the

"Could not initialize class com.caucho.util.Alarm" Error

This is quite frustrating.
I have read that --enable_jar_splitting will fix this, but it does not.

any help would be great.

Thanks.