I followed the instructions here: <span class="q"></span><a href="http://www.pomegranate.de:9000/cms/forum/viewthread?thread=18#33" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.pomegranate.de:9000/cms/forum/viewthread?thread=18#33</a> but I'm still getting the error<br>
<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(<a href="http://tomcat5-servlet-2.4-api-5.5.26.jar.so">tomcat5-servlet-2.4-api-5.5.26.jar.so</a>)<br> javax.servlet.http.HttpServlet.service(<a href="http://tomcat5-servlet-2.4-api-5.5.26.jar.so">tomcat5-servlet-2.4-api-5.5.26.jar.so</a>)<br>
org.tuckey.web.filters.urlrewrite.RewrittenUrl.doRewrite(RewrittenUrl.java:176)<br> org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:728)<br></pre><br><br><div><span class="gmail_quote">On 5/24/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;">
<div 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:<span class="q"><br>
<br>
<a href="http://www.pomegranate.de:9000/cms/forum/viewthread?thread=18#33" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.pomegranate.de:9000/cms/forum/viewthread?thread=18#33</a><br>
<br></span>
Best,<br>
Arash<br>
<br>
Randell schrieb:
<blockquote type="cite"><div><span class="e" id="q_11a16b00f419375e_3">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><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><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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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>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 href="http://opencms-wiki.org/Main_Page" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
</blockquote>
</div>
<br>
</span></div><pre><hr size="4" width="90%"><span class="q"><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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.opencms.org/mailman/listinfo/opencms-dev</a></span></pre>
</blockquote>
<br>
<br>
<pre cols="72">-- <br>Pomegranate Software | Enterprise Open Source Solutions. For Life!<br><a href="http://www.pomegranate.de" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.pomegranate.de</a><br>
<br>Arash Kaffamanesh<br><br>Eigelstein 53 - 55<br>50668 Cologne - North City<br><br>Ackerstrasse 145<br>10115 Berlin - Center<br><br>mobile: +49 0177 880 77 34<br>office: +49 221 47 18 116<br>private: +49 221 379 90 680<br>
skype privte: arash_kaffamanesh<br>skype office: pomegranate_software<br>email: arash {dot} kaffamanesh [at] pomegranate {dot} de <br><br><br><br><br><br></pre>
</div>
<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 onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br></blockquote></div><br>