<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Randell,<br>
<br>
most certainly you have to allow the defined_db_user@P-server to
connect to the P database and as I mentioned below, follow this post:<br>
<br>
<a
 href="http://www.pomegranate.de:9000/cms/forum/viewthread?thread=18#33">http://www.pomegranate.de:9000/cms/forum/viewthread?thread=18#33</a><br>
<br>
Best,<br>
Arash<br>
<br>
Randell schrieb:
<blockquote
 cite="mid:80d4ba840805230158u355afc61u5749534b53ebc3e@mail.gmail.com"
 type="cite">Hello,<br>
  <br>
I followed the instructions and now I'm getting this error:<br>
  <pre>org.opencms.main.CmsInitException: Critical error during OpenCms initialization: Unable to initialize connection pool "default". Is the database up and running?

        org.opencms.main.OpenCmsCore.getInstance(OpenCmsCore.java:296)
        org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:146)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

        org.tuckey.web.filters.urlrewrite.RewrittenUrl.doRewrite(RewrittenUrl.java:176)
        org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:728)</pre>
What am i missing?<br>
  <br>
  <div><span class="gmail_quote">On 5/22/08, <b
 class="gmail_sendername">Pomegranate Software- Arash Kaffamanesh</b>
<<a moz-do-not-send="true"
 href="mailto:arash.kaffamanesh@pomegranate.de">arash.kaffamanesh@pomegranate.de</a>>
wrote:</span>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi
Randell,<br>
    <br>
you are welcome to our list, we are here to help!<br>
    <br>
lets say you want to clone your whole project from one staging server<br>
(referred hereafter as QA) to another production server (referred as P<br>
server) and I suppose you are going to use another database on the same<br>
P server too.<br>
    <br>
1. you have to copy the whole opencms folder from tomcat/webapps from QA<br>
to P (stop tomcat on QA and P server, tar your opencms on QA, move it to<br>
P and untar it there under webapps folder of P server))<br>
    <br>
2. you have to copy the opencms QA db under mysql/data to the P server<br>
too and set the user and required permissions / privileges accordingly<br>
on the db of P server, see also this post<br>
<<a moz-do-not-send="true"
 href="http://www.pomegranate.de:9000/cms/forum/viewthread?thread=68#129">http://www.pomegranate.de:9000/cms/forum/viewthread?thread=68#129</a>>).
If<br>
you are getting connection permission problems to the P db server also<br>
this post<br>
<<a moz-do-not-send="true"
 href="http://www.pomegranate.de:9000/cms/forum/viewthread?thread=18#33">http://www.pomegranate.de:9000/cms/forum/viewthread?thread=18#33</a>>
might<br>
be of help.<br>
    <br>
3. You have to adjust the following files now under WEB-INF/config on P<br>
Server:<br>
    <br>
    opencms-system.xml (change the url of workplace and site server<br>
under the sites node to your P server)<br>
    opencms-importexport.xml (set the righ server url here:<br>
<exporturl><a class="moz-txt-link-freetext" href="http://">http://</a><P Server<br>
Address>:8080${CONTEXT_NAME}/handle404</exporturl>)<br>
    opencms.properties (change the db.pool.default.jdbcUrl to the db of<br>
p server and set the right user and password and change the macaddress<br>
setting also (server.ethernet.address=<set to the mac addres of the P<br>
server>))<br>
    <br>
4. Restart tomcat (maybe the db server too in some cases, but in<br>
production environments it shall be avoided ;-))<br>
    <br>
5. Have fun on your P server ;-)<br>
    <br>
If you have problems, check opencms.log and let me know what it says,<br>
perhaps I'm missing something, if you was successful, it would be kind<br>
from you providing feedback or post a small HowTo on opencms.wiki<br>
<<a moz-do-not-send="true" href="http://opencms-wiki.org/Main_Page">http://opencms-wiki.org/Main_Page</a>>.<br>
    <br>
Best,<br>
Arash<br>
    <br>
    <br>
Randell wrote:<br>
> Hi,<br>
><br>
> Newbie here.  How can I copy an existing OpenCMS project from one<br>
> server to another and still preserve all the configurations (and
the<br>
> new files, folders & modules that have been added)?  I haven't
been<br>
> lucky enough to arrive with the search result that I need.<br>
><br>
> Thanks!<br>
    <br>
>
------------------------------------------------------------------------<br>
><br>
><br>
> _______________________________________________<br>
> This mail is sent to you from the opencms-dev mailing list<br>
> To change your list options, or to unsubscribe from the list,
please visit<br>
> <a moz-do-not-send="true"
 href="http://lists.opencms.org/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
    <br>
    <br>
    <br>
_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please
visit<br>
    <a moz-do-not-send="true"
 href="http://lists.opencms.org/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
  </blockquote>
  </div>
  <br>
  <pre wrap="">
<hr size="4" width="90%">

_______________________________________________
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/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev</a></pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
Pomegranate Software | Enterprise Open Source Solutions. For Life!
<a class="moz-txt-link-freetext" href="http://www.pomegranate.de">http://www.pomegranate.de</a>

Arash Kaffamanesh

Eigelstein 53 - 55
50668 Cologne - North City

Ackerstrasse 145
10115 Berlin - Center

mobile: +49 0177 880 77 34
office: +49  221 47 18 116
private: +49 221 379 90 680
skype privte: arash_kaffamanesh
skype office: pomegranate_software
email: arash {dot} kaffamanesh [at] pomegranate {dot} de  





</pre>
</body>
</html>