<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Arash,<br>
<br>
thanks for answering. Well, I'm running opencms as ROOT app for
more than 12 (?) years now without problems and<br>
this problem with opencms_init.log is new, possibly due to the
strange way Ubuntu sets up tomcat lately.<br>
<br>
When you tell me a way to strip off the /opencms prefix without
running it as a ROOT app, I'll be the first one to<br>
switch over.<br>
<br>
<br>
<div class="moz-signature">-- <br>
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
</div>
<br>
<br>
Am 25.08.2014 um 14:59 schrieb Arash Kaffamanesh:<br>
</div>
<blockquote
cite="mid:CA+LqMcHcUbXz+d9+oWP331m6MPkJ4+qDaNW6ob_QNcZ+_jRW3w@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div dir="ltr">Hi Christoph,
<div><br>
</div>
<div>where is your opencms_init.log placed? find it with:</div>
<div><br>
</div>
<div>find / -name opencms_init.log</div>
<div><br>
</div>
<div>and change the owner:</div>
<div><br>
</div>
<div>chown tomcat7.tomcat7 opencms_init.log</div>
<div><br>
</div>
<div>I guess, since you installed opencms as ROOT app, the init
log was not placed under /var/lib/tomcat7 and in general its
not a good idea to install opencms as ROOT app.</div>
<div><br>
</div>
<div><br>
</div>
<div>HTH,
<div class="gmail_extra">
<div>
<div dir="ltr">
<div>
<div style="font-family:arial;font-size:small">Kind
Regards,</div>
</div>
<div style="font-family:arial;font-size:small">Arash</div>
</div>
</div>
<br>
<div class="gmail_quote">2014-08-25 12:30 GMT+02:00
Christoph Kukulies <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:kuku@physik.rwth-aachen.de"
target="_blank">kuku@physik.rwth-aachen.de</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Am 25.08.2014 um 10:31 schrieb Christoph
Kukulies:<br>
</div>
<div class="">
<blockquote type="cite">
<div>Ich versuche gerade eine Site hochzuziehen
unter Apache2/Tomcat7 (ubuntu 14.04)<br>
und ich kriege keinen sauberen Start von tomcat7
hin. Weiß nicht, ob ich damit besser in ein
tomcat forum gehe oder <br>
vielleicht kann mir hier jemand helfen:<br>
<br>
</div>
</blockquote>
</div>
Sorry, inadvertently used German :)<br>
<br>
I'm trying to surrect a site under Apache2/Tomcat7
(ubuntu 14.04) and tomcat7 is not starting cleanly.
<div class=""><br>
<br>
<blockquote type="cite">
<div> Aug 25, 2014 10:22:45 AM
org.apache.catalina.startup.HostConfig
deployDirectory<br>
INFO: Deploying web application directory
/var/lib/tomcat7/webapps/ROOT<br>
log4j:ERROR setFile(null,true) call failed.<br>
java.io.FileNotFoundException:<font
color="#ff0000"> opencms_init.log</font>
(Permission denied)<br>
at java.io.FileOutputStream.open(Native
Method)<br>
at
java.io.FileOutputStream.<init>(FileOutputStream.java:221)<br>
at
java.io.FileOutputStream.<init>(FileOutputStream.java:142)<br>
at
org.apache.log4j.FileAppender.setFile(FileAppender.java:290)<br>
at
org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:194)<br>
at
org.apache.log4j.FileAppender.activateOptions(FileAppender.java:164)<br>
at
org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:257)<br>
<br>
webapps/ROOT/WEB-INF/logs gehört
tomcat7:tomcat7, mode 755.<br>
</div>
</blockquote>
<br>
</div>
Opencms is starting though.
<div class=""><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>