<!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;">
    JBossToolsTroubleShootingFAQ
</h3>
<span style="margin-bottom: 10px;">
    modified by <a href="https://community.jboss.org/people/nickboldt">Nick Boldt</a> in <i>JBoss Tools</i> - <a href="https://community.jboss.org/docs/DOC-10801">View the full document</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><h2><span>JBoss Tools Trouble Shooting FAQ</span></h2><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><h3><span>Read this before adding an entry</span></h3><p><span><br/></span></p><p>This FAQ is intended to provide information on JBoss Tools (and Eclipse in general) trouble shooting.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><hr/><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>Q : The plugins does not seem to be loaded or active after installation</strong></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>A</strong> : This can unfortunately happen if either some steps in the installation failed, Eclipse is somehow misconfigured or there are some conflicting plugins installed.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>To find out why plugins are not being loaded try and start eclipse with the -debug flag on the command line. Now Eclipse will log what plugins/bundles are not being loaded. You can open the "Error Log View" or look directly in .metadata/log for the information.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span>See also </span><a class="jive-link-external-small" href="http://wiki.eclipse.org/IRC_FAQ#How_do_I_debug_Eclipse.3F_How_can_I_see_what_plug-ins_are_being_started.3F_Why_aren.27t_the_plug-ins_I_installed_showing_up_in_the_UI.3F_How_do_I_start_the_OSGi_console.3F" rel="nofollow" target="_blank">http://wiki.eclipse.org/IRC_FAQ#How_do_I_debug_Eclipse.3F_How_can_I_see_what_plug-ins_are_being_started.3F_Why_aren.27t_the_plug-ins_I_installed_showing_up_in_the_UI.3F_How_do_I_start_the_OSGi_console.3F</a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><hr/><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>Q : Eclipse is running out of memory OR Eclipse is running very slow!</strong></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>A</strong> : Eclipse default setup is to use 64mb of memory and that works ok for small number of projects; but if you have more projects and/or using many plugins Eclipse would like to use more memory and hence its behavior will be slower operations (because of too much garbage collection or simply halting because it runs out of memory).</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>The solution is to start eclipse with a set of flags to allow it to allocate more memory:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>eclipse -vmargs -Xmx1024m -XX:MaxPermSize=128m</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>The above will allow it to use up to 1Gb of memory (you can of course lower it if you want, but this is what I use <span> ;) </span> and finally it will also increase the MaxPermSize so classloading is given more room.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span>See also </span><a class="jive-link-external-small" href="http://wiki.eclipse.org/IRC_FAQ#I.27m_having_memory.2C_heap.2C_or_permgen_problems.2C_what_can_I_do.3F" rel="nofollow" target="_blank">http://wiki.eclipse.org/IRC_FAQ#I.27m_having_memory.2C_heap.2C_or_permgen_problems.2C_what_can_I_do.3F</a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><hr/><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>Q: My deployment need to be present when starting up the server, but it looks like my .sar archives are only deployed after the server is running. How do I make sure the server sees it while starting up ?</strong></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>This is probably because the server adapter is deploying into a metadata location in the&#160; workspace and that metadata location is only added as a deployable&#160; location via JMX after bootup.</p><p><br/>You can still make your server deploy to a specific location inside the&#160; automatically-added location (aka the deploy folder) by opening the&#160; Server Editor (double-click the server) and changing the preferences there.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Note: 90% of deployments don't need this but some others do, like some .sar deployments.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><hr/><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>Q: Why are Eclipse buttons in dialogs and other places are not working for me on Linux</strong> ?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>This was a problem in Eclipse 3.5.1. Setting GDK_NATIVE_WINDOWS=true worked around the issue. This bug was fixed in Eclipse 3.5.2 and 3.6.0 (JBoss Tools 3.1 &amp; 3.2, respectively).</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span>See also </span><a class="jive-link-external-small" href="http://wiki.eclipse.org/IRC_FAQ#Eclipse_buttons_in_dialogs_and_other_places_are_not_working_for_me_if_I_click_them_with_the_mouse._I_also_cannot_see_anything_in_the_tree_when_I_try_to_install_updates._What.27s_going_on.3F" rel="nofollow" target="_blank">http://wiki.eclipse.org/IRC_FAQ#Eclipse_buttons_in_dialogs_and_other_places_are_not_working_for_me_if_I_click_them_with_the_mouse._I_also_cannot_see_anything_in_the_tree_when_I_try_to_install_updates._What.27s_going_on.3F</a></p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Comment by <a href="https://community.jboss.org/docs/DOC-10801">going to Community</a></p>

        <p style="margin: 0;">Create a new document in JBoss Tools at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=102&containerType=14&container=2128">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


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

</div>

</body>
</html>