Monday, 28 March 2016

What is the standard JONAS_BASE structure ?


JONAS_BASE has the following structure :
conf/ directory
contains JOnAS configuration files

deploy/ directory
Main location used for deployment.
At JOnAS startup time all the deployment plans, Java EE archives and OSGi bundles are deployed in the following order : 
  1. Deployment plan repositories
  2. OSGi bundles
  3. RAR archives
  4. Deployment plan resources
  5. EJB archives
  6. WAR archives
  7. EAR archives
Note For each category, file names are chosen in alphabetical order.

lib/ directory
used for extending class loaders.
It contains one sub directory ( lib/ext ) for non-bundle extensions.

logs/ directory
where the log files are created at run-time

work/ directory
working directory for JOnAS

repositories/ directory
This sub tree contains the following repositories used to store OSGi bundles and Java EE applications.
Archives located in these repositories are priority in case they are also located in JONAS_ROOT/repositories

  - maven2-internal/
This directory is created during the building process of a JONAS_BASE environment.
It may contain the JORAM resource adapter for JOnAS.
It is used for internal purpose and should not be modified. This directory is structured as a Maven2 repository.

  - <repository-id>/
contains archives downloaded through deployment plans from this repository.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.