<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I've been using dynamic generated proxies for AS6 and haven't read the documentation for a while. Added seam-solder-tooling to one of my modules and now it works.<div><br></div><div>However, for modules that has annotations defined in them:</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(22, 47, 202); "><span style="color: #777777">@Target</span><span style="color: #000000">( { </span>TYPE<span style="color: #000000">, </span>METHOD<span style="color: #000000">, </span>PARAMETER<span style="color: #000000">, </span>FIELD<span style="color: #000000"> })</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(119, 119, 119); ">@Retention<span style="color: #000000">(</span><span style="color: #162fca">RUNTIME</span><span style="color: #000000">)</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(119, 119, 119); ">@Documented</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; color: rgb(119, 119, 119); ">@Qualifier</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; color: rgb(126, 43, 104); ">public<span style="color: #000000"> </span>@interface<span style="color: #000000"> </span><span style="color: #777777">PartsConfig</span><span style="color: #000000"> {</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; min-height: 15px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; ">&nbsp; &nbsp; PartsConfigSource target() <span style="color: #7e2b68">default</span> PartsConfigSource.<span style="color: #162fca">FILE</span>;</div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; min-height: 15.0px">&nbsp;&nbsp; &nbsp;<br class="webkit-block-placeholder"></p><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; ">}</div></div><div><br></div><div>and I get this error<br><div><br></div><div><div>[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project parts-commons-api: Compilation failure: Compilation failure:</div><div>[ERROR] /Users/oranheim/Documents/workspace/parts/parts-commons/api/src/main/java/com/parts/commons/env/PartsConfig.java:[21,56] incompatible types</div><div>[ERROR] found &nbsp; : com.parts.commons.env.PartsConfigSource</div><div>[ERROR] required: com.parts.commons.env.PartsConfigSource</div><div><br></div><div>My setup is equal to what's in the solder documentation.</div><div><br></div><div>What's the reasoning behind incompatible types?</div><div><br></div><div>Ove</div><div><br></div><div><br><div><div>On Aug 3, 2011, at 5:03 PM, Jason Porter wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div bgcolor="#FFFFFF"><div>Did you run the annotation processor to built the logger impl for your project?<br><br>Sent from my iPhone</div><div><br>On Aug 3, 2011, at 6:36, Ove Ranheim &lt;<a href="mailto:oranheim@gmail.com">oranheim@gmail.com</a>&gt; wrote:<br><br></div><div><span></span></div><blockquote type="cite"><div>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"></a><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></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>seam-dev mailing list</span><br><span><a href="mailto:seam-dev@lists.jboss.org">seam-dev@lists.jboss.org</a></span><br><span><a href="https://lists.jboss.org/mailman/listinfo/seam-dev">https://lists.jboss.org/mailman/listinfo/seam-dev</a></span><br></div></blockquote></div></blockquote></div><br></div></div></div></body></html>