Anonymous | Login | Signup for a new account | 12-17-2024 08:26 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0005839 | [Resin] | minor | always | 12-16-14 14:51 | 03-30-15 18:33 | ||||
Reporter | nam | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 4.0.41 | ||||||
Summary | 0005839: spring-integration: allow non-public beans for Filters | ||||||||
Description |
(rep by V. Selvaggio) Please note that Spring is passing in an actual bean object, not a class, to Resin and Resin is complaining about the class. related to: http://bugs.caucho.com/view.php?id=5701 [^] I have built a Spring Boot application and created a war file which runs just fine with tomcat or as executable jar. If I try to deploy on Resin 4.0.41 I get the following exception: com.caucho.config.ConfigException: Custom bean class 'org.springframework.boot.actuate.autoconfigure.MetricFilterAutoConfiguration$MetricsFilter' is not public. Bean classes must be public, concrete, and have a zero-argument constructor. at com.caucho.config.Config.checkCanInstantiate(Config.java:532) at com.caucho.config.Config.validate(Config.java:561) at com.caucho.server.dispatch.FilterConfigImpl.setFilterClass(FilterConfigImpl.java:105) at com.caucho.server.webapp.WebApp.addFilter(WebApp.java:1440) at com.caucho.server.webapp.WebApp.addFilter(WebApp.java:1422) at org.springframework.boot.context.embedded.FilterRegistrationBean.onStartup(FilterRegistrationBean.java:255) at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext$1.onStartup(EmbeddedWebApplicationContext.java:203) at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.createEmbeddedServletContainer(EmbeddedWebApplicationContext.java:153) |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
32 total queries executed. 27 unique queries executed. |