Re: Problems with tapestry-spring while upgrading from 4.1.2-SNAPSHOT to 4.1.3-SNAPSHOT
I'm fine with dealing with it as is. I just think it's funny that I never had any GZip issues until I moved to using EhCache's GZipFilter. When I used my own, it worked great. Oh well, that's the nature of OS and trying to integrate so many things together. Matt Jessek wrote: > > Ah yes it is in fact doing some gzip filtering already. I think by > default Tapestry will only do this to tapestry framework related > resources but it's only a couple lines of hivemodule.xml configuration > to make it do it to "everything". > > (or perhaps I should allow for an option to disable it, or even > better would be ehcache looking at content-encoding and deciding to > not re-encode it again if already encoded but ehh) > > It should be fairly easy for me to make it a configurable option to > disable if you like either way. (though I think anyone trying to do > gzip / other kinds of things to web apps these days will probably > start to think about the possibility that it's already been done for > them more and more as this "out of the box" feature becomes more > popular) > > On 8/22/07, mraible <[EMAIL PROTECTED]> wrote: >> >> This appears to be caused by EhCache's GZipFilter (v 1.3.0). This is >> strange >> since the rest of my .js files work fine with this filter. >> >> Here's the response headers with the gzipFilter enabled: >> >> Expires: Thu, 21 Aug 2008 23:33:06 GMT >> Last-Modified: Wed, 22 Aug 2007 23:13:32 GMT >> Cache-Control: public, max-age=7776000 >> Content-Encoding: gzip >> Etag: W/"36171-1187824412000" >> Content-Length: 36204 >> Content-Type: application/x-javascript; charset=UTF-8 >> Server: Jetty(6.1.5) >> >> 200 OK >> >> And without: >> >> Expires: Thu, 21 Aug 2008 23:36:54 GMT >> Last-Modified: Wed, 22 Aug 2007 23:13:32 GMT >> Cache-Control: public, max-age=7776000 >> Content-Encoding: gzip >> Etag: W/"36171-1187824412000" >> Content-Length: 36171 >> Content-Type: application/x-javascript; charset=UTF-8 >> Server: Jetty(6.1.5) >> >> 200 OK >> >> Is Tapestry already doing some gzipping? It looks like the file is >> smaller >> w/o the EhCache filter enabled. >> >> Thanks, >> >> Matt >> >> >> mraible wrote: >> > >> > I tried backing down to 4.1.2 and my application at least comes up. I >> > noticed it's now including a dojo javascript file. However, if I >> navigate >> > to its path: >> > >> > http://localhost:9000/assets/static/dojo-0.4.3/dojo3.js >> > >> > It's all jumbled text with funky characters instead of JavaScript. Is >> this >> > as designed? >> > >> > Matt >> > >> > >> > � >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Problems-with-tapestry-spring-while-upgrading-from-4.1.2-SNAPSHOT-to-4.1.3-SNAPSHOT-tf4275060.html#a12285008 >> Sent from the Tapestry - User mailing list archive at Nabble.com. >> >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > Jesse Kuhnert > Tapestry/Dojo team member/developer > > Open source based consulting work centered around > dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com > > -- View this message in context: http://www.nabble.com/Problems-with-tapestry-spring-while-upgrading-from-4.1.2-SNAPSHOT-to-4.1.3-SNAPSHOT-tf4275060.html#a12741474 Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problems with tapestry-spring while upgrading from 4.1.2-SNAPSHOT to 4.1.3-SNAPSHOT
Ah yes it is in fact doing some gzip filtering already. I think by default Tapestry will only do this to tapestry framework related resources but it's only a couple lines of hivemodule.xml configuration to make it do it to "everything". (or perhaps I should allow for an option to disable it, or even better would be ehcache looking at content-encoding and deciding to not re-encode it again if already encoded but ehh) It should be fairly easy for me to make it a configurable option to disable if you like either way. (though I think anyone trying to do gzip / other kinds of things to web apps these days will probably start to think about the possibility that it's already been done for them more and more as this "out of the box" feature becomes more popular) On 8/22/07, mraible <[EMAIL PROTECTED]> wrote: > > This appears to be caused by EhCache's GZipFilter (v 1.3.0). This is strange > since the rest of my .js files work fine with this filter. > > Here's the response headers with the gzipFilter enabled: > > Expires: Thu, 21 Aug 2008 23:33:06 GMT > Last-Modified: Wed, 22 Aug 2007 23:13:32 GMT > Cache-Control: public, max-age=7776000 > Content-Encoding: gzip > Etag: W/"36171-1187824412000" > Content-Length: 36204 > Content-Type: application/x-javascript; charset=UTF-8 > Server: Jetty(6.1.5) > > 200 OK > > And without: > > Expires: Thu, 21 Aug 2008 23:36:54 GMT > Last-Modified: Wed, 22 Aug 2007 23:13:32 GMT > Cache-Control: public, max-age=7776000 > Content-Encoding: gzip > Etag: W/"36171-1187824412000" > Content-Length: 36171 > Content-Type: application/x-javascript; charset=UTF-8 > Server: Jetty(6.1.5) > > 200 OK > > Is Tapestry already doing some gzipping? It looks like the file is smaller > w/o the EhCache filter enabled. > > Thanks, > > Matt > > > mraible wrote: > > > > I tried backing down to 4.1.2 and my application at least comes up. I > > noticed it's now including a dojo javascript file. However, if I navigate > > to its path: > > > > http://localhost:9000/assets/static/dojo-0.4.3/dojo3.js > > > > It's all jumbled text with funky characters instead of JavaScript. Is this > > as designed? > > > > Matt > > > > > > � > > > > -- > View this message in context: > http://www.nabble.com/Problems-with-tapestry-spring-while-upgrading-from-4.1.2-SNAPSHOT-to-4.1.3-SNAPSHOT-tf4275060.html#a12285008 > Sent from the Tapestry - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
Re: Problems with tapestry-spring while upgrading from 4.1.2-SNAPSHOT to 4.1.3-SNAPSHOT
This appears to be caused by EhCache's GZipFilter (v 1.3.0). This is strange since the rest of my .js files work fine with this filter. Here's the response headers with the gzipFilter enabled: Expires: Thu, 21 Aug 2008 23:33:06 GMT Last-Modified: Wed, 22 Aug 2007 23:13:32 GMT Cache-Control: public, max-age=7776000 Content-Encoding: gzip Etag: W/"36171-1187824412000" Content-Length: 36204 Content-Type: application/x-javascript; charset=UTF-8 Server: Jetty(6.1.5) 200 OK And without: Expires: Thu, 21 Aug 2008 23:36:54 GMT Last-Modified: Wed, 22 Aug 2007 23:13:32 GMT Cache-Control: public, max-age=7776000 Content-Encoding: gzip Etag: W/"36171-1187824412000" Content-Length: 36171 Content-Type: application/x-javascript; charset=UTF-8 Server: Jetty(6.1.5) 200 OK Is Tapestry already doing some gzipping? It looks like the file is smaller w/o the EhCache filter enabled. Thanks, Matt mraible wrote: > > I tried backing down to 4.1.2 and my application at least comes up. I > noticed it's now including a dojo javascript file. However, if I navigate > to its path: > > http://localhost:9000/assets/static/dojo-0.4.3/dojo3.js > > It's all jumbled text with funky characters instead of JavaScript. Is this > as designed? > > Matt > > > � > -- View this message in context: http://www.nabble.com/Problems-with-tapestry-spring-while-upgrading-from-4.1.2-SNAPSHOT-to-4.1.3-SNAPSHOT-tf4275060.html#a12285008 Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problems with tapestry-spring while upgrading from 4.1.2-SNAPSHOT to 4.1.3-SNAPSHOT
Seems to be fixed now - thanks! Matt Jessek wrote: > > I re-factored things and brought the interfaces involved in the stack > trace provided back to their previous signature (as last touched by > Howard). > > Are you sure you have the very latest 4.1.3-SNAPSHOT version? A new > sample stack trace would be able to shed more light on it from here. > > On 8/22/07, mraible <[EMAIL PROTECTED]> wrote: >> >> This problem still seems to exist in 4.1.3-SNAPSHOT. I'm assuming you >> haven't >> had time to look at it yet? >> >> Matt >> >> > > > -- > Jesse Kuhnert > Tapestry/Dojo team member/developer > > Open source based consulting work centered around > dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Problems-with-tapestry-spring-while-upgrading-from-4.1.2-SNAPSHOT-to-4.1.3-SNAPSHOT-tf4275060.html#a12284776 Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problems with tapestry-spring while upgrading from 4.1.2-SNAPSHOT to 4.1.3-SNAPSHOT
I re-factored things and brought the interfaces involved in the stack trace provided back to their previous signature (as last touched by Howard). Are you sure you have the very latest 4.1.3-SNAPSHOT version? A new sample stack trace would be able to shed more light on it from here. On 8/22/07, mraible <[EMAIL PROTECTED]> wrote: > > This problem still seems to exist in 4.1.3-SNAPSHOT. I'm assuming you haven't > had time to look at it yet? > > Matt > > -- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problems with tapestry-spring while upgrading from 4.1.2-SNAPSHOT to 4.1.3-SNAPSHOT
This problem still seems to exist in 4.1.3-SNAPSHOT. I'm assuming you haven't had time to look at it yet? Matt Jessek wrote: > > Hmmmsounds like the latter. Will check it out tonight. > > On 8/15/07, mraible <[EMAIL PROTECTED]> wrote: >> >> I'm getting this same error when upgrading from Tapestry 4.0.2 to >> 4.1.3-SNAPSHOT. It sounds like there may need to be a new release of >> Tapestry Spring that's compiled against 4.1.3? Or maybe 4.1.3 needs to >> change something so its backwards compatible? >> >> Matt >> >> >> Ovidiu Hurducas-2 wrote: >> > >> > Hi! >> > I'm building an application that uses Tapestry 4.1.2, Spring >> > 2.0.6(integrated with tapestry-spring >> > 1.0.0) and Hibernate 3.2.1, Tomcat 6.0.14, jdk1.6. >> > All went well before until recently when because of a bug in the >> > InlineEditBox component (is about the listener problem) I've been >> forced >> > to >> > upgrade from 4.1.2-SNAPSHOT to 4.1.3-SNAPSHOT. >> > Now the application won't even load the first page or any other page. >> > I've been keeping the Hibernate session open for lazy loading by using >> the >> > OpenSessionInViewFilter. >> > >> > My Hibernate config in web.xml looks like: >> > >> > >> > contextConfigLocation >> > >> > >> > /WEB-INF/applicationContext-dao.xml,/WEB-INF/applicationContext- >> > service.xml,/WEB-INF/applicationContext-jdbc.xml >> > >> > >> > >> > >> > >> > org.springframework.web.context.ContextLoaderListener >> > >> > >> > >> > >> > >> > hibernateFilter >> > >> > >> > org.springframework.orm.hibernate3.support.OpenSessionInViewFilter >> > >> > >> > >> > hibernateFilter >> > *.html >> > >> > >> > hibernateFilter >> > /g >> > >> > >> > >> > The in the server error page the message look like: >> > >> > javax.servlet.ServletException: Servlet execution threw an exception >> > >> > >> org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) >> > >> > >> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) >> > >> > *root cause* >> > >> > java.lang.AbstractMethodError: >> > >> com.javaforge.tapestry.spring.SpringBeanInjectionWorker.performEnhancement(Lorg/apache/tapestry/enhance/EnhancementOperation;Lorg/apache/tapestry/spec/InjectSpecification;Lorg/apache/tapestry/spec/IComponentSpecification;)V >> > >> > >> $InjectEnhancementWorker_1146ad9bd87.performEnhancement($InjectEnhancementWorker_1146ad9bd87.java) >> > >> > >> $InjectEnhancementWorker_1146ad9bd86.performEnhancement($InjectEnhancementWorker_1146ad9bd86.java) >> > >> > >> org.apache.tapestry.enhance.DispatchToInjectWorker.invokeWorker(DispatchToInjectWorker.java:61) >> > >> > >> org.apache.tapestry.enhance.DispatchToInjectWorker.performEnhancement(DispatchToInjectWorker.java:45) >> > >> > >> $EnhancementWorker_1146ad9bd54.performEnhancement($EnhancementWorker_1146ad9bd54.java) >> > >> > >> $EnhancementWorker_1146ad9bd6c.performEnhancement($EnhancementWorker_1146ad9bd6c.java) >> > >> > >> $EnhancementWorker_1146ad9bd3e.performEnhancement($EnhancementWorker_1146ad9bd3e.java) >> > >> > >> org.apache.tapestry.services.impl.ComponentConstructorFactoryImpl.getComponentConstructor(ComponentConstructorFactoryImpl.java:103) >> > >> > >> $ComponentConstructorFactory_1146ad9bd25.getComponentConstructor($ComponentConstructorFactory_1146ad9bd25.java) >> > >> > >> org.apache.tapestry.pageload.PageLoader.instantiateComponent(PageLoader.java:556) >> > >> > >> org.apache.tapestry.pageload.PageLoader.createImplicitComponent(PageLoader.java:496) >> > >> > >> $IPageLoader_1146ad9bd1f.createImplicitComponent($IPageLoader_1146ad9bd1f.java) >> > >> > >> $IPageLoader_1146ad9bd20.createImplicitComponent($IPageLoader_1146ad9bd20.java) >> > >> > >> org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.createImplicitComponent(ComponentTemplateLoaderLogic.java:203) >> > >> > >> org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.process(ComponentTemplateLoaderLogic.java:158) >> > >> > >> org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.process(ComponentTemplateLoaderLogic.java:98) >> > >> > >> org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.loadTemplate(ComponentTemplateLoaderLogic.java:75) >> > >> > >> org.apache.tapestry.services.impl.ComponentTemplateLoaderImpl.loadTemplate(ComponentTemplateLoaderImpl.java:60) >> > >> > >> $ComponentTemplateLoader_1146ad9bd29.loadTemplate($ComponentTemplateLoader_1146ad9bd29.java) >> > >> > >> org.apache.tapestry.pageload.PageLoader.loadTemplateForComponent(PageLoader.java:673) >> > >> org.apache.tapestry.BaseComponent.readTemplate(BaseComponent.java:92) >> > >> org.apache.tapestry.BaseComponent.finishLoad(BaseComponent.java:122) >> > $Header_4.finishLoad($Header_4.java) >> > >> > ... >> > >> > In the ser
Re: Problems with tapestry-spring while upgrading from 4.1.2-SNAPSHOT to 4.1.3-SNAPSHOT
Is fixed and deploying now. On 8/15/07, Ovidiu Hurducas <[EMAIL PROTECTED]> wrote: > Hi! > I'm building an application that uses Tapestry 4.1.2, Spring > 2.0.6(integrated with tapestry-spring > 1.0.0) and Hibernate 3.2.1, Tomcat 6.0.14, jdk1.6. > All went well before until recently when because of a bug in the > InlineEditBox component (is about the listener problem) I've been forced to > upgrade from 4.1.2-SNAPSHOT to 4.1.3-SNAPSHOT. > Now the application won't even load the first page or any other page. > I've been keeping the Hibernate session open for lazy loading by using the > OpenSessionInViewFilter. > > My Hibernate config in web.xml looks like: > > > contextConfigLocation > > /WEB-INF/applicationContext-dao.xml,/WEB-INF/applicationContext- > service.xml,/WEB-INF/applicationContext-jdbc.xml > > > > > > org.springframework.web.context.ContextLoaderListener > > > > > > hibernateFilter > > > org.springframework.orm.hibernate3.support.OpenSessionInViewFilter > > > > hibernateFilter > *.html > > > hibernateFilter > /g > > > > The in the server error page the message look like: > > javax.servlet.ServletException: Servlet execution threw an exception > > org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) > > org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) > > *root cause* > > java.lang.AbstractMethodError: > com.javaforge.tapestry.spring.SpringBeanInjectionWorker.performEnhancement(Lorg/apache/tapestry/enhance/EnhancementOperation;Lorg/apache/tapestry/spec/InjectSpecification;Lorg/apache/tapestry/spec/IComponentSpecification;)V > > $InjectEnhancementWorker_1146ad9bd87.performEnhancement($InjectEnhancementWorker_1146ad9bd87.java) > > $InjectEnhancementWorker_1146ad9bd86.performEnhancement($InjectEnhancementWorker_1146ad9bd86.java) > > org.apache.tapestry.enhance.DispatchToInjectWorker.invokeWorker(DispatchToInjectWorker.java:61) > > org.apache.tapestry.enhance.DispatchToInjectWorker.performEnhancement(DispatchToInjectWorker.java:45) > > $EnhancementWorker_1146ad9bd54.performEnhancement($EnhancementWorker_1146ad9bd54.java) > > $EnhancementWorker_1146ad9bd6c.performEnhancement($EnhancementWorker_1146ad9bd6c.java) > > $EnhancementWorker_1146ad9bd3e.performEnhancement($EnhancementWorker_1146ad9bd3e.java) > > org.apache.tapestry.services.impl.ComponentConstructorFactoryImpl.getComponentConstructor(ComponentConstructorFactoryImpl.java:103) > > $ComponentConstructorFactory_1146ad9bd25.getComponentConstructor($ComponentConstructorFactory_1146ad9bd25.java) > > org.apache.tapestry.pageload.PageLoader.instantiateComponent(PageLoader.java:556) > > org.apache.tapestry.pageload.PageLoader.createImplicitComponent(PageLoader.java:496) > > $IPageLoader_1146ad9bd1f.createImplicitComponent($IPageLoader_1146ad9bd1f.java) > > $IPageLoader_1146ad9bd20.createImplicitComponent($IPageLoader_1146ad9bd20.java) > > org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.createImplicitComponent(ComponentTemplateLoaderLogic.java:203) > > org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.process(ComponentTemplateLoaderLogic.java:158) > > org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.process(ComponentTemplateLoaderLogic.java:98) > > org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.loadTemplate(ComponentTemplateLoaderLogic.java:75) > > org.apache.tapestry.services.impl.ComponentTemplateLoaderImpl.loadTemplate(ComponentTemplateLoaderImpl.java:60) > > $ComponentTemplateLoader_1146ad9bd29.loadTemplate($ComponentTemplateLoader_1146ad9bd29.java) > > org.apache.tapestry.pageload.PageLoader.loadTemplateForComponent(PageLoader.java:673) > org.apache.tapestry.BaseComponent.readTemplate(BaseComponent.java:92) > org.apache.tapestry.BaseComponent.finishLoad(BaseComponent.java:122) > $Header_4.finishLoad($Header_4.java) > > ... > > In the server log I got this message: > > java.lang.AbstractMethodError: > com.javaforge.tapestry.spring.SpringBeanInjectionWorker.performEnhancement > (Lorg/apache/tapestry/enhance/EnhancementOperation;Lorg/apache/tapestry/spec/InjectSpecification;Lorg/apache/tapestry/spec/IComponentSpecification;)V > at > $InjectEnhancementWorker_1146ad9bd87.performEnhancement($InjectEnhancementWorker_1146ad9bd87.java) > at > $InjectEnhancementWorker_1146ad9bd86.performEnhancement($InjectEnhancementWorker_1146ad9bd86.java) > at org.apache.tapestry.enhance.DispatchToInjectWorker.invokeWorker( > DispatchToInjectWorker.java:61) > at org.apache.tapestry.enhance.DispatchTo
Re: Problems with tapestry-spring while upgrading from 4.1.2-SNAPSHOT to 4.1.3-SNAPSHOT
There's no such thing as global / visit anymore. Need to use ASO's now. On 8/15/07, mraible <[EMAIL PROTECTED]> wrote: > > Another issue in migrating from 4.0.2 to 4.1.2: > > javax.servlet.ServletException: > org.apache.hivemind.ApplicationRuntimeException: Unable to parse OGNL > expression 'global.debugEnabled': $Error_37.global > [context:/WEB-INF/tapestry/Error.html, line 9] > > In Error.html, I have: > > Doh! > > An Error Occurred > > > > You may attempt to # try again . > > > > > > > > Please check your log files for further information. > > > > My custom error page is turned on in hivemodule.xml: > > > > > > stateful-extension="sdirect"/> > > > > > if="not(property tapestry.devMode)"> > > > > > Thanks, > > Matt > > > mraible wrote: > > > > I tried backing down to 4.1.2 and my application at least comes up. I > > noticed it's now including a dojo javascript file. However, if I navigate > > to its path: > > > > http://localhost:9000/assets/static/dojo-0.4.3/dojo3.js > > > > It's all jumbled text with funky characters instead of JavaScript. Is this > > as designed? > > > > Matt > > > > > > � > > > > -- > View this message in context: > http://www.nabble.com/Problems-with-tapestry-spring-while-upgrading-from-4.1.2-SNAPSHOT-to-4.1.3-SNAPSHOT-tf4275060.html#a12171216 > Sent from the Tapestry - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
Re: Problems with tapestry-spring while upgrading from 4.1.2-SNAPSHOT to 4.1.3-SNAPSHOT
Another issue in migrating from 4.0.2 to 4.1.2: javax.servlet.ServletException: org.apache.hivemind.ApplicationRuntimeException: Unable to parse OGNL expression 'global.debugEnabled': $Error_37.global [context:/WEB-INF/tapestry/Error.html, line 9] In Error.html, I have: Doh! An Error Occurred You may attempt to # try again . Please check your log files for further information. My custom error page is turned on in hivemodule.xml: Thanks, Matt mraible wrote: > > I tried backing down to 4.1.2 and my application at least comes up. I > noticed it's now including a dojo javascript file. However, if I navigate > to its path: > > http://localhost:9000/assets/static/dojo-0.4.3/dojo3.js > > It's all jumbled text with funky characters instead of JavaScript. Is this > as designed? > > Matt > > > � > -- View this message in context: http://www.nabble.com/Problems-with-tapestry-spring-while-upgrading-from-4.1.2-SNAPSHOT-to-4.1.3-SNAPSHOT-tf4275060.html#a12171216 Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problems with tapestry-spring while upgrading from 4.1.2-SNAPSHOT to 4.1.3-SNAPSHOT
I tried backing down to 4.1.2 and my application at least comes up. I noticed it's now including a dojo javascript file. However, if I navigate to its path: http://localhost:9000/assets/static/dojo-0.4.3/dojo3.js It's all jumbled text with funky characters instead of JavaScript. Is this as designed? Matt � -- View this message in context: http://www.nabble.com/Problems-with-tapestry-spring-while-upgrading-from-4.1.2-SNAPSHOT-to-4.1.3-SNAPSHOT-tf4275060.html#a12171129 Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problems with tapestry-spring while upgrading from 4.1.2-SNAPSHOT to 4.1.3-SNAPSHOT
Hmmmsounds like the latter. Will check it out tonight. On 8/15/07, mraible <[EMAIL PROTECTED]> wrote: > > I'm getting this same error when upgrading from Tapestry 4.0.2 to > 4.1.3-SNAPSHOT. It sounds like there may need to be a new release of > Tapestry Spring that's compiled against 4.1.3? Or maybe 4.1.3 needs to > change something so its backwards compatible? > > Matt > > > Ovidiu Hurducas-2 wrote: > > > > Hi! > > I'm building an application that uses Tapestry 4.1.2, Spring > > 2.0.6(integrated with tapestry-spring > > 1.0.0) and Hibernate 3.2.1, Tomcat 6.0.14, jdk1.6. > > All went well before until recently when because of a bug in the > > InlineEditBox component (is about the listener problem) I've been forced > > to > > upgrade from 4.1.2-SNAPSHOT to 4.1.3-SNAPSHOT. > > Now the application won't even load the first page or any other page. > > I've been keeping the Hibernate session open for lazy loading by using the > > OpenSessionInViewFilter. > > > > My Hibernate config in web.xml looks like: > > > > > > contextConfigLocation > > > > > > /WEB-INF/applicationContext-dao.xml,/WEB-INF/applicationContext- > > service.xml,/WEB-INF/applicationContext-jdbc.xml > > > > > > > > > > > > org.springframework.web.context.ContextLoaderListener > > > > > > > > > > > > hibernateFilter > > > > > > org.springframework.orm.hibernate3.support.OpenSessionInViewFilter > > > > > > > > hibernateFilter > > *.html > > > > > > hibernateFilter > > /g > > > > > > > > The in the server error page the message look like: > > > > javax.servlet.ServletException: Servlet execution threw an exception > > > > org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) > > > > org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) > > > > *root cause* > > > > java.lang.AbstractMethodError: > > com.javaforge.tapestry.spring.SpringBeanInjectionWorker.performEnhancement(Lorg/apache/tapestry/enhance/EnhancementOperation;Lorg/apache/tapestry/spec/InjectSpecification;Lorg/apache/tapestry/spec/IComponentSpecification;)V > > > > $InjectEnhancementWorker_1146ad9bd87.performEnhancement($InjectEnhancementWorker_1146ad9bd87.java) > > > > $InjectEnhancementWorker_1146ad9bd86.performEnhancement($InjectEnhancementWorker_1146ad9bd86.java) > > > > org.apache.tapestry.enhance.DispatchToInjectWorker.invokeWorker(DispatchToInjectWorker.java:61) > > > > org.apache.tapestry.enhance.DispatchToInjectWorker.performEnhancement(DispatchToInjectWorker.java:45) > > > > $EnhancementWorker_1146ad9bd54.performEnhancement($EnhancementWorker_1146ad9bd54.java) > > > > $EnhancementWorker_1146ad9bd6c.performEnhancement($EnhancementWorker_1146ad9bd6c.java) > > > > $EnhancementWorker_1146ad9bd3e.performEnhancement($EnhancementWorker_1146ad9bd3e.java) > > > > org.apache.tapestry.services.impl.ComponentConstructorFactoryImpl.getComponentConstructor(ComponentConstructorFactoryImpl.java:103) > > > > $ComponentConstructorFactory_1146ad9bd25.getComponentConstructor($ComponentConstructorFactory_1146ad9bd25.java) > > > > org.apache.tapestry.pageload.PageLoader.instantiateComponent(PageLoader.java:556) > > > > org.apache.tapestry.pageload.PageLoader.createImplicitComponent(PageLoader.java:496) > > > > $IPageLoader_1146ad9bd1f.createImplicitComponent($IPageLoader_1146ad9bd1f.java) > > > > $IPageLoader_1146ad9bd20.createImplicitComponent($IPageLoader_1146ad9bd20.java) > > > > org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.createImplicitComponent(ComponentTemplateLoaderLogic.java:203) > > > > org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.process(ComponentTemplateLoaderLogic.java:158) > > > > org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.process(ComponentTemplateLoaderLogic.java:98) > > > > org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.loadTemplate(ComponentTemplateLoaderLogic.java:75) > > > > org.apache.tapestry.services.impl.ComponentTemplateLoaderImpl.loadTemplate(ComponentTemplateLoaderImpl.java:60) > > > > $ComponentTemplateLoader_1146ad9bd29.loadTemplate($ComponentTemplateLoader_1146ad9bd29.java) > > > > org.apache.tapestry.pageload.PageLoader.loadTemplateForComponent(PageLoader.java:673) > > org.apache.tapestry.BaseComponent.readTemplate(BaseComponent.java:92) > > org.apache.tapestry.BaseComponent.finishLoad(BaseComponent.java:122) > > $Header_4.finishLoad($Header_4.java) > > > > ... > > > > In the server log I got this message: > > > > java.lang.AbstractMethodError: > > com.javaforge.tapestry.spring.SpringBeanInjectionWorker.performEnhancement > > (Lorg/apache/tapestry/enhance/EnhancementOperation;Lorg/apache/tapestry/spec/InjectSpecification;Lorg/apache/tapestry/spec/IComponentSpecification;)V > > at > > $InjectEnhancementWor
Re: Problems with tapestry-spring while upgrading from 4.1.2-SNAPSHOT to 4.1.3-SNAPSHOT
I'm getting this same error when upgrading from Tapestry 4.0.2 to 4.1.3-SNAPSHOT. It sounds like there may need to be a new release of Tapestry Spring that's compiled against 4.1.3? Or maybe 4.1.3 needs to change something so its backwards compatible? Matt Ovidiu Hurducas-2 wrote: > > Hi! > I'm building an application that uses Tapestry 4.1.2, Spring > 2.0.6(integrated with tapestry-spring > 1.0.0) and Hibernate 3.2.1, Tomcat 6.0.14, jdk1.6. > All went well before until recently when because of a bug in the > InlineEditBox component (is about the listener problem) I've been forced > to > upgrade from 4.1.2-SNAPSHOT to 4.1.3-SNAPSHOT. > Now the application won't even load the first page or any other page. > I've been keeping the Hibernate session open for lazy loading by using the > OpenSessionInViewFilter. > > My Hibernate config in web.xml looks like: > > > contextConfigLocation > > > /WEB-INF/applicationContext-dao.xml,/WEB-INF/applicationContext- > service.xml,/WEB-INF/applicationContext-jdbc.xml > > > > > > org.springframework.web.context.ContextLoaderListener > > > > > > hibernateFilter > > > org.springframework.orm.hibernate3.support.OpenSessionInViewFilter > > > > hibernateFilter > *.html > > > hibernateFilter > /g > > > > The in the server error page the message look like: > > javax.servlet.ServletException: Servlet execution threw an exception > > org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) > > org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) > > *root cause* > > java.lang.AbstractMethodError: > com.javaforge.tapestry.spring.SpringBeanInjectionWorker.performEnhancement(Lorg/apache/tapestry/enhance/EnhancementOperation;Lorg/apache/tapestry/spec/InjectSpecification;Lorg/apache/tapestry/spec/IComponentSpecification;)V > > $InjectEnhancementWorker_1146ad9bd87.performEnhancement($InjectEnhancementWorker_1146ad9bd87.java) > > $InjectEnhancementWorker_1146ad9bd86.performEnhancement($InjectEnhancementWorker_1146ad9bd86.java) > > org.apache.tapestry.enhance.DispatchToInjectWorker.invokeWorker(DispatchToInjectWorker.java:61) > > org.apache.tapestry.enhance.DispatchToInjectWorker.performEnhancement(DispatchToInjectWorker.java:45) > > $EnhancementWorker_1146ad9bd54.performEnhancement($EnhancementWorker_1146ad9bd54.java) > > $EnhancementWorker_1146ad9bd6c.performEnhancement($EnhancementWorker_1146ad9bd6c.java) > > $EnhancementWorker_1146ad9bd3e.performEnhancement($EnhancementWorker_1146ad9bd3e.java) > > org.apache.tapestry.services.impl.ComponentConstructorFactoryImpl.getComponentConstructor(ComponentConstructorFactoryImpl.java:103) > > $ComponentConstructorFactory_1146ad9bd25.getComponentConstructor($ComponentConstructorFactory_1146ad9bd25.java) > > org.apache.tapestry.pageload.PageLoader.instantiateComponent(PageLoader.java:556) > > org.apache.tapestry.pageload.PageLoader.createImplicitComponent(PageLoader.java:496) > > $IPageLoader_1146ad9bd1f.createImplicitComponent($IPageLoader_1146ad9bd1f.java) > > $IPageLoader_1146ad9bd20.createImplicitComponent($IPageLoader_1146ad9bd20.java) > > org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.createImplicitComponent(ComponentTemplateLoaderLogic.java:203) > > org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.process(ComponentTemplateLoaderLogic.java:158) > > org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.process(ComponentTemplateLoaderLogic.java:98) > > org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.loadTemplate(ComponentTemplateLoaderLogic.java:75) > > org.apache.tapestry.services.impl.ComponentTemplateLoaderImpl.loadTemplate(ComponentTemplateLoaderImpl.java:60) > > $ComponentTemplateLoader_1146ad9bd29.loadTemplate($ComponentTemplateLoader_1146ad9bd29.java) > > org.apache.tapestry.pageload.PageLoader.loadTemplateForComponent(PageLoader.java:673) > org.apache.tapestry.BaseComponent.readTemplate(BaseComponent.java:92) > org.apache.tapestry.BaseComponent.finishLoad(BaseComponent.java:122) > $Header_4.finishLoad($Header_4.java) > > ... > > In the server log I got this message: > > java.lang.AbstractMethodError: > com.javaforge.tapestry.spring.SpringBeanInjectionWorker.performEnhancement > (Lorg/apache/tapestry/enhance/EnhancementOperation;Lorg/apache/tapestry/spec/InjectSpecification;Lorg/apache/tapestry/spec/IComponentSpecification;)V > at > $InjectEnhancementWorker_1146ad9bd87.performEnhancement($InjectEnhancementWorker_1146ad9bd87.java) > at > $InjectEnhancementWorker_1146ad9bd86.performEnhancement($InjectEnhancementWorker_1146ad9bd86.java) > at org.apache.tapestry.enhance.DispatchToInjectWorker.invokeWorker( > DispatchToInjectWorker.java:61) > a