Hi,
if U have MDB in your project U cannot define a system bval. U have to
define bval using ejb-jar.xml:

<ejb-jar xmlns = "http://java.sun.com/xml/ns/javaee";
         version = "3.1"
         xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance";
         xsi:schemaLocation = "http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/ejb-jar_3_1.xsd";>
    <assembly-descriptor>
        <interceptor-binding>
            <ejb-name>DownloadService</ejb-name>
           
<interceptor-class>org.apache.openejb.bval.BeanValidationAppendixInterceptor</interceptor-class>
        </interceptor-binding>
    </assembly-descriptor>
</ejb-jar>

br hw 



--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/JAX-RS-Bean-Validation-tp4667501p4671337.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to