Jahia DX > JAHIA6 and JAHIA...

0 (0 Good)
0 (0 Bad)

JAHIA6 and JAHIA 6.5

by  jd »  2011/06/07 18:07

Hi,

How can I install JAHIA 6.5 on the same machine than JAHIA 6?
My configuration : Windows XP SP3.
I have installed JAHIA 6 and create a draft site web which I wouldn't delete because I don't think uses JAHIA 6.5 beta in production for the moment.

Thanks for help.

Jenny
  • JAHIA6 and JAHIA 6.5
    2011/06/07 18:07

    jd Hi,<br/><br/>How can I install JAHIA 6.5 on the same machine than JAHIA 6?<br/>My configuration : Windows XP SP3.<br/>I have installed JAHIA 6 and create a draft site web which I wouldn't delete because I don't think uses JAHIA 6.5 beta in production for the moment.<br/><br/>Thanks for help.<br/><br/>Jenny

  • Number of messages  29
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: JAHIA6 and JAHIA 6.5

    by  tyurk »  2011/06/07 18:07

    Jenny,
    If you are using an external database, you can create a separate schema for Jahia 6.5 and point the installer to that location instead of the jahia 6 database. Otherwise, you can simply use the built-in database that comes with the demo package. As for the webapp container, tomcat is included within the distribution so you can either shutdown your tomcat instance running jahia 6 or change the port used by the jahia 6.5 tomcat instance by editing the tomcat/conf/server.xml file. Not too sure what your exact setup is, so I'm not sure if this answer is by any means clear, but if not, please provide some more detail as to how you currently have jahia 6 installed and what exactly you want to do with jahia 6.5.

    Cheers,

    Denis

    EDIT: Original post indicated settings.xml. Should be server.xml.
  • Re: JAHIA6 and JAHIA 6.5
    2011/06/07 18:07

    tyurk Jenny,<br/>If you are using an external database, you can create a separate schema for Jahia 6.5 and point the installer to that location instead of the jahia 6 database. Otherwise, you can simply use the built-in database that comes with the demo package. As for the webapp container, tomcat is included within the distribution so you can either shutdown your tomcat instance running jahia 6 or change the port used by the jahia 6.5 tomcat instance by editing the tomcat/conf/server.xml file. Not too sure what your exact setup is, so I'm not sure if this answer is by any means clear, but if not, please provide some more detail as to how you currently have jahia 6 installed and what exactly you want to do with jahia 6.5.<br/><br/>Cheers,<br/><br/>Denis<br/><br/>EDIT: Original post indicated settings.xml. Should be server.xml.

  • Number of messages  38
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: JAHIA6 and JAHIA 6.5

    by  jd »  2011/06/07 18:07

    Hi,

    JAHIA 6 (jahia_v6_CommunityEdition_r25203) is installed to port 8080, with an hypersonic database. See server.xml in attached files.
    For the moment, I don't performed an installation with a MySql database (the installation process has errors but they aren't displayed, therfeore I can't correct them, but it is another problem !).

    I would install JAHIA 6.5 to test it, but not lose the site made with JAHIA 6. Possibly, I'll import the site JAHIA 6 in JAHIA 6.5 if is possible. I would also test the upgrade of JAHIA 6 to JAHIA 6.5. And the best would be to install Jahia 6.5 with a MySql database.

    I don't know much about the various ports used for Tomcat, can you tell me more about the configuration to specify in server.xml?

    The above information is sufficient for help me?

    Thanks for help.

    Jenny
  • Re: JAHIA6 and JAHIA 6.5
    2011/06/07 18:07

    jd Hi,<br/><br/>JAHIA 6 (jahia_v6_CommunityEdition_r25203) is installed to port 8080, with an hypersonic database. See server.xml in attached files.<br/>For the moment, I don't performed an installation with a MySql database (the installation process has errors but they aren't displayed, therfeore I can't correct them, but it is another problem !).<br/><br/>I would install JAHIA 6.5 to test it, but not lose the site made with JAHIA 6. Possibly, I'll import the site JAHIA 6 in JAHIA 6.5 if is possible. I would also test the upgrade of JAHIA 6 to JAHIA 6.5. And the best would be to install Jahia 6.5 with a MySql database.<br/><br/>I don't know much about the various ports used for Tomcat, can you tell me more about the configuration to specify in server.xml?<br/><br/>The above information is sufficient for help me?<br/><br/>Thanks for help.<br/><br/>Jenny

  • Number of messages  29
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: JAHIA6 and JAHIA 6.5

    by  tyurk »  2011/06/07 18:07

    Jenny,
    Since you are using the hypersonic db for Jahia 6, there should be no problem setting up 6.5 with the default MySQL config. However, you will need to configure a "jahia" user in MySQL and give it pretty much all rights on a "jahia" schema. To begin with, download a nightly build and fire up the installation (it won't muck with your Jahia 6 instance unless you force it to). By default, it should prompt you to use a directory other than the one you used for Jahia 6 (i.e. it will look like .../Jahia_xCM_v6.5_SNAPSHOT/), but check it just in case to make sure you don't overwrite your Jahia 6 install. Choose the custom install option and then external db, MySQL and then provide the required non-default info for the MySQL server (i.e. user name and password). The provided schema should already be "jahia" tucked into the URI for the server.

    Provided everything is ok with MySQL, this will get things setup ok. Before starting the server, modify the server.xml file. I have provided an example you can check, but basically, you need to replace all instances of ports 8080, 8005, 8443 (if serving secure) and 8009 (if using apache workers to serve through apache) and with some other ports (I used 8181,8006,8444 and 8109, but pick your poison), in order to avoid clashing. Especially with an external db (from experience anyways), make sure that all your memory options for your JVM are in place before starting the server for the first time (pretty sure this is done if you're already running Jahia 6) to ensure the startup doesn't crash out an leave you a partial db schema.

    After that, you should be good to go. Both servers can run simultaneously and there is no interference in the db instances. If for whatever reason you want to have two servers running on the same MySQL server, just setup a different schema (say jahia1) and tuck that schema name into the server URI during installation. You can use the same user and password as long as you remember to give that user all the required privileges on the schema.

    As for your errors, check the mysql and tomcat log files as well as jahia.log (which, by default, appears in your present working directory when you call the startup script). This will give you an idea as to whether you're at least hitting the db and if so, whether you're able to login and access the schema correctly. Only other error I've really had was running out of memory in the JVM.

    In terms of transferring from v6 to v6.5, you may be able to export some content objects, but don't count on it working 100%. The templates are completely remodelled so anticipate having to rebuild them almost from scratch, though with the experience of the last ones. I actually did this migration, but before having any content in place. It was MUCH faster to build even more advanced templates in 6.5 than it had been in 6. As they say, your mileage may vary wink

    Anyways, hope this helps. Don't hesitate if you have other questions or if anything was unclear in my explanations.

    Cheers,

    Denis

  • Re: JAHIA6 and JAHIA 6.5
    2011/06/30 13:29

    tyurk <p> Jenny,<br /> Since you are using the hypersonic db for Jahia 6, there should be no problem setting up 6.5 with the default MySQL config. However, you will need to configure a &quot;jahia&quot; user in MySQL and give it pretty much all rights on a &quot;jahia&quot; schema. To begin with, download a nightly build and fire up the installation (it won&#39;t muck with your Jahia 6 instance unless you force it to). By default, it should prompt you to use a directory other than the one you used for Jahia 6 (i.e. it will look like .../Jahia_xCM_v6.5_SNAPSHOT/), but check it just in case to make sure you don&#39;t overwrite your Jahia 6 install. Choose the custom install option and then external db, MySQL and then provide the required non-default info for the MySQL server (i.e. user name and password). The provided schema should already be &quot;jahia&quot; tucked into the URI for the server.</p> <p> Provided everything is ok with MySQL, this will get things setup ok. Before starting the server, modify the server.xml file. I have provided an example you can check, but basically, you need to replace all instances of ports 8080, 8005, 8443 (if serving secure) and 8009 (if using apache workers to serve through apache) and with some other ports (I used 8181,8006,8444 and 8109, but pick your poison), in order to avoid clashing. Especially with an external db (from experience anyways), make sure that all your memory options for your JVM are in place before starting the server for the first time (pretty sure this is done if you&#39;re already running Jahia 6) to ensure the startup doesn&#39;t crash out an leave you a partial db schema.</p> <p> After that, you should be good to go. Both servers can run simultaneously and there is no interference in the db instances. If for whatever reason you want to have two servers running on the same MySQL server, just setup a different schema (say jahia1) and tuck that schema name into the server URI during installation. You can use the same user and password as long as you remember to give that user all the required privileges on the schema.</p> <p> As for your errors, check the mysql and tomcat log files as well as jahia.log (which, by default, appears in your present working directory when you call the startup script). This will give you an idea as to whether you&#39;re at least hitting the db and if so, whether you&#39;re able to login and access the schema correctly. Only other error I&#39;ve really had was running out of memory in the JVM.</p> <p> In terms of transferring from v6 to v6.5, you may be able to export some content objects, but don&#39;t count on it working 100%. The templates are completely remodelled so anticipate having to rebuild them almost from scratch, though with the experience of the last ones. I actually did this migration, but before having any content in place. It was MUCH faster to build even more advanced templates in 6.5 than it had been in 6. As they say, your mileage may vary <img alt="wink" height="20" src="https://www.jahia.com/modules/assets/javascript/ckeditor/plugins/smiley/images/wink_smile.gif" title="wink" width="20" /></p> <p> Anyways, hope this helps. Don&#39;t hesitate if you have other questions or if anything was unclear in my explanations.</p> <p> Cheers,</p> <p> Denis</p>

  • Number of messages  38
    Registration date Jun 7, 2011
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page