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?<br>
org.opencms.main.OpenCmsCore.getInstance(OpenCmsCore.java:296)<br> org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:146)<br> javax.servlet.http.HttpServlet.service(HttpServlet.java:690)<br> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)<br>
org.tuckey.web.filters.urlrewrite.RewrittenUrl.doRewrite(RewrittenUrl.java:176)<br> 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 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 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 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>http://<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 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 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 href="http://lists.opencms.org/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br> </blockquote></div>
<br>