|
Mantis - Resin
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 5839 | minor | always | 12-16-14 14:51 | 03-30-15 18:33 | |
|
|
|||||
| Reporter: | nam | Platform: | |||
| Assigned To: | ferg | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | 4.0.41 | ||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 4.0.44 | ||
|
|
|||||
| 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) |
||||
| Steps To Reproduce: | |||||
| Additional Information: | |||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||