Tuesday, July 31, 2012

Configure JBoss AS on Eclipse

While configuring JBoss AS on Eclipse I came across following problems:
  1. While starting JBoss, it is failed to create some directories. The reason being is JBoss is available in "C:\Program Files\JBoss...". As "Program Files" has space, it was unable to create some folders reqired for server startup. Later when I changed the server location, it was able to create the required folders.
  2. After changing the server location, the console shows JBoss has started in so and so minutes but soon after, there is a pop up as "Server JBoss v5.0 at localhost was unable to start within 120 seconds. If the server requires more time, try increasing the timeout in the server editor". When I changed the port number to 8080, it was working fine.