How to create your own server profile in JBoss AS 5 and 6

I use JBoss AS 5 + 6 as an application server, but only as a simple EJB3 / Web container with deployment of ears and war, but without special features such as clustering, ejb2 or hornetq.

JBoss AS provides server profiles for various purposes, but I did not find any documentation on how to create your own or configure an existing profile. How can this be achieved? And where is it documented on the Internet?

+3
source share
2 answers

If you want to create your own profile, you need to create your own profile, which can be based on one of the standard JBoss profiles: minimalor default(if you want to cluster, you can also use allor production).

If you select a profile minimal, you need to copy the services it needs (for example, from a profile default). You must remember the configuration files, settings, etc.

If you select a defaultprofile, you simply delete the unnecessary services.

In my opinion, it is much easier to remove some services.

And most importantly: there is JBoss documentation about what you need to remove from your profile in order to disable this service: JBoss 5.x Settings / Weight Loss .

+3

, , , .

, , :)

. deploy deployers, , . , , , .

- (, default), (, myprofile), , (, deploy/messaging), (.. run.bat -c myprofile) , . , . -, , , .

+2

Source: https://habr.com/ru/post/1758251/


All Articles