HomeDocumentation > Reference > Geronimo Architecture > Geronimo directory structure > var directory

list all files under directory var, provide a general overview and a link to the full blown document

<geronimo_home>/var/activemq/

  • /conf/activemq.xml/
  • /data/

<geronimo_home>/var/catalina

A file system directory used by Tomcat Web container as home directory, to hold files common to the entire container. The directory is configured as an attribute named catalinaHome on the GBean for the Tomcat container org.apache.geronimo.tomcat.TomcatContainer. The default value of this attribute is specified as var/catalina.

  • /work/

    A directory that holds Java classes compiled from JavaServer pages.

  • /logs/

    A directory that contains the access log.

  • /ROOT/

    A directory that contains the web module for the initial welcome page.

  • /conf/

    A directory that contains the web.xml file, which defines default Web module resources, such as the default servlet, the JSP compiler, the session timeout, the mime-type mapping, and the list of welcome files.

<geronimo_home>/var/config

A directory with configuration files used by Geronimo at startup.

<geronimo_home>/var/derby/

A directory that holds local Derby database files.

<geronimo_home>/var/log

A directory that holds configuration files and log files during server runtime. look into Apache log4j for the details about definitions in each file, .

  • client-log4j.properties Configuration file for client log
  • deployer-log4j.properties Configuration file for deployer log
  • server-log4j.properties Configuration file for server log

<geronimo_home>/var/security

<geronimo_home>/var/shared

A default directories that the Geronimo sharedlib configuration. You can use these directories to easily share .jar files or classes among multiple applications. Place jars or classes in these directories, and declare a dependency in your application deployment plan on the sharedlib configuration. For example:

plan.xml

<geronimo_home>/var/tmp

This temp directory is used by the JVM for temporary file storage. The JVM is configured to use this as its java.io.tmpdir in the geronimo.sh(bat) scripts. Geronimo is configured to use this temporary directory rather than its default for security reasons.The temp directory must exist for Tomcat to work correctly.

<geronimo_home>/var/txlog

  • howl_1.log
  • howl_2.log
    Transaction manager log containing entries for prepared transactions and committed transactions. During transaction manager recovery these are matched up and the unmatched ones have their transaction commit finished.