Hi,
I have a resource that injects the validator, and the rest method invokes
the validator. On every request, I see these entries in the log. That is
'Parsing XML based configuration by 4 on every request. Is that
reasonable? If not, how do I workaround?
17:38:14,022 INFO
[org.hibernate.validator.internal.xml.ValidationXmlParser]
(http-localhost/127.0.0.1:8080-1) HV000007: META-INF/validation.xml found.
Parsing XML based configurati
on.
17:38:14,027 INFO
[org.hibernate.validator.internal.xml.ValidationXmlParser]
(http-localhost/127.0.0.1:8080-1) HV000003: Using
org.jboss.seam.validation.InjectingConstraintValidator
Factory as constraint factory.
17:38:14,046 INFO
[org.hibernate.validator.internal.xml.ValidationXmlParser]
(http-localhost/127.0.0.1:8080-1) HV000007: META-INF/validation.xml found.
Parsing XML based configurati
on.
17:38:14,051 INFO
[org.hibernate.validator.internal.xml.ValidationXmlParser]
(http-localhost/127.0.0.1:8080-1) HV000003: Using
org.jboss.seam.validation.InjectingConstraintValidator
Factory as constraint factory.
17:38:14,068 INFO
[org.hibernate.validator.internal.xml.ValidationXmlParser]
(http-localhost/127.0.0.1:8080-1) HV000007: META-INF/validation.xml found.
Parsing XML based configurati
on.
17:38:14,073 INFO
[org.hibernate.validator.internal.xml.ValidationXmlParser]
(http-localhost/127.0.0.1:8080-1) HV000003: Using
org.jboss.seam.validation.InjectingConstraintValidator
Factory as constraint factory.
17:38:14,093 INFO
[org.hibernate.validator.internal.xml.ValidationXmlParser]
(http-localhost/127.0.0.1:8080-1) HV000007: META-INF/validation.xml found.
Parsing XML based configuration.
17:38:14,099 INFO
[org.hibernate.validator.internal.xml.ValidationXmlParser]
(http-localhost/127.0.0.1:8080-1) HV000003: Using
org.jboss.seam.validation.InjectingConstraintValidatorFactory as constraint
factory.
This is a simplification of my code:
@Path(....)
public class MyResource {
@Inject
private Validator validator;
@PUT
public create(MyObject myObject) {
validator.validate(myObject);
}
}
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Resteasy-users mailing list
Resteasy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/resteasy-users