Rakesh,
I don't have time to debug your problem but I can offer you a working project
and packaging/deployment instructions to compare to: JumpStart is developed
with Jetty and the demo is deployed on JBoss 7.1.1. Here is the demo:
http://jumpstart.doublenegative.com.au/jumpstart/
The step-by-step instructions are on the Tips page in Other servers > JBoss 7.1:
http://jumpstart.doublenegative.com.au/jumpstart6.7/tips.html
HTH,
Geoff
On 10/03/2013, at 5:07 AM, rakcheru wrote:
> Tapestry version : 5.3.6
> Jboss : 7.1.1
>
> Greetings,
>
> I had been struggling for most of the day trying to make tapestry run on
> jboss 7.1.1
>
> Issue:
> The page components are not at all working. Even the default page
> components are not loaded
> The same app is working fine in jetty
>
> Things i tried:
> Gone through the wiki articles about overriding ClasspathURLConverter but
> couldnt make it work. Issue : no matter what i do, the AppModule is not
> LOADED at all. Steps followed:
>
> 1. Added a new ClasspathURLConverter subclass in the project
> 2. Placed AppModule.java under <tapestry.app-package>.services package
> 3. AppModule.java holds a method
> public static void
> contributeServiceOverride(MappedConfiguration<Class, Object> configuration) {
> configuration.add(ClasspathURLConverter.class, new
> JBoss711ClasspathURLConverter());
> }
>
> Things observed:
> When compared the log data from jetty to that of jboss, seems like
> ComponentClassResolver is not invoked in jboss
> jetty:
> [INFO] ioc.RegistryBuilder Adding module definition for class
> org.apache.tapestry5.ioc.services.TapestryIOCModule
> [INFO] ioc.RegistryBuilder Adding module definition for class
> org.apache.tapestry5.json.services.JSONModule
> [INFO] ioc.RegistryBuilder Adding module definition for class
> org.apache.tapestry5.services.TapestryModule
> [INFO] ioc.RegistryBuilder Adding module definition for class
> org.apache.tapestry5.internal.services.InternalModule
> [INFO] ioc.RegistryBuilder Adding module definition for class
> org.apache.tapestry5.services.assets.AssetsModule
> [INFO] ioc.RegistryBuilder Adding module definition for class
> org.apache.tapestry5.services.pageload.PageLoadModule
> [WARN] TapestryFilter Application Module class
> com.rakesh.demotapestry.web.services.TapestryModule not found
> [DEBUG] TapestryModule.ComponentClassResolver Creating proxy for
> service ComponentClassResolver
> [DEBUG] TapestryModule.ComponentClassResolver Constructing service
> implementation via
> org.apache.tapestry5.services.TapestryModule.buildComponentClassResolver(ComponentClassResolverImpl,
> InvalidationEventHub) (at TapestryModule.java:1213)
>
>
> jboss:
> INFO ioc.RegistryBuilder] Adding module definition for class
> org.apache.tapestry5.ioc.services.TapestryIOCModule
> INFO ioc.RegistryBuilder] Adding module definition for class
> org.apache.tapestry5.json.services.JSONModule
> INFO ioc.RegistryBuilder] Adding module definition for class
> org.apache.tapestry5.services.TapestryModule
> INFO ioc.RegistryBuilder] Adding module definition for class
> org.apache.tapestry5.internal.services.InternalModule
> INFO ioc.RegistryBuilder] Adding module definition for class
> org.apache.tapestry5.services.assets.AssetsModule
> INFO ioc.RegistryBuilder] Adding module definition for class
> org.apache.tapestry5.services.pageload.PageLoadModule
> WARN TapestryFilter] Application Module class
> com.rakesh.demotapestry.web.services.TapestryModule not found
> INFO TapestryFilter] Startup status:
>
> Any help greatly appreciated.
>
> Thanks in advance,
> Rakesh
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]