<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Dear Klaus<br>
<br>
Opencms does not depend on being accessed through <a
moz-do-not-send="true" href="http://server/opencms/setup">http://server/opencms/setup</a>.
If you change your web.xml and/or put it into a different web
application folder than "opencms" then the URL will change.<br>
<br>
If you have problems with the automatic unpacking of the JAR file
then you can just unpack the JAR file yourself (after all, a JAR
is nothing other than a ZIP file). Then copy the contents of the
zip into your web application folder, for example webapps/ROOT and
restart tomcat. If you have more than one copy of opencms running
on the server then make sure that each of them uses a different
database!<br>
<br>
And if you have permission problems then make sure that all files
and folders related to opencms are owned by the same user account
which is used to run tomcat.<br>
<br>
All the best<br>
Christian<br>
<div><br>
</div>
</div>
<blockquote
cite="mid:CAPGjArFRp533iE5BGNAZpC0FSFurObAMNVYYaMmuuLB3n-3EGg@mail.gmail.com"
type="cite">
<div dir="ltr">Hello,
<div><br>
</div>
<div style="">i'm trying to setup the latest version of OpenCms
on my Macbook. Here's all relevant information:</div>
<div style=""><br>
</div>
<div style="">OS Version: 10.8.4</div>
<div style="">
Java (java -version): java version "1.7.0_25"</div>
<div style="">Tomcat: 7.0.42</div>
<div style="">MySQL: 5.5.30</div>
<div style=""><br>
</div>
<div style="">Tomcat and MySQL were installed with brew. The
second screen ("component tests") gives all green check marks.
I created a db user for opencms and password and creating
database/tables runs just well.</div>
<div style=""><br>
</div>
<div style="">Here's the relevant part from my server.xml</div>
<div style=""><br>
</div>
<div style="">
<div> <Host name="localhost"
appBase="/Users/kkruse/opencms_8"</div>
<div> unpackWARs="true" autoDeploy="true"></div>
<div><br>
</div>
<div> <Context docBase="opencms" path=""
reloadable="true"></div>
<div> </Context></div>
<div><br>
</div>
<div style="">The idea was, to simply skip one directory level
and serve everything from the root. This seemed to
work: Tomcat unpacked the .war and served <a
moz-do-not-send="true" href="http://localhost:8080/setup">http://localhost:8080/setup</a></div>
<div style=""><br>
</div>
<div style="">Here comes the first curiosity: Tomcat creates
one directory named "opencms" and one named "ROOT" in the
appBase which has nearly the same size as the "opencms"
folder</div>
<div><br>
</div>
<div style="">Installation then runs for a while and stopped
then. The last lines of catalina.out were like this:</div>
<div style=""><br>
</div>
<div style="">
<div>Aug 15, 2013 10:24:59 AM
org.apache.catalina.loader.WebappClassLoader
findResourceInternal</div>
<div>INFO: Illegal access: this web application instance has
been stopped already. Could not load
org/opencms/setup/messages.properties. The eventual
following stack trace is caused by an error thrown for
debugging purposes as well as to attempt to terminate the
thread which caused the illegal access, and has no
functional impact.</div>
<div><br>
</div>
<div><br>
</div>
<div style="">So, my question: Does OpenCms rely strictly on
being accessed over <a moz-do-not-send="true"
href="http://server/opencms/setup">http://server/opencms/setup</a>
?</div>
<div><br>
</div>
<div><br>
</div>
<div style="">
Thanks for any answers and best regards,</div>
<div style="">Klaus Kruse</div>
<div><br>
</div>
</div>
<div><br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
<a class="moz-txt-link-freetext" href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>