[Resin-interest] StaticLoggerBinder?
I just installed 4.0.16 on a new Mac OS X 10.6.7 installation. I don't have the old config file for my webapp with me, so I'm trying to re-create it from memory. I do have the webapp installation itself, which was working fine on my older (4.0.8?) installation. After getting my data source squared away, I'm running into this in my logs: [11-03-29 14:36:42.270] {main} org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.interceptor.TransactionInterceptor#0': Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in ServletContext resource [/WEB-INF/config/springContext.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/config/springContext.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.slf4j.impl.StaticLoggerBinder.getSingleton()Lorg/slf4j/impl/StaticLoggerBinder; Some Googling turned up this bug report: http://bugs.caucho.com/view.php?id=4271 Which is apparently fixed. I'm not sure if I'm still not properly configured, or if I've failed to install something into resin's lib that I used to have in place, but I thought I'd ask here to see if it was an easily-solved problem. Thanks! -- Rick ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] StaticLoggerBinder?
On 03/29/2011 02:41 PM, Rick Mann wrote: I just installed 4.0.16 on a new Mac OS X 10.6.7 installation. I don't have the old config file for my webapp with me, so I'm trying to re-create it from memory. I do have the webapp installation itself, which was working fine on my older (4.0.8?) installation. After getting my data source squared away, I'm running into this in my logs: [11-03-29 14:36:42.270] {main} org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.interceptor.TransactionInterceptor#0': Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in ServletContext resource [/WEB-INF/config/springContext.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/config/springContext.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.slf4j.impl.StaticLoggerBinder.getSingleton()Lorg/slf4j/impl/StaticLoggerBinder; Some Googling turned up this bug report: http://bugs.caucho.com/view.php?id=4271 Which is apparently fixed. I'm not sure if I'm still not properly configured, or if I've failed to install something into resin's lib that I used to have in place, but I thought I'd ask here to see if it was an easily-solved problem. That looks like a .jar conflict. Can you look in resin/lib, resin/webapp-jars and your WEB-INF/lib to see if there's a conflict with the slf4j*.jar? The slf4j*.jar in resin/webapp-jars is just included for convenience (for the bean validation jar basically, which is part of the Web Profile). You can remove it or replace it if there are any conflicts. -- Scott Thanks! ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] StaticLoggerBinder?
On Mar 29, 2011, at 3:28 PM, Scott Ferguson wrote: That looks like a .jar conflict. Can you look in resin/lib, resin/webapp-jars and your WEB-INF/lib to see if there's a conflict with the slf4j*.jar? The slf4j*.jar in resin/webapp-jars is just included for convenience (for the bean validation jar basically, which is part of the Web Profile). You can remove it or replace it if there are any conflicts. Ah! I looked in resin/lib, didn't see it, thought it was removed in this distro. Removing it seems to have fixed my problem. Does that mean, though, that my bean validation won't work someday? Thanks! -- Rick ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] How to implement rewrite-dispatchmoved-permanently in Resin 4
On Mar 29, 2011, at 8:11 PM, Keith Fetterman wrote: In resin 3, the way to perform a HTTP 301 redirect was using the following resin tags: rewrite-dispatch moved-permanently regexp=^/redirectedPage.html target=/test.html / /rewrite-dispatch I don't see an equivalent tag in Resin 4 documentation. How should this be implemented? I tried using the following tag, but I get an HTTP 302 redirect: resin:Redirect regexp='^/redirectedPage.html' target='/test.html'/ Hi Keith, There is a resin:MovedPermanently with the same syntax. It's mentioned on our Wiki; http://wiki.caucho.com/Cookbook:_Moved_Permanently I've entered a documentation bug for this. Thanks, Paul Thanks, Keith -- - Keith FettermanDirect: 206-319-9434 Mariner Supply, Inc. 206-780-5670 http://www.go2marine.com kfetter...@go2marine.com http://www.boatersline.com ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] How to implement rewrite-dispatchmoved-permanently in Resin 4
Thanks Paul for the quick response. This is excellent. I am pushing hard to get our site upgraded to Resin 4 and then roll out to production. On 03/29/2011 05:45 PM, Paul Cowan wrote: On Mar 29, 2011, at 8:11 PM, Keith Fetterman wrote: In resin 3, the way to perform a HTTP 301 redirect was using the following resin tags: rewrite-dispatch moved-permanently regexp=^/redirectedPage.html target=/test.html / /rewrite-dispatch I don't see an equivalent tag in Resin 4 documentation. How should this be implemented? I tried using the following tag, but I get an HTTP 302 redirect: resin:Redirect regexp='^/redirectedPage.html' target='/test.html'/ Hi Keith, There is a resin:MovedPermanently with the same syntax. It's mentioned on our Wiki; http://wiki.caucho.com/Cookbook:_Moved_Permanently I've entered a documentation bug for this. Thanks, Paul Thanks, Keith -- - Keith FettermanDirect: 206-319-9434 Mariner Supply, Inc. 206-780-5670 http://www.go2marine.com kfetter...@go2marine.com mailto:kfetter...@go2marine.com http://www.boatersline.com ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest -- - Keith FettermanDirect: 206-319-9434 Mariner Supply, Inc. 206-780-5670 http://www.go2marine.com kfetter...@go2marine.com http://www.boatersline.com ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest