<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 logging configuration with AS7 confuses me. Due a dependency of hibernate-search, I have upgraded to latest snapshot of it. And it works fine. I experienced that hibernate-search is unable to build the persistence-unit unless SLF4J is included, so I added an WEB-INF/jboss-deployment-structure.xml:</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; color: rgb(103, 142, 145); "><span style="color: #508e92">&lt;</span>jboss-deployment-structure<span style="color: #508e92">&gt;</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: #000000">&nbsp; &nbsp; </span><span style="color: #508e92">&lt;</span>deployment<span style="color: #508e92">&gt;</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: #000000">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #508e92">&lt;</span>dependencies<span style="color: #508e92">&gt;</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; ">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #508e92">&lt;</span><span style="color: #678e91">module</span> <span style="color: #7f3191">name</span>=<span style="color: #393ffd">"org.dom4j"</span> <span style="color: #508e92">/&gt;</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; ">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #508e92">&lt;</span><span style="color: #678e91">module</span> <span style="color: #7f3191">name</span>=<span style="color: #393ffd">"org.apache.log4j"</span><span style="color: #508e92">/&gt;</span>&nbsp; &nbsp; &nbsp;</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; ">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #508e92">&lt;</span><span style="color: #678e91">module</span> <span style="color: #7f3191">name</span>=<span style="color: #393ffd">"org.slf4j"</span><span style="color: #508e92">/&gt;</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(57, 63, 253); "><span style="color: #000000">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #508e92">&lt;</span><span style="color: #678e91">module</span><span style="color: #000000"> </span><span style="color: #7f3191">name</span><span style="color: #000000">=</span>"org.apache.commons.logging"<span style="color: #508e92">/&gt;</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: #000000">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #508e92">&lt;/</span>dependencies<span style="color: #508e92">&gt;</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: #000000">&nbsp; &nbsp; </span><span style="color: #508e92">&lt;/</span>deployment<span style="color: #508e92">&gt;</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">&lt;/</span>jboss-deployment-structure<span style="color: #508e92">&gt;</span></div></div><div><span style="color: #508e92"><br></span></div><div>This solves all my former issues of logging dependencies and JBoss Logging works just fine and hibernate-search gets the logger instance it needs. I have experimented with including and excluding slf4j 1.5.10 and commons-logging 1.1.1, but it fails, unless I do the above.</div><div><br></div><div>Anyhow, Solder's TypeSafe Message log seems broken with AS7 and I get the following exception:</div><div><br></div><div><div>14:20:49,876 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) java.lang.IllegalArgumentException: Invalid logger interface com.musific.log.MusificLog (implementation not found)</div><div>14:20:49,877 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) <span class="Apple-tab-span" style="white-space:pre">        </span>at org.jboss.logging.Logger.getMessageLogger(Logger.java:2254)</div><div>14:20:49,877 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) <span class="Apple-tab-span" style="white-space:pre">        </span>at org.jboss.logging.Logger.getMessageLogger(Logger.java:2215)</div><div>14:20:49,877 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) <span class="Apple-tab-span" style="white-space:pre">        </span>at org.jboss.seam.solder.logging.TypedMessageLoggerProducer.produceTypedLogger(TypedMessageLoggerProducer.java:66)</div></div><div><br></div><div>Full log:&nbsp;<a href="http://pastebin.com/WQt11T47">http://pastebin.com/WQt11T47</a></div><div><br></div><div>When I deploy seam-booking example, it works perfect.</div><div><br></div><div>I suspect that hibernate-search (that is lucene) requires a conflicting version of slf4j, since that is a dependency causing PU not to be built unless it's there.</div><div><br></div><div><div>What's is the correct configuration for JBoss and Seam Solder logging in AS7?&nbsp;</div><div><br></div><div>What would be the right exclude (in&nbsp;jboss-deployment-structure.xml:) and logger jars to include.</div><div><br></div><div>Ove</div></div><div><br></div></body></html>