[opencms-dev] Copying an existing project to another server
Randell
josephrandell.benavidez at gmail.com
Fri May 23 10:58:10 CEST 2008
Hello,
I followed the instructions and now I'm getting this error:
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)
What am i missing?
On 5/22/08, Pomegranate Software- Arash Kaffamanesh <
arash.kaffamanesh at pomegranate.de> wrote:
>
> Hi Randell,
>
> you are welcome to our list, we are here to help!
>
> lets say you want to clone your whole project from one staging server
> (referred hereafter as QA) to another production server (referred as P
> server) and I suppose you are going to use another database on the same
> P server too.
>
> 1. you have to copy the whole opencms folder from tomcat/webapps from QA
> to P (stop tomcat on QA and P server, tar your opencms on QA, move it to
> P and untar it there under webapps folder of P server))
>
> 2. you have to copy the opencms QA db under mysql/data to the P server
> too and set the user and required permissions / privileges accordingly
> on the db of P server, see also this post
> <http://www.pomegranate.de:9000/cms/forum/viewthread?thread=68#129>). If
> you are getting connection permission problems to the P db server also
> this post
> <http://www.pomegranate.de:9000/cms/forum/viewthread?thread=18#33> might
> be of help.
>
> 3. You have to adjust the following files now under WEB-INF/config on P
> Server:
>
> opencms-system.xml (change the url of workplace and site server
> under the sites node to your P server)
> opencms-importexport.xml (set the righ server url here:
> <exporturl>http://<P Server
> Address>:8080${CONTEXT_NAME}/handle404</exporturl>)
> opencms.properties (change the db.pool.default.jdbcUrl to the db of
> p server and set the right user and password and change the macaddress
> setting also (server.ethernet.address=<set to the mac addres of the P
> server>))
>
> 4. Restart tomcat (maybe the db server too in some cases, but in
> production environments it shall be avoided ;-))
>
> 5. Have fun on your P server ;-)
>
> If you have problems, check opencms.log and let me know what it says,
> perhaps I'm missing something, if you was successful, it would be kind
> from you providing feedback or post a small HowTo on opencms.wiki
> <http://opencms-wiki.org/Main_Page>.
>
> Best,
> Arash
>
>
> Randell wrote:
> > Hi,
> >
> > Newbie here. How can I copy an existing OpenCMS project from one
> > server to another and still preserve all the configurations (and the
> > new files, folders & modules that have been added)? I haven't been
> > lucky enough to arrive with the search result that I need.
> >
> > Thanks!
>
> > ------------------------------------------------------------------------
> >
> >
> > _______________________________________________
> > 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
> > http://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
>
> _______________________________________________
> 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
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20080523/8ae8bf8c/attachment.htm>
More information about the opencms-dev
mailing list