https://github.com/sanogotech/formationjboss
Formation JBOSS
https://github.com/sanogotech/formationjboss
jboss
Last synced: about 2 months ago
JSON representation
Formation JBOSS
- Host: GitHub
- URL: https://github.com/sanogotech/formationjboss
- Owner: sanogotech
- Created: 2020-06-16T07:52:41.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-24T13:28:17.000Z (almost 5 years ago)
- Last Synced: 2025-02-09T00:17:19.409Z (3 months ago)
- Topics: jboss
- Language: HTML
- Homepage:
- Size: 53.9 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Changer de Port
bin/standalone.bat # Defaultbin/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=500standlone.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 # linuxjboss-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=nodeBbin/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 = MaxConnectionDB MAX = 100
250 pool
250 pool
250 p0ol
250 pool
-------------------------------
XA Serveur JBOOSS ------ DB Gestion + DB FacturactionNON XA Serveur JBOSS ----- DB ERP
NON XA Serveur JBOSS ----- Cache ---- DB ERP