jboss_tutorial.rst 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. .. _jboss_tutorial:
  2. geoserver on JBoss
  3. ==================
  4. This tutorial documents how to install various versions of geoserver onto various versions of JBoss.
  5. geoserver 2.7.0 on JBoss AS 5.1
  6. -------------------------------
  7. To install geoserver onto JBoss AS 5.1, the following is required:
  8. 1. Create the file ``jboss-classloading.xml`` with the following content then copy it into the ``WEB-INF`` directory in the geoserver.war:
  9. .. code-block:: xml
  10. <classloading xmlns="urn:jboss:classloading:1.0"
  11. name="geoserver.war"
  12. domain="GeoServerDomain">
  13. </classloading>
  14. 2. Extract the ``hsqldb-2.2.8.jar`` file from the ``WEB-INF/lib`` directory from the geoserver.war and copy it as ``hsqldb.jar`` to the ``common/lib`` directory in the JBoss deployment.
  15. 3. Add the following text to the ``WEB-INF/web.xml`` file in the geoserver.war so that JBoss logging does not end up in the geoserver.log:
  16. .. code-block:: xml
  17. <context-param>
  18. <param-name>RELINQUISH_LOG4J_CONTROL</param-name>
  19. <param-value>true</param-value>
  20. </context-param>