For testing the webui of adempiere, I need to build the code and deploy it every time with all change. Its much time consuming. The remote debugging is quite useful. But the build, setup and server running time remains the same. Can we run the JBoss server through eclipse ? Hence can we write the code and test it on debug mode?
Asked
Active
Viewed 1,508 times
1 Answers
4
You Can run the jboss server in eclipse and deploy adempiere projects in jboss also
- Download the jboss4.2.3 and place into your desire location in your drive.
- Extract the jboss zip file (let say /home/Giri/Server/jboss4.2.3GA/....)
- Open your eclipse IDE, and open the server pane
- Click on the Window And choose Show View
- It will open a popup and select the server (By writing the help text you will get)
- Right click on the server editor,
New
---->Server
- It will open the a new server pop-up
- Select the jboss and select the jboss version as the 4.2
- Click on the Next button
- Here you need to select the your jboss server path (as previously i mentioned /home/Giri/Server/jboss4.2.3GA/ )
- Click on the
Next
(no need to change the ports)--->Finish
- Don't bother about the project
Add And Remove Project
- Don't bother about the project
- Now in server editor you will get a jboss server details in single line
- Now double click on the server, or Right click on the jboss server And select the
Open
- It will open server details page
- Now update the following settings
- In
Publishing
:- SelectNever select auotmatically
- In
Time Out
:- Setstart time
as5000
- Save(CTRL+S) the settings and close the settings
- In
- Click on the
Open launch configuration
- It will open the a pop-up
- Now Navigate into
classpath
tab, And select theUser Entries
and add the following mentioned jars by clicking on theAdd Jars
button at right side- trunk\tools\lib*.jars (Except cglib.jar, log4j.jar, jnlp.jar, javaee.jar)
- trunk\japserreportstool\lib*.jars (Except jfreechart***.jar)
- and add the javaw.jar from the jre library (by using
Add external jars
)
- If you want to configure the properties files then add the properties files details into
Arguments
tab - Save it and close it
- Right click on the server and Click on the
Add And Remove
Select available installers and add to right side tab, and click on Finish. - Run click on jboss and publish after that start it....
Hope your server will start properly .....

Giri
- 507
- 6
- 23
-
When I tried these steps (for running JBoss through the eclipse) , getting a deploy error :: Deployment FAILED reason: Error during deploy; - nested throwable: (java.lang.ClassNotFoundException: JACC:Error PolicyConfigurationFactory : cannot find class : null) – Mubii Aug 04 '14 at 07:30
-
@Mubli:- Need some more log notes for investigation. And make sure that you have done 14th step correctly. – Giri Aug 06 '14 at 16:59