<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Alfresco Developer Guide readers react positively</title>
	<atom:link href="http://ecmarchitect.com/archives/2008/12/16/874/feed" rel="self" type="application/rss+xml" />
	<link>http://ecmarchitect.com/archives/2008/12/16/874</link>
	<description>Jeff Potts on ECM, portals, search, collaboration, and a bunch of personal stuff</description>
	<lastBuildDate>Mon, 06 Feb 2012 17:48:37 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: jpotts</title>
		<link>http://ecmarchitect.com/archives/2008/12/16/874/comment-page-1#comment-56146</link>
		<dc:creator>jpotts</dc:creator>
		<pubDate>Wed, 13 Oct 2010 04:51:24 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/archives/2008/12/16/874#comment-56146</guid>
		<description>I haven&#039;t updated the source for 3.3 Community. The auth stuff has definitely changed a bit. You might try eliminating the createAuthentication call entirely and see if you can just get by with the createPerson calls.

Jeff</description>
		<content:encoded><![CDATA[<p>I haven&#8217;t updated the source for 3.3 Community. The auth stuff has definitely changed a bit. You might try eliminating the createAuthentication call entirely and see if you can just get by with the createPerson calls.</p>
<p>Jeff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NRR</title>
		<link>http://ecmarchitect.com/archives/2008/12/16/874/comment-page-1#comment-56071</link>
		<dc:creator>NRR</dc:creator>
		<pubDate>Thu, 07 Oct 2010 11:32:16 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/archives/2008/12/16/874#comment-56071</guid>
		<description>Hello Jeff,
I read you book, the explanatons seem clear - thank you. But i am not able to import the examples of  chapter 2. I have the following problem in eclispe. 

&quot;Description    Resource    Path    Location    Type
The method createAuthentication(String, char[]) is undefined for the type AuthenticationService    BootstrapAuthorityCreator.java    /someco-client-extensions-ch2/src/java/com/someco/module    line 35    Java Problem&quot;

I am using alfresco 3.3 community with the community sdk. 

thank you</description>
		<content:encoded><![CDATA[<p>Hello Jeff,<br />
I read you book, the explanatons seem clear &#8211; thank you. But i am not able to import the examples of  chapter 2. I have the following problem in eclispe. </p>
<p>&#8220;Description    Resource    Path    Location    Type<br />
The method createAuthentication(String, char[]) is undefined for the type AuthenticationService    BootstrapAuthorityCreator.java    /someco-client-extensions-ch2/src/java/com/someco/module    line 35    Java Problem&#8221;</p>
<p>I am using alfresco 3.3 community with the community sdk. </p>
<p>thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: km70569w</title>
		<link>http://ecmarchitect.com/archives/2008/12/16/874/comment-page-1#comment-45808</link>
		<dc:creator>km70569w</dc:creator>
		<pubDate>Wed, 09 Dec 2009 17:06:58 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/archives/2008/12/16/874#comment-45808</guid>
		<description>Thanks for the reply Jeff:

- I am not able to run mysql from the command line. I tried: mysql -ualfresco -palfresco i get the following error:
ERROR 2003 (HY000): Can&#039;t connect to MySQL server on &#039;localhost&#039; (10061)
How ever when I run alf_start.bat file, it brings up the mysql. and then when i tried the same command, it can get into to mysql. is this normal?

- I do have mysql-connector-java-5.1.7-bin.jar in my c:\Alfresco\tomcat\lib directory.

- when I look at my log files for mysql .err file, i am getting the following error:

mysqld: Table &#039;mysql.plugin&#039; doesn&#039;t exist
091209  9:37:55 [ERROR] Can&#039;t open the mysql.plugin table. Please run mysql_upgrade to create it.
091209  9:37:56  InnoDB: Started; log sequence number 0 46409
Can&#039;t start server: Bind on TCP/IP port: No such file or directory

I do have c:\Alfresco\alf_data folder that came with the alfresco installation.

- I also modified the my.ini file to uncomment out these lines for mysql:

#Path to installation directory. All paths are usually resolved relative to this.
basedir=&quot;c:/Alfresco/mysql/&quot;

#Path to the database root
datadir=&quot;c:/Alfresco/mysql/data&quot;

Please let me know if there something that I am missing.</description>
		<content:encoded><![CDATA[<p>Thanks for the reply Jeff:</p>
<p>- I am not able to run mysql from the command line. I tried: mysql -ualfresco -palfresco i get the following error:<br />
ERROR 2003 (HY000): Can&#8217;t connect to MySQL server on &#8216;localhost&#8217; (10061)<br />
How ever when I run alf_start.bat file, it brings up the mysql. and then when i tried the same command, it can get into to mysql. is this normal?</p>
<p>- I do have mysql-connector-java-5.1.7-bin.jar in my c:\Alfresco\tomcat\lib directory.</p>
<p>- when I look at my log files for mysql .err file, i am getting the following error:</p>
<p>mysqld: Table &#8216;mysql.plugin&#8217; doesn&#8217;t exist<br />
091209  9:37:55 [ERROR] Can&#8217;t open the mysql.plugin table. Please run mysql_upgrade to create it.<br />
091209  9:37:56  InnoDB: Started; log sequence number 0 46409<br />
Can&#8217;t start server: Bind on TCP/IP port: No such file or directory</p>
<p>I do have c:\Alfresco\alf_data folder that came with the alfresco installation.</p>
<p>- I also modified the my.ini file to uncomment out these lines for mysql:</p>
<p>#Path to installation directory. All paths are usually resolved relative to this.<br />
basedir=&#8221;c:/Alfresco/mysql/&#8221;</p>
<p>#Path to the database root<br />
datadir=&#8221;c:/Alfresco/mysql/data&#8221;</p>
<p>Please let me know if there something that I am missing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jpotts</title>
		<link>http://ecmarchitect.com/archives/2008/12/16/874/comment-page-1#comment-45807</link>
		<dc:creator>jpotts</dc:creator>
		<pubDate>Wed, 09 Dec 2009 16:45:31 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/archives/2008/12/16/874#comment-45807</guid>
		<description>Checklist:
 - Connect to your database using MySQL command line like: mysql alfresco -ualfresco -palfresco. If you are using something other than alfresco/alfresco for the database username/password, those need to be set in custom-repository.properties (db.name and db.username).
 - Make sure you&#039;ve copied the MySQL Connector JAR into your $TOMCAT_HOME/common/lib (Tomcat 5.x) or $TOMCAT_HOME/lib (Tomcat 6.x) directory.
 - If you are running 3.2 or from head, note that Alfresco moved from having a separate hibernate dialect props and custom repository props into a single alfresco-global.properties file.
 - Look closely at your log file to see if you are actually getting SQL-related exceptions. The problem you are seeing may not have anything to do with the database at all. For example, does your c:\Alfresco\alf_data directory already exist? If not, it needs to.

Hope that helps,

Jeff</description>
		<content:encoded><![CDATA[<p>Checklist:<br />
 &#8211; Connect to your database using MySQL command line like: mysql alfresco -ualfresco -palfresco. If you are using something other than alfresco/alfresco for the database username/password, those need to be set in custom-repository.properties (db.name and db.username).<br />
 &#8211; Make sure you&#8217;ve copied the MySQL Connector JAR into your $TOMCAT_HOME/common/lib (Tomcat 5.x) or $TOMCAT_HOME/lib (Tomcat 6.x) directory.<br />
 &#8211; If you are running 3.2 or from head, note that Alfresco moved from having a separate hibernate dialect props and custom repository props into a single alfresco-global.properties file.<br />
 &#8211; Look closely at your log file to see if you are actually getting SQL-related exceptions. The problem you are seeing may not have anything to do with the database at all. For example, does your c:\Alfresco\alf_data directory already exist? If not, it needs to.</p>
<p>Hope that helps,</p>
<p>Jeff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: km70569w</title>
		<link>http://ecmarchitect.com/archives/2008/12/16/874/comment-page-1#comment-45805</link>
		<dc:creator>km70569w</dc:creator>
		<pubDate>Wed, 09 Dec 2009 16:13:14 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/archives/2008/12/16/874#comment-45805</guid>
		<description>Hi Jeff:

I am having difficulty connecting to mysql database. I have made changes to the custom-repository.properties and custom-hibernate-dialect.properties files to connect to mysql database that  came with alfresco.

here are the changes that i made to hybernate-dialect:
hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect

and here are the changes for custom-repository
#
dir.root=C:/Alfresco/alf_data
#ooo.exe=soffice
#ooo.user=${dir.root}/oouser

#
# MySQL connection
#
db.driver=org.gjt.mm.mysql.Driver
db.url=jdbc:mysql://localhost/alfresco

rest of all are as it is. When I run the alfresco, I get weird exception as below:

SEVERE: Exception sending context initialized event to listener instance of class org.alfresco.web.app.ContextListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name &#039;indexerComponent&#039; defined in class path resource [alfresco/core-services-context.xml]: ...........

I have tried a lot to figure this out. if you have any idea, please let me know. thanks.

KM</description>
		<content:encoded><![CDATA[<p>Hi Jeff:</p>
<p>I am having difficulty connecting to mysql database. I have made changes to the custom-repository.properties and custom-hibernate-dialect.properties files to connect to mysql database that  came with alfresco.</p>
<p>here are the changes that i made to hybernate-dialect:<br />
hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect</p>
<p>and here are the changes for custom-repository<br />
#<br />
dir.root=C:/Alfresco/alf_data<br />
#ooo.exe=soffice<br />
#ooo.user=${dir.root}/oouser</p>
<p>#<br />
# MySQL connection<br />
#<br />
db.driver=org.gjt.mm.mysql.Driver<br />
db.url=jdbc:mysql://localhost/alfresco</p>
<p>rest of all are as it is. When I run the alfresco, I get weird exception as below:</p>
<p>SEVERE: Exception sending context initialized event to listener instance of class org.alfresco.web.app.ContextListener<br />
org.springframework.beans.factory.BeanCreationException: Error creating bean with name &#8216;indexerComponent&#8217; defined in class path resource [alfresco/core-services-context.xml]: &#8230;&#8230;&#8230;..</p>
<p>I have tried a lot to figure this out. if you have any idea, please let me know. thanks.</p>
<p>KM</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: km70569w</title>
		<link>http://ecmarchitect.com/archives/2008/12/16/874/comment-page-1#comment-45561</link>
		<dc:creator>km70569w</dc:creator>
		<pubDate>Thu, 03 Dec 2009 21:38:36 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/archives/2008/12/16/874#comment-45561</guid>
		<description>Directory structure  looks same as you have it in your post above.

my &quot;package-jar&quot; looks like this in the build.xml


		
		
			
		
	

but it is not creating the faces-config.xml file inside the META-INF folder. If there a way I can email you my project for you to look at?

Sorry for all these questions and i am using this blog as a forum. I have already spent 2 days trying to figure this out. It will help me go forward in the book. Thank you very much?

KM</description>
		<content:encoded><![CDATA[<p>Directory structure  looks same as you have it in your post above.</p>
<p>my &#8220;package-jar&#8221; looks like this in the build.xml</p>
<p>but it is not creating the faces-config.xml file inside the META-INF folder. If there a way I can email you my project for you to look at?</p>
<p>Sorry for all these questions and i am using this blog as a forum. I have already spent 2 days trying to figure this out. It will help me go forward in the book. Thank you very much?</p>
<p>KM</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jpotts</title>
		<link>http://ecmarchitect.com/archives/2008/12/16/874/comment-page-1#comment-45553</link>
		<dc:creator>jpotts</dc:creator>
		<pubDate>Thu, 03 Dec 2009 20:41:39 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/archives/2008/12/16/874#comment-45553</guid>
		<description>The &quot;package-jar&quot; Ant task handles that. It assumes your faces-config.xml lives in src/web/META-INF. If it is there, it will get placed in the JAR under the META-INF directory.

Jeff</description>
		<content:encoded><![CDATA[<p>The &#8220;package-jar&#8221; Ant task handles that. It assumes your faces-config.xml lives in src/web/META-INF. If it is there, it will get placed in the JAR under the META-INF directory.</p>
<p>Jeff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: km70569w</title>
		<link>http://ecmarchitect.com/archives/2008/12/16/874/comment-page-1#comment-45551</link>
		<dc:creator>km70569w</dc:creator>
		<pubDate>Thu, 03 Dec 2009 20:25:50 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/archives/2008/12/16/874#comment-45551</guid>
		<description>Hi Jeff:

I manage to create the zip file as per yours in the above message. One thing I am missing is the  faces-config.xml file which from the book says it should go into the META-INF directory inside the jar file. How do u put this file in there? 

Thanks

KM</description>
		<content:encoded><![CDATA[<p>Hi Jeff:</p>
<p>I manage to create the zip file as per yours in the above message. One thing I am missing is the  faces-config.xml file which from the book says it should go into the META-INF directory inside the jar file. How do u put this file in there? </p>
<p>Thanks</p>
<p>KM</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: km70569w</title>
		<link>http://ecmarchitect.com/archives/2008/12/16/874/comment-page-1#comment-45541</link>
		<dc:creator>km70569w</dc:creator>
		<pubDate>Thu, 03 Dec 2009 16:18:18 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/archives/2008/12/16/874#comment-45541</guid>
		<description>Thanks a lot Jeff.

Yes I am using the build.xml from the sample project &quot;SDK CustomAction&quot;. But that file does not create a zip file.

I think I have problems in my build.xml file. Is it possible to email me a copy of the zip file that you have? that may actually resolve the issue that I am having.

Thanks a lot.

KM</description>
		<content:encoded><![CDATA[<p>Thanks a lot Jeff.</p>
<p>Yes I am using the build.xml from the sample project &#8220;SDK CustomAction&#8221;. But that file does not create a zip file.</p>
<p>I think I have problems in my build.xml file. Is it possible to email me a copy of the zip file that you have? that may actually resolve the issue that I am having.</p>
<p>Thanks a lot.</p>
<p>KM</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jpotts</title>
		<link>http://ecmarchitect.com/archives/2008/12/16/874/comment-page-1#comment-45540</link>
		<dc:creator>jpotts</dc:creator>
		<pubDate>Thu, 03 Dec 2009 16:10:38 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/archives/2008/12/16/874#comment-45540</guid>
		<description>Your build directory should have two things in it: a JAR file (which might be empty) and a ZIP file. The deploy task in the build script simply unzips the ZIP file into your expanded Alfresco webapp root. It figures out where that is based on what you&#039;ve specified in your build.properties file. So, make sure your build.properties file exists and that it has the right directories specified (use build.properties.sample as an example). And make sure your zip is being created. For example, my zip looks like this:

&lt;code&gt; Length     Date   Time    Name
 --------    ----   ----    ----
        0  07-14-09 14:58   WEB-INF/
        0  07-14-09 14:58   WEB-INF/classes/
        0  07-14-09 14:58   WEB-INF/classes/alfresco/
        0  07-14-09 14:58   WEB-INF/classes/alfresco/extension/
        0  07-13-09 17:36   WEB-INF/classes/alfresco/extension/model/
     1301  07-13-09 17:36   WEB-INF/classes/alfresco/extension/model/scModel.xml
      487  07-13-09 17:36   WEB-INF/classes/alfresco/extension/someco-model-context.xml
     1272  07-13-09 17:36   WEB-INF/classes/alfresco/extension/web-client-config-custom.xml
        0  07-14-09 14:58   WEB-INF/lib/
     3637  07-14-09 14:58   WEB-INF/lib/someco-client-extensions.jar
        0  07-13-09 17:36   jsp/
        0  07-13-09 17:36   jsp/extension/
        0  07-13-09 17:36   someco/
        0  07-13-09 17:36   someco/images/
     7004  07-13-09 17:36   jsp/extension/login.jsp
     4508  07-13-09 17:36   jsp/extension/relogin.jsp
     5063  07-13-09 17:36   someco/images/someco-logo.png
 --------                   -------
    23272                   17 files
&lt;/code&gt;
Are you using the build.xml that came with the source?

Jeff</description>
		<content:encoded><![CDATA[<p>Your build directory should have two things in it: a JAR file (which might be empty) and a ZIP file. The deploy task in the build script simply unzips the ZIP file into your expanded Alfresco webapp root. It figures out where that is based on what you&#8217;ve specified in your build.properties file. So, make sure your build.properties file exists and that it has the right directories specified (use build.properties.sample as an example). And make sure your zip is being created. For example, my zip looks like this:</p>
<p><code> Length     Date   Time    Name<br />
 --------    ----   ----    ----<br />
        0  07-14-09 14:58   WEB-INF/<br />
        0  07-14-09 14:58   WEB-INF/classes/<br />
        0  07-14-09 14:58   WEB-INF/classes/alfresco/<br />
        0  07-14-09 14:58   WEB-INF/classes/alfresco/extension/<br />
        0  07-13-09 17:36   WEB-INF/classes/alfresco/extension/model/<br />
     1301  07-13-09 17:36   WEB-INF/classes/alfresco/extension/model/scModel.xml<br />
      487  07-13-09 17:36   WEB-INF/classes/alfresco/extension/someco-model-context.xml<br />
     1272  07-13-09 17:36   WEB-INF/classes/alfresco/extension/web-client-config-custom.xml<br />
        0  07-14-09 14:58   WEB-INF/lib/<br />
     3637  07-14-09 14:58   WEB-INF/lib/someco-client-extensions.jar<br />
        0  07-13-09 17:36   jsp/<br />
        0  07-13-09 17:36   jsp/extension/<br />
        0  07-13-09 17:36   someco/<br />
        0  07-13-09 17:36   someco/images/<br />
     7004  07-13-09 17:36   jsp/extension/login.jsp<br />
     4508  07-13-09 17:36   jsp/extension/relogin.jsp<br />
     5063  07-13-09 17:36   someco/images/someco-logo.png<br />
 --------                   -------<br />
    23272                   17 files<br />
</code><br />
Are you using the build.xml that came with the source?</p>
<p>Jeff</p>
]]></content:encoded>
	</item>
</channel>
</rss>

