Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add JBoss Server in Eclipse?

I am new to JBoss and have just installed Eclipse. I have added a project to the workspace and now I want to deploy it to a Jboss server. However, in the New Server Runtime Environment list, JBoss is not available:

New Server Runtime Environment without JBoss

I am using the below Eclipse version:

Java EE IDE for Web Developers.

Version: Mars Release (4.5.0)

Why is JBoss not listed as a runtime environment? What do I have to do to add JBoss to the list of available runtime environments?

like image 768
Subodh Joshi Avatar asked Jul 06 '15 12:07

Subodh Joshi


People also ask

What is JBoss in eclipse?

JBoss Tools is an umbrella project for a set of Eclipse plugins that includes support for JBoss and related technologies, such as Hibernate, JBoss AS / WildFly, CDI, OpenShift, Apache Camel, Red Hat JBoss Fuse, Docker, JSF, (X)HTML, Maven, and more.


2 Answers

Since Eclipse Mars 2 (JEE edition), JBoss Tools can be directly dowloaded from the New Server interface:

New Server

Selecting JBoss AS, WildFly, & EAP Server Tools will install JBoss Tools. After installation, the view will include JBoss/WildFly:

New Server with JBoss/WildFly


Follow the below instructions if Eclipse Mars 1 is used.

It is simply not built-in into the Eclipse distribution. You need to install JBoss Tools from the Eclipse marketplace (Help -> Eclipse Marketplace and search for "JBoss Tools").

More specifically, the feature you are asking for is documented here:

http://tools.jboss.org/features/server.html

like image 163
Magnilex Avatar answered Oct 15 '22 04:10

Magnilex


Here is the solution follow below steps

  1. In Eclipse Mars go to Help-> Install New Software
  2. Click on add button and paste the URL of the update site which is in our case: Eclipse Mars tools for Jboss
  3. Now select the JBossAS Tools plugin and Click "Next"
like image 33
Subodh Joshi Avatar answered Oct 15 '22 04:10

Subodh Joshi