Hey John,

How are you?

It seems like your issue is more Hibernate Validator related.  What
version are you using?  I don't see that message on the 4.3 branch or
the 4.1 branch.

- John

On Fri, Dec 20, 2013 at 5:53 PM, John Franey <jjfra...@gmail.com> wrote:
> 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
>

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

Reply via email to