Dear all,

Well,  I was recently wondering how to redeploy a JBoss application using Eclipse Indigo.

Indeed it is quite simple : Go on the Servers view (Menu Window->Show View->Servers), then right click on your application and select “Incremental Publish” or “Full Publish” – see highlighted section (close to the cursor ) inside the attached picture.

Rem: Pay attention to your application size cause you may encounter Out Of Memory Errors.

BR

Frederic

Dear *,

Few days ago, I worked on  JBoss AS 7 Quickstart Application – jboss-as-quickstarts-7.0.2.CR1 – on my Fedora 16.

Here is the brief procedure to make you start :

Assuming you have a Fedora 16 installed on your PC, Laptop,Server.

1] Download the JBoss AS7 binaries from http://www.jboss.org/jbossas/download. – I downloaded the 7.0.2.Final Web Profile Only (Java EE6 Certified) –

2] Download the JBoss AS7 Quickstart Application from http://www.jboss.org/jbossas/download. – I downloaded the Quickstarts released the 2011-07-12.

3] Install maven and eclipse on your Fedora 16 station as root user – yum install maven; yum install eclispe -.I use maven-3.0.3-15.fc16.x86_64 and eclipse-pde-3.7.1-4.fc16.x86_64.

4] Then please have a look at the excellent JBoss AS7 procedure available at the following URL : https://docs.jboss.org/author/display/AS7/Getting+Started+Developing+Applications+Guide. However, before importing the maven quickstart projects pay attention to have an available internet connection and to have imported the JBoss Maven Tools from Jboss Tools – http://download.jboss.org/jbosstools/updates/development/indigo/– as well as the Maven Integration for WTP m2e-wtp –http://download.jboss.org/jbosstools/updates/indigo/SR1/  -.

Well to know how to import JBoss Tools in your eclipse then please have a look the following procedure : https://fhornain.wordpress.com/2009/11/06/jboss-tools-installation-on-fedora-11/

5] Follow the excellent JBoss AS7 procedure available at the following URL : https://docs.jboss.org/author/display/AS7/Getting+Started+Developing+Applications+Guide

Rem :

These are community projects and, as such are not supported with SLA.

Any questions or problems can be raised through the JBoss AS 7 User Forum and Fedora 16 User Forum where the community will provide their best efforts to assist. These projects are included in the JBoss Enterprise Application Platform and Red Hat Enterprise Linux for which a support subscription is available.

Best Regards

Frederic

tools-banner

As I am currently working with JBoss seam, I had to install JBoss Tools on my Fedora Eclipse 3.4.2 – Fedora 11 -.

So in order to share the procedure to every one and mostly to avoid to forget or lose it I decided to write it on this blog.

In addition, it permit to avoid eclipse/JBoss Tools problems dependence such as :

Screenshot-Install

And Errors such as :

Cannot complete the request.  See the details.
Unsatisfied dependency: [org.hibernate.eclipse.feature.feature.group 3.2.4.v200909151014R-H192-GA] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.wst.xml.core/1.1.0

So these are the steps :

I] Install Eclispe on your Fedora.

I.I] Open a terminal as standard user – here mine “fhornain” – and be root.

[fhornain@localhost ~]$ su –

[root@localhost ~]# yum install java-1.6.0-openjdk-devel

[root@localhost ~]# yum install eclipse-platform

II ] Launch eclipse.

II.I] Indeed you should select in you Fedora main menu bar  Applications > Programming > Eclipse

If not, launch a terminal and run the following command :

[fhornain@localhost ~]$ eclipse -vm /usr/bin/java

Rem: Change the path /usr/bin/java if it is not your java default location

Then you should see the eclipse starting banner – see below –

Screenshot-Eclipse

II.II] Then eclipse should ask you where you would like to save your projects – see image below –

Screenshot-Workspace Launcher

The default location should be fine – well, for me 😉 –

II.III] Then Welcome screen appears – see below -. Close it with a click on the top left cross.

Screenshot-Resource - Fedora Eclipse

III ] Install JBoss Tools

III.I] When Eclipse starts, go to Help > Software Updates. The following window should appears :

Screenshot-Software Updates and Add-ons

III.II] Then click on the tab named “Available Software” – see below –

Screenshot-Software Updates and Add-ons

III.III] Then click on button “Add Site” on the right of the window – see above – :

Screenshot-Software Updates and Add-ons -1

III.IV] You see appear a new window where you are going to past the following URL : http://download.jboss.org/jbosstools/updates/stable/ which is the offcial JBoss Tools URL – see below –

Screenshot-Add Site

Then click the OK button.

III.V] Then do the same with http://download.eclipse.org/releases/ganymede/ and http://download.eclipse.org/birt/update-site/2.3/ as mentioned for JBoss Tools in points III.III] and III.IV]

III.VI] You should see appear a new line in the “Software updates and add-ons” window – see below –

Screenshot-Software Updates and Add-ons

III.VII] Then click on the link “Ganymade Update Site” as show in the above picture :

Screenshot-Software Updates and Add-ons -1

III.VIII] Then go down and choose “Web and Java EE Development”

Screenshot-Software Updates and Add-ons

And click on the install button – see above -.

Screenshot-Software Updates and Add-ons -1

Then the installation start – see above – :

Screenshot-Install

Then click on next button, accept the term of the licence and click on  the finish button.

Screenshot-Install -2

The packages installation starts – see above – :

Screenshot-Install -3

Finally the installation finish and the following window appear in order to reboot the eclipse IDE application – see below –

Screenshot-Software Updates

Click on the Yes button

III.IX ] Now we’ll do the same steps for JBoss Tools and Bitr as we did for Ganymed “Web and Java EE Development”.

You should see the entered JBoss Tools links done during III.III] and III.IV] steps then click on the JBoss Tools arrow and select JBoss Tools line – see above –

Screenshot-Software Updates and Add-ons -2

And do the same procedure as we did for Ganymed “Web and Java EE Development” at step III.VIII].

Let’s hope it clear.

Now you can play with seam and other JBoss projects… 🙂

IV] Launch Seam project with Eclipse and Jboss Tools.

IV.I] Indeed you should select in you Fedora main menu bar  Applications > Programming > Eclipse

If not, launch a terminal and run the following command :

[fhornain@localhost ~]$ eclipse -vm /usr/bin/java

Rem: Change the path /usr/bin/java if it is not your java default location

You should see appear the following window :

Screenshot-Resource - Fedora Eclipse

IV.II] Then click on the main menu bar File > New > Project and the following window appears – see below –

Screenshot-New Project

Then Choose your new JBoss Seam Project and name it.

BTW, do not forget BIRT otherwise you will not have JDBC Connectors

Enjoy !

Related links : http://www.jboss.org/community/wiki/InstallingJBossTools