Can it please be moved to a separate module ? After having to jump through hoops to get 5.1 running on GAE, and 5.2 stabilizing / working on GAE (up until now), it would be very unpleasant to go back to jumping through hoops to have to get a T5 app running on GAE again.
Please ? Regards, Alex K On Sun, Jun 6, 2010 at 2:52 PM, Josh Canfield <[email protected]>wrote: > This probably needs to be moved to a separate module ala tapestry-hibernate > > -- Josh > > > On Jun 6, 2010, at 11:37 AM, Igor Drobiazko <[email protected]> > wrote: > > Looks like javax.management is not in the white list and can not be >> loaded. >> >> http://code.google.com/intl/en/appengine/docs/java/jrewhitelist.html >> >> Unfortunately I never deployed T5 into Google App Engine and have no idea >> if >> there is a workaround for it. >> >> On Sat, Jun 5, 2010 at 3:59 PM, Robert Hajek <[email protected] >> >wrote: >> >> Hi All, >>> >>> I have problem with deploying simple T5.2 web application to GAE. >>> >>> Caused by: java.lang.RuntimeException: >>> Error invoking service builder method >>> org.apache.tapestry5.internal.services.InternalModule.buildPagePool >>> (PagePoolImpl, InvalidationEventHub, InvalidationEventHub, MBeanSupport) >>> (at InternalModule.java:181) (for service 'PagePool'): Error building >>> service proxy for service 'MBeanSupport' >>> (at >>> >>> org.apache.tapestry5.internal.services.InternalModule.buildMBeanSupport(RegistryShutdownHub, >>> MBeanSupportImpl) >>> (at InternalModule.java:216)): Unable to lookup class >>> >>> com.google.apphosting.runtime.security.shared.stub.javax.management.ObjectName: >>> >>> >>> com.google.apphosting.runtime.security.shared.stub.javax.management.ObjectName >>> >> > > >>> This problem probably starts after fixing issue "TAP5-978: Provide remote >>> management of the page pool settings." >>> >>> Is there some workaround how to disable javax.management stuff in T5 or >>> fix >>> this issue? Will be GAE officially supported in beta of final release of >>> T5.2 ? >>> >>> Thanks, >>> >>> Rob >>> >>> full stacktrace: >>> >>> Uncaught exception from servlet >>> java.lang.RuntimeException: Exception constructing service 'PagePool': >>> Error invoking service builder method >>> >>> org.apache.tapestry5.internal.services.InternalModule.buildPagePool(PagePoolImpl, >>> InvalidationEventHub, InvalidationEventHub, MBeanSupport) (at >>> InternalModule.java:181) (for service 'PagePool'): Error building service >>> proxy for service 'MBeanSupport' (at >>> >>> org.apache.tapestry5.internal.services.InternalModule.buildMBeanSupport(RegistryShutdownHub, >>> MBeanSupportImpl) (at InternalModule.java:216)): Unable to lookup class >>> >>> com.google.apphosting.runtime.security.shared.stub.javax.management.ObjectName: >>> >>> com.google.apphosting.runtime.security.shared.stub.javax.management.ObjectName >>> >> > > at >>> >>> org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.obtainObjectFromCreator(JustInTimeObjectCreator.java:78) >>> at >>> >>> org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createObject(JustInTimeObjectCreator.java:57) >>> at $PagePool_129082cfd52.delegate($PagePool_129082cfd52.java) >>> at $PagePool_129082cfd52.checkout($PagePool_129082cfd52.java) >>> at >>> >>> org.apache.tapestry5.internal.services.RequestPageCacheImpl.get(RequestPageCacheImpl.java:51) >>> at >>> $RequestPageCache_129082cfd51.get($RequestPageCache_129082cfd51.java) >>> at >>> $RequestPageCache_129082cfd4a.get($RequestPageCache_129082cfd4a.java) >>> at >>> >>> org.apache.tapestry5.internal.services.DefaultRequestExceptionHandler.handleRequestException(DefaultRequestExceptionHandler.java:69) >>> at >>> >>> $RequestExceptionHandler_129082cfd28.handleRequestException($RequestExceptionHandler_129082cfd28.java) >>> at >>> >>> org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:42) >>> at >>> $RequestHandler_129082cfd2b.service($RequestHandler_129082cfd2b.java) >>> at >>> >>> org.apache.tapestry5.services.TapestryModule$4.service(TapestryModule.java:977) >>> at >>> $RequestHandler_129082cfd2b.service($RequestHandler_129082cfd2b.java) >>> at >>> >>> org.apache.tapestry5.services.TapestryModule$3.service(TapestryModule.java:967) >>> at >>> $RequestHandler_129082cfd2b.service($RequestHandler_129082cfd2b.java) >>> at >>> >>> org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:90) >>> at >>> $RequestHandler_129082cfd2b.service($RequestHandler_129082cfd2b.java) >>> at >>> >>> org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:90) >>> at >>> >>> org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:80) >>> at >>> >>> org.apache.tapestry5.ioc.internal.util.ConcurrentBarrier.withRead(ConcurrentBarrier.java:85) >>> at >>> >>> org.apache.tapestry5.internal.services.CheckForUpdatesFilter.service(CheckForUpdatesFilter.java:103) >>> at >>> $RequestHandler_129082cfd2b.service($RequestHandler_129082cfd2b.java) >>> at >>> $RequestHandler_129082cfd20.service($RequestHandler_129082cfd20.java) >>> at >>> >>> org.apache.tapestry5.services.TapestryModule$HttpServletRequestHandlerTerminator.service(TapestryModule.java:271) >>> at >>> org.apache.tapestry5.internal.gzip.GZipFilter.service(GZipFilter.java:53) >>> at >>> >>> $HttpServletRequestHandler_129082cfd22.service($HttpServletRequestHandler_129082cfd22.java) >>> at >>> >>> org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62) >>> at >>> >>> $HttpServletRequestFilter_129082cfd1f.service($HttpServletRequestFilter_129082cfd1f.java) >>> at >>> >>> $HttpServletRequestHandler_129082cfd22.service($HttpServletRequestHandler_129082cfd22.java) >>> at >>> >>> org.apache.tapestry5.services.TapestryModule$2.service(TapestryModule.java:921) >>> at >>> >>> $HttpServletRequestHandler_129082cfd22.service($HttpServletRequestHandler_129082cfd22.java) >>> at >>> >>> $HttpServletRequestHandler_129082cfd1d.service($HttpServletRequestHandler_129082cfd1d.java) >>> at >>> org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:147) >>> at >>> >>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) >>> at >>> >>> com.google.apphosting.utils.servlet.ParseBlobUploadFilter.doFilter(ParseBlobUploadFilter.java:97) >>> at >>> >>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) >>> at >>> >>> com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter.java:35) >>> at >>> >>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) >>> at >>> >>> com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43) >>> at >>> >>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) >>> at >>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) >>> at >>> >>> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) >>> at >>> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) >>> at >>> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) >>> at >>> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418) >>> at >>> >>> com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandlerMap.java:238) >>> at >>> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) >>> at org.mortbay.jetty.Server.handle(Server.java:326) >>> at >>> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) >>> at >>> >>> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923) >>> at >>> >>> com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestParser.java:76) >>> at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) >>> at >>> >>> com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:135) >>> at >>> >>> com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java:250) >>> at >>> >>> com.google.apphosting.base.RuntimePb$EvaluationRuntime$6.handleBlockingRequest(RuntimePb.java:5838) >>> at >>> >>> com.google.apphosting.base.RuntimePb$EvaluationRuntime$6.handleBlockingRequest(RuntimePb.java:5836) >>> at >>> >>> com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest(BlockingApplicationHandler.java:24) >>> at >>> com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:398) >>> at com.google.net.rpc.impl.Server$2.run(Server.java:852) >>> at >>> >>> com.google.tracing.LocalTraceSpanRunnable.run(LocalTraceSpanRunnable.java:56) >>> at >>> >>> com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan(LocalTraceSpanBuilder.java:576) >>> at com.google.net.rpc.impl.Server.startRpc(Server.java:807) >>> at com.google.net.rpc.impl.Server.processRequest(Server.java:369) >>> at >>> >>> com.google.net.rpc.impl.ServerConnection.messageReceived(ServerConnection.java:442) >>> at >>> >>> com.google.net.rpc.impl.RpcConnection.parseMessages(RpcConnection.java:319) >>> at >>> >>> com.google.net.rpc.impl.RpcConnection.dataReceived(RpcConnection.java:290) >>> at >>> com.google.net.async.Connection.handleReadEvent(Connection.java:474) >>> at >>> >>> com.google.net.async.EventDispatcher.processNetworkEvents(EventDispatcher.java:831) >>> at >>> >>> com.google.net.async.EventDispatcher.internalLoop(EventDispatcher.java:207) >>> at >>> com.google.net.async.EventDispatcher.loop(EventDispatcher.java:103) >>> at >>> com.google.net.rpc.RpcService.runUntilServerShutdown(RpcService.java:251) >>> at >>> >>> com.google.apphosting.runtime.JavaRuntime$RpcRunnable.run(JavaRuntime.java:413) >>> at java.lang.Thread.run(Unknown Source) >>> Caused by: java.lang.RuntimeException: Error invoking service builder >>> method >>> >>> org.apache.tapestry5.internal.services.InternalModule.buildPagePool(PagePoolImpl, >>> InvalidationEventHub, InvalidationEventHub, MBeanSupport) (at >>> InternalModule.java:181) (for service 'PagePool'): Error building service >>> proxy for service 'MBeanSupport' (at >>> >>> org.apache.tapestry5.internal.services.InternalModule.buildMBeanSupport(RegistryShutdownHub, >>> MBeanSupportImpl) (at InternalModule.java:216)): Unable to lookup class >>> >>> com.google.apphosting.runtime.security.shared.stub.javax.management.ObjectName: >>> >>> com.google.apphosting.runtime.security.shared.stub.javax.management.ObjectName >>> >> > > at >>> >>> org.apache.tapestry5.ioc.internal.ServiceBuilderMethodInvoker.createObject(ServiceBuilderMethodInvoker.java:76) >>> at >>> >>> org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator$1.invoke(OperationTrackingObjectCreator.java:45) >>> at >>> >>> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:68) >>> at >>> >>> org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68) >>> at org.apache.tapestry5.ioc.intern >>> >>> >>> >>> Dne 27.5.2010 17:59, Howard Lewis Ship napsal(a): >>> >>> This is very neat stuff. >>>> >>>> A quibble: I think the ObjectName should be >>>> "org.apache.tapestry5:service=PagePool" (i.e., reflecting that >>>> PagePool here is the service id, not the service interface). >>>> >>>> >>>> >>>> On Wed, May 26, 2010 at 12:05 AM,<[email protected]> wrote: >>>> >>>> >>>> Author: drobiazko >>>>> Date: Wed May 26 07:05:38 2010 >>>>> New Revision: 948348 >>>>> >>>>> URL: http://svn.apache.org/viewvc?rev=948348&view=rev >>>>> Log: >>>>> TAP5-978: Provide remote management of the page pool settings >>>>> >>>>> Added: >>>>> >>>>> >>>>> tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/MBeanSupport.java >>>>> (with props) >>>>> >>>>> >>>>> tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/MBeanSupportImpl.java >>>>> (with props) >>>>> >>>>> >>>>> tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/PagePoolImplMBean.java >>>>> (with props) >>>>> >>>>> >>>>> tapestry/tapestry5/trunk/tapestry-core/src/test/app1/RemotePoolManagement.tml >>>>> >>>>> >>>>> tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/RemotePoolManagement.java >>>>> (with props) >>>>> Modified: >>>>> >>>>> >>>>> tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/InternalModule.java >>>>> >>>>> >>>>> tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/PagePoolImpl.java >>>>> >>>>> >>>>> tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/CoreBehaviorsTests.java >>>>> >>>>> >>>>> tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/Index.java >>>>> >>>>> >>>>> >>>> >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >>> >> >> -- >> Best regards, >> >> Igor Drobiazko >> http://tapestry5.de/blog >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
