https://issues.apache.org/jira/browse/TOMEE-1811
that said I'm not sure it will really solve your issue since I guess you use jar-file in your persistence.xml (otherwise you don't have this error) and if so in flat classpath it is likely not using the right path compared to wars. Let me know however if SNAPSHOT is better when redeployed (or if you build it yourself) Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> | JavaEE Factory <https://javaeefactory-rmannibucau.rhcloud.com> 2016-05-17 13:40 GMT+02:00 Gregory Orciuch <g.orci...@gmail.com>: > Small update. Same behavior with tomee openejb 7.0.0-M3 :/ > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/IllegalArgumentException-on-weird-constructed-URL-tp4678460p4678469.html > Sent from the TomEE Dev mailing list archive at Nabble.com. >