[fedora-java] Is there a good newbie tutorial for jboss under Fedora 23?

Adam Young ayoung at redhat.com
Sun Jan 24 16:03:25 UTC 2016


On 01/19/2016 03:16 PM, John W. Himpel wrote:
> Good afternoon,
>
> In the past, I have done JEE development in a corporate environment (I
> was a developer not an admin) and am looking to start my own web site
> using JBoss.
>
> I have found several tutorials on installing JBoss, but most do not
> assume Fedora packaging.  Would someone be so kind as to point me to a
> tutorial (or HOWTO) on installing and starting JBoss on a recent
> version of Fedora?
>
> I'm assuming JBoss is the JEE server of choice in Fedora.  If it isn't,
> what would be the JEE server of choice?
>
> If this is the wrong list, please excuse my unfamiliarity.  Any
> references to a possibly better list, would be appreciated.
>
> Thanks.
> --
> java-devel mailing list
> java-devel at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/java-devel
So,  While WildFly is you best bet for a vanilla JBoss, many of the add 
on services are not packed with Wildfly, or use a later version of JBoss 
than is packaged with Fedora.  While JBoss and Fedora play nice with 
each other, they are very much separate communities, with JBoss keeping 
its Platform neutral stance.

The most common approach is to use the upstream Tarballs, unzip, and 
go.  This, of course, is not a complete solution.

I started writing an Ansible role for a KeyCloak (JBoss based Single 
Sign On Identity Provider) deployment.

https://github.com/admiyo/rippowam/tree/keycloack-wip/roles/keycloak

most of the interesting stuff is in the  tasks file

https://github.com/admiyo/rippowam/blob/keycloack-wip/roles/keycloak/tasks/main.yml

Some of the operations it performs:
Fetch and unzips the tarball, based on version specified in the vars file.
Creates a specific user for running keycloack
Creates appropriate directories under /var for the unzipped code as well 
as the logs.
Config is owned by root, readable by keycloak
firewalld setup. I want ports 8080 exposed to the rest of the 
appliction, but this is not a production install.
systemd setup.  See the template file here: 
https://github.com/admiyo/rippowam/blob/keycloack-wip/roles/keycloak/templates/keycloak.service.j2




Not done:

SELinux
Apache setup:  port 443 to port 8080 proxying.
Certmonger for managing TLS certs.






More information about the java-devel mailing list