<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="http://www.w3.org/TR/REC-html40"
xmlns:ns0="http://schemas.microsoft.com/office/2004/12/omml">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--a:link
{mso-style-priority:99;}
span.MSOHYPERLINK
{mso-style-priority:99;}
a:visited
{mso-style-priority:99;}
span.MSOHYPERLINKFOLLOWED
{mso-style-priority:99;}
code
{mso-style-priority:99;}
pre
{mso-style-priority:99;}
p.MSOLISTPARAGRAPH
{mso-style-priority:34;}
li.MSOLISTPARAGRAPH
{mso-style-priority:34;}
div.MSOLISTPARAGRAPH
{mso-style-priority:34;}
span.HTMLVORFORMATIERTZCHN
{mso-style-priority:99;}
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Calibri;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
code
{font-family:"Courier New";}
pre
{margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.HTMLVorformatiertZchn
{font-family:"Courier New";}
p.msolistparagraph, li.msolistparagraph, div.msolistparagraph
{margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
span.E-MailFormatvorlage21
{mso-style-type:personal;
font-family:Verdana;
color:windowtext;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
span.E-MailFormatvorlage22
{mso-style-type:personal;
font-family:Calibri;
color:#1F497D;}
span.E-MailFormatvorlage23
{mso-style-type:personal;
font-family:Verdana;
color:blue;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
span.E-MailFormatvorlage24
{mso-style-type:personal;
font-family:Calibri;
color:#1F497D;}
span.E-MailFormatvorlage25
{mso-style-type:personal-reply;
font-family:Verdana;
color:blue;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
{page:Section1;}
/* List Definitions */
@list l0
{mso-list-id:1083645560;
mso-list-type:hybrid;
mso-list-template-ids:390335426 67567631 67567641 67567643 67567631 67567641 67567643 67567631 67567641 67567643;}
@list l0:level1
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level2
{mso-level-tab-stop:72.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level3
{mso-level-tab-stop:108.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level4
{mso-level-tab-stop:144.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level5
{mso-level-tab-stop:180.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level6
{mso-level-tab-stop:216.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level7
{mso-level-tab-stop:252.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level8
{mso-level-tab-stop:288.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level9
{mso-level-tab-stop:324.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
-->
</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=DE link=blue vlink=purple>
<div class=Section1>
<div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>Von:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org] <b><span
style='font-weight:bold'>Im Auftrag von </span></b>Schliemann, Kai<br>
<b><span style='font-weight:bold'>Gesendet:</span></b> Mittwoch, 14. Oktober
2009 16:08<br>
<b><span style='font-weight:bold'>An:</span></b> The OpenCms mailing list<br>
<b><span style='font-weight:bold'>Betreff:</span></b> Re: [opencms-dev]
Installing OpenCMS and migratingdata/settingsfromanother (older) installation</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#993366" face=Verdana><span lang=EN-GB
style='font-size:10.0pt;font-family:Verdana;color:#993366'>[SJS] </span></font><font
size=2 color="#993366" face=Calibri><span style='font-size:11.0pt;font-family:
Calibri;color:#993366'>Hi Kai,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#993366" face=Verdana><span lang=EN-GB
style='font-size:10.0pt;font-family:Verdana;color:#993366'>thank you very much
for your help!</span></font><font size=2 color=blue face=Verdana><span
lang=EN-GB style='font-size:10.0pt;font-family:Verdana;color:blue'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Verdana><span lang=EN-GB
style='font-size:10.0pt;font-family:Verdana;color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-GB
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>First of all, get
rid of the opencms.war and the opencms directory on your new servers webapp
directory (</span></font><code><font size=2 face="Courier New"><span
lang=EN-GB style='font-size:10.0pt'>CATALINA_HOME/webapps/)<font color="#1f497d"><span
style='color:#1F497D'><o:p></o:p></span></font></span></font></code></p>
<p class=MsoNormal><code><font size=2 color="#993366" face=Verdana><span
lang=EN-GB style='font-size:10.0pt;font-family:Verdana;color:#993366'>[SJS] Done.<o:p></o:p></span></font></code></p>
<p class=MsoNormal><code><font size=2 color="#993366" face=Verdana><span
lang=EN-GB style='font-size:10.0pt;font-family:Verdana;color:#993366'><o:p> </o:p></span></font></code></p>
<p class=MsoNormal><font size=2 color=blue face=Verdana><span lang=EN-GB
style='font-size:10.0pt;font-family:Verdana;color:blue'>[SJS] which one is the
$</span></font><code><font size=2 color=blue face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;color:blue'>CATALINA_HOME in my case? Is it
/usr/share/tomcat5.5 or /var/lib/tomcat5.5 – or how do I find out? On the
old server the variable is not set, but <o:p></o:p></span></font></code></p>
<p class=MsoNormal><code><font size=2 color=blue face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;color:blue'>Debian:/# find / -name webapps<o:p></o:p></span></font></code></p>
<p class=MsoNormal><code><font size=2 color=blue face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;color:blue'>returns <o:p></o:p></span></font></code></p>
<p class=MsoNormal><code><font size=2 color=blue face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;color:blue'>/var/lib/tomcat5.5/webapps<o:p></o:p></span></font></code></p>
<p class=MsoNormal><code><font size=2 color="#1f497d" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;color:#1F497D'>[KS]</span></font></code><code><font
size=2 color="#1f497d" face=Calibri><span lang=EN-GB style='font-size:11.0pt;
font-family:Calibri;color:#1F497D'> On your old server I guess $CATALINA_HOME
is /var/lib/tomcat5.5/webapps then. Your OpenCms installation should be in the
ROOT directory (This is the one you have to copy).<o:p></o:p></span></font></code></p>
<p class=MsoNormal><code><font size=2 color="#1f497d" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></font></code></p>
<p class=MsoNormal><code><font size=2 color=blue face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;color:blue'>On the new server </span></font></code><font
size=2 color=blue face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana;color:blue'>the $</span></font><code><font size=2
color=blue face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
color:blue'>CATALINA_HOME is /usr/share/tomcat5.5 If I change that, I get an
error message, when I try to start tomcat.<o:p></o:p></span></font></code></p>
<p class=MsoNormal><code><font size=2 color="#1f497d" face=Calibri><span
lang=EN-GB style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>[KS] Why
do you want to change it? I think that is not necessary. <o:p></o:p></span></font></code></p>
<p class=MsoNormal><code><font size=2 color="#993366" face=Verdana><span
lang=EN-GB style='font-size:10.0pt;font-family:Verdana;color:#993366'>[SJS] I
wanted to do that, because I wanted to put the ROOT directory in
/var/lib/tomcat5.5/webapps, as it is on the old server; but on the other side,
I should put it in </span></font></code><code><font size=2 color="#993366"
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;color:#993366'>CATALINA_HOME/webapps/,
where CATALINA_HOME would be /usr/share/tomcat5.5, </span></font></code><code><font
size=2 color="#993366" face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana;color:#993366'>which is why I wanted to change the path for</span></font></code><code><font
size=2 color="#993366" face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;color:#993366'> CATALINA_HOME. </span></font></code><code><font size=2
color="#993366" face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana;color:#993366'>But I just discovered, that the first points
to the latter, so that it effectively doesn’t matter.<o:p></o:p></span></font></code></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'><o:p> </o:p></span></font></p>
<p class=msolistparagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo2'><![if !supportLists]><font
size=2 color="#1f497d" face=Calibri><span lang=EN-GB style='font-size:11.0pt;
font-family:Calibri;color:#1F497D'><span style='mso-list:Ignore'>1.<font
size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]><font size=2 color="#1f497d"
face=Calibri><span lang=EN-GB style='font-size:11.0pt;font-family:Calibri;
color:#1F497D'>Copy the opencms webapp (ROOT) from your old tomcat directory to
the new servers tomcat webapp directory (</span></font><code><font size=2
face="Courier New"><span lang=EN-GB style='font-size:10.0pt'>CATALINA_HOME/webapps/)</span></font></code><font
size=2 color="#1f497d" face=Calibri><span lang=EN-GB style='font-size:11.0pt;
font-family:Calibri;color:#1F497D'>. If there already is a ROOT-webapp, rename
that one or move to a backup directory.<o:p></o:p></span></font></p>
<p class=msolistparagraph style='margin-left:0cm'><font size=2 color="#993366"
face=Verdana><span lang=EN-GB style='font-size:10.0pt;font-family:Verdana;
color:#993366'>[SJS] Done. <o:p></o:p></span></font></p>
<p class=msolistparagraph style='margin-left:0cm'><font size=2 color=blue
face=Verdana><span lang=EN-GB style='font-size:10.0pt;font-family:Verdana;
color:blue'><o:p> </o:p></span></font></p>
<p class=msolistparagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo2'><![if !supportLists]><font
size=2 color="#1f497d" face=Calibri><span lang=EN-GB style='font-size:11.0pt;
font-family:Calibri;color:#1F497D'><span style='mso-list:Ignore'>2.<font
size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]><font size=2 color="#1f497d"
face=Calibri><span lang=EN-GB style='font-size:11.0pt;font-family:Calibri;
color:#1F497D'>Copy the opencms database from your old database directory to
the new servers database directory. (The safer way would be to do this via
mysqldump) <o:p></o:p></span></font></p>
<p class=msolistparagraph style='margin-left:0cm'><font size=2 color=blue
face=Verdana><span lang=EN-GB style='font-size:10.0pt;font-family:Verdana;
color:blue'>[SJS] In the root-directory I just typed “mysqldump --opt -p
--all-databases > datensicherung.sql”. That’s the right
approach, right?<o:p></o:p></span></font></p>
<pre><font size=2 color="#1f497d" face=Calibri><span lang=EN-GB
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>[KS] It would be good to just dump the OpenCms database. The syntax is similar: </span></font><b><span
lang=EN-GB style='font-weight:bold'>mysqldump --opt <i><span style='font-style:
italic'>db_name</span></i> > <i><span style='font-style:italic'>backup-file.sql<o:p></o:p></span></i></span></b></pre><pre><font
size=2 color="#993366" face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana;color:#993366'>[SJS] mysqldump --opt -p opencms > backup-file.sql done. Just out of curiosity and that I know it next time: why is it better not to copy all databases at once?<o:p></o:p></span></font></pre>
<p class=msolistparagraph style='margin-left:0cm'><font size=2 color=blue
face=Verdana><span lang=EN-GB style='font-size:10.0pt;font-family:Verdana;
color:blue'><o:p> </o:p></span></font></p>
<p class=msolistparagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo2'><![if !supportLists]><font
size=2 color="#1f497d" face=Calibri><span lang=EN-GB style='font-size:11.0pt;
font-family:Calibri;color:#1F497D'><span style='mso-list:Ignore'>3.<font
size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]><font size=2 color="#1f497d"
face=Calibri><span lang=EN-GB style='font-size:11.0pt;font-family:Calibri;
color:#1F497D'>Change the db connection in the opencms.properties file. It is
located in the WEB-INF/config directory of your opencms webapp.<o:p></o:p></span></font></p>
<p class=msolistparagraph style='margin-left:0cm'><font size=2 color=blue
face=Verdana><span lang=EN-GB style='font-size:10.0pt;font-family:Verdana;
color:blue'>[SJS] I cannot find a “db connection” in that file, but
a lot of entries that start with “db.pool.default” Or did you mean
those entries:<o:p></o:p></span></font></p>
<p class=msolistparagraph><font size=2 color=blue face=Verdana><span
lang=EN-GB style='font-size:10.0pt;font-family:Verdana;color:blue'>server.ethernet.address=…<o:p></o:p></span></font></p>
<p class=msolistparagraph><font size=2 color=blue face=Verdana><span
lang=EN-GB style='font-size:10.0pt;font-family:Verdana;color:blue'>server.name=OpenCmsServer<o:p></o:p></span></font></p>
<p class=msolistparagraph><font size=2 color=blue face=Verdana><span
lang=EN-GB style='font-size:10.0pt;font-family:Verdana;color:blue'>?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-GB
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>[KS] Have a look for
the following lines: <o:p></o:p></span></font></p>
<p class=msolistparagraph><font size=2 color="#1f497d" face=Calibri><span
lang=EN-GB style='font-size:11.0pt;font-family:Calibri;color:#1F497D'># URL of
the JDBC driver<o:p></o:p></span></font></p>
<p class=msolistparagraph><font size=2 color="#1f497d" face=Calibri><span
lang=EN-GB style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>db.pool.default.jdbcUrl=jdbc:mysql://<b><span
style='font-weight:bold'>SERVERNAME</span></b>:3306/<b><span style='font-weight:
bold'>DB_NAME</span></b><o:p></o:p></span></font></p>
<p class=msolistparagraph><font size=2 color="#1f497d" face=Calibri><span
lang=EN-GB style='font-size:11.0pt;font-family:Calibri;color:#1F497D'><o:p> </o:p></span></font></p>
<p class=msolistparagraph><font size=2 color="#1f497d" face=Calibri><span
lang=EN-GB style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>...<o:p></o:p></span></font></p>
<p class=msolistparagraph><font size=2 color="#1f497d" face=Calibri><span
lang=EN-GB style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>...<o:p></o:p></span></font></p>
<p class=msolistparagraph><font size=2 color="#1f497d" face=Calibri><span
lang=EN-GB style='font-size:11.0pt;font-family:Calibri;color:#1F497D'><o:p> </o:p></span></font></p>
<p class=msolistparagraph><font size=2 color="#1f497d" face=Calibri><span
lang=EN-GB style='font-size:11.0pt;font-family:Calibri;color:#1F497D'># user
name to connect to the database<o:p></o:p></span></font></p>
<p class=msolistparagraph><font size=2 color="#1f497d" face=Calibri><span
lang=EN-GB style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>db.pool.default.user=<b><span
style='font-weight:bold'>USERNAME</span></b><o:p></o:p></span></font></p>
<p class=msolistparagraph><font size=2 color="#1f497d" face=Calibri><span
lang=EN-GB style='font-size:11.0pt;font-family:Calibri;color:#1F497D'><o:p> </o:p></span></font></p>
<p class=msolistparagraph><font size=2 color="#1f497d" face=Calibri><span
lang=EN-GB style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>#
password to connect to the database<o:p></o:p></span></font></p>
<p class=msolistparagraph style='margin-left:0cm;text-indent:35.4pt'><font
size=2 color="#1f497d" face=Calibri><span lang=EN-GB style='font-size:11.0pt;
font-family:Calibri;color:#1F497D'>db.pool.default.password=<b><span
style='font-weight:bold'>PASSWORD</span></b><o:p></o:p></span></font></p>
<p class=msolistparagraph style='margin-left:0cm'><font size=2 color=blue
face=Verdana><span lang=EN-GB style='font-size:10.0pt;font-family:Verdana;
color:blue'><o:p> </o:p></span></font></p>
<p class=msolistparagraph style='margin-left:0cm'><font size=2 color=blue
face=Verdana><span lang=EN-GB style='font-size:10.0pt;font-family:Verdana;
color:blue'><o:p> </o:p></span></font></p>
<p class=msolistparagraph style='margin-left:0cm'><font size=2 color="#993366"
face=Verdana><span lang=EN-GB style='font-size:10.0pt;font-family:Verdana;
color:#993366'>[SJS] I changed username and password and left <o:p></o:p></span></font></p>
<p class=msolistparagraph style='margin-left:0cm;text-indent:35.4pt'><font
size=2 color="#993366" face=Verdana><span lang=EN-GB style='font-size:10.0pt;
font-family:Verdana;color:#993366'># URL of the JDBC driver<o:p></o:p></span></font></p>
<p class=msolistparagraph><font size=2 color="#993366" face=Verdana><span
lang=EN-GB style='font-size:10.0pt;font-family:Verdana;color:#993366'>db.pool.default.jdbcUrl=jdbc:mysql://localhost:3306/opencms<o:p></o:p></span></font></p>
<p class=msolistparagraph><font size=2 color="#993366" face=Verdana><span
lang=EN-GB style='font-size:10.0pt;font-family:Verdana;color:#993366'><o:p> </o:p></span></font></p>
<p class=msolistparagraph><font size=2 color="#993366" face=Verdana><span
lang=EN-GB style='font-size:10.0pt;font-family:Verdana;color:#993366'>the same,
because the name of the db is the same, also that it’s on the same
machine as tomcat. Is that the right procedure? <o:p></o:p></span></font></p>
<p class=msolistparagraph><font size=2 color="#993366" face=Verdana><span
lang=EN-GB style='font-size:10.0pt;font-family:Verdana;color:#993366'>Do I need
to change the “server.ethernet.adress”, too? That one is in Hex
there, and ifconfig tells me a hexadress only for the hardware adress, so is
this that what I need to put in there?<o:p></o:p></span></font></p>
<p class=msolistparagraph><font size=2 color="#993366" face=Verdana><span
lang=EN-GB style='font-size:10.0pt;font-family:Verdana;color:#993366'><o:p> </o:p></span></font></p>
<p class=msolistparagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo2'><![if !supportLists]><font
size=2 color="#1f497d" face=Calibri><span lang=EN-GB style='font-size:11.0pt;
font-family:Calibri;color:#1F497D'><span style='mso-list:Ignore'>4.<font
size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]><font size=2 color="#1f497d"
face=Calibri><span lang=EN-GB style='font-size:11.0pt;font-family:Calibri;
color:#1F497D'>Change the server connection in the opencms-system.xml as well.<o:p></o:p></span></font></p>
<p class=msolistparagraph style='margin-left:0cm'><font size=2 color=blue
face=Verdana><span lang=EN-GB style='font-size:10.0pt;font-family:Verdana;
color:blue'>[SJS] Did you mean something like<o:p></o:p></span></font></p>
<p class=msolistparagraph><font size=2 color=blue face=Verdana><span
lang=EN-GB style='font-size:10.0pt;font-family:Verdana;color:blue'>
<sites><o:p></o:p></span></font></p>
<p class=msolistparagraph><font size=2 color=blue face=Verdana><span
lang=EN-GB style='font-size:10.0pt;font-family:Verdana;color:blue'>
<workplace-server>http://www. … .de</workplace-server><o:p></o:p></span></font></p>
<p class=msolistparagraph><font size=2 color=blue face=Verdana><span
lang=EN-GB style='font-size:10.0pt;font-family:Verdana;color:blue'>
</span></font><font size=2 color=blue face=Verdana><span style='font-size:10.0pt;
font-family:Verdana;color:blue'><default-uri>/sites/default/</default-uri><o:p></o:p></span></font></p>
<p class=msolistparagraph><font size=2 color=blue face=Verdana><span
lang=EN-GB style='font-size:10.0pt;font-family:Verdana;color:blue'>
<site server="http://www. ... .de"
uri="/sites/default/"/><o:p></o:p></span></font></p>
<p class=msolistparagraph><font size=2 color=blue face=Verdana><span
lang=EN-GB style='font-size:10.0pt;font-family:Verdana;color:blue'>? I cannot
find any ip-adress in there, only URLs to websites, where the current projects
are.<o:p></o:p></span></font></p>
<p class=msolistparagraph style='margin-left:0cm'><font size=2 color="#1f497d"
face=Calibri><span lang=EN-GB style='font-size:11.0pt;font-family:Calibri;
color:#1F497D'>[KS] Yes, that is correct. If you are accessing your new server
via IP, you can type an IP address in there.<o:p></o:p></span></font></p>
<p class=msolistparagraph style='margin-left:0cm'><font size=2 color="#993366"
face=Verdana><span lang=EN-GB style='font-size:10.0pt;font-family:Verdana;
color:#993366'>[SJS] Mmh, that is a little bit tricky: the old server is the
one the websites lie on now, and that server will continue to run. The new server
is just for testing purposes, that is, I want to change websites on that
server, test if everything works out fine and deploy them to the old web server,
without changing of addresses.<o:p></o:p></span></font></p>
<p class=msolistparagraph><font size=2 color="#993366" face=Verdana><span
lang=EN-GB style='font-size:10.0pt;font-family:Verdana;color:#993366'>So should
I leave the opencms-system.xml</span></font><font size=2 color="#993366"
face=Calibri><span lang=EN-GB style='font-size:11.0pt;font-family:Calibri;
color:#993366'> </span></font><font size=2 color="#993366" face=Verdana><span
lang=EN-GB style='font-size:10.0pt;font-family:Verdana;color:#993366'>as-is and
copy the /var/lib/tomcat5.5/conf/server.xml to the new server and e.g. change
the Ports in the following part to something else?:<o:p></o:p></span></font></p>
<p class=msolistparagraph><font size=2 color="#993366" face=Verdana><span
lang=EN-GB style='font-size:10.0pt;font-family:Verdana;color:#993366'><!—Website
www. … .de --><o:p></o:p></span></font></p>
<p class=msolistparagraph><font size=2 color="#993366" face=Verdana><span
lang=EN-GB style='font-size:10.0pt;font-family:Verdana;color:#993366'>
<Connector port="8189" maxHttpHeaderSize="8192"<o:p></o:p></span></font></p>
<p class=msolistparagraph><font size=2 color="#993366" face=Verdana><span
lang=EN-GB style='font-size:10.0pt;font-family:Verdana;color:#993366'>
maxThreads="150" minSpareThreads="25"
maxSpareThreads="75"<o:p></o:p></span></font></p>
<p class=msolistparagraph><font size=2 color="#993366" face=Verdana><span
lang=EN-GB style='font-size:10.0pt;font-family:Verdana;color:#993366'>
proxyName="www.actsystems.de" proxyPort="80"<o:p></o:p></span></font></p>
<p class=msolistparagraph><font size=2 color="#993366" face=Verdana><span
lang=EN-GB style='font-size:10.0pt;font-family:Verdana;color:#993366'>
enableLookups="true" redirectPort="8443"
acceptCount="100"<o:p></o:p></span></font></p>
<p class=msolistparagraph><font size=2 color="#993366" face=Verdana><span
lang=EN-GB style='font-size:10.0pt;font-family:Verdana;color:#993366'>
connectionTimeout="20000"<o:p></o:p></span></font></p>
<p class=msolistparagraph><font size=2 color="#993366" face=Verdana><span
lang=EN-GB style='font-size:10.0pt;font-family:Verdana;color:#993366'>
useURIValidationHack="false"<o:p></o:p></span></font></p>
<p class=msolistparagraph><font size=2 color="#993366" face=Verdana><span
lang=EN-GB style='font-size:10.0pt;font-family:Verdana;color:#993366'>
disableUploadTimeout="true" /><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 color="#993366"
face=Verdana><span lang=EN-GB style='font-size:10.0pt;font-family:Verdana;
color:#993366'> Or should
I change the server connection to <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 color="#993366"
face=Verdana><span lang=EN-GB style='font-size:10.0pt;font-family:Verdana;
color:#993366'> </span></font><font
size=1 face="Courier New"><span lang=EN-GB style='font-size:9.0pt;font-family:
"Courier New"'><mailhost name="localhost" protocol="smtp"
user="..." password="..."/><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
lang=EN-GB style='font-size:9.0pt;font-family:"Courier New"'> ...<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
lang=EN-GB style='font-size:9.0pt;font-family:"Courier New"'> <</span></font><font
size=1 face="Courier New"><span style='font-size:9.0pt;font-family:"Courier New"'>sites><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New"'>
<workplace-server>http://localhost:8080</workplace-server><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New"'>
<default-uri>/sites/default/</default-uri><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
style='font-size:9.0pt;font-family:"Courier New"'>
</span></font><font size=1 face="Courier New"><span lang=EN-GB
style='font-size:9.0pt;font-family:"Courier New"'><site
server="http://localhost:8080" uri="/sites/default/"/><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 face="Courier New"><span
lang=EN-GB style='font-size:9.0pt;font-family:"Courier New"'>
</sites><o:p></o:p></span></font></p>
<p class=msolistparagraph><font size=2 color="#993366" face=Verdana><span
lang=EN-GB style='font-size:10.0pt;font-family:Verdana;color:#993366'>as the websites
will be on the same machine as tomcat? I’m confused, because I’m
still really new to Linux, and even newer to OpenCms and I think I’m just
missing something really obvious.<o:p></o:p></span></font></p>
<p class=msolistparagraph><font size=2 color=blue face=Verdana><span
lang=EN-GB style='font-size:10.0pt;font-family:Verdana;color:blue'><o:p> </o:p></span></font></p>
<p class=msolistparagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo2'><![if !supportLists]><font
size=2 color="#1f497d" face=Calibri><span lang=EN-GB style='font-size:11.0pt;
font-family:Calibri;color:#1F497D'><span style='mso-list:Ignore'>5.<font
size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]><font size=2 color="#1f497d"
face=Calibri><span lang=EN-GB style='font-size:11.0pt;font-family:Calibri;
color:#1F497D'>Restart Tomcat.<o:p></o:p></span></font></p>
<p class=msolistparagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo2'><![if !supportLists]><font
size=2 color="#1f497d" face=Calibri><span lang=EN-GB style='font-size:11.0pt;
font-family:Calibri;color:#1F497D'><span style='mso-list:Ignore'>6.<font
size=1 face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]><font size=2 color="#1f497d"
face=Calibri><span lang=EN-GB style='font-size:11.0pt;font-family:Calibri;
color:#1F497D'>Login to OpenCms and clear the flex cache and do a static
export.<o:p></o:p></span></font></p>
<p class=msolistparagraph style='margin-left:0cm'><font size=2 color=blue
face=Verdana><span lang=EN-GB style='font-size:10.0pt;font-family:Verdana;
color:blue'>[SJS] With what code snippet could I do that?<o:p></o:p></span></font></p>
<p class=msolistparagraph style='margin-left:0cm'><font size=2 color="#1f497d"
face=Calibri><span lang=EN-GB style='font-size:11.0pt;font-family:Calibri;
color:#1F497D'>[KS] You can choose them from the Administration view in
OpenCms. Look for “Flex Cache Administration” and “Database
Management”.<o:p></o:p></span></font></p>
<p class=msolistparagraph style='margin-left:0cm'><font size=2 color=blue
face=Verdana><span lang=EN-GB style='font-size:10.0pt;font-family:Verdana;
color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-GB
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>After doing that,
you will have a 1:1 copy of your old installation.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Verdana><span lang=EN-GB
style='font-size:10.0pt;font-family:Verdana;color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Verdana><span lang=EN-GB
style='font-size:10.0pt;font-family:Verdana;color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Verdana><span lang=EN-GB
style='font-size:10.0pt;font-family:Verdana;color:blue'>[SJS] Also I still got
those problems: <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-GB style='font-size:
10.0pt;font-family:Verdana'>Another problem is: I checked http://www.installationwiki.org/OpenCms#Check_Your_Configuration:
When I try to access localhost:8080, I get the message “Failed to
Connect”, whereas localhost:80 works fine (I get a webpage, saying
“It works!). How can I adjust the firewall settings – assuming it
is a firewall problem?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-GB
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>[KS] Check in your
tomcat’s server.xml file, if the connection port is set to 8080 (Search
for 8080) in that file).<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-GB
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>Concerning firewalls
I can just say that you have to let http connections on port 8080 through.
Maybe you can disable it for testing?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-GB style='font-size:
10.0pt;font-family:Verdana'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-GB style='font-size:
10.0pt;font-family:Verdana'>Also how do you read the documentation in <a
href="http://www.opencms.org/en/modules/downloads/dl_dochow_httpd_7.0.0.html">http://www.opencms.org/en/modules/downloads/dl_dochow_httpd_7.0.0.html</a>.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-GB style='font-size:
10.0pt;font-family:Verdana'>As I downloaded it, I got a manifest.xml-file and
some cryptic html-files, which I don’t know how to read.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-GB
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>[KS] There are
helpful resources which explain how to connect Tomcat /OpenCms and Apache. Have
a look at <a
href="http://www.opencms-wiki.org/Opencms_as_/_with_Apache_%2B_mod_jk_%28or_mod_proxy%29">http://www.opencms-wiki.org/Opencms_as_/_with_Apache_%2B_mod_jk_%28or_mod_proxy%29</a>.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-GB
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>Maybe you don’t
need that for your testing environment?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-GB
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-GB
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>HTH<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-GB
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>Kai<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Verdana><span lang=EN-GB
style='font-size:10.0pt;font-family:Verdana;color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#993366" face=Verdana><span lang=EN-GB
style='font-size:10.0pt;font-family:Verdana;color:#993366'>[SJS] Thanks again
very much for your help! <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#993366" face=Verdana><span lang=EN-GB
style='font-size:10.0pt;font-family:Verdana;color:#993366'>[SJS] </span></font><font
size=2 color="#993366" face=Verdana><span style='font-size:10.0pt;font-family:
Verdana;color:#993366'>Jane<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Verdana><span style='font-size:
10.0pt;font-family:Verdana;color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Verdana><span style='font-size:
10.0pt;font-family:Verdana;color:blue'><o:p> </o:p></span></font></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>Von:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org] <b><span
style='font-weight:bold'>Im Auftrag von </span></b>Stefanie Juliane Schmidt<br>
<b><span style='font-weight:bold'>Gesendet:</span></b> Mittwoch, 14. Oktober
2009 13:51<br>
<b><span style='font-weight:bold'>An:</span></b> opencms-dev@opencms.org.<br>
<b><span style='font-weight:bold'>Betreff:</span></b> [opencms-dev] Installing
OpenCMS and migrating data/settings fromanother (older) installation<o:p></o:p></span></font></p>
</div>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-GB style='font-size:
10.0pt;font-family:Verdana'>Hello!<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-GB style='font-size:
10.0pt;font-family:Verdana'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-GB style='font-size:
10.0pt;font-family:Verdana'>I have some problems in setting up OpenCms, and I
hope someone on this list could help me.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-GB style='font-size:
10.0pt;font-family:Verdana'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-GB style='font-size:
10.0pt;font-family:Verdana'>For my system: I use Debian and already installed
Java and Tomcat, but I’m still a newbie on Linux.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-GB style='font-size:
10.0pt;font-family:Verdana'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-GB style='font-size:
10.0pt;font-family:Verdana'>How can I migrate OpenCms to another server (where
testings shall take place)? I would like to set up everything on that new
server exactly as on the old one.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-GB style='font-size:
10.0pt;font-family:Verdana'>As it says on <a
href="http://www.opencms.org/en/development/installation/server.html#a4">http://www.opencms.org/en/development/installation/server.html#a4</a>
I placed the opencms.war in the folder </span></font><code><font size=2
face="Courier New"><span lang=EN-GB style='font-size:10.0pt'>CATALINA_HOME/webapps/.
Restarting of Tomcat5.5 created a directory
/var/lib/tomcat5.5/webapps/opencms/, </span></font></code><code><font size=2
face=Verdana><span lang=EN-GB style='font-size:10.0pt;font-family:Verdana'>which
now contains the directories</span></font></code><code><font size=2
face="Courier New"><span lang=EN-GB style='font-size:10.0pt'> META-INF, setup
and WEB-INF.</span></font></code><font size=2 face=Verdana><span lang=EN-GB
style='font-size:10.0pt;font-family:Verdana'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-GB style='font-size:
10.0pt;font-family:Verdana'>On the old server these and the directories
resources and export are contained in /var/lib/tomcat5.5/webapps/ROOT/.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-GB style='font-size:
10.0pt;font-family:Verdana'>Also $</span></font><code><font size=2
face="Courier New"><span lang=EN-GB style='font-size:10.0pt'>CATALINA_HOME is
the path /usr/share/tomcat5.5 </span></font></code><code><font size=2
face=Verdana><span lang=EN-GB style='font-size:10.0pt;font-family:Verdana'>with
me (I used the script in</span></font></code><code><font size=2
face="Courier New"><span lang=EN-GB style='font-size:10.0pt'>
http://www.installationwiki.org/OpenCms#Linux_Configuration</span></font></code><code><font
size=2 face=Verdana><span lang=EN-GB style='font-size:10.0pt;font-family:Verdana'>,
and those *.sh’s are all in that directory).</span></font></code><code><font
size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'><o:p></o:p></span></font></code></p>
<p class=MsoNormal><code><font size=2 face=Verdana><span lang=EN-GB
style='font-size:10.0pt;font-family:Verdana'>That’s not how it’s
supposed to be, is it? How can I fix this?<o:p></o:p></span></font></code></p>
<p class=MsoNormal><code><font size=2 face=Verdana><span lang=EN-GB
style='font-size:10.0pt;font-family:Verdana'>And how should I import all the
settings from the other (older) server?<o:p></o:p></span></font></code></p>
<p class=MsoNormal><code><font size=2 face=Verdana><span lang=EN-GB
style='font-size:10.0pt;font-family:Verdana'><o:p> </o:p></span></font></code></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-GB style='font-size:
10.0pt;font-family:Verdana'>Another problem is: I checked
http://www.installationwiki.org/OpenCms#Check_Your_Configuration: When I try to
access localhost:8080, I get the message “Failed to Connect”,
whereas localhost:80 works fine (I get a webpage, saying “It works!). How
can I adjust the firewall settings – assuming it is a firewall problem?</span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-GB style='font-size:
10.0pt;font-family:Verdana'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-GB style='font-size:
10.0pt;font-family:Verdana'>Also how do you read the documentation in <a
href="http://www.opencms.org/en/modules/downloads/dl_dochow_httpd_7.0.0.html">http://www.opencms.org/en/modules/downloads/dl_dochow_httpd_7.0.0.html</a>.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-GB style='font-size:
10.0pt;font-family:Verdana'>As I downloaded it, I got a manifest.xml-file and
some cryptic html-files, which I don’t know how to read.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-GB style='font-size:
10.0pt;font-family:Verdana'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-GB style='font-size:
10.0pt;font-family:Verdana'>Thank you very much for your help!<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=EN-GB style='font-size:
10.0pt;font-family:Verdana'>Jane<o:p></o:p></span></font></p>
</div>
</body>
</html>