<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 21, 2016 at 12:45 AM, Sanne Grinovero <span dir="ltr"><<a href="mailto:sanne@hibernate.org" target="_blank">sanne@hibernate.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div id=":36v" class="">Right I would suggest the same, but how can one disable it?<br>
The only options I know of to control Jipijapa are read from the<br>
`persistence.xml` resource file, which is missing in these cases as<br>
the Persistence Unit will typically be configured via some alternative<br>
strategy. The irony ;)</div></blockquote></div><br><br></div><div class="gmail_extra">Nah, completely disable it, reading persistence.xml is already part of jpa subsystem :)<br></div><div class="gmail_extra">you can do that by either removing it from standalone.xml (/subsystem=jpa:remove;reload)<br></div><div class="gmail_extra">or by adding jboss-deployment-structure.xml to deployment with content<br><br><pre style="background-color:rgb(255,255,255);color:rgb(0,0,0);font-family:"Courier New""><span style="background-color:rgb(239,239,239)"><</span><span style="color:rgb(0,0,128);background-color:rgb(239,239,239);font-weight:bold">jboss-deployment-structure</span><span style="background-color:rgb(239,239,239)">></span><br> <span style="background-color:rgb(239,239,239)"><</span><span style="color:rgb(0,0,128);background-color:rgb(239,239,239);font-weight:bold">deployment</span><span style="background-color:rgb(239,239,239)">></span><br> <span style="background-color:rgb(239,239,239)"><</span><span style="color:rgb(0,0,128);background-color:rgb(239,239,239);font-weight:bold">exclude-subsystems</span><span style="background-color:rgb(239,239,239)">></span><br> <span style="background-color:rgb(239,239,239)"><</span><span style="color:rgb(0,0,128);background-color:rgb(239,239,239);font-weight:bold">subsystem </span><span style="color:rgb(0,0,255);background-color:rgb(239,239,239);font-weight:bold">name=</span><span style="color:rgb(0,128,0);background-color:rgb(239,239,239);font-weight:bold">"jpa"</span><span style="background-color:rgb(239,239,239)">/></span><br> <span style="background-color:rgb(239,239,239)"></</span><span style="color:rgb(0,0,128);background-color:rgb(239,239,239);font-weight:bold">exclude-subsystems</span><span style="background-color:rgb(239,239,239)">></span><br> <span style="background-color:rgb(239,239,239)"></</span><span style="color:rgb(0,0,128);background-color:rgb(239,239,239);font-weight:bold">deployment</span><span style="background-color:rgb(239,239,239)">></span><br><span style="background-color:rgb(239,239,239)"></</span><span style="color:rgb(0,0,128);background-color:rgb(239,239,239);font-weight:bold">jboss-deployment-structure</span><span style="background-color:rgb(239,239,239)">></span></pre>which disabled jpa subsystem completely for deployment.<br></div><div class="gmail_extra"><br><br></div><div class="gmail_extra"><br></div></div>