This needs to be in some docs as a potential pitfall.<br><br><div class="gmail_quote">On Tue, Jun 7, 2011 at 21:33, Jaikiran Pai <span dir="ltr">&lt;<a href="mailto:jpai@redhat.com">jpai@redhat.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Wednesday 08 June 2011 04:12 AM, Stuart Douglas wrote:<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; I guess that it is not good. How will AS7 solves deploying old EJB3<br>
&gt;&gt; application?<br>
&gt;&gt;<br>
&gt;&gt; I am new in JBoss AS 7 world, and right now I am trying to deploy some<br>
&gt;&gt; old applications. For instance I saw this warning:<br>
&gt;&gt;<br>
&gt;&gt; 21:37:17,430 WARN  [org.jboss.as.server.deployment.module] (MSC service<br>
&gt;&gt; thread 1-2) META-INF directory<br>
&gt;&gt; /content/jboss-seam-jpa.war/WEB-INF/classes/META-INF ignored as it is<br>
&gt;&gt; not a valid location for META-INF<br>
&gt;&gt;<br>
&gt;&gt; Why the location is not valid?<br>
&gt;&gt;<br>
&gt;<br>
&gt; It should be in war/META-INF, not war/WEB-INF/classes/META-INF.<br>
&gt;<br>
</div>Note that the WARN is a bit misleading because (only) the JPA spec<br>
allows the persistence.xml file to be in .war/WEB-INF/classes/META-INF<br>
(section 8.2 of JPA spec). That file infact will be picked up by AS7.<br>
It&#39;s just warning that the rest of the metadata should come from<br>
.war/META-INF. The .war/WEB-INF/classes/META-INF location is just for<br>
JPA persistence.xml<br>
<font color="#888888"><br>
-Jaikiran<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
seam-dev mailing list<br>
<a href="mailto:seam-dev@lists.jboss.org">seam-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/seam-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/seam-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Jason Porter<br><a href="http://lightguard-jp.blogspot.com" target="_blank">http://lightguard-jp.blogspot.com</a><br><a href="http://twitter.com/lightguardjp" target="_blank">http://twitter.com/lightguardjp</a><br>

<br>Software Engineer<br>Open Source Advocate<br>Author of Seam Catch - Next Generation Java Exception Handling<br><br>PGP key id: 926CCFF5<br>PGP key available at: <a href="http://keyserver.net" target="_blank">keyserver.net</a>, <a href="http://pgp.mit.edu" target="_blank">pgp.mit.edu</a><br>