L.S.,
Thanks for the update! I think the likely suspect there is https://issues.apache.org/jira/browse/SMX4-1373, probably, which is marked fixed in specs-2.3.0 at the Apache end. Regards, Gert Vanthienen On Wed, Aug 7, 2013 at 8:26 PM, Scott Parkerson <[email protected]> wrote: > Just wanted to give an update on this; turns out that thing started working > when I used this bundle for JSR-303: > > > mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jsr303-api-1.0.0/2.0.0.redhat-60024 > > rather than the vanilla 2.2.0 version, which hangs. > > --sgp > > > On Tue, Aug 6, 2013 at 10:10 AM, Scott Parkerson <[email protected]>wrote: > >> [Sorry about the bad formatting; I hit "send" accidentally. I'll repeat >> with better formatting. --sgp] >> >> I'm attempting to start a webservice bundle on JBoss Fuse. The bundle is >> based on Spring MVC, and uses Apache BVal for bean validation. However, >> >> a. Spring MVC fails to auto detect that JSR-303 support is installed >> unless I specifically wire it in using this in my Spring Context: >> >> <bean name="validator" >> class="org.springframework.validation.beanvalidation.LocalValidatorFactoryBean"> >> <property name="providerClass" >> value="org.apache.bval.jsr303.ApacheValidationProvider" /> >> </bean> >> >> <mvc:annotation-driven validator="validator"/> >> >> b. When I do wire it in, JBoss Fuse hangs trying to find the JSR-303 spec. >> (From the logs, it appears to be hanging in the afterPropertiesSet method >> of the LocalValidatorFactoryBean, when it tries to find the specification.) >> >> >> Hooking up a debugger seems to show it hanging in >> org.apache.servicemix.specs.locator.OsgiLocator.locate(). >> >> This is happening on JBoss Fuse ESB 6.0.0-redhat-024 (based on Karaf >> 2.3.0). I chatted on IRC with Jean-Baptist and he suggested I try the >> latest vanilla Karaf, which I did, but the results are the same. >> >> I've opened an issue at RedHat, but I thought I'd also try asking here. >> >> Thanks for any help! >> >> --sgp >> >> On Tue, Aug 6, 2013 at 10:05 AM, Scott Parkerson <[email protected]>wrote: >> >>> I'm attempting to start a webservice bundle on JBoss Fuse. The bundle is >>> based on Spring MVC, and uses Apache BVal for bean validation. However, a. >>> Spring MVC fails to auto detect that JSR-303 support is installed unless I >>> specifically wire it in using this in my Spring Context: >>> >>> <bean name="validator" >>> class="org.springframework.validation.beanvalidation.LocalValidatorFactoryBean"> >>> <property name="providerClass" >>> value="org.apache.bval.jsr303.ApacheValidationProvider" /> </bean> >>> <mvc:annotation-driven validator="validator"/> b. When I do wire it in, >>> JBoss Fuse hangs trying to find the JSR-303 spec. Hooking up a debugger >>> seems to show it hanging in >>> org.apache.servicemix.specs.locator.OsgiLocator.locate(). Any help would be >>> appreciated! Thank you! >>> >> >>
