<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>This is memory that is available to Java applications running in
Java Virtual Machine (basically, a process in operating system).</p>
<p>It is adjusted using -X switches when starting Java. For example,</p>
<p>-Xms512m -Xmx4096m -XX:PermSize=512m -XX:MaxPermSize=1024m</p>
<p>(as recently Jason suggested to Matt)</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">http://wiki.apache.org/tomcat/FAQ/Memory#Q1</a>.<br>
</p>
<pre class="moz-signature" cols="72">Pavol Mederly
Software developer
evolveum.com
</pre>
<div class="moz-cite-prefix">On 25.08.2016 17:54, Ly, Brian wrote:<br>
</div>
<blockquote
cite="mid:2BCC200021C8084EBDAA854C3D83C2EC47693A04@UHN-PE-MBX-100P.uhn.ca"
type="cite">
<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";
color:black;}
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";
color:black;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
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";
color:black;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;
color:black;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
span.hoenzb
{mso-style-name:hoenzb;}
span.EmailStyle23
{mso-style-type:personal;
font-family:"Garamond","serif";
color:#1F497D;}
span.EmailStyle24
{mso-style-type:personal;
font-family:"Garamond","serif";
color:#1F497D;}
span.EmailStyle25
{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]-->
<div class="WordSection1">
<p class="MsoNormal"><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?<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";color:windowtext">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">
midPoint [<a class="moz-txt-link-freetext" href="mailto:midpoint-bounces@lists.evolveum.com">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 class="moz-txt-link-abbreviated" href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a><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>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 moz-do-not-send="true"
href="https://wiki.evolveum.com/display/midPoint/System+Requirements">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>evolveum.com<o:p></o:p></pre>
<div>
<p class="MsoNormal">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"><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"><span
style="font-family:"Garamond","serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-family:"Garamond","serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-family:"Garamond","serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><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"><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 moz-do-not-send="true"
href="mailto:midpoint-bounces@lists.evolveum.com">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"> <o:p></o:p></p>
<p class="MsoNormal"><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"><span
style="font-family:"Garamond","serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><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"><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"><span
style="font-family:"Garamond","serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><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"><span
style="font-family:"Garamond","serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><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"><span
style="font-family:"Garamond","serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-family:"Garamond","serif";color:#1F497D">New
catalina.out excerpt below:</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-family:"Garamond","serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-family:"Garamond","serif";color:#1F497D">Aug
25, 2016 9:59:46 AM
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor
doRun</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-family:"Garamond","serif";color:#1F497D">SEVERE:</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-family:"Garamond","serif";color:#1F497D">java.lang.OutOfMemoryError:
Java heap space</span><o:p></o:p></p>
<p class="MsoNormal"><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"><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"><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"><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"><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"><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"><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"><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"><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"><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"><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"><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"><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"><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"><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"><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"><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"><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"><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"><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"><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"><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"><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"><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"><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"><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"><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"><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"><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"><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"><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"><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"><span
style="font-family:"Garamond","serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><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"><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"><span
style="font-family:"Garamond","serif";color:#1F497D">Aug
25, 2016 9:59:47 AM org.apache.tomcat.util.net.NioEndpoint
checkParachute</span><o:p></o:p></p>
<p class="MsoNormal"><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"><span
style="font-family:"Garamond","serif";color:#1F497D">Aug
25, 2016 9:59:57 AM org.apache.tomcat.util.net.NioEndpoint
checkParachute</span><o:p></o:p></p>
<p class="MsoNormal"><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"><span
style="font-family:"Garamond","serif";color:#1F497D">Aug
25, 2016 10:00:07 AM
org.apache.tomcat.util.net.NioEndpoint checkParachute</span><o:p></o:p></p>
<p class="MsoNormal"><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"><span
style="font-family:"Garamond","serif";color:#1F497D">Aug
25, 2016 10:00:17 AM
org.apache.tomcat.util.net.NioEndpoint checkParachute</span><o:p></o:p></p>
<p class="MsoNormal"><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"><span
style="font-family:"Garamond","serif";color:#1F497D">Aug
25, 2016 10:00:27 AM
org.apache.tomcat.util.net.NioEndpoint checkParachute</span><o:p></o:p></p>
<p class="MsoNormal"><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"><span
style="font-family:"Garamond","serif";color:#1F497D">Aug
25, 2016 10:00:37 AM
org.apache.tomcat.util.net.NioEndpoint checkParachute</span><o:p></o:p></p>
<p class="MsoNormal"><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"><span
style="font-family:"Garamond","serif";color:#1F497D">Aug
25, 2016 10:00:47 AM
org.apache.tomcat.util.net.NioEndpoint checkParachute</span><o:p></o:p></p>
<p class="MsoNormal"><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"><span
style="font-family:"Garamond","serif";color:#1F497D">Aug
25, 2016 10:00:57 AM
org.apache.tomcat.util.net.NioEndpoint checkParachute</span><o:p></o:p></p>
<p class="MsoNormal"><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"><span
style="font-family:"Garamond","serif";color:#1F497D">Aug
25, 2016 10:01:07 AM
org.apache.tomcat.util.net.NioEndpoint checkParachute</span><o:p></o:p></p>
<p class="MsoNormal"><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"><span
style="font-family:"Garamond","serif";color:#1F497D">Aug
25, 2016 10:01:18 AM
org.apache.tomcat.util.net.NioEndpoint checkParachute</span><o:p></o:p></p>
<p class="MsoNormal"><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"><span
style="font-family:"Garamond","serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-family:"Garamond","serif";color:#1F497D">Goes
on like this..</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-family:"Garamond","serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><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"><span
style="font-family:"Garamond","serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-family:"Garamond","serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-family:"Garamond","serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-family:"Garamond","serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><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"><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 moz-do-not-send="true"
href="mailto:midpoint-bounces@lists.evolveum.com">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"> <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal">Good idea, but according to the log,
no:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <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"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">(so no "webapps")<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">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">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"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">I<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div class="MsoNormal" style="text-align:center"
align="center">
<hr align="center" size="2" width="100%">
</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"><b><span
style="font-family:"Helvetica","sans-serif"">From:
</span>
</b><span
style="font-family:"Helvetica","sans-serif"">"Jason
Everling" <<a moz-do-not-send="true"
href="mailto:jeverling@bshp.edu">jeverling@bshp.edu</a>><br>
<b>To: </b>"midPoint General Discussion" <<a
moz-do-not-send="true"
href="mailto:midpoint@lists.evolveum.com">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"><span
style="font-family:"Helvetica","sans-serif""> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><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"><span
style="font-family:"Helvetica","sans-serif""><br
clear="all">
</span><o:p></o:p></p>
<div>
<div>
<div>
<p class="MsoNormal"><span
style="font-family:"Helvetica","sans-serif"">JASON</span><o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><span
style="font-family:"Helvetica","sans-serif""> </span><o:p></o:p></p>
<div>
<p class="MsoNormal"><span
style="font-family:"Helvetica","sans-serif"">On
Thu, Aug 25, 2016 at 9:31 AM, Ivan Noris <<a
moz-do-not-send="true"
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">Hi Brian,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">we are deploying the
midpoint.war also to webapps folder, so that
certainly works.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">When you changed
server.xml, didn't you accidentally made some
typo?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Also can you paste more
from catalina.out?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Ivan<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div class="MsoNormal" style="text-align:center"
align="center">
<hr align="center" size="2" width="100%">
</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"><b><span
style="font-family:"Helvetica","sans-serif"">From:
</span>
</b><span
style="font-family:"Helvetica","sans-serif"">"Brian
Ly" <<a moz-do-not-send="true"
href="mailto:Brian.Ly@uhn.ca"
target="_blank">Brian.Ly@uhn.ca</a>><br>
<b>To: </b>"<a moz-do-not-send="true"
href="mailto:gustav.palos@evolveum.com"
target="_blank">gustav.palos@evolveum.com</a>"
<<a moz-do-not-send="true"
href="mailto:gustav.palos@evolveum.com"
target="_blank">gustav.palos@evolveum.com</a>>,
"midPoint General Discussion" <<a
moz-do-not-send="true"
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"><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"><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
moz-do-not-send="true"
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
moz-do-not-send="true"
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
moz-do-not-send="true"
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 moz-do-not-send="true"
href="mailto:midPoint@lists.evolveum.com"
target="_blank">midPoint@lists.evolveum.com</a><br>
<a moz-do-not-send="true"
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
moz-do-not-send="true"
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"><span
style="font-family:"Helvetica","sans-serif""><br>
_______________________________________________<br>
midPoint mailing list<br>
<a moz-do-not-send="true"
href="mailto:midPoint@lists.evolveum.com"
target="_blank">midPoint@lists.evolveum.com</a><br>
<a moz-do-not-send="true"
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"><span style="color:#888888"> </span><o:p></o:p></p>
<div>
<p class="MsoNormal"><span
style="color:#888888"> </span><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="color:#888888"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#888888">--
</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#888888">Ivan
Noris<br>
Senior Identity Engineer<br>
<a moz-do-not-send="true"
href="http://evolveum.com" target="_blank">evolveum.com</a></span><o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span
style="font-family:"Helvetica","sans-serif""><br>
_______________________________________________<br>
midPoint mailing list<br>
<a moz-do-not-send="true"
href="mailto:midPoint@lists.evolveum.com"
target="_blank">midPoint@lists.evolveum.com</a><br>
<a moz-do-not-send="true"
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"><span
style="font-family:"Helvetica","sans-serif""> </span><o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span
style="font-family:"Helvetica","sans-serif""> </span><o:p></o:p></p>
<div>
<p class="MsoNormal"><span
style="font-family:"Helvetica","sans-serif""> </span><o:p></o:p></p>
</div>
<p class="MsoNormal"><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"><span
style="font-family:"Helvetica","sans-serif""> </span><o:p></o:p></p>
</div>
<p class="MsoNormal"><span
style="font-family:"Helvetica","sans-serif"">_______________________________________________<br>
midPoint mailing list<br>
<a moz-do-not-send="true"
href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><br>
<a moz-do-not-send="true"
href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a></span><o:p></o:p></p>
</blockquote>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">-- <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Ivan Noris<br>
Senior Identity Engineer<br>
evolveum.com<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"><br>
<br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>midPoint mailing list<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
</blockquote>
<br>
</body>
</html>