Sunday 7 August 2011

Eclipse 3.7 JBoss AS 7 server runtime error - "directory does not exist or is missing run.jar"

It turns out that I had a problematic JBoss Tools version in Eclipse 3.7.
What I did was:
Update my JBoss Tools:
Go to Help>Install New Software..->Add
In the "Location", add this url: http://download.jboss.org/jbosstools/updates/nightly/trunk/
Select all checkboxes and complete the install (this should update or install your tools)
After the tools update:
Next, I had to delete all 7.0 servers and  "JBoss 7.0 Runtime" settings in Eclipse
Window->Preferences->Server->Runtime environments


Then I created a new server runtime environment:
Window->Preferences->Server->Runtime environments
Supply your JBoss AS root directory (mine was C:\jboss\jboss-as-web-7.0.0.Final)
Make sure to select the "Create a new local server" checkbox
Create a server:
File->New->Other->Server->Server->JBoss Community->JBoss AS 7.x
Select your newly created runtime configuration, click next and finish.

Server should run with no problems!

3 comments:

  1. Hi
    I am getting this error "The home directory does not exist or is missing the run.jar." even after update from JBoss tools.The JBoss 7 AS work perfectly as standalone state. "The home directory does not exist or is missing the run.jar."

    Any work around?

    ReplyDelete
    Replies
    1. Try this post
      http://nomsdom.blogspot.in/2012/03/home-directory-does-not-exist-or-is.html

      Delete
  2. http://download.jboss.org/jbosstools/updates/development/indigo/
    This is the current link whicj\h works

    ReplyDelete