<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I have worked around the NPE, and added a test for using XML datasources with JPA: <a href="https://github.com/jbossas/jboss-as/commit/c0a5a346a157d2d7eb23a40468f40a4c8cb7393d">https://github.com/jbossas/jboss-as/commit/c0a5a346a157d2d7eb23a40468f40a4c8cb7393d</a><div><br></div><div>Stuart<br><div><br></div><div><br></div><div><br><div><div>On 31/01/2012, at 12:57 PM, Max Rydahl Andersen wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi,<br><br>I wanted to try out AS7 master tonight to test out the new -ds.xml features but I ran into a bunch of issues;<br>and since it seem to be such basic issues I didn't want to pollute jira upfront.<br><br>Is any of this expected currently:<br><br>A) jboss-cli --connect just freezes<br><br>B) jboss-cli --gui loads UI but NPE's and clicking causes more errors<br><br>C) deploying -ds.xml with xadatasource fails after logging a lot of errors/warnings about private api<br> "[org.jboss.as.dependency.private] (MSC service thread 1-1) JBAS018567: Deployment "deployment.wonka.war" is using a private module ("<x.y.z>") which may be changed or removed in future versions without notice"<br><br>D) deploying -ds.xml without xadatasource seem to work but once app is trying to access logs gets filled with more:<br>[org.jboss.as.dependency.private] (MSC service thread 1-1) JBAS018567: Deployment "deployment.wonka.war" is using a private module ("org.jboss.iiop-client:main") which may be changed or removed in future versions without notice<br><br>E) I can't figure out how to reference it in persistence.xml or resource lookups.<br> Using the datasource name, i.e. java:jboss/datasources/DeployedDS does not work in persistence.xml <br> Tried both with -ds.xml inside and outside war.<br> note, I did nothing special - just a servlet and a CDI bean + persistence.xml; trying to keep it as simple as possible.<br><br>should I open lira's or is master considered non-functional in these areas at the moment ? :)<br><br><br>/max<br><a href="http://about.me/maxandersen">http://about.me/maxandersen</a><br><br><br><br><br>_______________________________________________<br>jboss-as7-dev mailing list<br>jboss-as7-dev@lists.jboss.org<br>https://lists.jboss.org/mailman/listinfo/jboss-as7-dev<br></div></blockquote></div><br></div></div></body></html>