<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>The speed improvement of JBoss 7 is just beyond awesome and no words could cover my excitement to this fantastic piece of engineering work.</div><div><br></div><div>During this weekend I tried to get my project deployed in JBoss 7 and it looks like I'm close to a success. I'd like to share my experience and point out where it fails for me.</div><div><br></div><div>Deployment assembly looks like:</div><div><br></div><div>* 16 project extensions related to my project (my project is named parts) </div><div><br></div><div>* Uses Weld 1.1.1, Seam Solder, Faces, International, Servlet, Persistence, Mail, Catch, Config, JMS, Remoting and Security.</div><div><br></div><div>* Depends on Hibernate Core 3.6.0 (because of Seam Persistence), Hibernate Search 3.3.0 because of Hibernate Core, HornetQ and JAXB.</div><div><br></div><div>* Includes all non-jboss-6 included jars (mvel, ora, joda-time, httpclient, etc.)</div><div><br></div><div>What makes it hard to figure out is what dependencies should be opted in or out. The jboss-as-parent-7.0.0.CR1 gives idea to figure out dependency versions, but it's still hard to tell what's available in the deployment classpath for my WAR in JBoss 7 (standalone-preview).</div><div><br></div><div>I added an extra profile to my pom to opt in jars that needs to be included in the J7 deployment:</div><div><br></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> <span style="color: #508e92"><</span><span style="color: #678e91">profile</span><span style="color: #508e92">></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> <span style="color: #508e92"><</span><span style="color: #678e91">id</span><span style="color: #508e92">></span>j7<span style="color: #508e92"></</span><span style="color: #678e91">id</span><span style="color: #508e92">></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> <span style="color: #508e92"><</span><span style="color: #678e91">dependencies</span><span style="color: #508e92">></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> <span style="color: #508e92"><</span><span style="color: #678e91">dependency</span><span style="color: #508e92">></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; color: rgb(103, 142, 145); "><font class="Apple-style-span" color="#000000"><span class="Apple-style-span" style="white-space: pre;"> </span></font><span style="color: #508e92"><</span>groupId<span style="color: #508e92">></span><span style="color: #000000">dom4j</span><span style="color: #508e92"></</span>groupId<span style="color: #508e92">></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; color: rgb(103, 142, 145); "><span style="color: #508e92"><span class="Apple-style-span" style="color: rgb(0, 0, 0); white-space: pre; "> </span><</span>artifactId<span style="color: #508e92">></span><span style="color: #000000">dom4j</span><span style="color: #508e92"></</span>artifactId<span style="color: #508e92">></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><span style="color: #508e92"><span class="Apple-style-span" style="color: rgb(0, 0, 0); white-space: pre; "> </span><</span><span style="color: #678e91">scope</span><span style="color: #508e92">></span>compile<span style="color: #508e92"></</span><span style="color: #678e91">scope</span><span style="color: #508e92">></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> <span style="color: #508e92"></</span><span style="color: #678e91">dependency</span><span style="color: #508e92">></span></div><div> <span style="color: #508e92"><</span><span style="color: #678e91">dependency</span><span style="color: #508e92">></span></div></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> <span style="color: #508e92"><</span><span style="color: #678e91">groupId</span><span style="color: #508e92">></span>org.slf4j<span style="color: #508e92"></</span><span style="color: #678e91">groupId</span><span style="color: #508e92">></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> <span style="color: #508e92"><</span><span style="color: #678e91">artifactId</span><span style="color: #508e92">></span>slf4j-<span style="text-decoration: underline">api</span><span style="color: #508e92"></</span><span style="color: #678e91">artifactId</span><span style="color: #508e92">></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> <span style="color: #508e92"><</span><span style="color: #678e91">version</span><span style="color: #508e92">></span>1.5.10<span style="color: #508e92"></</span><span style="color: #678e91">version</span><span style="color: #508e92">></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> <span style="color: #508e92"><</span><span style="color: #678e91">scope</span><span style="color: #508e92">></span>compile<span style="color: #508e92"></</span><span style="color: #678e91">scope</span><span style="color: #508e92">></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> <span style="color: #508e92"></</span><span style="color: #678e91">dependency</span><span style="color: #508e92">></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> <span style="color: #508e92"><</span><span style="color: #678e91">dependency</span><span style="color: #508e92">></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> <span style="color: #508e92"><</span><span style="color: #678e91">groupId</span><span style="color: #508e92">></span>org.slf4j<span style="color: #508e92"></</span><span style="color: #678e91">groupId</span><span style="color: #508e92">></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> <span style="color: #508e92"><</span><span style="color: #678e91">artifactId</span><span style="color: #508e92">></span>slf4j-log4j12<span style="color: #508e92"></</span><span style="color: #678e91">artifactId</span><span style="color: #508e92">></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> <span style="color: #508e92"><</span><span style="color: #678e91">version</span><span style="color: #508e92">></span>1.5.10<span style="color: #508e92"></</span><span style="color: #678e91">version</span><span style="color: #508e92">></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> <span style="color: #508e92"><</span><span style="color: #678e91">scope</span><span style="color: #508e92">></span>compile<span style="color: #508e92"></</span><span style="color: #678e91">scope</span><span style="color: #508e92">></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> <span style="color: #508e92"></</span><span style="color: #678e91">dependency</span><span style="color: #508e92">></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> <span style="color: #508e92"><</span><span style="color: #678e91">dependency</span><span style="color: #508e92">></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> <span style="color: #508e92"><</span><span style="color: #678e91">groupId</span><span style="color: #508e92">></span>log4j<span style="color: #508e92"></</span><span style="color: #678e91">groupId</span><span style="color: #508e92">></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> <span style="color: #508e92"><</span><span style="color: #678e91">artifactId</span><span style="color: #508e92">></span>log4j<span style="color: #508e92"></</span><span style="color: #678e91">artifactId</span><span style="color: #508e92">></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> <span style="color: #508e92"><</span><span style="color: #678e91">version</span><span style="color: #508e92">></span>1.2.14<span style="color: #508e92"></</span><span style="color: #678e91">version</span><span style="color: #508e92">></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> <span style="color: #508e92"><</span><span style="color: #678e91">scope</span><span style="color: #508e92">></span>compile<span style="color: #508e92"></</span><span style="color: #678e91">scope</span><span style="color: #508e92">></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> <span style="color: #508e92"></</span><span style="color: #678e91">dependency</span><span style="color: #508e92">></span></div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; min-height: 15.0px"> <span style="color: #508e92"><</span><span style="color: #678e91">dependency</span><span style="color: #508e92">></span></p><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> <span style="color: #508e92"><</span><span style="color: #678e91">groupId</span><span style="color: #508e92">></span>org.hibernate<span style="color: #508e92"></</span><span style="color: #678e91">groupId</span><span style="color: #508e92">></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> <span style="color: #508e92"><</span><span style="color: #678e91">artifactId</span><span style="color: #508e92">></span><span style="text-decoration: underline">hibernate</span>-search<span style="color: #508e92"></</span><span style="color: #678e91">artifactId</span><span style="color: #508e92">></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; color: rgb(93, 119, 201); "><span style="color: #000000"> </span><!-- version>3.4.0.Final</version --></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> <span style="color: #508e92"><</span><span style="color: #678e91">scope</span><span style="color: #508e92">></span>compile<span style="color: #508e92"></</span><span style="color: #678e91">scope</span><span style="color: #508e92">></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> <span style="color: #508e92"></</span><span style="color: #678e91">dependency</span><span style="color: #508e92">></span> </div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> <span style="color: #508e92"><</span><span style="color: #678e91">dependency</span><span style="color: #508e92">></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> <span style="color: #508e92"><</span><span style="color: #678e91">groupId</span><span style="color: #508e92">></span>org.hibernate<span style="color: #508e92"></</span><span style="color: #678e91">groupId</span><span style="color: #508e92">></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> <span style="color: #508e92"><</span><span style="color: #678e91">artifactId</span><span style="color: #508e92">></span><span style="text-decoration: underline">hibernate</span>-core<span style="color: #508e92"></</span><span style="color: #678e91">artifactId</span><span style="color: #508e92">></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> <span style="color: #508e92"><</span><span style="color: #678e91">version</span><span style="color: #508e92">></span>3.6.0.Final<span style="color: #508e92"></</span><span style="color: #678e91">version</span><span style="color: #508e92">></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> <span style="color: #508e92"><</span><span style="color: #678e91">scope</span><span style="color: #508e92">></span>compile<span style="color: #508e92"></</span><span style="color: #678e91">scope</span><span style="color: #508e92">></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> <span style="color: #508e92"></</span><span style="color: #678e91">dependency</span><span style="color: #508e92">></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> <span style="color: #508e92"><</span><span style="color: #678e91">dependency</span><span style="color: #508e92">></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> <span style="color: #508e92"><</span><span style="color: #678e91">groupId</span><span style="color: #508e92">></span>javax.validation<span style="color: #508e92"></</span><span style="color: #678e91">groupId</span><span style="color: #508e92">></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> <span style="color: #508e92"><</span><span style="color: #678e91">artifactId</span><span style="color: #508e92">></span>validation-<span style="text-decoration: underline">api</span><span style="color: #508e92"></</span><span style="color: #678e91">artifactId</span><span style="color: #508e92">></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> <span style="color: #508e92"><</span><span style="color: #678e91">version</span><span style="color: #508e92">></span>1.0.0.GA<span style="color: #508e92"></</span><span style="color: #678e91">version</span><span style="color: #508e92">></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> <span style="color: #508e92"></</span><span style="color: #678e91">dependency</span><span style="color: #508e92">></span> </div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> <span style="color: #508e92"></</span><span style="color: #678e91">dependencies</span><span style="color: #508e92">></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "> <span style="color: #508e92"></</span><span style="color: #678e91">profile</span><span style="color: #508e92">></span></div></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><span style="color: #508e92"><br></span></div><div><br></div><div>The good thing is that I see a long list of registered EJB 3.x and 3.0 beans being successfully deployed. But, it fails with a CNF exception for log4j and slf4j loggers. I'm clueless to how to solve logger dependencies.</div><div><br></div><div>I posted this issue on AS7 User forum (see bottom): <a href="http://community.jboss.org/thread/168853">http://community.jboss.org/thread/168853</a></div><div><br></div><div>According to the migration guide: <a href="https://docs.jboss.org/author/display/AS7/How+do+I+migrate+my+application+from+AS5+or+AS6+to+AS7#HowdoImigratemyapplicationfromAS5orAS6toAS7-JBossLogging">https://docs.jboss.org/author/display/AS7/How+do+I+migrate+my+application+from+AS5+or+AS6+to+AS7#HowdoImigratemyapplicationfromAS5orAS6toAS7-JBossLogging</a></div><div><br></div><div>we need to include "legacy" Hibernate EntityManager, Validator and Annotations to get Seam to work. But, it does not tell whether this relates to Seam 2 or 3. Besides, wouldn't it make sense to opt out those and use the already available Hibernate 4-Beta2 and exclude "legacy" Hibernate dependencies. The footprint of the deployment would be smaller. And how does this affect the JPA in J7 when I include "legacy" hibernate?</div><div><br></div><div>The logger is my current showstopper and I don't know what error will be next. Has anyone deployed the Seam Booking example successfully to J7? I would like to see the migration guide clearer to the above and certainly would like to help out on the documentation side and do testing. Or in any other way be of help.</div><div><br></div><div>What we need is a JBoss7 deployment matrix profile to act as a reference to everybody using Seam 3 and JBoss 7 project.</div><div><br></div><div>Cheers,</div><div>Ove</div><div><br></div><div><br></div></body></html>