An open API service indexing awesome lists of open source software.

https://github.com/sanogotech/formationjboss

Formation JBOSS
https://github.com/sanogotech/formationjboss

jboss

Last synced: about 2 months ago
JSON representation

Formation JBOSS

Awesome Lists containing this project

README

        

## Changer de Port
bin/standalone.bat # Default

bin/standalone.bat -c standalone.xml -Djboss.socket.binding.port-offset=0 # Idem Default

bin/standalone.bat -c standalone.xml -Djboss.socket.binding.port-offset=100 # Decalage de port 8080 / 9990 / 8443

---------------------------
standlone.bat = standalone.bat -c standalone.xml -Djboss.socket.binding.port-offset=500

standlone.bat = standalone.bat -Djboss.socket.binding.port-offset=500

## Add User Admin
add-user.bat -m -u admin -p admin123 # en une ligne
add-user.bat # interactif mode

# Urls
http://localhost:8080 # User IHM
http://localhost:9990 # Admin Console
https://locathost:8443 # User IHM https

## JBOSS CLI
jboss-cli.bat --connect # windows
jboss-cli.sh --connect # linux

jboss-cli.bat --connect --command=:reload # connect + command

jboss-cli.bat --connect --file=mycommand.cli ## execuction command file

## Haute Disponibilité
bin/standalone.sh -c standalone-full-ha.xml -Djboss.node.name=nodeA
bin/standalone.sh -c standalone-full-ha.xml -Djboss.socket.binding.port-offset=500 -Djboss.node.name=nodeB

bin/standalone.bat -c standalone-full-ha.xml -Djboss.node.name=nodeA
bin/standalone.bat -c standalone-full-ha.xml -Djboss.socket.binding.port-offset=500 -Djboss.node.name=nodeB

# keytool cmd vs Keytool explorer tools
https://keystore-explorer.org/

## Uploader postgresql-42.2.14.jar
sur http://localhost:9990/console

# Log
https://www.jtips.info/JBoss/LogManager

# Persistence.xml




java:jboss/datasources/HelloWorldDS





## Datasource Postgres

jdbc:postgresql://localhost:5432/myjbossdb
org.postgresql.Driver

org.hibernate.dialect.PostgreSQLDialect

postgresql-42.2.14.jar

postgres
postgres




## Driver


org.postgresql.Driver
org.postgresql.xa.PGXADataSource


## Domain JBOSS
* help deploy
* jboss-cli.bat --connect --controller=127.0.0.1:9999
* deploy -l
* deployment-info --server-group=main-server-group
* deploy --name=jboss-helloworld-html5.war --server-groups=secondary-server-group
* deploy --name=HelloWorld-ear.ear --server-groups=main-server-group

* deploy –all-server-groups Deploie une application à tous les groupes de serveur

* deploy –server-groups Deploie une application à un ou plusieurs groupes

## Standalone vs Domain

0. Spring Boot : jar avec Tomcat
------------------------ JEE = WAR + EJB + HA = JBOOS Wildfly
1. Standalone : standard
2. Standalone : ha
3. Standalone: full-ha
------------------------------Domain
4. Complexité architecture deploiment / Supervision: Centralisation !
5. Domain // 2 hosts / 2 Serveur Group (profif standard/ ha/ full-ha)
--------------------
EAP: Support --- Zip, RPM, Docker : Documentation, Suppport

# Optimisation End to End

------------------------------------------- END - END -------------------------------------------------------------------------------------------
PC -Navigateur -- //Infra// zip cache * Serveur HTTP Threads 100 -- Serveur Web : JSP Servlet -- Serveur Application : EJB ///- Serveur DB--- // DB = MaxConnection

DB MAX = 100

250 pool

250 pool

250 p0ol

250 pool

-------------------------------
XA Serveur JBOOSS ------ DB Gestion + DB Facturaction

NON XA Serveur JBOSS ----- DB ERP

NON XA Serveur JBOSS ----- Cache ---- DB ERP