-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Bean Validation on JBoss EAP 6.2 works from time to time
PostPosted: Mon Jul 07, 2014 4:16 am 
Newbie

Joined: Mon Jul 07, 2014 3:58 am
Posts: 1
I work with JBoss EAP 6.2 and have the specific problem. I have 2 modules - core and app; there are some RESTful-services in both of them. I work with Resteasy 2.3.7.Final,validation-api 1.0.0.GA and hibernate-validator 4.3.1.Final, which has provided scope. All REST-methods looks like:

@Path("/modify")
@ValidateRequest
@Consumes("application/json")
@Produces("application/json")
public Response send(@Valid E data) {
//some business logic
}
Rest-validation works fine; but bean validation behaves very strange. If class with annotation(for example) @NotNull and rest-method ara located in a single module - everything OK, but if they are in different modules - validation works from time to time. I try debug so deeper as I can, but I haven't success :(
BeanMetaDataManager's constraintValidatorDefinitions sometimes contains my annotations, and sometimes doesn't contain them for no apparent reason. Any ideas?


Top
 Profile  
 
 Post subject: Re: Bean Validation on JBoss EAP 6.2 works from time to time
PostPosted: Wed Jul 09, 2014 9:55 am 
Hibernate Team
Hibernate Team

Joined: Sat Jan 24, 2009 12:46 pm
Posts: 388
Hi,

This sounds very odd, it might be a bug. Any chance that you create a minimal test case demonstrating the problem and create an issue for it in our JIRA tracker (https://hibernate.atlassian.net/browse/HV)?

Thanks,

--Gunnar

_________________
Visit my blog at http://musingsofaprogrammingaddict.blogspot.com/


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.