-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hello Martijn!

Am 26.06.2015 um 16:54 schrieb Martijn Brinkers:

> Can you show the contents of the file /etc/sysconfig/tomcat ?

Here ist is:

# Service-specific configuration file for tomcat. This will be sourced b
y
# the SysV init script after the global configuration file
# /etc/tomcat/tomcat.conf, thus allowing values to be overridden in
# a per-service manner.
#
# NEVER change the init script itself. To change values for all
services make
# your changes in /etc/tomcat/tomcat.conf
#
# To change values for a specific service make your edits here.
# To create a new service create a link from /etc/init.d/<your new
service> to
# /etc/init.d/tomcat (do not copy the init script) and make a copy of th
e
# /etc/sysconfig/tomcat file to /etc/sysconfig/<your new service> and
change
# the property values so the two services won't conflict. Register the n
ew
# service in the system as usual (see chkconfig and similars).
#

# Where your java installation lives
#JAVA_HOME="/usr/lib/jvm/java"

# Where your tomcat installation lives
#CATALINA_BASE="/usr/share/tomcat"
#CATALINA_HOME="/usr/share/tomcat"
#JASPER_HOME="/usr/share/tomcat"
#CATALINA_TMPDIR="/var/cache/tomcat/temp"

# You can pass some parameters to java here if you wish to
#JAVA_OPTS="-Xminf0.1 -Xmaxf0.3"

# Use JAVA_OPTS to set java.library.path for libtcnative.so
#JAVA_OPTS="-Djava.library.path=/usr/lib64"

# What user should run tomcat
#TOMCAT_USER="tomcat"

# You can change your tomcat locale here
#LANG="en_US"

# Run tomcat under the Java Security Manager
#SECURITY_MANAGER="false"

# Time to wait in seconds, before killing process
#SHUTDOWN_WAIT="30"

# Whether to annoy the user with "attempting to shut down" messages or n
ot
#SHUTDOWN_VERBOSE="false"

# Set the TOMCAT_PID location
#CATALINA_PID="/var/run/tomcat.pid"

# Connector port is 8080 for this tomcat instance
#CONNECTOR_PORT="8080"

# If you wish to further customize your tomcat environment,
# put your own definitions here
# (i.e. LD_LIBRARY_PATH for some jdbc drivers)

JAVA_OPTS="$JAVA_OPTS -Ddjigzo-web.home=/usr/share/djigzo-web"
JAVA_OPTS="$JAVA_OPTS -Djava.awt.headless=true -Xmx128M"

O.K.?
And here's my /etc/tomcat/tomcat.conf

# System-wide configuration file for tomcat services
# This will be loaded by systemd as an environment file,
# so please keep the syntax.
#
# There are 2 "classes" of startup behavior in this package.
# The old one, the default service named tomcat.service.
# The new named instances are called [email protected].
#
# Use this file to change default values for all services.
# Change the service specific ones to affect only one service.
# For tomcat.service it's /etc/sysconfig/tomcat, for
# tomcat@instance it's /etc/sysconfig/tomcat@instance.

# This variable is used to figure out if config is loaded or not.
TOMCAT_CFG_LOADED="1"

# In new-style instances, if CATALINA_BASE isn't specified, it will
# be constructed by joining TOMCATS_BASE and NAME.
TOMCATS_BASE="/var/lib/tomcats/"

# Where your java installation lives
JAVA_HOME="/usr/lib/jvm/jre"

# Where your tomcat installation lives
CATALINA_HOME="/usr/share/tomcat"

# System-wide tmp
CATALINA_TMPDIR="/var/cache/tomcat/temp"

# You can pass some parameters to java here if you wish to
#JAVA_OPTS="-Xminf0.1 -Xmaxf0.3"

# Use JAVA_OPTS to set java.library.path for libtcnative.so
#JAVA_OPTS="-Djava.library.path=/usr/lib"

# You can change your tomcat locale here
#LANG="en_US"

# Run tomcat under the Java Security Manager
SECURITY_MANAGER="false"

# Time to wait in seconds, before killing process
# TODO(stingray): does nothing, fix.
# SHUTDOWN_WAIT="30"

# If you wish to further customize your tomcat environment,
# put your own definitions here
# (i.e. LD_LIBRARY_PATH for some jdbc drivers)


I hope that helps ... ;)


cul8r
Django


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJVjWixAAoJEAdOz2FQpr/tBKwP/irH5adj7WvgKMbdGEcOZQRX
2dIAFBmfxdUOV2Jf5Fk+GworWK8WNGyNo2lqP7H+IN/OTO6Dv066eGQtt6yzPi4W
YH7PcC9+Dr2NpIN8fTUrc7afnm2HXkDMk6IyRk67lTFkDE4BtvtzNQENY0fGTPgW
pHGHFwveUOJpQrWrvH/F095Ut9CzP8rwzKsjmNuIds3HVvGsfNrlyfvRTsMNjGWv
Q81pEnpHdlQ31O4TMTDwpDLuH4kL+yg/NQY3RLLvQLDg3RF3wUy0PTnqc0RkijZU
APgVSD5iTFJkdCUXW0l5iuH8VKfwyHBirUc5VEC2fICY4IPS/qrozXtE7BxzPwtk
u25jJX0FadhqC5zTCQTY9A0wKhTe/Lnll6NTB7qOWA19FqqTq54Vtd0SUYC9cpAk
eBAtswYz40MjshAXsfQ+I3iTNKeanz12hBvXljgS29agAzraBv+EGA57thR0JLG8
FnjqdYZ5tyxaUDauO/pMAlf+CHFlX4giyPiQ3OJf8mPl39XQp/SW65U66O+OmCdn
LqRTM9ulrEuUo1ss7/faQmLoJVRJdxWSkNqPSrjNckZhQKj7LU/oItHkWuKqggpT
Gh6QnvqWglrU95K2OGL/vDO1oo4+r5khOTzzuEUXHA3yELPEk0Mlk1kqasnCozxQ
zXmqLu+cM67xlFm/uHkV
=fIZQ
-----END PGP SIGNATURE-----
_______________________________________________
Users mailing list
[email protected]
https://lists.djigzo.com/lists/listinfo/users

Reply via email to