You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by spamglik <sp...@gmail.com> on 2008/01/26 18:36:07 UTC

How to integrate Tapestry 5.0.9 with Spring

Hi I had a working project in Tapestry 5.0.5 and when I upgrade to 5.0.7 or
5.0.9 it stops working. Also when I try new project from quickstart and
tapestry-spring library's + change filter in web.xml it refuse to work too.
Has anything changed in the way the Spring + Tapestry should be integrated? 

Here is stack trace I receive :

Exception in thread "main" java.lang.AbstractMethodError
	at
org.apache.tapestry.ioc.internal.RegistryImpl.<init>(RegistryImpl.java:162)
	at org.apache.tapestry.ioc.RegistryBuilder.build(RegistryBuilder.java:131)
	at
org.apache.tapestry.internal.TapestryAppInitializer.getRegistry(TapestryAppInitializer.java:143)
	at org.apache.tapestry.TapestryFilter.init(TapestryFilter.java:71)
	at org.mortbay.jetty.servlet.FilterHolder.start(FilterHolder.java:71)
	at
org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:310)
	at
org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:509)
	at org.mortbay.util.Container.start(Container.java:72)
	at org.mortbay.http.HttpServer.doStart(HttpServer.java:708)
	at org.mortbay.util.Container.start(Container.java:72)
	at com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:282)
	at com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:104)
	at com.iw.plugins.jettyrunner.PluginRunner.main(PluginRunner.java:75)  
-- 
View this message in context: http://www.nabble.com/How-to-integrate-Tapestry-5.0.9-with-Spring-tp15110458p15110458.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: How to integrate Tapestry 5.0.9 with Spring

Posted by Jacob Bergoo <ja...@gmail.com>.
Hi all,
I got the same error. Did you find a solution to this problem?

Jacob



spamglik wrote:
> 
> Hi 
> I have updated log4j.jar for 1.2.14 in jetty/extra/ext but that did not
> help . 
> :(
> 
> 
> 
> Christian Gorbach wrote:
>> 
>> hi, 
>> replace your/jetty log4j.jar with a newer one (which does support TRACE
>> log level)
>> http://www.nabble.com/T5%3A-Upgrade-to-5.0.6-SNAPSHOT-td12878469.html
>> cheers
>> c)hristian
>> 
>> 
>> 
>> spamglik wrote:
>>> 
>>> I check in the sources the line that crash.
>>> 
>>> logger = _loggerSource.getLogger(def.getLoggerName());
>>> 
>>> I have problem with Spring since Tapestry 5.0.6. This is the same
>>> version were the logger was changed from commons logging to slf4j. 
>>> Anybody has any ideas if this is related? Anybody use spring in version
>>> 5.0.6 or older?
>>> 
>>> regards
>>> m
>>> 
>>> 
>>> 
>>> spamglik wrote:
>>>> 
>>>> Hi I had a working project in Tapestry 5.0.5 and when I upgrade to
>>>> 5.0.7 or 5.0.9 it stops working. Also when I try new project from
>>>> quickstart and tapestry-spring library's + change filter in web.xml it
>>>> refuse to work too. Has anything changed in the way the Spring +
>>>> Tapestry should be integrated? 
>>>> 
>>>> Here is stack trace I receive :
>>>> 
>>>> Exception in thread "main" java.lang.AbstractMethodError
>>>> 	at
>>>> org.apache.tapestry.ioc.internal.RegistryImpl.<init>(RegistryImpl.java:162)
>>>> 	at
>>>> org.apache.tapestry.ioc.RegistryBuilder.build(RegistryBuilder.java:131)
>>>> 	at
>>>> org.apache.tapestry.internal.TapestryAppInitializer.getRegistry(TapestryAppInitializer.java:143)
>>>> 	at org.apache.tapestry.TapestryFilter.init(TapestryFilter.java:71)
>>>> 	at org.mortbay.jetty.servlet.FilterHolder.start(FilterHolder.java:71)
>>>> 	at
>>>> org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:310)
>>>> 	at
>>>> org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:509)
>>>> 	at org.mortbay.util.Container.start(Container.java:72)
>>>> 	at org.mortbay.http.HttpServer.doStart(HttpServer.java:708)
>>>> 	at org.mortbay.util.Container.start(Container.java:72)
>>>> 	at
>>>> com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:282)
>>>> 	at
>>>> com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:104)
>>>> 	at com.iw.plugins.jettyrunner.PluginRunner.main(PluginRunner.java:75)  
>>>> 
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-integrate-Tapestry-5.0.9-with-Spring-tp15110458p15170850.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: How to integrate Tapestry 5.0.9 with Spring

Posted by spamglik <sp...@gmail.com>.
Hi 
I have updated log4j.jar for 1.2.14 in jetty/extra/ext but that did not help
. 
:(



Christian Gorbach wrote:
> 
> hi, 
> replace your/jetty log4j.jar with a newer one (which does support TRACE
> log level)
> http://www.nabble.com/T5%3A-Upgrade-to-5.0.6-SNAPSHOT-td12878469.html
> cheers
> c)hristian
> 
> 
> 
> spamglik wrote:
>> 
>> I check in the sources the line that crash.
>> 
>> logger = _loggerSource.getLogger(def.getLoggerName());
>> 
>> I have problem with Spring since Tapestry 5.0.6. This is the same version
>> were the logger was changed from commons logging to slf4j.  Anybody has
>> any ideas if this is related? Anybody use spring in version 5.0.6 or
>> older?
>> 
>> regards
>> m
>> 
>> 
>> 
>> spamglik wrote:
>>> 
>>> Hi I had a working project in Tapestry 5.0.5 and when I upgrade to 5.0.7
>>> or 5.0.9 it stops working. Also when I try new project from quickstart
>>> and tapestry-spring library's + change filter in web.xml it refuse to
>>> work too. Has anything changed in the way the Spring + Tapestry should
>>> be integrated? 
>>> 
>>> Here is stack trace I receive :
>>> 
>>> Exception in thread "main" java.lang.AbstractMethodError
>>> 	at
>>> org.apache.tapestry.ioc.internal.RegistryImpl.<init>(RegistryImpl.java:162)
>>> 	at
>>> org.apache.tapestry.ioc.RegistryBuilder.build(RegistryBuilder.java:131)
>>> 	at
>>> org.apache.tapestry.internal.TapestryAppInitializer.getRegistry(TapestryAppInitializer.java:143)
>>> 	at org.apache.tapestry.TapestryFilter.init(TapestryFilter.java:71)
>>> 	at org.mortbay.jetty.servlet.FilterHolder.start(FilterHolder.java:71)
>>> 	at
>>> org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:310)
>>> 	at
>>> org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:509)
>>> 	at org.mortbay.util.Container.start(Container.java:72)
>>> 	at org.mortbay.http.HttpServer.doStart(HttpServer.java:708)
>>> 	at org.mortbay.util.Container.start(Container.java:72)
>>> 	at
>>> com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:282)
>>> 	at
>>> com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:104)
>>> 	at com.iw.plugins.jettyrunner.PluginRunner.main(PluginRunner.java:75)  
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-integrate-Tapestry-5.0.9-with-Spring-tp15110458p15111973.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: How to integrate Tapestry 5.0.9 with Spring

Posted by Christian Gorbach <go...@gmx.at>.
hi, 
replace your/jetty log4j.jar with a newer one (which does support TRACE log
level)
http://www.nabble.com/T5%3A-Upgrade-to-5.0.6-SNAPSHOT-td12878469.html
cheers
c)hristian



spamglik wrote:
> 
> I check in the sources the line that crash.
> 
> logger = _loggerSource.getLogger(def.getLoggerName());
> 
> I have problem with Spring since Tapestry 5.0.6. This is the same version
> were the logger was changed from commons logging to slf4j.  Anybody has
> any ideas if this is related? Anybody use spring in version 5.0.6 or
> older?
> 
> regards
> m
> 
> 
> 
> spamglik wrote:
>> 
>> Hi I had a working project in Tapestry 5.0.5 and when I upgrade to 5.0.7
>> or 5.0.9 it stops working. Also when I try new project from quickstart
>> and tapestry-spring library's + change filter in web.xml it refuse to
>> work too. Has anything changed in the way the Spring + Tapestry should be
>> integrated? 
>> 
>> Here is stack trace I receive :
>> 
>> Exception in thread "main" java.lang.AbstractMethodError
>> 	at
>> org.apache.tapestry.ioc.internal.RegistryImpl.<init>(RegistryImpl.java:162)
>> 	at
>> org.apache.tapestry.ioc.RegistryBuilder.build(RegistryBuilder.java:131)
>> 	at
>> org.apache.tapestry.internal.TapestryAppInitializer.getRegistry(TapestryAppInitializer.java:143)
>> 	at org.apache.tapestry.TapestryFilter.init(TapestryFilter.java:71)
>> 	at org.mortbay.jetty.servlet.FilterHolder.start(FilterHolder.java:71)
>> 	at
>> org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:310)
>> 	at
>> org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:509)
>> 	at org.mortbay.util.Container.start(Container.java:72)
>> 	at org.mortbay.http.HttpServer.doStart(HttpServer.java:708)
>> 	at org.mortbay.util.Container.start(Container.java:72)
>> 	at com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:282)
>> 	at com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:104)
>> 	at com.iw.plugins.jettyrunner.PluginRunner.main(PluginRunner.java:75)  
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-integrate-Tapestry-5.0.9-with-Spring-tp15110458p15111778.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: How to integrate Tapestry 5.0.9 with Spring

Posted by spamglik <sp...@gmail.com>.
I check in the sources the line that crash.

logger = _loggerSource.getLogger(def.getLoggerName());

I have problem with Spring since Tapestry 5.0.6. This is the same version
were the logger was changed from commons logging to slf4j.  Anybody has any
ideas if this is related? Anybody use spring in version 5.0.6 or older?

regards
m



spamglik wrote:
> 
> Hi I had a working project in Tapestry 5.0.5 and when I upgrade to 5.0.7
> or 5.0.9 it stops working. Also when I try new project from quickstart and
> tapestry-spring library's + change filter in web.xml it refuse to work
> too. Has anything changed in the way the Spring + Tapestry should be
> integrated? 
> 
> Here is stack trace I receive :
> 
> Exception in thread "main" java.lang.AbstractMethodError
> 	at
> org.apache.tapestry.ioc.internal.RegistryImpl.<init>(RegistryImpl.java:162)
> 	at
> org.apache.tapestry.ioc.RegistryBuilder.build(RegistryBuilder.java:131)
> 	at
> org.apache.tapestry.internal.TapestryAppInitializer.getRegistry(TapestryAppInitializer.java:143)
> 	at org.apache.tapestry.TapestryFilter.init(TapestryFilter.java:71)
> 	at org.mortbay.jetty.servlet.FilterHolder.start(FilterHolder.java:71)
> 	at
> org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:310)
> 	at
> org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:509)
> 	at org.mortbay.util.Container.start(Container.java:72)
> 	at org.mortbay.http.HttpServer.doStart(HttpServer.java:708)
> 	at org.mortbay.util.Container.start(Container.java:72)
> 	at com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:282)
> 	at com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:104)
> 	at com.iw.plugins.jettyrunner.PluginRunner.main(PluginRunner.java:75)  
> 

-- 
View this message in context: http://www.nabble.com/How-to-integrate-Tapestry-5.0.9-with-Spring-tp15110458p15111627.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org