Hi Jun,

I tried to integrate Tapestry in a Google App Engine (GAE) project in my
local eclipse environment. I also got the same error in *
corelib.components.Loop*.

I then proceeded to download Tapestry-5.1.0.3 snapshot release and tried it
in my GAE project. It now gives an exception in Template Parser

*Exception constructing service 'TemplateParser': Error invoking constructor
org.apache.tapestry5.internal.services.TemplateParserImpl(Map, boolean) (at
TemplateParserImpl.java:50) via
org.apache.tapestry5.internal.services.InternalModule.bind(ServiceBinder)
(at InternalModule.java:65) (for service 'TemplateParser'):
org/codehaus/stax2/XMLInputFactory2
RequestURI=/

Caused by:

java.lang.RuntimeException: Exception constructing service 'TemplateParser':
Error invoking constructor
org.apache.tapestry5.internal.services.TemplateParserImpl(Map, boolean) (at
TemplateParserImpl.java:50) via
org.apache.tapestry5.internal.services.InternalModule.bind(ServiceBinder)
(at InternalModule.java:65) (for service 'TemplateParser'):
org/codehaus/stax2/XMLInputFactory2*

the ultimate exception in the trace was :

*java.lang.NoClassDefFoundError: org/codehaus/stax2/XMLInputFactory2
    at
org.apache.tapestry5.internal.services.TemplateParserImpl.(TemplateParserImpl.java:44)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
...*

I've attached the full exception trace with the mail. Please let me know if
you were able to deploy tapestry successfully in a GAE project with version
5.1.0.3.

Did anybody do it successfully? Seems like JSF, wicket etc have started
deploying applications successfully in GAE. *
http://groups.google.com/group/google-appengine-java/browse_thread/thread/2c3f7de6aacdc69f/60d81103be8aee51?lnk=raot
*

- keerthy

On Thu, Apr 9, 2009 at 10:45 AM, Jun Tsai <jun.t...@gmail.com> wrote:

> The real exception:
>
>  [java] Caused by: java.lang.ClassNotFoundException: caught an exception
> while obtaining a class file for
> org.apache.tapestry5.corelib.components.Loop$1
>     [java]     at javassist.Loader.findClass(Loader.java:359)
>     [java]     at
>
> org.apache.tapestry5.internal.services.ComponentInstantiatorSourceImpl$PackageAwareLoader.findClass(ComponentInstantiatorSourceImpl.java:94)
>     [java]     at javassist.Loader.loadClass(Loader.java:311)
>     [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>     [java]     at
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>     [java]     ... 77 more
>     [java] Caused by: javassist.NotFoundException:
> org.apache.tapestry5.corelib.components.Loop$1
>     [java]     at javassist.ClassPool.get(ClassPool.java:436)
>     [java]     at
>
> org.apache.tapestry5.internal.services.ComponentInstantiatorSourceImpl.onLoad(ComponentInstantiatorSourceImpl.java:197)
>     [java]     at javassist.Loader.findClass(Loader.java:340)
>     [java]     ... 81 more
>
HTTP ERROR: 500

Exception constructing service 'TemplateParser': Error invoking constructor 
org.apache.tapestry5.internal.services.TemplateParserImpl(Map, boolean) (at 
TemplateParserImpl.java:50) via 
org.apache.tapestry5.internal.services.InternalModule.bind(ServiceBinder) (at 
InternalModule.java:65) (for service 'TemplateParser'): 
org/codehaus/stax2/XMLInputFactory2
RequestURI=/

Caused by:

java.lang.RuntimeException: Exception constructing service 'TemplateParser': 
Error invoking constructor 
org.apache.tapestry5.internal.services.TemplateParserImpl(Map, boolean) (at 
TemplateParserImpl.java:50) via 
org.apache.tapestry5.internal.services.InternalModule.bind(ServiceBinder) (at 
InternalModule.java:65) (for service 'TemplateParser'): 
org/codehaus/stax2/XMLInputFactory2
        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 
$TemplateParser_1209515525b.delegate($TemplateParser_1209515525b.java)
        at 
$TemplateParser_1209515525b.parseTemplate($TemplateParser_1209515525b.java)
        at 
org.apache.tapestry5.internal.services.ComponentTemplateSourceImpl.parseTemplate(ComponentTemplateSourceImpl.java:151)
        at 
org.apache.tapestry5.internal.services.ComponentTemplateSourceImpl.getTemplate(ComponentTemplateSourceImpl.java:135)
        at 
$ComponentTemplateSource_1209515525a.getTemplate($ComponentTemplateSource_1209515525a.java)
        at 
org.apache.tapestry5.internal.pageload.PageLoaderImpl.createAssembler(PageLoaderImpl.java:197)
        at 
org.apache.tapestry5.internal.pageload.PageLoaderImpl.getAssembler(PageLoaderImpl.java:183)
        at 
org.apache.tapestry5.internal.pageload.PageLoaderImpl.loadPage(PageLoaderImpl.java:157)
        at $PageLoader_1209515524e.loadPage($PageLoader_1209515524e.java)
        at 
org.apache.tapestry5.internal.services.PagePoolCache.checkout(PagePoolCache.java:210)
        at 
org.apache.tapestry5.internal.services.PagePoolImpl.checkout(PagePoolImpl.java:99)
        at $PagePool_1209515524d.checkout($PagePool_1209515524d.java)
        at 
org.apache.tapestry5.internal.services.RequestPageCacheImpl.get(RequestPageCacheImpl.java:51)
        at $RequestPageCache_1209515524c.get($RequestPageCache_1209515524c.java)
        at $RequestPageCache_12095155245.get($RequestPageCache_12095155245.java)
        at 
org.apache.tapestry5.internal.services.DefaultRequestExceptionHandler.handleRequestException(DefaultRequestExceptionHandler.java:69)
        at 
$RequestExceptionHandler_12095155239.handleRequestException($RequestExceptionHandler_12095155239.java)
        at 
org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:42)
        at $RequestHandler_1209515523b.service($RequestHandler_1209515523b.java)
        at 
org.apache.tapestry5.services.TapestryModule$4.service(TapestryModule.java:782)
        at $RequestHandler_1209515523b.service($RequestHandler_1209515523b.java)
        at 
org.apache.tapestry5.services.TapestryModule$3.service(TapestryModule.java:771)
        at $RequestHandler_1209515523b.service($RequestHandler_1209515523b.java)
        at 
org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:85)
        at $RequestHandler_1209515523b.service($RequestHandler_1209515523b.java)
        at com.keerthy.blis.services.AppModule$1.service(AppModule.java:83)
        at $RequestFilter_12095155236.service($RequestFilter_12095155236.java)
        at $RequestHandler_1209515523b.service($RequestHandler_1209515523b.java)
        at 
org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:90)
        at 
org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:81)
        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_1209515523b.service($RequestHandler_1209515523b.java)
        at $RequestHandler_12095155230.service($RequestHandler_12095155230.java)
        at 
org.apache.tapestry5.services.TapestryModule$HttpServletRequestHandlerTerminator.service(TapestryModule.java:202)
        at 
org.apache.tapestry5.internal.gzip.GZipFilter.service(GZipFilter.java:53)
        at 
$HttpServletRequestHandler_12095155232.service($HttpServletRequestHandler_12095155232.java)
        at 
org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)
        at 
$HttpServletRequestFilter_1209515522f.service($HttpServletRequestFilter_1209515522f.java)
        at 
$HttpServletRequestHandler_12095155232.service($HttpServletRequestHandler_12095155232.java)
        at 
org.apache.tapestry5.services.TapestryModule$2.service(TapestryModule.java:730)
        at 
$HttpServletRequestHandler_12095155232.service($HttpServletRequestHandler_12095155232.java)
        at 
$HttpServletRequestHandler_1209515522d.service($HttpServletRequestHandler_1209515522d.java)
        at org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:127)
        at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at 
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
        at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
        at 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
        at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
        at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
        at 
com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:54)
        at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
        at 
com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:306)
        at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
        at org.mortbay.jetty.Server.handle(Server.java:313)
        at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
        at 
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:830)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
        at 
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
        at 
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
Caused by: org.apache.tapestry5.ioc.internal.OperationException: Error invoking 
constructor org.apache.tapestry5.internal.services.TemplateParserImpl(Map, 
boolean) (at TemplateParserImpl.java:50) via 
org.apache.tapestry5.internal.services.InternalModule.bind(ServiceBinder) (at 
InternalModule.java:65) (for service 'TemplateParser'): 
org/codehaus/stax2/XMLInputFactory2
        at 
org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:90)
        at 
org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68)
        at 
org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:941)
        at 
org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator.createObject(OperationTrackingObjectCreator.java:49)
        at 
org.apache.tapestry5.ioc.internal.SingletonServiceLifecycle.createService(SingletonServiceLifecycle.java:29)
        at 
org.apache.tapestry5.ioc.internal.LifecycleWrappedServiceCreator.createObject(LifecycleWrappedServiceCreator.java:46)
        at 
org.apache.tapestry5.ioc.internal.AdvisorStackBuilder.createObject(AdvisorStackBuilder.java:60)
        at 
org.apache.tapestry5.ioc.internal.InterceptorStackBuilder.createObject(InterceptorStackBuilder.java:52)
        at 
org.apache.tapestry5.ioc.internal.RecursiveServiceCreationCheckWrapper.createObject(RecursiveServiceCreationCheckWrapper.java:60)
        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.internal.RegistryImpl.invoke(RegistryImpl.java:941)
        at 
org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator.createObject(OperationTrackingObjectCreator.java:49)
        at 
org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.obtainObjectFromCreator(JustInTimeObjectCreator.java:68)
        ... 65 more
Caused by: java.lang.RuntimeException: Error invoking constructor 
org.apache.tapestry5.internal.services.TemplateParserImpl(Map, boolean) (at 
TemplateParserImpl.java:50) via 
org.apache.tapestry5.internal.services.InternalModule.bind(ServiceBinder) (at 
InternalModule.java:65) (for service 'TemplateParser'): 
org/codehaus/stax2/XMLInputFactory2
        at 
org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.createObject(ConstructorServiceCreator.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)
        ... 79 more
Caused by: java.lang.NoClassDefFoundError: org/codehaus/stax2/XMLInputFactory2
        at 
org.apache.tapestry5.internal.services.TemplateParserImpl.(TemplateParserImpl.java:44)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at 
org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.createObject(ConstructorServiceCreator.java:62)
        ... 81 more
Caused by:

org.apache.tapestry5.ioc.internal.OperationException: Error invoking 
constructor org.apache.tapestry5.internal.services.TemplateParserImpl(Map, 
boolean) (at TemplateParserImpl.java:50) via 
org.apache.tapestry5.internal.services.InternalModule.bind(ServiceBinder) (at 
InternalModule.java:65) (for service 'TemplateParser'): 
org/codehaus/stax2/XMLInputFactory2
        at 
org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:90)
        at 
org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68)
        at 
org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:941)
        at 
org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator.createObject(OperationTrackingObjectCreator.java:49)
        at 
org.apache.tapestry5.ioc.internal.SingletonServiceLifecycle.createService(SingletonServiceLifecycle.java:29)
        at 
org.apache.tapestry5.ioc.internal.LifecycleWrappedServiceCreator.createObject(LifecycleWrappedServiceCreator.java:46)
        at 
org.apache.tapestry5.ioc.internal.AdvisorStackBuilder.createObject(AdvisorStackBuilder.java:60)
        at 
org.apache.tapestry5.ioc.internal.InterceptorStackBuilder.createObject(InterceptorStackBuilder.java:52)
        at 
org.apache.tapestry5.ioc.internal.RecursiveServiceCreationCheckWrapper.createObject(RecursiveServiceCreationCheckWrapper.java:60)
        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.internal.RegistryImpl.invoke(RegistryImpl.java:941)
        at 
org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator.createObject(OperationTrackingObjectCreator.java:49)
        at 
org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.obtainObjectFromCreator(JustInTimeObjectCreator.java:68)
        at 
org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createObject(JustInTimeObjectCreator.java:57)
        at 
$TemplateParser_1209515525b.delegate($TemplateParser_1209515525b.java)
        at 
$TemplateParser_1209515525b.parseTemplate($TemplateParser_1209515525b.java)
        at 
org.apache.tapestry5.internal.services.ComponentTemplateSourceImpl.parseTemplate(ComponentTemplateSourceImpl.java:151)
        at 
org.apache.tapestry5.internal.services.ComponentTemplateSourceImpl.getTemplate(ComponentTemplateSourceImpl.java:135)
        at 
$ComponentTemplateSource_1209515525a.getTemplate($ComponentTemplateSource_1209515525a.java)
        at 
org.apache.tapestry5.internal.pageload.PageLoaderImpl.createAssembler(PageLoaderImpl.java:197)
        at 
org.apache.tapestry5.internal.pageload.PageLoaderImpl.getAssembler(PageLoaderImpl.java:183)
        at 
org.apache.tapestry5.internal.pageload.PageLoaderImpl.loadPage(PageLoaderImpl.java:157)
        at $PageLoader_1209515524e.loadPage($PageLoader_1209515524e.java)
        at 
org.apache.tapestry5.internal.services.PagePoolCache.checkout(PagePoolCache.java:210)
        at 
org.apache.tapestry5.internal.services.PagePoolImpl.checkout(PagePoolImpl.java:99)
        at $PagePool_1209515524d.checkout($PagePool_1209515524d.java)
        at 
org.apache.tapestry5.internal.services.RequestPageCacheImpl.get(RequestPageCacheImpl.java:51)
        at $RequestPageCache_1209515524c.get($RequestPageCache_1209515524c.java)
        at $RequestPageCache_12095155245.get($RequestPageCache_12095155245.java)
        at 
org.apache.tapestry5.internal.services.DefaultRequestExceptionHandler.handleRequestException(DefaultRequestExceptionHandler.java:69)
        at 
$RequestExceptionHandler_12095155239.handleRequestException($RequestExceptionHandler_12095155239.java)
        at 
org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:42)
        at $RequestHandler_1209515523b.service($RequestHandler_1209515523b.java)
        at 
org.apache.tapestry5.services.TapestryModule$4.service(TapestryModule.java:782)
        at $RequestHandler_1209515523b.service($RequestHandler_1209515523b.java)
        at 
org.apache.tapestry5.services.TapestryModule$3.service(TapestryModule.java:771)
        at $RequestHandler_1209515523b.service($RequestHandler_1209515523b.java)
        at 
org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:85)
        at $RequestHandler_1209515523b.service($RequestHandler_1209515523b.java)
        at com.keerthy.blis.services.AppModule$1.service(AppModule.java:83)
        at $RequestFilter_12095155236.service($RequestFilter_12095155236.java)
        at $RequestHandler_1209515523b.service($RequestHandler_1209515523b.java)
        at 
org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:90)
        at 
org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:81)
        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_1209515523b.service($RequestHandler_1209515523b.java)
        at $RequestHandler_12095155230.service($RequestHandler_12095155230.java)
        at 
org.apache.tapestry5.services.TapestryModule$HttpServletRequestHandlerTerminator.service(TapestryModule.java:202)
        at 
org.apache.tapestry5.internal.gzip.GZipFilter.service(GZipFilter.java:53)
        at 
$HttpServletRequestHandler_12095155232.service($HttpServletRequestHandler_12095155232.java)
        at 
org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)
        at 
$HttpServletRequestFilter_1209515522f.service($HttpServletRequestFilter_1209515522f.java)
        at 
$HttpServletRequestHandler_12095155232.service($HttpServletRequestHandler_12095155232.java)
        at 
org.apache.tapestry5.services.TapestryModule$2.service(TapestryModule.java:730)
        at 
$HttpServletRequestHandler_12095155232.service($HttpServletRequestHandler_12095155232.java)
        at 
$HttpServletRequestHandler_1209515522d.service($HttpServletRequestHandler_1209515522d.java)
        at org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:127)
        at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at 
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
        at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
        at 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
        at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
        at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
        at 
com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:54)
        at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
        at 
com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:306)
        at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
        at org.mortbay.jetty.Server.handle(Server.java:313)
        at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
        at 
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:830)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
        at 
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
        at 
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
Caused by: java.lang.RuntimeException: Error invoking constructor 
org.apache.tapestry5.internal.services.TemplateParserImpl(Map, boolean) (at 
TemplateParserImpl.java:50) via 
org.apache.tapestry5.internal.services.InternalModule.bind(ServiceBinder) (at 
InternalModule.java:65) (for service 'TemplateParser'): 
org/codehaus/stax2/XMLInputFactory2
        at 
org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.createObject(ConstructorServiceCreator.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)
        ... 79 more
Caused by: java.lang.NoClassDefFoundError: org/codehaus/stax2/XMLInputFactory2
        at 
org.apache.tapestry5.internal.services.TemplateParserImpl.(TemplateParserImpl.java:44)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at 
org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.createObject(ConstructorServiceCreator.java:62)
        ... 81 more
Caused by:

java.lang.RuntimeException: Error invoking constructor 
org.apache.tapestry5.internal.services.TemplateParserImpl(Map, boolean) (at 
TemplateParserImpl.java:50) via 
org.apache.tapestry5.internal.services.InternalModule.bind(ServiceBinder) (at 
InternalModule.java:65) (for service 'TemplateParser'): 
org/codehaus/stax2/XMLInputFactory2
        at 
org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.createObject(ConstructorServiceCreator.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.internal.RegistryImpl.invoke(RegistryImpl.java:941)
        at 
org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator.createObject(OperationTrackingObjectCreator.java:49)
        at 
org.apache.tapestry5.ioc.internal.SingletonServiceLifecycle.createService(SingletonServiceLifecycle.java:29)
        at 
org.apache.tapestry5.ioc.internal.LifecycleWrappedServiceCreator.createObject(LifecycleWrappedServiceCreator.java:46)
        at 
org.apache.tapestry5.ioc.internal.AdvisorStackBuilder.createObject(AdvisorStackBuilder.java:60)
        at 
org.apache.tapestry5.ioc.internal.InterceptorStackBuilder.createObject(InterceptorStackBuilder.java:52)
        at 
org.apache.tapestry5.ioc.internal.RecursiveServiceCreationCheckWrapper.createObject(RecursiveServiceCreationCheckWrapper.java:60)
        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.internal.RegistryImpl.invoke(RegistryImpl.java:941)
        at 
org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator.createObject(OperationTrackingObjectCreator.java:49)
        at 
org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.obtainObjectFromCreator(JustInTimeObjectCreator.java:68)
        at 
org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createObject(JustInTimeObjectCreator.java:57)
        at 
$TemplateParser_1209515525b.delegate($TemplateParser_1209515525b.java)
        at 
$TemplateParser_1209515525b.parseTemplate($TemplateParser_1209515525b.java)
        at 
org.apache.tapestry5.internal.services.ComponentTemplateSourceImpl.parseTemplate(ComponentTemplateSourceImpl.java:151)
        at 
org.apache.tapestry5.internal.services.ComponentTemplateSourceImpl.getTemplate(ComponentTemplateSourceImpl.java:135)
        at 
$ComponentTemplateSource_1209515525a.getTemplate($ComponentTemplateSource_1209515525a.java)
        at 
org.apache.tapestry5.internal.pageload.PageLoaderImpl.createAssembler(PageLoaderImpl.java:197)
        at 
org.apache.tapestry5.internal.pageload.PageLoaderImpl.getAssembler(PageLoaderImpl.java:183)
        at 
org.apache.tapestry5.internal.pageload.PageLoaderImpl.loadPage(PageLoaderImpl.java:157)
        at $PageLoader_1209515524e.loadPage($PageLoader_1209515524e.java)
        at 
org.apache.tapestry5.internal.services.PagePoolCache.checkout(PagePoolCache.java:210)
        at 
org.apache.tapestry5.internal.services.PagePoolImpl.checkout(PagePoolImpl.java:99)
        at $PagePool_1209515524d.checkout($PagePool_1209515524d.java)
        at 
org.apache.tapestry5.internal.services.RequestPageCacheImpl.get(RequestPageCacheImpl.java:51)
        at $RequestPageCache_1209515524c.get($RequestPageCache_1209515524c.java)
        at $RequestPageCache_12095155245.get($RequestPageCache_12095155245.java)
        at 
org.apache.tapestry5.internal.services.DefaultRequestExceptionHandler.handleRequestException(DefaultRequestExceptionHandler.java:69)
        at 
$RequestExceptionHandler_12095155239.handleRequestException($RequestExceptionHandler_12095155239.java)
        at 
org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:42)
        at $RequestHandler_1209515523b.service($RequestHandler_1209515523b.java)
        at 
org.apache.tapestry5.services.TapestryModule$4.service(TapestryModule.java:782)
        at $RequestHandler_1209515523b.service($RequestHandler_1209515523b.java)
        at 
org.apache.tapestry5.services.TapestryModule$3.service(TapestryModule.java:771)
        at $RequestHandler_1209515523b.service($RequestHandler_1209515523b.java)
        at 
org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:85)
        at $RequestHandler_1209515523b.service($RequestHandler_1209515523b.java)
        at com.keerthy.blis.services.AppModule$1.service(AppModule.java:83)
        at $RequestFilter_12095155236.service($RequestFilter_12095155236.java)
        at $RequestHandler_1209515523b.service($RequestHandler_1209515523b.java)
        at 
org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:90)
        at 
org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:81)
        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_1209515523b.service($RequestHandler_1209515523b.java)
        at $RequestHandler_12095155230.service($RequestHandler_12095155230.java)
        at 
org.apache.tapestry5.services.TapestryModule$HttpServletRequestHandlerTerminator.service(TapestryModule.java:202)
        at 
org.apache.tapestry5.internal.gzip.GZipFilter.service(GZipFilter.java:53)
        at 
$HttpServletRequestHandler_12095155232.service($HttpServletRequestHandler_12095155232.java)
        at 
org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)
        at 
$HttpServletRequestFilter_1209515522f.service($HttpServletRequestFilter_1209515522f.java)
        at 
$HttpServletRequestHandler_12095155232.service($HttpServletRequestHandler_12095155232.java)
        at 
org.apache.tapestry5.services.TapestryModule$2.service(TapestryModule.java:730)
        at 
$HttpServletRequestHandler_12095155232.service($HttpServletRequestHandler_12095155232.java)
        at 
$HttpServletRequestHandler_1209515522d.service($HttpServletRequestHandler_1209515522d.java)
        at org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:127)
        at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at 
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
        at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
        at 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
        at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
        at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
        at 
com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:54)
        at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
        at 
com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:306)
        at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
        at org.mortbay.jetty.Server.handle(Server.java:313)
        at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
        at 
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:830)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
        at 
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
        at 
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
Caused by: java.lang.NoClassDefFoundError: org/codehaus/stax2/XMLInputFactory2
        at 
org.apache.tapestry5.internal.services.TemplateParserImpl.(TemplateParserImpl.java:44)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at 
org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.createObject(ConstructorServiceCreator.java:62)
        ... 81 more
Caused by:

java.lang.NoClassDefFoundError: org/codehaus/stax2/XMLInputFactory2
        at 
org.apache.tapestry5.internal.services.TemplateParserImpl.(TemplateParserImpl.java:44)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at 
org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.createObject(ConstructorServiceCreator.java:62)
        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.internal.RegistryImpl.invoke(RegistryImpl.java:941)
        at 
org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator.createObject(OperationTrackingObjectCreator.java:49)
        at 
org.apache.tapestry5.ioc.internal.SingletonServiceLifecycle.createService(SingletonServiceLifecycle.java:29)
        at 
org.apache.tapestry5.ioc.internal.LifecycleWrappedServiceCreator.createObject(LifecycleWrappedServiceCreator.java:46)
        at 
org.apache.tapestry5.ioc.internal.AdvisorStackBuilder.createObject(AdvisorStackBuilder.java:60)
        at 
org.apache.tapestry5.ioc.internal.InterceptorStackBuilder.createObject(InterceptorStackBuilder.java:52)
        at 
org.apache.tapestry5.ioc.internal.RecursiveServiceCreationCheckWrapper.createObject(RecursiveServiceCreationCheckWrapper.java:60)
        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.internal.RegistryImpl.invoke(RegistryImpl.java:941)
        at 
org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator.createObject(OperationTrackingObjectCreator.java:49)
        at 
org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.obtainObjectFromCreator(JustInTimeObjectCreator.java:68)
        at 
org.apache.tapestry5.ioc.internal.services.JustInTimeObjectCreator.createObject(JustInTimeObjectCreator.java:57)
        at 
$TemplateParser_1209515525b.delegate($TemplateParser_1209515525b.java)
        at 
$TemplateParser_1209515525b.parseTemplate($TemplateParser_1209515525b.java)
        at 
org.apache.tapestry5.internal.services.ComponentTemplateSourceImpl.parseTemplate(ComponentTemplateSourceImpl.java:151)
        at 
org.apache.tapestry5.internal.services.ComponentTemplateSourceImpl.getTemplate(ComponentTemplateSourceImpl.java:135)
        at 
$ComponentTemplateSource_1209515525a.getTemplate($ComponentTemplateSource_1209515525a.java)
        at 
org.apache.tapestry5.internal.pageload.PageLoaderImpl.createAssembler(PageLoaderImpl.java:197)
        at 
org.apache.tapestry5.internal.pageload.PageLoaderImpl.getAssembler(PageLoaderImpl.java:183)
        at 
org.apache.tapestry5.internal.pageload.PageLoaderImpl.loadPage(PageLoaderImpl.java:157)
        at $PageLoader_1209515524e.loadPage($PageLoader_1209515524e.java)
        at 
org.apache.tapestry5.internal.services.PagePoolCache.checkout(PagePoolCache.java:210)
        at 
org.apache.tapestry5.internal.services.PagePoolImpl.checkout(PagePoolImpl.java:99)
        at $PagePool_1209515524d.checkout($PagePool_1209515524d.java)
        at 
org.apache.tapestry5.internal.services.RequestPageCacheImpl.get(RequestPageCacheImpl.java:51)
        at $RequestPageCache_1209515524c.get($RequestPageCache_1209515524c.java)
        at $RequestPageCache_12095155245.get($RequestPageCache_12095155245.java)
        at 
org.apache.tapestry5.internal.services.DefaultRequestExceptionHandler.handleRequestException(DefaultRequestExceptionHandler.java:69)
        at 
$RequestExceptionHandler_12095155239.handleRequestException($RequestExceptionHandler_12095155239.java)
        at 
org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:42)
        at $RequestHandler_1209515523b.service($RequestHandler_1209515523b.java)
        at 
org.apache.tapestry5.services.TapestryModule$4.service(TapestryModule.java:782)
        at $RequestHandler_1209515523b.service($RequestHandler_1209515523b.java)
        at 
org.apache.tapestry5.services.TapestryModule$3.service(TapestryModule.java:771)
        at $RequestHandler_1209515523b.service($RequestHandler_1209515523b.java)
        at 
org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:85)
        at $RequestHandler_1209515523b.service($RequestHandler_1209515523b.java)
        at com.keerthy.blis.services.AppModule$1.service(AppModule.java:83)
        at $RequestFilter_12095155236.service($RequestFilter_12095155236.java)
        at $RequestHandler_1209515523b.service($RequestHandler_1209515523b.java)
        at 
org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:90)
        at 
org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:81)
        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_1209515523b.service($RequestHandler_1209515523b.java)
        at $RequestHandler_12095155230.service($RequestHandler_12095155230.java)
        at 
org.apache.tapestry5.services.TapestryModule$HttpServletRequestHandlerTerminator.service(TapestryModule.java:202)
        at 
org.apache.tapestry5.internal.gzip.GZipFilter.service(GZipFilter.java:53)
        at 
$HttpServletRequestHandler_12095155232.service($HttpServletRequestHandler_12095155232.java)
        at 
org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)
        at 
$HttpServletRequestFilter_1209515522f.service($HttpServletRequestFilter_1209515522f.java)
        at 
$HttpServletRequestHandler_12095155232.service($HttpServletRequestHandler_12095155232.java)
        at 
org.apache.tapestry5.services.TapestryModule$2.service(TapestryModule.java:730)
        at 
$HttpServletRequestHandler_12095155232.service($HttpServletRequestHandler_12095155232.java)
        at 
$HttpServletRequestHandler_1209515522d.service($HttpServletRequestHandler_1209515522d.java)
        at org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:127)
        at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at 
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
        at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
        at 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
        at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
        at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
        at 
com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:54)
        at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
        at 
com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:306)
        at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
        at org.mortbay.jetty.Server.handle(Server.java:313)
        at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
        at 
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:830)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
        at 
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
        at 
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
Powered by Jetty://




















---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
  • tapestry5 on google appe... Jun Tsai
    • Re: tapestry5 on go... Jun Tsai
      • Re: tapestry5 o... ஸ்ரீராம் கீர்த்தி
        • Re: tapestr... Robert Zeigler
          • Re: tap... ஸ்ரீராம் கீர்த்தி
            • Re... ஸ்ரீராம் கீர்த்தி
              • ... Robert Zeigler
                • ... ஸ்ரீராம் கீர்த்தி
                • ... ஸ்ரீராம் கீர்த்தி
                • ... Otho
                • ... ஸ்ரீராம் கீர்த்தி
                • ... Jun Tsai
                • ... oliverlee000

Reply via email to