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: 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

- Relationships

- Notes
(0006608)
ferg
03-30-15 18:33

server/1769
 

- 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