Ad

Tuesday 26 January 2010

plugins not working in eclipse


Very often we will be adding the plugin to the eclipse,by manually copying plugins folder under the eclipse home folder.But the newly added plugin might not reflect in the eclipse.This is due to the fact that the configuration for the eclipse needs to be refreshed,when we make any changes to the plugins.The configuration can be refreshed by passing the argument while starting the eclipse like below.In the Command prompt go to the eclipse home folder and enter the below command to open the eclipse with the newly added plugin.

eclipse.exe -clean

Monday 25 January 2010

To make webapplication or any administered objects deployed in jboss accessable from remote client

By default Jboss always listens to localhost.Hence we cannot access the application or any administered objects deployed in Jboss remotely.To enable the access remotely pass the argument like below while starting the server:

run.bat -b 0.0.0.0

Note:
If you added the server to the eclipse,alternatively do the following steps to enable the remote access:
(1)Double click the jboss server in the server window to open the server settings
window.
(2)Click the open launch configuration link in the server settings window
(3)Navigate to arguments tabs and in the program arguments enter -b 0.0.0.0