Mantis Bugtracker

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: [^]

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(
    at com.caucho.config.Config.validate(
    at com.caucho.server.dispatch.FilterConfigImpl.setFilterClass(
    at com.caucho.server.webapp.WebApp.addFilter(
    at com.caucho.server.webapp.WebApp.addFilter(
    at org.springframework.boot.context.embedded.FilterRegistrationBean.onStartup(
    at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext$1.onStartup(
    at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.createEmbeddedServletContainer(
Additional Information
Attached Files

- Relationships

- Notes
03-30-15 18:33


- Issue History
Date Modified Username Field Change
12-16-14 14:51 nam New Issue
12-17-14 04:43 nam Summary spring-integration: allow non-public inner classes for Filters => spring-integration: allow non-public beans for Filters
12-17-14 04:44 nam Description Updated
03-30-15 18:33 ferg Note Added: 0006608
03-30-15 18:33 ferg Assigned To  => ferg
03-30-15 18:33 ferg Status new => closed
03-30-15 18:33 ferg Resolution open => fixed
03-30-15 18:33 ferg Fixed in Version  => 4.0.44
08-05-15 02:16 msouthall Issue Monitored: msouthall

Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
32 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker