Project

General

Profile

« Previous | Next » 

Revision bc305078

Added by Andreas Kohlbecker almost 4 years ago

fix #8682 adding libjemalloc as package dependency and setting LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.1 in init script

View differences:

src/main/installer/linux/build-deb.xml
44 44
    <mkdir dir="target" />
45 45
    <deb todir="target"
46 46
        package="${package.name}"
47
        preDepends="jsvc"
48
        section="web"
47
        preDepends="jsvc, libjemalloc1"
48
        section="science"
49 49
        postinst="${linux.installer.path}/postinst"
50 50
        postrm="${linux.installer.path}/postrm"
51 51
        prerm="${linux.installer.path}/prerm"
......
56 56
        The CDM Community Standalone Server exposes data stored in a CDM data base to the web.
57 57
        It is a Jetty based web application container bundeled with a simple management
58 58
        webapplication and of course with the remote component of the CDM Library.
59
        For more information please refer to http://wp5.e-taxonomy.eu/
59
        For more information please refer to https://cybertaxonomy.eu/cdm-server/
60 60
      </description>
61 61
      <tarfileset file="${linux.installer.path}/${cdmserverscript.filename}" prefix="/etc/init.d/" />
62 62
      <tarfileset file="${installer.path}/templates/.cdmLibrary/*" prefix="/opt/cdmserver/templates/.cdmLibrary/" />
src/main/installer/linux/cdmserver
65 65
    /usr/lib/jvm/default-java \
66 66
    /usr/lib/jvm/java-6-sun \
67 67
    /usr/lib/jvm/java-6-openjdk \
68
    /usr/lib/jvm/java-1.5.0-sun \
69 68
    /usr/lib/jvm/java-gcj \
70
    /usr/lib/j2sdk1.6-sun \
71
    /usr/lib/j2sdk1.5-sun \
72
    /usr/lib/j2sdk1.5-ibm \
73
    /usr/lib/j2sdk1.4-sun \
74
    /usr/lib/j2sdk1.4 \
75
    /usr/lib/j2se/1.4 \
76 69
    /usr/lib/kaffe/ \
77 70
   "
78 71

  
......
110 103
  fi
111 104
done
112 105

  
106
### configuring environment to use jemalloc for the jvm (see https://dev.e-taxonomy.eu/redmine/issues/5048)
107
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.1
108

  
109

  
113 110
#BOOTSTRAP_CLASS="eu.etaxonomy.cdm.server.Bootloader"
114 111
BOOTSTRAP_CLASS="eu.etaxonomy.cdm.server.jsvc.ServiceWrapper"
115 112

  

Also available in: Unified diff