Monday 26 January 2009

Running JBoss5 with Eclipse3.4

This is the first of the techy type stuff I mentioned in a previous blog post, and details the steps I went through to get the latest Eclipse download working with the latest JBoss download.
  1. Download the JEE development version of Eclipse and unzip to a local directory.
  2. Download the latest version of JBoss and unzip to a local directory. Ensure there are no spaces in the path to this directory.
  3. Download and install the latest maintenance build (3.0.4) for the Web Tools Project (WTP). This is required for support with JBoss5 otherwise you may hit errors later on.
  4. Start the Eclipse workbench
  5. Open the JEE perspective (if not already open)
  6. In the servers tab, right click and select New->Server
  7. Choose JBoss5 from the list
  8. Click 'Next >' and on the next panel enter the location of the JBoss installation you unzipped in step 2. If you get an error saying that mail.jar can't be found then the latest version of WTP hasn't been installed correctly.

  9. Click 'Finish' and the server will appear in the Servers tab.
From here you can start the server which will launch it and send the output to the console. If you get Exceptions being thrown then the first thing to check is whether the JBoss location contains spaces in the path.

If the start takes longer than the configured time allowed then double clicking on the server will open the configuration page which will allow you to increase the startup timeout to a value which allows the server to start within that time.

From here everything should be setup ready to develop applications and deploy them to the server.

Introductory Post

This blog is going to be a place where I can note down any computing related stuff that I come across whilst mucking about with various bits of tech.

If there is a particularly clever thing that I come across, or some hoops that need to be jumped through to get something working then there's a good chance that they'll be written up here. Partially as a reminder to myself should I need to do it again and hopefully a reference to other people should they need to do the same thing.