<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:Garamond;
        panose-1:2 2 4 4 3 3 1 1 8 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Garamond","serif";
        color:#1F497D;}
span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:"Garamond","serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D">I just realized my mistake. I added the line: JAVA_OPTS="$JAVA_OPTS -server -Xms256m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=256m -Dmidpoint.home=/var/opt/midpoint/ -Djavax.net.ssl.trustStore=/var/opt/midpoint/keystore.jceks
 -Djavax.net.ssl.trustStoreType=jceks" to the </span><span style="font-family:"Garamond","serif";color:#1F497D">/etc/default/tomcat8 file and it is now working</span><span style="font-family:"Garamond","serif";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> midPoint [mailto:midpoint-bounces@lists.evolveum.com]
<b>On Behalf Of </b>Ly, Brian<br>
<b>Sent:</b> Thursday, August 25, 2016 1:28 PM<br>
<b>To:</b> 'midPoint General Discussion'<br>
<b>Subject:</b> Re: [midPoint] Deployment issues<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D">Contents of /etc/default/tomcat8<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D"># Run Tomcat as this user ID. Not setting this or leaving it blank will use the<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D"># default of tomcat8.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D">TOMCAT8_USER=tomcat8<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D"># Run Tomcat as this group ID. Not setting this or leaving it blank will use<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D"># the default of tomcat8.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D">TOMCAT8_GROUP=tomcat8<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D"># The home directory of the Java development kit (JDK). You need at least<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D"># JDK version 7. If JAVA_HOME is not set, some common directories for<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D"># OpenJDK and the Oracle JDK are tried.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D">#JAVA_HOME=/usr/lib/jvm/java-7-openjdk<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D"># You may pass JVM startup parameters to Java here. If unset, the default<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D"># options will be: -Djava.awt.headless=true -Xmx128m -XX:+UseConcMarkSweepGC<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D">#<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D"># Use "-XX:+UseConcMarkSweepGC" to enable the CMS garbage collector (improved<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D"># response time). If you use that option and you run Tomcat on a machine with<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D"># exactly one CPU chip that contains one or two cores, you should also add<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D"># the "-XX:+CMSIncrementalMode" option.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D">JAVA_OPTS="-Djava.awt.headless=true -Xmx128m -XX:+UseConcMarkSweepGC"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D"># To enable remote debugging uncomment the following line.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D"># You will then be able to use a java debugger on port 8000.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D">#JAVA_OPTS="${JAVA_OPTS} -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D"># Java compiler to use for translating JavaServer Pages (JSPs). You can use all<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D"># compilers that are accepted by Ant's build.compiler property.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D">#JSP_COMPILER=javac<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D"># Use the Java security manager? (yes/no, default: no)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D">#TOMCAT8_SECURITY=no<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D"># Number of days to keep logfiles in /var/log/tomcat8. Default is 14 days.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D">#LOGFILE_DAYS=14<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D"># Whether to compress logfiles older than today's<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D">#LOGFILE_COMPRESS=1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D"># Location of the JVM temporary directory<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D"># WARNING: This directory will be destroyed and recreated at every startup !<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D">#JVM_TMP=/tmp/tomcat8-temp<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D"># If you run Tomcat on port numbers that are all higher than 1023, then you<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D"># do not need authbind.  It is used for binding Tomcat to lower port numbers.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D"># (yes/no, default: no)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D">#AUTHBIND=no<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Garamond","serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> midPoint [<a href="mailto:midpoint-bounces@lists.evolveum.com">mailto:midpoint-bounces@lists.evolveum.com</a>]
<b>On Behalf Of </b>Jason Everling<br>
<b>Sent:</b> Thursday, August 25, 2016 12:04 PM<br>
<b>To:</b> midPoint General Discussion<br>
<b>Subject:</b> Re: [midPoint] Deployment issues<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Can you share your /etc/default/tomcat8 file?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><br clear="all">
<o:p></o:p></p>
<div>
<div>
<div>
<p class="MsoNormal">JASON<o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Thu, Aug 25, 2016 at 11:02 AM, Pavol Mederly <<a href="mailto:mederly@evolveum.com" target="_blank">mederly@evolveum.com</a>> wrote:<o:p></o:p></p>
<div>
<p>This is memory that is available to Java applications running in Java Virtual Machine (basically, a process in operating system).<o:p></o:p></p>
<p>It is adjusted using -X switches when starting Java. For example,<o:p></o:p></p>
<p>-Xms512m -Xmx4096m -XX:PermSize=512m -XX:MaxPermSize=1024m<o:p></o:p></p>
<p>(as recently Jason suggested to Matt)<o:p></o:p></p>
<p>For Tomcat, this is set via environment variable CATALINA_OPTS in bin/setenv.sh file. See
<a href="http://wiki.apache.org/tomcat/FAQ/Memory#Q1" target="_blank">http://wiki.apache.org/tomcat/FAQ/Memory#Q1</a>.<o:p></o:p></p>
<pre>Pavol Mederly<o:p></o:p></pre>
<pre>Software developer<o:p></o:p></pre>
<pre><a href="http://evolveum.com" target="_blank">evolveum.com</a><o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<div>
<div>
<div>
<p class="MsoNormal">On 25.08.2016 17:54, Ly, Brian wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">I am running hardware virtualization, specifically vSphere. I increased the memory of the virtual machine to 16gb. Is
 that what you mean by heap?</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> midPoint [<a href="mailto:midpoint-bounces@lists.evolveum.com" target="_blank">mailto:midpoint-bounces@lists.evolveum.com</a>]
<b>On Behalf Of </b>Pavol Mederly<br>
<b>Sent:</b> Thursday, August 25, 2016 11:43 AM<br>
<b>To:</b> <a href="mailto:midpoint@lists.evolveum.com" target="_blank">midpoint@lists.evolveum.com</a><br>
<b>Subject:</b> Re: [midPoint] Deployment issues</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p>Brian,<o:p></o:p></p>
<p>when talking about VM, you mean Java Virtual Machine where midPoint runs, or a virtual machine as in "hardware virtualization" (like VirtualBox etc) ?<o:p></o:p></p>
<p>I suppose the later. Please check how much heap has your tomcat available. It should be at least 1 GB; for any reasonable use 4 GB is recommended.
<a href="https://wiki.evolveum.com/display/midPoint/System+Requirements" target="_blank">
See https://wiki.evolveum.com/display/midPoint/System+Requirements</a>.<o:p></o:p></p>
<pre>Pavol Mederly<o:p></o:p></pre>
<pre>Software developer<o:p></o:p></pre>
<pre><a href="http://evolveum.com" target="_blank">evolveum.com</a><o:p></o:p></pre>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">On 25.08.2016 17:38, Ly, Brian wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">So I’ve increased the memory on the VM to 16gb which should be plenty. I still get the same error. It seems to be a memory
 leak in the application.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> midPoint [<a href="mailto:midpoint-bounces@lists.evolveum.com" target="_blank">mailto:midpoint-bounces@lists.evolveum.com</a>]
<b>On Behalf Of </b>Ly, Brian<br>
<b>Sent:</b> Thursday, August 25, 2016 11:10 AM<br>
<b>To:</b> 'midPoint General Discussion'<br>
<b>Subject:</b> Re: [midPoint] Deployment issues</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">I have chmod the entire /usr/share/tomcat8/ directory to 777 and restarted tomcat8. Then it created a midpoint folder
 in this directory (/usr/share/tomcat8/midpoint) which it did not have before. I then also chmod this folder to 777.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">The contents of this directory contains [config.xml  export  icf-connectors  idm-legacy  import  keystore.jceks  log 
 midpoint-activiti.h2.db  midpoint.h2.db  schema  tmp] which seems to be correct.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">Whereas the contents of /var/lib/tomcat8/webapps/midpoint contains [css  fonts  img  js  less  META-INF  PageSecurityQuestions.html 
 status.html  WEB-INF]</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">But when I try to deploy midpoint I get the same msg: “FAIL - Application at context path /midpoint could not be started”</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">Is there another OS, tomcat, jdk combination I should try? I’m running it on a VM.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">New catalina.out excerpt below:</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">Aug 25, 2016 9:59:46 AM
<a href="http://org.apache.tomcat.util.net">org.apache.tomcat.util.net</a>.NioEndpoint$SocketProcessor doRun</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">SEVERE:</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">java.lang.OutOfMemoryError: Java heap space</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">        at java.util.Arrays.copyOfRange(Arrays.java:3664)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">        at java.lang.String.<init>(String.java:207)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">        at java.io.DataInputStream.readUTF(DataInputStream.java:661)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">        at java.io.DataInputStream.readUTF(DataInputStream.java:564)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">        at org.apache.tomcat.util.bcel.classfile.ConstantUtf8.getInstance(ConstantUtf8.java:38)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">        at org.apache.tomcat.util.bcel.classfile.Constant.readConstant(Constant.java:81)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">        at org.apache.tomcat.util.bcel.classfile.ConstantPool.<init>(ConstantPool.java:55)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">        at org.apache.tomcat.util.bcel.classfile.ClassParser.readConstantPool(ClassParser.java:176)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">        at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:85)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">        at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2045)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">        at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1991)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">        at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1961)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">        at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1915)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">        at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1158)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">        at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:780)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">        at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:305)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:95)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">        at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5154)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">        at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1293)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">        at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:666)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">        at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:217)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">        at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">        at org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:136)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">Aug 25, 2016 9:59:46 AM org.apache.catalina.util.LifecycleBase start</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">INFO: The start() method was called on component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/midpoint]]
 after start() had already been called. The second call will be ignored.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">Aug 25, 2016 9:59:47 AM
<a href="http://org.apache.tomcat.util.net">org.apache.tomcat.util.net</a>.NioEndpoint checkParachute</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">SEVERE: SEVERE:Memory usage is low, parachute is non existent, your system may start failing.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">Aug 25, 2016 9:59:57 AM
<a href="http://org.apache.tomcat.util.net">org.apache.tomcat.util.net</a>.NioEndpoint checkParachute</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">SEVERE: SEVERE:Memory usage is low, parachute is non existent, your system may start failing.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">Aug 25, 2016 10:00:07 AM
<a href="http://org.apache.tomcat.util.net">org.apache.tomcat.util.net</a>.NioEndpoint checkParachute</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">SEVERE: SEVERE:Memory usage is low, parachute is non existent, your system may start failing.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">Aug 25, 2016 10:00:17 AM
<a href="http://org.apache.tomcat.util.net">org.apache.tomcat.util.net</a>.NioEndpoint checkParachute</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">SEVERE: SEVERE:Memory usage is low, parachute is non existent, your system may start failing.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">Aug 25, 2016 10:00:27 AM
<a href="http://org.apache.tomcat.util.net">org.apache.tomcat.util.net</a>.NioEndpoint checkParachute</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">SEVERE: SEVERE:Memory usage is low, parachute is non existent, your system may start failing.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">Aug 25, 2016 10:00:37 AM
<a href="http://org.apache.tomcat.util.net">org.apache.tomcat.util.net</a>.NioEndpoint checkParachute</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">SEVERE: SEVERE:Memory usage is low, parachute is non existent, your system may start failing.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">Aug 25, 2016 10:00:47 AM
<a href="http://org.apache.tomcat.util.net">org.apache.tomcat.util.net</a>.NioEndpoint checkParachute</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">SEVERE: SEVERE:Memory usage is low, parachute is non existent, your system may start failing.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">Aug 25, 2016 10:00:57 AM
<a href="http://org.apache.tomcat.util.net">org.apache.tomcat.util.net</a>.NioEndpoint checkParachute</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">SEVERE: SEVERE:Memory usage is low, parachute is non existent, your system may start failing.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">Aug 25, 2016 10:01:07 AM
<a href="http://org.apache.tomcat.util.net">org.apache.tomcat.util.net</a>.NioEndpoint checkParachute</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">SEVERE: SEVERE:Memory usage is low, parachute is non existent, your system may start failing.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">Aug 25, 2016 10:01:18 AM
<a href="http://org.apache.tomcat.util.net">org.apache.tomcat.util.net</a>.NioEndpoint checkParachute</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">SEVERE: SEVERE:Memory usage is low, parachute is non existent, your system may start failing.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">Goes on like this..</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">The VM currently has 2gb of ram. I will try to add more memory to the VM to see if that helps</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> midPoint [<a href="mailto:midpoint-bounces@lists.evolveum.com" target="_blank">mailto:midpoint-bounces@lists.evolveum.com</a>]
<b>On Behalf Of </b>Ivan Noris<br>
<b>Sent:</b> Thursday, August 25, 2016 10:55 AM<br>
<b>To:</b> midPoint General Discussion<br>
<b>Subject:</b> Re: [midPoint] Deployment issues</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Good idea, but according to the log, no:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p style="margin:0in;margin-bottom:.0001pt"><span style="font-family:"Garamond","serif";color:#1F497D">Setting midpoint.home to '/usr/share/tomcat8/midpoint'.</span><o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt"><span style="font-family:"Garamond","serif";color:#1F497D">midpoint.home = /usr/share/tomcat8/midpoint/</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">(so no "webapps")<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">BTW are you starting the Tomcat as root? MidPoint will try to create the midpoint.home directory and its content (so it must be writeable). Specifically, config.xml will be created
 there upon the first start.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">No other thoughts yet; I may be able to install Tomcat 8 on my Ubuntu as well later.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="100%" align="center">
</div>
<blockquote style="border:none;border-left:solid #1010FF 1.5pt;padding:0in 0in 0in 4.0pt;margin-left:3.75pt;margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span style="font-family:"Helvetica","sans-serif"">From:
</span></b><span style="font-family:"Helvetica","sans-serif"">"Jason Everling" <<a href="mailto:jeverling@bshp.edu" target="_blank">jeverling@bshp.edu</a>><br>
<b>To: </b>"midPoint General Discussion" <<a href="mailto:midpoint@lists.evolveum.com" target="_blank">midpoint@lists.evolveum.com</a>><br>
<b>Sent: </b>Thursday, August 25, 2016 5:41:13 PM<br>
<b>Subject: </b>Re: [midPoint] Deployment issues</span><o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Helvetica","sans-serif""> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Helvetica","sans-serif"">Isn't the midpoint home folder created as 'midpoint' by default and the webapp by default is 'midpoint' ? I would think that those
 can collide if they are both in tomcat webapp directory?</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Helvetica","sans-serif""><br clear="all">
</span><o:p></o:p></p>
<div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Helvetica","sans-serif"">JASON</span><o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Helvetica","sans-serif""> </span><o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Helvetica","sans-serif"">On Thu, Aug 25, 2016 at 9:31 AM, Ivan Noris <<a href="mailto:Ivan.Noris@evolveum.com" target="_blank">Ivan.Noris@evolveum.com</a>>
 wrote:</span><o:p></o:p></p>
<div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hi Brian,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">we are deploying the midpoint.war also to webapps folder, so that certainly works.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">When you changed server.xml, didn't you accidentally made some typo?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Also can you paste more from catalina.out?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Thanks,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Ivan<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="100%" align="center">
</div>
<blockquote style="border:none;border-left:solid #1010FF 1.5pt;padding:0in 0in 0in 4.0pt;margin-left:3.75pt;margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span style="font-family:"Helvetica","sans-serif"">From:
</span></b><span style="font-family:"Helvetica","sans-serif"">"Brian Ly" <<a href="mailto:Brian.Ly@uhn.ca" target="_blank">Brian.Ly@uhn.ca</a>><br>
<b>To: </b>"<a href="mailto:gustav.palos@evolveum.com" target="_blank">gustav.palos@evolveum.com</a>" <<a href="mailto:gustav.palos@evolveum.com" target="_blank">gustav.palos@evolveum.com</a>>, "midPoint General Discussion" <<a href="mailto:midpoint@lists.evolveum.com" target="_blank">midpoint@lists.evolveum.com</a>><br>
<b>Sent: </b>Thursday, August 25, 2016 5:18:20 PM</span><o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Helvetica","sans-serif""><br>
<b>Subject: </b>Re: [midPoint] Deployment issues</span><o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Helvetica","sans-serif""> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">Yes, I installed based on those instructions,</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">I installed JDK7 and tomcat8 on Ubuntu 16.04 using the apt-get install method. Then I used wget to download midpoint to
 the server and extracted it using tar. I then moved the war file into the tomcat webapps folder and changed the server.xml to change the size limitation. Tomcat creates a midpoint folder in the webapps directory since I did not change the location of the MidPoint
 Home Directory (midpoint.home) but it should be able to deploy in the tomcat webapps directory right?</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D">Brian</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> midPoint [mailto:<a href="mailto:midpoint-bounces@lists.evolveum.com" target="_blank">midpoint-bounces@lists.evolveum.com</a>]
<b>On Behalf Of </b>Pálos Gustáv<br>
<b>Sent:</b> Thursday, August 25, 2016 12:26 AM<br>
<b>To:</b> midPoint General Discussion<br>
<b>Subject:</b> Re: [midPoint] Deployment issues</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:9.5pt">Hi Brian,</span><o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:9.5pt"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:9.5pt">do you install midpoint & configure it over this manual?</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:9.5pt"><a href="https://wiki.evolveum.com/display/midPoint/Installation+Guide" target="_blank">https://wiki.evolveum.com/display/midPoint/Installation+Guide</a></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:9.5pt">is configured midpoint.home directory writable for the user, who run the tomcat?</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:9.5pt"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:9.5pt">Gustav</span><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">2016-08-24 22:35 GMT+02:00 Ly, Brian <<a href="mailto:Brian.Ly@uhn.ca" target="_blank">Brian.Ly@uhn.ca</a>>:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif"">Hi</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif""> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif"">I am trying out midpoint and I cannot seem to deploy it using tomcat. I am receiving a “FAIL - Application at context path /midpoint
 could not be started” error message in tomcat when I try to deploy midpoint.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif""> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif"">Can you please assist me?</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif""> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif"">I am running Ubuntu server 16.04, tomcat 8, latest midpoint release, latest java jdk</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Garamond","serif""> </span><o:p></o:p></p>
</div>
<p><span style="font-family:"Helvetica","sans-serif""><br>
This e-mail may contain confidential and/or privileged information for the sole use of the intended recipient.
<br>
Any review or distribution by anyone other than the person for whom it was originally intended is strictly prohibited.
<br>
If you have received this e-mail in error, please contact the sender and delete all copies.
<br>
Opinions, conclusions or other information contained in this e-mail may not be that of the organization.</span><o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt"><br>
_______________________________________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a><o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><br>
<br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">--
<o:p></o:p></p>
<div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Gustáv Pálos<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Identity Engineer<o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><a href="http://evolveum.com/" target="_blank"><span style="font-size:9.5pt;color:#1155CC">evolveum.com</span></a><o:p></o:p></p>
</div>
</div>
</div>
</div>
<p><span style="font-family:"Helvetica","sans-serif""><br>
This e-mail may contain confidential and/or privileged information for the sole use of the intended recipient.
<br>
Any review or distribution by anyone other than the person for whom it was originally intended is strictly prohibited.
<br>
If you have received this e-mail in error, please contact the sender and delete all copies.
<br>
Opinions, conclusions or other information contained in this e-mail may not be that of the organization.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Helvetica","sans-serif""><br>
_______________________________________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a></span><o:p></o:p></p>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:#888888"> </span><o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:#888888"> </span><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:#888888"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:#888888">--
</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:#888888">Ivan Noris<br>
Senior Identity Engineer<br>
<a href="http://evolveum.com" target="_blank">evolveum.com</a></span><o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt"><span style="font-family:"Helvetica","sans-serif""><br>
_______________________________________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a></span><o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Helvetica","sans-serif""> </span><o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt"><span style="font-family:"Helvetica","sans-serif""> </span><o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Helvetica","sans-serif""> </span><o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Helvetica","sans-serif"">CONFIDENTIALITY NOTICE:<br>
This e-mail together with any attachments is proprietary and confidential; intended for only the recipient(s) named above and may contain information that is privileged. You should not retain, copy or use this e-mail or any attachments for any purpose, or disclose
 all or any part of the contents to any person. Any views or opinions expressed in this e-mail are those of the author and do not represent those of the Baptist School of Health Professions. If you have received this e-mail in error, or are not the named recipient(s),
 you are hereby notified that any review, dissemination, distribution or copying of this communication is prohibited by the sender and to do so might constitute a violation of the Electronic Communications Privacy Act, 18 U.S.C. section 2510-2521. Please immediately
 notify the sender and delete this e-mail and any attachments from your computer.
</span><o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Helvetica","sans-serif""> </span><o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Helvetica","sans-serif"">_______________________________________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a></span><o:p></o:p></p>
</blockquote>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">--
<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Ivan Noris<br>
Senior Identity Engineer<br>
<a href="http://evolveum.com" target="_blank">evolveum.com</a><o:p></o:p></p>
</div>
</div>
<p><br>
This e-mail may contain confidential and/or privileged information for the sole use of the intended recipient.
<br>
Any review or distribution by anyone other than the person for whom it was originally intended is strictly prohibited.
<br>
If you have received this e-mail in error, please contact the sender and delete all copies.
<br>
Opinions, conclusions or other information contained in this e-mail may not be that of the organization.<o:p></o:p></p>
<p><br>
This e-mail may contain confidential and/or privileged information for the sole use of the intended recipient.
<br>
Any review or distribution by anyone other than the person for whom it was originally intended is strictly prohibited.
<br>
If you have received this e-mail in error, please contact the sender and delete all copies.
<br>
Opinions, conclusions or other information contained in this e-mail may not be that of the organization.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt"><o:p> </o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>midPoint mailing list<o:p></o:p></pre>
<pre><a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><o:p></o:p></pre>
<pre><a href="http://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<p><br>
This e-mail may contain confidential and/or privileged information for the sole use of the intended recipient.
<br>
Any review or distribution by anyone other than the person for whom it was originally intended is strictly prohibited.
<br>
If you have received this e-mail in error, please contact the sender and delete all copies.
<br>
Opinions, conclusions or other information contained in this e-mail may not be that of the organization.<o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>midPoint mailing list<o:p></o:p></pre>
<pre><a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><o:p></o:p></pre>
<pre><a href="http://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a><o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><br>
<span style="font-size:10.0pt"><br>
<br>
CONFIDENTIALITY NOTICE:<br>
This e-mail together with any attachments is proprietary and confidential; intended for only the recipient(s) named above and may contain information that is privileged. You should not retain, copy or use this e-mail or any attachments for any purpose, or disclose
 all or any part of the contents to any person. Any views or opinions expressed in this e-mail are those of the author and do not represent those of the Baptist School of Health Professions. If you have received this e-mail in error, or are not the named recipient(s),
 you are hereby notified that any review, dissemination, distribution or copying of this communication is prohibited by the sender and to do so might constitute a violation of the Electronic Communications Privacy Act, 18 U.S.C. section 2510-2521. Please immediately
 notify the sender and delete this e-mail and any attachments from your computer.
</span><o:p></o:p></p>
<p><br>
This e-mail may contain confidential and/or privileged information for the sole use of the intended recipient.
<br>
Any review or distribution by anyone other than the person for whom it was originally intended is strictly prohibited.
<br>
If you have received this e-mail in error, please contact the sender and delete all copies.
<br>
Opinions, conclusions or other information contained in this e-mail may not be that of the organization.<o:p></o:p></p>
</div>
<p><br>
This e-mail may contain confidential and/or privileged information for the sole use of the intended recipient. <br>
Any review or distribution by anyone other than the person for whom it was originally intended is strictly prohibited. <br>
If you have received this e-mail in error, please contact the sender and delete all copies. <br>
Opinions, conclusions or other information contained in this e-mail may not be that of the organization.</p></body>
</html>