Re: IllegalArgumentException on weird constructed URL

2016-05-17 Thread Romain Manni-Bucau
build a project on github with a failing test ;). Romain Manni-Bucau @rmannibucau | Blog | Github | LinkedIn | Tomitriber | J

Re: IllegalArgumentException on weird constructed URL

2016-05-17 Thread Gregory Orciuch
Well, exclude unlisted didnt help, any other suggestion ? -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/IllegalArgumentException-on-weird-constructed-URL-tp4678460p4678473.html Sent from the TomEE Dev mailing list archive at Nabble.com.

Re: IllegalArgumentException on weird constructed URL

2016-05-17 Thread Romain Manni-Bucau
setting exclude unlisted = true should maybe help. That said tomee doesnt read persistence.xml so can be hibernate in your setup which needs the persistence.xml. Romain Manni-Bucau @rmannibucau | Blog | Github

Re: IllegalArgumentException on weird constructed URL

2016-05-17 Thread Gregory Orciuch
Thanks I try building and using snapshot. But small question, how I can kinda blacklist that particular persistence.xml ? I thought that if I create PU from scratch in ApplicationComposer then any other persistence.xml wont be used ?(scanned) Check this out: http://hastebin.com/qoruvocaba.avrasm

Re: IllegalArgumentException on weird constructed URL

2016-05-17 Thread Romain Manni-Bucau
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 howe

Re: IllegalArgumentException on weird constructed URL

2016-05-17 Thread Gregory Orciuch
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.

Re: IllegalArgumentException on weird constructed URL

2016-05-17 Thread Gregory Orciuch
Okey I spent couple of longer hours with the debugger. It actually starts here unitInfo.setRootUrlAndJarUrls(info.persistenceUnitRootUrl, info.jarFiles); in PersistenceBuilder.java further in function toURL within PersistenceUnitInfoImpl.java When I run same on the Linux the this.persistenceUnit