<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Re: Alpha2 sporadic deployment problems
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/jskovjyskebankdk">Jesper Skov</a> in <i>JBoss Tools</i> - <a href="https://community.jboss.org/message/767039#767039">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>I think we may have some clues. There are two issues - I'll post them separately.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>The first is a crash in your project scanner - see below.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>The folder mentioned is always added to our project's deployment assembly list.</p><p>But the folder only actually exists if the project has certain dependencies (deployable artifacts from IVY dependencies).</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Everything else in eclipse appears to cope fine with this, but the JBossTools scanner bombs.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I wonder if this terminated thread may be somehow releated to deployment problem?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I've taken steps to ensure that the folder always exists, but I think JBossTools should probably ignore the folder if non-existant instead of exploding.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I'll let you know if it makes a difference.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>FAOD: I had seen this log entry <span> :) </span>&#160; I'm not that blind, but I attributed it to the KB scanner and unreleated (which it may still be, of course).</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><pre class="jive-pre"><code class="jive-code">!ENTRY org.jboss.ide.eclipse.archives.core 2 0 2012-10-18 10:41:55.012
 !MESSAGE basedir D:\udvikler\ws\ws2\test\build\gen-lib-deployable is not a directory
 !STACK 0
 java.lang.IllegalStateException: basedir D:\udvikler\ws\ws2\test\build\gen-lib-deployable is not a directory
&#160;&#160;&#160;&#160; at org.jboss.ide.eclipse.archives.core.asf.DirectoryScanner.scanPrepare(DirectoryScanner.java:552)
&#160;&#160;&#160;&#160; at org.jboss.ide.eclipse.archives.core.asf.DirectoryScanner.scan(DirectoryScanner.java:588)
&#160;&#160;&#160;&#160; at org.jboss.ide.eclipse.archives.core.model.DirectoryScannerFactory.createDirectoryScanner(DirectoryScannerFactory.java:66)
&#160;&#160;&#160;&#160; at org.jboss.ide.eclipse.archives.webtools.filesets.vcf.WorkspaceFilesetVirtualComponent$WorkspaceFilter.&lt;init&gt;(WorkspaceFilesetVirtualComponent.java:100)
&#160;&#160;&#160;&#160; at org.jboss.ide.eclipse.archives.webtools.filesets.vcf.WorkspaceFilesetVirtualComponent.getRootFolder(WorkspaceFilesetVirtualComponent.java:53)
&#160;&#160;&#160;&#160; at org.eclipse.wst.common.componentcore.internal.flat.FlatVirtualComponent.consumeComponent(FlatVirtualComponent.java:203)
&#160;&#160;&#160;&#160; at org.eclipse.wst.common.componentcore.internal.flat.FlatVirtualComponent.addConsumedReferences(FlatVirtualComponent.java:196)
&#160;&#160;&#160;&#160; at org.eclipse.wst.common.componentcore.internal.flat.FlatVirtualComponent.treeWalk(FlatVirtualComponent.java:167)
&#160;&#160;&#160;&#160; at org.eclipse.wst.common.componentcore.internal.flat.FlatVirtualComponent.cacheResources(FlatVirtualComponent.java:121)
&#160;&#160;&#160;&#160; at org.eclipse.wst.common.componentcore.internal.flat.FlatVirtualComponent.getChildModules(FlatVirtualComponent.java:111)
&#160;&#160;&#160;&#160; at org.eclipse.wst.web.internal.deployables.FlatComponentDeployable.getExportModelChildren(FlatComponentDeployable.java:252)
&#160;&#160;&#160;&#160; at org.eclipse.wst.web.internal.deployables.FlatComponentDeployable.getModules(FlatComponentDeployable.java:263)
&#160;&#160;&#160;&#160; at org.jboss.ide.eclipse.as.wtp.core.util.ServerModelUtilities.getChildModules(ServerModelUtilities.java:82)
&#160;&#160;&#160;&#160; at org.jboss.ide.eclipse.as.wtp.core.util.ServerModelUtilities.getChildModules(ServerModelUtilities.java:74)
&#160;&#160;&#160;&#160; at org.jboss.ide.eclipse.as.core.server.internal.DeployableServer.getChildModules(DeployableServer.java:82)
&#160;&#160;&#160;&#160; at org.eclipse.wst.server.core.internal.Server.getChildModules(Server.java:2573)
&#160;&#160;&#160;&#160; at org.eclipse.wst.server.core.internal.Server.visitModule(Server.java:2994)
&#160;&#160;&#160;&#160; at org.eclipse.wst.server.core.internal.Server.isModuleDeployed(Server.java:942)
&#160;&#160;&#160;&#160; at org.eclipse.wst.server.core.internal.Server.handleModuleProjectChange(Server.java:894)
&#160;&#160;&#160;&#160; at org.eclipse.wst.server.core.internal.ResourceManager.publishHandleProjectChange(ResourceManager.java:1093)
&#160;&#160;&#160;&#160; at org.eclipse.wst.server.core.internal.ResourceManager$ServerResourceChangeListener$1.visit(ResourceManager.java:125)
&#160;&#160;&#160;&#160; at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:69)
&#160;&#160;&#160;&#160; at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:80)
&#160;&#160;&#160;&#160; at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:49)
&#160;&#160;&#160;&#160; at org.eclipse.wst.server.core.internal.ResourceManager$ServerResourceChangeListener.resourceChanged(ResourceManager.java:119)
&#160;&#160;&#160;&#160; at org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:291)
&#160;&#160;&#160;&#160; at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
&#160;&#160;&#160;&#160; at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
&#160;&#160;&#160;&#160; at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
&#160;&#160;&#160;&#160; at org.eclipse.core.internal.resources.Workspace.broadcastBuildEvent(Workspace.java:381)
&#160;&#160;&#160;&#160; at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:146)
&#160;&#160;&#160;&#160; at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)
&#160;&#160;&#160;&#160; at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
&#160;&#160; 
</code></pre></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/767039#767039">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Tools at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>