<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.1">
<deployment>
<exclusions>
<module name="org.apache.log4j" />
<module name="org.slf4j" />
</exclusions>
<dependencies>
<system>
<paths>
<path name="com/sun/imageio/spi"/>
<path name="com/sun/imageio/plugins/common"/>
</paths>
</system>
<module name="com.oracle" />
<module name="org.jboss.ironjacamar.jdbcadapters" />
</dependencies>
</deployment>
</jboss-deployment-structure>
Than you need to set the following jvm-option in the host.xml file: GEOSERVER_LOG_LOCATION
<server name="geo1" group="geo-server-group" auto-start="true">
<jvm name="default">
<heap size="128m" max-size="512m"/>
<jvm-options>
<option value="-DGEOSERVER_DATA_DIR=/home/jbossas/geoserver_data,-DGEOSERVER_LOG_LOCATION=/var/log/jboss-as/geoserver.log"/>
</jvm-options>
</jvm>
</server>
In the example you also see that is possible to define a data dir in the same way.
0 commenti:
Post a Comment