If you are trying to embed Orient DB into Dropwizard, there an up to date 
example project here: https://github.com/xvik/dropwizard-orient-server

On Tuesday, June 10, 2014 at 10:10:06 AM UTC+10, alexander anguiano wrote:
>
> Does anyone have 1.7.2 working with dropwizard, play or jpa? 
>
>
> Also, I create a single jar and with 1.6.4 my jar was 13meg.  With 1.7.4 
> it jumped up to 25.5 meg. 
>
> (Sorry for the redundancy , there are several threads in  the forum with 
> no solutions. )
>
> Here's the stack trace i get with dropwizard
> INFO: Can't parse 'META-INF/persistence.xml' :Something goes wrong while 
> parsing persistence.xml
> Exception in thread "main" javax.validation.ValidationException: HV000041: 
> Call to TraversableResolver.isReachable() thr
> ew an exception.
>         at 
> org.hibernate.validator.internal.engine.ValidatorImpl.isValidationRequired(ValidatorImpl.java:1230)
>         at 
> org.hibernate.validator.internal.engine.ValidatorImpl.validateConstraint(ValidatorImpl.java:438)
>         at 
> org.hibernate.validator.internal.engine.ValidatorImpl.validateConstraintsForDefaultGroup(ValidatorImpl.java:3
> 87)
>         at 
> org.hibernate.validator.internal.engine.ValidatorImpl.validateConstraintsForCurrentGroup(ValidatorImpl.java:3
> 51)
>         at 
> org.hibernate.validator.internal.engine.ValidatorImpl.validateInContext(ValidatorImpl.java:303)
>         at 
> org.hibernate.validator.internal.engine.ValidatorImpl.validate(ValidatorImpl.java:133)
>         at 
> com.yammer.dropwizard.validation.Validator.validate(Validator.java:58)
>         at 
> com.yammer.dropwizard.validation.Validator.validate(Validator.java:40)
>         at 
> com.yammer.dropwizard.config.ConfigurationFactory.validate(ConfigurationFactory.java:92)
>         at 
> com.yammer.dropwizard.config.ConfigurationFactory.build(ConfigurationFactory.java:64)
>         at 
> com.yammer.dropwizard.config.ConfigurationFactory.build(ConfigurationFactory.java:48)
>         at 
> com.yammer.dropwizard.cli.ConfiguredCommand.parseConfiguration(ConfiguredCommand.java:83)
>         at 
> com.yammer.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:51)
>         at com.yammer.dropwizard.cli.Cli.run(Cli.java:53)
>         at com.yammer.dropwizard.Service.run(Service.java:61)
>         at com.netiq.assets.AssetService.main(AssetService.java:17)
> Caused by: java.lang.UnsupportedOperationException: getProviderUtil
>         at 
> com.orientechnologies.orient.object.jpa.OJPAPersistenceProvider.getProviderUtil(OJPAPersistenceProvider.java:
> 80)
>         at javax.persistence.Persistence$1.isLoaded(Persistence.java:78)
>         at 
> org.hibernate.validator.internal.engine.resolver.JPATraversableResolver.isReachable(JPATraversableResolver.ja
> va:57)
>         at 
> org.hibernate.validator.internal.engine.resolver.DefaultTraversableResolver.isReachable(DefaultTraversableRes
> olver.java:130)
>         at 
> org.hibernate.validator.internal.engine.resolver.SingleThreadCachedTraversableResolver.isReachable(SingleThre
> adCachedTraversableResolver.java:46)
>         at 
> org.hibernate.validator.internal.engine.ValidatorImpl.isValidationRequired(ValidatorImpl.java:1221)
>         ... 15 more
>
> I found this link
> https://github.com/orientechnologies/orientdb/wiki/JPA-Configuration
>
> And tried putting a persistent.xml  file and still no luck.
>
>
>
> Exception in thread "main" javax.validation.ValidationException: HV000041: 
> Call to TraversableResolver.isReachable() thr
> ew an exception.
>         at 
> org.hibernate.validator.internal.engine.ValidatorImpl.isValidationRequired(ValidatorImpl.java:1230)
>         at 
> org.hibernate.validator.internal.engine.ValidatorImpl.validateConstraint(ValidatorImpl.java:438)
>         at 
> org.hibernate.validator.internal.engine.ValidatorImpl.validateConstraintsForDefaultGroup(ValidatorImpl.java:3
> 87)
>         at 
> org.hibernate.validator.internal.engine.ValidatorImpl.validateConstraintsForCurrentGroup(ValidatorImpl.java:3
> 51)
>         at 
> org.hibernate.validator.internal.engine.ValidatorImpl.validateInContext(ValidatorImpl.java:303)
>         at 
> org.hibernate.validator.internal.engine.ValidatorImpl.validate(ValidatorImpl.java:133)
>         at 
> com.yammer.dropwizard.validation.Validator.validate(Validator.java:58)
>         at 
> com.yammer.dropwizard.validation.Validator.validate(Validator.java:40)
>         at 
> com.yammer.dropwizard.config.ConfigurationFactory.validate(ConfigurationFactory.java:92)
>         at 
> com.yammer.dropwizard.config.ConfigurationFactory.build(ConfigurationFactory.java:64)
>         at 
> com.yammer.dropwizard.config.ConfigurationFactory.build(ConfigurationFactory.java:48)
>         at 
> com.yammer.dropwizard.cli.ConfiguredCommand.parseConfiguration(ConfiguredCommand.java:83)
>         at 
> com.yammer.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:51)
>         at com.yammer.dropwizard.cli.Cli.run(Cli.java:53)
>         at com.yammer.dropwizard.Service.run(Service.java:61)
>         at com.netiq.assets.AssetService.main(AssetService.java:17)
> Caused by: java.lang.UnsupportedOperationException: getProviderUtil
>         at 
> com.orientechnologies.orient.object.jpa.OJPAPersistenceProvider.getProviderUtil(OJPAPersistenceProvider.java:
> 80)
>         at javax.persistence.Persistence$1.isLoaded(Persistence.java:78)
>         at 
> org.hibernate.validator.internal.engine.resolver.JPATraversableResolver.isReachable(JPATraversableResolver.ja
> va:57)
>         at 
> org.hibernate.validator.internal.engine.resolver.DefaultTraversableResolver.isReachable(DefaultTraversableRes
> olver.java:130)
>         at 
> org.hibernate.validator.internal.engine.resolver.SingleThreadCachedTraversableResolver.isReachable(SingleThre
> adCachedTraversableResolver.java:46)
>         at 
> org.hibernate.validator.internal.engine.ValidatorImpl.isValidationRequired(ValidatorImpl.java:1221)
>         ... 15 more
>
> Thanks
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to