<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Alfresco 3.3 on GlassfishV3 with jndi for Mysql in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-3-3-on-glassfishv3-with-jndi-for-mysql/m-p/213545#M166675</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can anyone provide a walk through in using Alfresco 3.3 on a glassfish V3 that uses jndi (A jdbc to an external Mysql 5.1).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried compiling alfresco and placing it but it takes a long time to do so and then dies on me. (Yes i am a newbee here). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any heads up?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Aug 2010 17:13:53 GMT</pubDate>
    <dc:creator>spector</dc:creator>
    <dc:date>2010-08-24T17:13:53Z</dc:date>
    <item>
      <title>Alfresco 3.3 on GlassfishV3 with jndi for Mysql</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-3-3-on-glassfishv3-with-jndi-for-mysql/m-p/213545#M166675</link>
      <description>Can anyone provide a walk through in using Alfresco 3.3 on a glassfish V3 that uses jndi (A jdbc to an external Mysql 5.1).I tried compiling alfresco and placing it but it takes a long time to do so and then dies on me. (Yes i am a newbee here). Any heads up?</description>
      <pubDate>Tue, 24 Aug 2010 17:13:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-3-3-on-glassfishv3-with-jndi-for-mysql/m-p/213545#M166675</guid>
      <dc:creator>spector</dc:creator>
      <dc:date>2010-08-24T17:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco 3.3 on GlassfishV3 with jndi for Mysql</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-3-3-on-glassfishv3-with-jndi-for-mysql/m-p/213546#M166676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;First step: &lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Prepare the DB. (Assuming you have a Mysql 5.1 already installed somewhere) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Execute these commands in Mysql, using the root account. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;create database alfresco default character set utf8 collate utf8_bin;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;grant all on alfresco.* to 'alfresco'@'localhost' identified by 'alfresco' with grant option;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;grant all on alfresco.* to 'alfresco'@'%' identified by 'alfresco' with grant option;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;grant all on alfresco.* to 'alfresco'@'localhost.localdomain' identified by 'alfresco' with grant option;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The schema will be filled once the alfresco.war file is load onto Glassfish.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;BR /&gt;Second step: &lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Get the alfresco package. Go and download the &lt;/SPAN&gt;&lt;A href="http://process.alfresco.com/ccdl/?file=release/community/build-2860/alfresco-community-war-3.3g.zip" rel="nofollow noopener noreferrer"&gt;alfresco-community-war-3.3g.zip&lt;/A&gt;&lt;SPAN&gt; file. Unzip the file and also unzip the alfresco.war file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;third step:&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Open and modify the alfresco-global.properties (found at \alfresco-community-war-3.3g\extensions\extension\alfresco-global.properties )as you wish.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(For this example the DB is on another machine , so you change the db.host=localhost to db.host="Machine's IP address", then save the file)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;copy the file \alfresco-community-war-3.3g\extensions\extension\alfresco-global.properties into the unzipped alfresco directory (\alfresco-community-war-3.3g\alfresco\WEB-INF\classes\alfresco-global.properties) zip up the alfresco and change the extension to ".war" instead of ".zip"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Forth step:&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Log into the glassfish console and deploy the share.war first, followed by the alfresco.war.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You must wait a few minutes to do this. During this time alfresco.war file will populate you schema on the Mysql DB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;*Note in order to make Glassfish handle&amp;nbsp; the jdbc connection by its self, it would take some changing on the war files, and well I still need to research how to do this. Ill update if i manage to figure this out. Although it would be a very good option, since it would make Alfresco a bit faster and a bit lighter.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Aug 2010 20:35:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-3-3-on-glassfishv3-with-jndi-for-mysql/m-p/213546#M166676</guid>
      <dc:creator>spector</dc:creator>
      <dc:date>2010-08-24T20:35:09Z</dc:date>
    </item>
  </channel>
</rss>

