I agree with Igor that this shouldn't be in the core but I can totally see
a need for a support library like tapestry-jboss. I don't use jboss myself.
If somebody verifies and/or makes the patch to work on Jboss 5/6/7, I'm
willing to create a library around it, release it and host the source on
Tynamo.org.

Kalle


On Fri, Aug 2, 2013 at 8:19 AM, rukmini n <rukmini...@gmail.com> wrote:

> Hi Geoff,
>
> http://wiki.apache.org/tapestry/HowToRunTapestry5OnJBoss7Dot1
>
> I did follow instructions from above, which is adding
> ClasspathUrlConverterJboss6 and adding contributeServiceOverride method.
> But it doesnot seem to be working.
>
> Bards,
> You are right. I went through the Jira. It looks like I have the same
> issue.
>
> The class loaders of JBoss 5.x use URLs like
>
> {noformat}
>
> vfszip:/M:/jboss/
>
> jboss-5.0.1.GA/server/default/deploy/tapestry-test.war/WEB-INF/lib/tapestry-core-5.0.18.jar/org/apache/tapestry5/corelib/pages/
>
>
> {noformat}
>
> to point at class path resources. Tapestry is currently not capable of
> parsing these and as a result fails to find its own core components.
>
> I get the exception, saying not to resolve its class components. Also as I
> said earlier, i have tried adding ClasspathUrlConverterJBoss6 for JBoss6.
> Even that doesnot seem to be working. :(
>
> Thanks,
> Rukmini
>
> On Fri, Aug 2, 2013 at 12:18 AM, Bård Magnus Kvalheim <mag...@kvalheim.eu
> >wrote:
>
> > Hi.
> > I know it's JBoss's fault and all that, but shouldn't 'we' support jboss
> > out of the box anyways? Either in core(preferred) or as a module?
> >
> > Might be wrong, but it just seems like such a small thing to add.
> > Community/
> > Benjamin/Geoff already did all the work.
> > Think it's a bad experience having to override IOC services as one of the
> > first steps learning tapestry - if they even get that far.
> >
> > There might be other jiras, but think they should be reopened.
> > https://issues.apache.org/jira/browse/TAP5-576
> >
> > thoughts?
> >
> >
> > On Fri, Aug 2, 2013 at 7:49 AM, Geoff Callender <
> > geoff.callender.jumpst...@gmail.com> wrote:
> >
> > > Thiago did respond, with an essential link to the wiki. Please follow
> the
> > > link and tell us the result.
> > >
> > > Cheers,
> > >
> > > Geoff
> > >
> > >
> > >
> > >
> > > On 2 August 2013 08:39, rukmini n <rukmini...@gmail.com> wrote:
> > >
> > > > HI Thiago,
> > > >
> > > > Could you please respond. I'm really blocked because of this issue.
> > > >
> > > > Thanks,
> > > > Rukmini
> > > >
> > > > <https://plus.google.com/u/0/103689518864398263449?prsrc=4>
> > > > On Thu, Aug 1, 2013 at 10:43 AM, rukmini n <rukmini...@gmail.com>
> > wrote:
> > > >
> > > > >
> > > > > HI, Thank you for your response.
> > > > >
> > > > >
> > > > > Here is the full stack trace. Outputraw is class in the tapestry
> core
> > > > > library. i'm wondering why its not able to recognize this. The same
> > > code
> > > > > works fine in jboss 4.
> > > > >
> > > > > 2013-07-31 16:47:41,367 [2880#1/http://www.srwd00.com/]
> > priority=ERROR
> > > > > app_name=stubhubapps thread=ajp-127.0.0.13-8009-1
> > > > > location=PageRenderRequestHandler line=56 Exception:
> > > > > org.apache.tapestry5.ioc.internal.OperationException: Unable to
> > resolve
> > > > > 'outputraw' to a component class name. [at context:HomePage.tml,
> line
> > > 6]
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:102)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:69)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1063)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.internal.pageload.PageLoaderImpl.createAssembler(PageLoaderImpl.java:218)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.internal.pageload.PageLoaderImpl.getAssembler(PageLoaderImpl.java:208)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.internal.pageload.PageLoaderImpl$3.invoke(PageLoaderImpl.java:180)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.internal.pageload.PageLoaderImpl$3.invoke(PageLoaderImpl.java:175)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:65)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1063)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.internal.pageload.PageLoaderImpl.loadPage(PageLoaderImpl.java:173)
> > > > >     at
> $PageLoader_1403720b2b7.loadPage($PageLoader_1403720b2b7.java)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.internal.services.PageSourceImpl.getPage(PageSourceImpl.java:81)
> > > > >     at
> $PageSource_1403720b2b6.getPage($PageSource_1403720b2b6.java)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.internal.services.NonPoolingRequestPageCacheImpl.get(NonPoolingRequestPageCacheImpl.java:74)
> > > > >     at
> > > > >
> $RequestPageCache_1403720b2b5.get($RequestPageCache_1403720b2b5.java)
> > > > >     at
> > > > >
> $RequestPageCache_1403720b28e.get($RequestPageCache_1403720b28e.java)
> > > > >     at
> > > > >
> > > >
> > >
> >
> com.stubhub.ui.services.impl.ClientCacheHandler.handle(ClientCacheHandler.java:46)
> > > > >     at
> > > > >
> > > >
> > >
> >
> $PageRenderRequestHandler_1403720b293.handle($PageRenderRequestHandler_1403720b293.java)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.services.TapestryModule$36.handle(TapestryModule.java:2326)
> > > > >     at
> > > > >
> > > >
> > >
> >
> $PageRenderRequestHandler_1403720b293.handle($PageRenderRequestHandler_1403720b293.java)
> > > > >     at
> > > > >
> > > >
> > >
> >
> $PageRenderRequestHandler_1403720b28c.handle($PageRenderRequestHandler_1403720b28c.java)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.internal.services.ComponentRequestHandlerTerminator.handlePageRender(ComponentRequestHandlerTerminator.java:48)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.services.InitializeActivePageName.handlePageRender(InitializeActivePageName.java:47)
> > > > >     at
> > > > >
> > > >
> > >
> >
> $ComponentRequestHandler_1403720b28d.handlePageRender($ComponentRequestHandler_1403720b28d.java)
> > > > >     at
> > > > >
> > > >
> > >
> >
> $ComponentRequestHandler_1403720b272.handlePageRender($ComponentRequestHandler_1403720b272.java)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.internal.services.PageRenderDispatcher.dispatch(PageRenderDispatcher.java:45)
> > > > >     at
> $Dispatcher_1403720b274.dispatch($Dispatcher_1403720b274.java)
> > > > >     at
> $Dispatcher_1403720b26e.dispatch($Dispatcher_1403720b26e.java)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.services.TapestryModule$RequestHandlerTerminator.service(TapestryModule.java:321)
> > > > >     at
> > > > >
> > com.stubhub.ui.services.StubHubModule$3.service(StubHubModule.java:194)
> > > > >     at
> > > > >
> $RequestHandler_1403720b26f.service($RequestHandler_1403720b26f.java)
> > > > >     at
> > > > >
> > com.stubhub.ui.services.StubHubModule$2.service(StubHubModule.java:167)
> > > > >     at
> > > > >
> $RequestHandler_1403720b26f.service($RequestHandler_1403720b26f.java)
> > > > >     at
> > > > >
> > com.stubhub.ui.services.StubHubModule$1.service(StubHubModule.java:134)
> > > > >     at
> > > > $RequestFilter_1403720b26c.service($RequestFilter_1403720b26c.java)
> > > > >     at
> > > > >
> $RequestHandler_1403720b26f.service($RequestHandler_1403720b26f.java)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:26)
> > > > >     at
> > > > >
> $RequestHandler_1403720b26f.service($RequestHandler_1403720b26f.java)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.services.TapestryModule$4.service(TapestryModule.java:984)
> > > > >     at
> > > > >
> $RequestHandler_1403720b26f.service($RequestHandler_1403720b26f.java)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.services.TapestryModule$3.service(TapestryModule.java:974)
> > > > >     at
> > > > >
> $RequestHandler_1403720b26f.service($RequestHandler_1403720b26f.java)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:90)
> > > > >     at
> > > > >
> $RequestHandler_1403720b26f.service($RequestHandler_1403720b26f.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_1403720b26f.service($RequestHandler_1403720b26f.java)
> > > > >     at
> > > > >
> $RequestHandler_1403720b263.service($RequestHandler_1403720b263.java)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.services.TapestryModule$HttpServletRequestHandlerTerminator.service(TapestryModule.java:272)
> > > > >     at
> > > > >
> > >
> org.apache.tapestry5.internal.gzip.GZipFilter.service(GZipFilter.java:53)
> > > > >     at
> > > > >
> > > >
> > >
> >
> $HttpServletRequestHandler_1403720b265.service($HttpServletRequestHandler_1403720b265.java)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)
> > > > >     at
> > > > >
> > > >
> > >
> >
> $HttpServletRequestFilter_1403720b262.service($HttpServletRequestFilter_1403720b262.java)
> > > > >     at
> > > > >
> > > >
> > >
> >
> $HttpServletRequestHandler_1403720b265.service($HttpServletRequestHandler_1403720b265.java)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.services.TapestryModule$2.service(TapestryModule.java:928)
> > > > >     at
> > > > >
> > > >
> > >
> >
> $HttpServletRequestHandler_1403720b265.service($HttpServletRequestHandler_1403720b265.java)
> > > > >     at
> > > > >
> > > >
> > >
> >
> $HttpServletRequestHandler_1403720b260.service($HttpServletRequestHandler_1403720b260.java)
> > > > >     at
> > > > >
> org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:147)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:734)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:541)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:479)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:407)
> > > > >     at
> > > > >
> > > >
> > >
> >
> com.stubhub.http.filter.BrowseRequestDispatchFilter.doFilter(BrowseRequestDispatchFilter.java:49)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
> > > > >     at
> > > > >
> > > >
> > >
> >
> com.stubhub.http.filter.ExcludedURLSupportFilter.doFilter(ExcludedURLSupportFilter.java:65)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
> > > > >     at
> > > > >
> > > >
> > >
> >
> com.stubhub.http.filter.ExcludedURLSupportFilter.doFilter(ExcludedURLSupportFilter.java:65)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
> > > > >     at
> > > > >
> > > >
> > >
> >
> com.stubhub.http.filter.ExcludedURLSupportFilter.doFilter(ExcludedURLSupportFilter.java:65)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
> > > > >     at
> > > > >
> > > >
> > >
> >
> com.stubhub.http.filter.ExcludedURLSupportFilter.doFilter(ExcludedURLSupportFilter.java:65)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
> > > > >     at
> > > > >
> > > >
> > >
> >
> com.stubhub.http.filter.ExcludedURLSupportFilter.doFilter(ExcludedURLSupportFilter.java:65)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
> > > > >     at
> > > > >
> > > >
> > >
> >
> com.stubhub.http.filter.ExcludedURLSupportFilter.doFilter(ExcludedURLSupportFilter.java:65)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
> > > > >     at
> > > > >
> > > >
> > >
> >
> com.stubhub.common.http.UserCookieFilter.doFilter(UserCookieFilter.java:341)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
> > > > >     at
> > > > >
> > > >
> > >
> >
> com.stubhub.common.http.InternationalFilter.doFilterInternal(InternationalFilter.java:37)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
> > > > >     at
> > > > >
> > > >
> > >
> >
> com.stubhub.http.filter.ErrorHandleFilter.doFilter(ErrorHandleFilter.java:41)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
> > > > >     at
> > > > >
> > > >
> > >
> >
> com.stubhub.common.http.DyeHttpFilter.doFilterInternal(DyeHttpFilter.java:23)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:159)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
> > > > >     at
> > > org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:504)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:437)
> > > > >     at
> > > > >
> > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
> > > > >     at java.lang.Thread.run(Thread.java:662)
> > > > > Caused by:
> org.apache.tapestry5.ioc.internal.util.TapestryException:
> > > > > Unable to resolve 'outputraw' to a component class name. [at
> > > > > context:HomePage.tml, line 6]
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.internal.pageload.PageLoaderImpl.startComponent(PageLoaderImpl.java:743)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.internal.pageload.PageLoaderImpl.component(PageLoaderImpl.java:627)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.internal.pageload.PageLoaderImpl.processTemplateToken(PageLoaderImpl.java:426)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.internal.pageload.PageLoaderImpl.element(PageLoaderImpl.java:687)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.internal.pageload.PageLoaderImpl.processTemplateToken(PageLoaderImpl.java:421)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.internal.pageload.PageLoaderImpl.programAssembler(PageLoaderImpl.java:264)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.internal.pageload.PageLoaderImpl.access$900(PageLoaderImpl.java:65)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.internal.pageload.PageLoaderImpl$4.invoke(PageLoaderImpl.java:236)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.internal.pageload.PageLoaderImpl$4.invoke(PageLoaderImpl.java:220)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:65)
> > > > >     ... 128 more
> > > > >
> > > > > Caused by: org.apache.tapestry5.ioc.util.UnknownValueException:
> > Unable
> > > to
> > > > > resolve 'outputraw' to a component class name.
> > > > >      at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.internal.services.ComponentClassResolverImpl$6.invoke(ComponentClassResolverImpl.java:479)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.internal.services.ComponentClassResolverImpl$6.invoke(ComponentClassResolverImpl.java:474)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.ioc.internal.util.ConcurrentBarrier.withRead(ConcurrentBarrier.java:85)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.internal.services.ComponentClassResolverImpl.resolveComponentTypeToClassName(ComponentClassResolverImpl.java:472)
> > > > >     at
> > > > >
> > > >
> > >
> >
> $ComponentClassResolver_1403720b257.resolveComponentTypeToClassName($ComponentClassResolver_1403720b257.java)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry5.internal.pageload.PageLoaderImpl.startComponent(PageLoaderImpl.java:739)
> > > > >     ... 137 more
> > > > >
> > > > >
> > > > >
> > > > > And even if I use this  <t:OutputRaw  value="spiderfood"/>
> > > > > i get the same exception shown above. Also I have added
> > > > > ClasspathURLConverterJBoss6, ClasspathURLConverterJBoss6 for jboss
> 6
> > > and
> > > > > i'm using the same in my AppModule class.
> > > > >
> > > > >
> > > > > Thanks,
> > > > > Rukmini
> > > > >
> > > > >
> > > > > On Thu, Aug 1, 2013 at 10:03 AM, Thiago H de Paula Figueiredo <
> > > > > thiag...@gmail.com> wrote:
> > > > >
> > > > >> On Thu, 01 Aug 2013 13:50:48 -0300, rukmini n <
> rukmini...@gmail.com
> > >
> > > > >> wrote:
> > > > >>
> > > > >>   HI All,
> > > > >>>
> > > > >>
> > > > >> Hi!
> > > > >>
> > > > >>
> > > > >>  Currently in our organization we use Tapestry for UI and version
> is
> > > > >>> 5.0.15, jboss 4 .
> > > > >>>
> > > > >>
> > > > >> Quite old versions . . .
> > > > >>
> > > > >>
> > > > >>  So we upgraded tapestry version to 5.2.5 and still we see the
> > > problem.
> > > > >>> Main problem is .tml files components are not getting resolved.
> > > > >>>
> > > > >>
> > > > >> What you're describing is component classes not being resolved,
> not
> > > > >> templates not being resolved. A component doesn't need a template
> to
> > > be
> > > > >> valid and work. Templates are only read if the corresponding
> > component
> > > > >> class exists and not the other way around.
> > > > >>
> > > > >>  I'm getting "
> > > > >>> unable to resolve *outputraw to *component class name". And none
> of
> > > > >>>
> > > > >>> component classes which we created(for example sh.layout)  are
> > > working.
> > > > >>> Please help us finding solution to the problem.
> > > > >>>
> > > > >>> Exception stack trace:
> > > > >>> Caused by: org.apache.tapestry5.ioc.util.**UnknownValueException:
> > > > >>> Unable to
> > > > >>> resolve 'outputraw' to a component class name.
> > > > >>>
> > > > >>
> > > > >> This is weird. I'd check whether there are other exceptions (and
> > > posting
> > > > >> the whole stack trace is always recommended when searching for
> > help).
> > > > I'd
> > > > >> also check whether the tapestry-core JAR isn't truncated or
> > corrupted.
> > > > >> Could you post the full stack trace please?
> > > > >>
> > > > >> In addition, take a look at this:
> > > http://wiki.apache.org/**tapestry/**
> > > > >> HowToRunTapestry5OnJBoss7Dot1<
> > > > http://wiki.apache.org/tapestry/HowToRunTapestry5OnJBoss7Dot1>.
> > > > >> This does look like your problem and it provides a solution.
> > > > >>
> > > > >>
> > > > >>        <t:OutputRaw   value="${spiderfood}"/>
> > > > >>>
> > > > >>
> > > > >> Never, ever, ever use expansions when passing values to parameters
> > in
> > > > >> Tapestry. This is the correct way of doing it: <t:OutputRaw
> > > > >>  value="spiderfood"/>
> > > > >>
> > > > >> --
> > > > >> Thiago H. de Paula Figueiredo
> > > > >>
> > > > >>
> > > >
> > ------------------------------**------------------------------**---------
> > > > >> To unsubscribe, e-mail: users-unsubscribe@tapestry.**apache.org<
> > > > users-unsubscr...@tapestry.apache.org>
> > > > >> For additional commands, e-mail: users-h...@tapestry.apache.org
> > > > >>
> > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
>

Reply via email to