[opencms-dev] Problem beim Tomcat7 start

Arash Kaffamanesh ak at cloudssky.com
Mon Aug 25 16:07:05 CEST 2014


Hi Christoph,

see on this page:
https://docs.google.com/a/cloudssky.com/document/d/1PUNVQXecxABjf5WNh1xb1CWY-FIBZgOTPO1neIi6EgI/edit?pli=1#heading=h.r4ba2ls3mq1o

in the appendix of the step by step OpenCms installation guide with Apache,
Tomcat 7, MySQL, SSL and much more, works on Ubuntu 12 and 14.

HTH,
Kind Regards,
Arash



On Mon, Aug 25, 2014 at 3:52 PM, Christoph Kukulies <
kuku at physik.rwth-aachen.de> wrote:

>  Hi Arash,
>
> thanks for answering. Well, I'm running opencms as ROOT app for more than
> 12 (?) years now without problems and
> this problem with opencms_init.log is new, possibly due to the strange way
> Ubuntu sets up tomcat lately.
>
> 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
> switch over.
>
>
>
> --
> Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
>
>
>  Am 25.08.2014 um 14:59 schrieb Arash Kaffamanesh:
>
> Hi Christoph,
>
>  where is your opencms_init.log placed? find it with:
>
>  find / -name opencms_init.log
>
>  and change the owner:
>
>  chown tomcat7.tomcat7 opencms_init.log
>
>  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.
>
>
>  HTH,
>   Kind Regards,
>  Arash
>
> 2014-08-25 12:30 GMT+02:00 Christoph Kukulies <kuku at physik.rwth-aachen.de>
> :
>
>>  Am 25.08.2014 um 10:31 schrieb Christoph Kukulies:
>>
>> Ich versuche gerade eine Site hochzuziehen unter Apache2/Tomcat7 (ubuntu
>> 14.04)
>> und ich kriege keinen sauberen Start von tomcat7 hin. Weiß nicht, ob ich
>> damit besser in ein tomcat forum gehe oder
>> vielleicht kann mir hier jemand helfen:
>>
>>   Sorry, inadvertently used German :)
>>
>> I'm trying to surrect a site under Apache2/Tomcat7 (ubuntu 14.04) and
>> tomcat7 is not starting cleanly.
>>
>>
>>  Aug 25, 2014 10:22:45 AM org.apache.catalina.startup.HostConfig
>> deployDirectory
>> INFO: Deploying web application directory /var/lib/tomcat7/webapps/ROOT
>> log4j:ERROR setFile(null,true) call failed.
>> java.io.FileNotFoundException: opencms_init.log (Permission denied)
>>         at java.io.FileOutputStream.open(Native Method)
>>         at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
>>         at java.io.FileOutputStream.<init>(FileOutputStream.java:142)
>>         at org.apache.log4j.FileAppender.setFile(FileAppender.java:290)
>>         at
>> org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:194)
>>         at
>> org.apache.log4j.FileAppender.activateOptions(FileAppender.java:164)
>>         at
>> org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:257)
>>
>> webapps/ROOT/WEB-INF/logs gehört tomcat7:tomcat7, mode 755.
>>
>>
>>  Opencms is starting though.
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20140825/98157b1b/attachment.htm>


More information about the opencms-dev mailing list