<!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="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">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;">
    Deployment problems
</h3>
<span style="margin-bottom: 10px;">
    reply from <a href="http://community.jboss.org/people/johannesk">Johannes Krämer</a> in <i>JBoss Tools</i> - <a href="http://community.jboss.org/message/543559#543559">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Thanks for your answer. I've further examined the problems:</p><blockquote class="jive-quote"><p>Web projects most definitely should just be updated incrementally. Would&#160; need to know more.</p></blockquote><p><span>I've created a servlet which I access through </span><a class="jive-link-external-small" href="http://localhost:8080/test-client/TestClient1" target="_blank">http://localhost:8080/test-client/TestClient1</a><span>. When I update it (e.g. change an output String) and do an incremental deployment, the class at server\default\deploy\test-client.war\WEB-INF\classes is updated (I can see the modified String when I open the class in an editor), but the server still gives me the old version, even if I use a browser, who never opened this site (to avoid cache problems).</span></p><p>If I do a full publish, everything works fine and I can see the new ouput.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><blockquote class="jive-quote"><p>ESB projects similar, but could be a bug (since its newer code base than&#160; the good old Web deploy)</p></blockquote><p>ESB projects seem to work now, for whatever reason.</p><blockquote class="jive-quote"><p>EJB projects - are the files actually not updated in the deployment ?&#160; I'll assume they are and the problem you are seeing is that EJB's aren't&#160; dynamically reloadable. They require a restart of the module. Maybe the&#160; same issue you see for the web projects ?</p></blockquote><p>Yes, just like with the web project, the files are updated in the deployment folder but the EJB still sends the same output as before the update.</p><p>There seems to be no way to restart the ejb-module through eclipse, the corresponding entries (Start, Stop, Restart) in the server adapter's context menu are greyed out. Should it really work like &lt;right click&gt; - &lt;remove&gt; - &lt;right click&gt; - &lt;add and remove&gt; - &lt;add the module&gt; - &lt;OK&gt; every time I make an update to an EJB?</p><blockquote class="jive-quote"><p>jbpm projects have their down deployment approach at the moment. Are you&#160; using the jbpm deployment tab or copying a .par file or how ?</p></blockquote><p>I right click the processdefinition XML file, and chose "Make Deployable". In Eclipse's server view, I can than see an entry "/test-jbpm/testProcess/processdefinition.xml" under "JBoss 5.1 Runtime Server", but there's no entry in the jbpm-console.</p><p>The same goes for using the deploment tab of the process with the settings "localhost, 8080, /jbpm-console, admin, admin". It gives me "The server connection was successfully tested" and "The process archive deployed successfully", but still no console entry.</p><p>If I create a .par-file using the deploy tab ("Save without deploying") and deploy it manually through the jbpm-console, everything works fine.</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/543559#543559">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Tools at <a href="http://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>