<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>I'm guessing something convoluted, that boiled down to:</div><div><br></div><div>cp -r jboss-as-7.1.3 ./jboss-as-7.1.3/standalone/deployments</div><div><br></div><div>It produced a large log file ;-)</div><div><br></div><div><div>On 23 May 2013, at 10:55, Jaikiran Pai <<a href="mailto:jpai@redhat.com">jpai@redhat.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
<div bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><tt>On Thursday 23 May 2013 02:42 PM,
Paul Robinson wrote:</tt><tt><br>
</tt></div>
<blockquote cite="mid:97527A4F-AC03-4574-A395-14C3DA7CC64F@redhat.com" type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<tt>...</tt>
<div><tt>Also a student, on a course I teach, tried to deploy AS7
into AS7! That was fun to debug. Would you be able to spot
that ;-)</tt></div>
<div><tt><br>
</tt></div>
<div><tt>Paul.</tt></div>
</blockquote>
<tt><br>
</tt><tt>How did he try doing that?</tt><tt><br>
</tt><tt><br>
</tt><tt>-Jaikiran</tt><tt><br>
</tt>
<blockquote cite="mid:97527A4F-AC03-4574-A395-14C3DA7CC64F@redhat.com" type="cite">
<div><tt><br>
</tt></div>
<div><tt><br>
</tt>
<div>
<div><tt>On 22 May 2013, at 08:22, Nicklas Karlsson <</tt><tt><a moz-do-not-send="true" href="mailto:nickarls@gmail.com">nickarls@gmail.com</a></tt><tt>>
wrote:</tt></div>
<tt><br class="Apple-interchange-newline">
</tt>
<blockquote type="cite">
<div dir="ltr">
<div><tt>(I know there has been some discussion on the
topic (old community AS7-dev postings, IRC-chat with
Tomaz Cerar etc)</tt></div>
<div><tt><br>
</tt></div>
<tt> Hanging around the forums, I've noticed that a
frequent source of hard-to-debug deployment problems and
other non-linear-behavior is that people often try to
deploy archives with conflicting dependencies (various
EE APIs/impls already on the AS, JDBC drivers, maven
plugins, you name it). </tt>
<div>
<tt><br>
</tt></div>
<div><tt> Would it be worthwhile to implement a
deployment processor (disabled by default) that would
act as a helpful bouncer for the deployment archive?
We could have a simple isSane(Archive) interface or
something and people could write their own
implementations (that would be picked up through the
java services system or listed explicitly in some
module?). Default implementation that come to mind is</tt></div>
<div><tt><br>
</tt></div>
<div><tt>* Blacklisted packages (using Tattletale to warn
users if they are bundling e.g. EE impls/APIs)</tt></div>
<div><tt>* Version limiter (using Tattletale to warn if
deployment contains too old version of lib, e.g.
Spring)</tt></div>
<div><tt>* Unused libs (using Tattletale to warn if
deployment contains unused jars)</tt></div>
<div><tt>* Server provided libs (using Tattletale and
JBoss Modules) to show which dependencies could be
handled by a server module dependency)</tt></div>
<div><tt><br>
</tt></div>
<div><tt>I'm not sure JBoss Modules contains any
"directory" for which-modules-provides functionality
but I guess the module root could be scanned and the
resources indexed or something. Performance would not
be an issue because it's still going to be faster that
a user playing around with dependencies for days.</tt></div>
<div><tt><br>
</tt></div>
<div><tt>Thoughts?</tt></div>
<div>
<div><tt><br>
</tt></div>
<tt>-- </tt><tt><br>
</tt><tt>Nicklas Karlsson, +358 40 5062266</tt>
<div><tt>Vaakunatie 10 as 7, 20780 Kaarina</tt></div>
</div>
</div>
<tt>
_______________________________________________</tt><tt><br>
</tt><tt>wildfly-dev mailing list</tt><tt><br>
</tt><tt><a moz-do-not-send="true" href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a></tt><tt><br>
</tt><tt><a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/wildfly-dev">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a></tt><tt><br>
</tt></blockquote>
</div>
<tt><br>
</tt>
<div apple-content-edited="true">
<tt>
<div style="word-wrap: break-word; -webkit-nbsp-mode:
space; -webkit-line-break: after-white-space; ">-- <br>
Paul Robinson<br>
Web Service Transactions Lead<br>
<a moz-do-not-send="true" href="mailto:paul.robinson@redhat.com">paul.robinson@redhat.com</a><br>
<br>
JBoss, a Division of Red Hat<br>
Registered in England and Wales under Company
Registration No. 03798903<br>
Directors: Michael Cunningham (USA), Brendan Lane
(Ireland), Matt Parson<br>
(USA), Charlie Peters (USA)</div>
</tt>
</div>
<tt><br>
</tt></div>
<tt><br>
</tt>
<fieldset class="mimeAttachmentHeader"></fieldset>
<tt><br>
</tt>
<pre wrap="">_______________________________________________
wildfly-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/wildfly-dev">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a>
</pre>
</blockquote>
<tt><br>
</tt>
</div>
</blockquote></div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">-- <br>Paul Robinson<br>Web Service Transactions Lead<br><a href="mailto:paul.robinson@redhat.com">paul.robinson@redhat.com</a><br><br>JBoss, a Division of Red Hat<br>Registered in England and Wales under Company Registration No. 03798903<br>Directors: Michael Cunningham (USA), Brendan Lane (Ireland), Matt Parson<br>(USA), Charlie Peters (USA)</div></span></span>
</div>
<br></body></html>