Re: Page components are not loaded in JBoss
Sorry for the delay in responding. Thanks for the pointer Geoff. I was able to get the jumpstart up and running. No issues with pages too. Need to find out the difference between my app setup and jumpstart. WIll post the findings. Thanks, Rakesh -- View this message in context: http://tapestry.1045711.n5.nabble.com/Page-components-are-not-loaded-in-JBoss-tp5720385p5720425.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Page components are not loaded in JBoss
Thanks Shing. IN case of jetty, even though that warning shows up, the app is running fine. Moreover tapestry initialization is able to find out the page components. As Geoff pointed out, i should probably find out the difference between my app setup and jumpstart. - Rakesh -- View this message in context: http://tapestry.1045711.n5.nabble.com/Page-components-are-not-loaded-in-JBoss-tp5720385p5720427.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Page components are not loaded in JBoss
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(MappedConfigurationClass, 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: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Page components are not loaded in JBoss
[WARN] TapestryFilter Application Module class com.rakesh.demotapestry.web.services.TapestryModule not found The above appears in both the Jetty and Jboss log. I would expect your app will not work in Jetty nor in Jboss. It looks as though the tapestry filter name in web.xml does not match your Tapetsry IOC module name. Please check the doc at http://tapestry.apache.org/configuration.html#Configuration-Changestoweb.xml Shing - Original Message - From: rakcheru rakch...@gmail.com To: Tapestry users users@tapestry.apache.org Cc: Sent: Saturday, March 9, 2013 6:07 PM Subject: Page components are not loaded in JBoss 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(MappedConfigurationClass, 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: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Page components are not loaded in JBoss
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(MappedConfigurationClass, 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: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org