<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-395334916920577484</id><updated>2026-06-19T12:03:56.574+05:30</updated><category term="alfresco"/><category term="alfresco 4"/><category term="alfresco share"/><category term="solr"/><category term="alfresco share 4"/><category term="noderef"/><category term="Cluster"/><category term="alfresco 4.2"/><category term="alfresco configuration"/><category term="dashlet"/><category term="workflow"/><category term="ACA"/><category term="Alfresco 5.1"/><category term="CIFS"/><category term="SMB"/><category term="action"/><category term="alfresco 4.2f"/><category term="alfresco 4.x"/><category term="alfresco 5"/><category term="alfresco 5.x"/><category term="alfresco webscript"/><category term="archieve"/><category term="audit"/><category term="chaining"/><category term="community"/><category term="content model"/><category term="custom rule"/><category term="email"/><category term="identify"/><category term="inbound"/><category term="ldap"/><category term="log"/><category term="mapping"/><category term="nginx"/><category term="node"/><category term="nonssl"/><category term="page"/><category term="property file"/><category term="proxy"/><category term="repository management"/><category term="resourceBundle"/><category term="rule"/><category term="scheduler"/><category term="startup"/><category term="tuning"/><category term="webproxy"/><title type='text'>Alfresco Content Management Solutions</title><subtitle type='html'>Easy solution for Content Management Alfresco Administrator &amp;amp; Developers</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://alfrescocms.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://alfrescocms.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Ghanshyam Rathod</name><uri>http://www.blogger.com/profile/06577556169566692992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji2AaY0aghbCp2S33y3FcydTlZZu48Y6ERp6OiqXke1pX8fpWIHSngTpAUZyuvDAGsuzpjNmI4-4Jb6rdi6ZROKUkZYizJKdNhbBPP8gGCFfaBx13PWkkcxdZEbeSKBw/s113/*'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>42</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-395334916920577484.post-1830870451230184366</id><published>2017-07-08T13:04:00.002+05:30</published><updated>2017-11-17T23:03:56.253+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cluster"/><category scheme="http://www.blogger.com/atom/ns#" term="identify"/><category scheme="http://www.blogger.com/atom/ns#" term="node"/><title type='text'>Alfresco Cluster Node Identification</title><content type='html'>&lt;a href=&quot;https://paidverts.com/ref/grathod&quot;&gt;&lt;img title=&quot;Join PaidVerts NOW!&quot; alt=&quot;PaidVerts&quot; src=&quot;https://paidverts.com/promo/0_0_1.gif&quot; /&gt;&lt;/a&gt;

&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: x-small;&quot;&gt;When alfresco is under multiple nodes and we want to know where our request goes and on which node, by default it is hard to find where actual request redirected.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: x-small;&quot;&gt;You can change below things and afterwards you are able to see node details&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;iframe style=&quot;width:120px;height:240px;&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; src=&quot;//ws-in.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&amp;OneJS=1&amp;Operation=GetAdHtml&amp;MarketPlace=IN&amp;source=ac&amp;ref=tf_til&amp;ad_type=product_link&amp;tracking_id=ghanshyamr-21&amp;marketplace=amazon&amp;region=IN&amp;placement=8192910962&amp;asins=8192910962&amp;linkId=319b26893c000d99b44fe16b28fa01f7&amp;show_border=false&amp;link_opens_in_new_window=true&amp;price_color=333333&amp;title_color=0066c0&amp;bg_color=ffffff&quot;&gt;
    &lt;/iframe&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;#1. Open tomcat/conf/server.xml&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;#2. &amp;nbsp;Search &amp;nbsp;&amp;lt;Engine name=&quot;Catalina&quot; defaultHost=&quot;localhost&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;#3. Looks like&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicOpNLXT-blVCq12eeT9YvEKFPjpT__okxhqC6fVwql-3jE3bgigsYS74JiqmhypbAKVDim4h4YDIE6OXbKkGmxd0zt3sQudAhF5uJ9h9rCGzkrQpCPDTyHF4Cgrrg9R7b-9YBt1KRvkI/s1600/1.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;83&quot; data-original-width=&quot;572&quot; height=&quot;46&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicOpNLXT-blVCq12eeT9YvEKFPjpT__okxhqC6fVwql-3jE3bgigsYS74JiqmhypbAKVDim4h4YDIE6OXbKkGmxd0zt3sQudAhF5uJ9h9rCGzkrQpCPDTyHF4Cgrrg9R7b-9YBt1KRvkI/s320/1.PNG&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;#4. Update that configuration to your node specific&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;#5. It should now looks like below&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7WSCM_wPIvDCIX2HbKM5jqT8mNSgoNZVafR3DYhwfbf8hgO8tHzRZtnfQJvNEEdNq1aFJVnb6O5oLAeBI5czQAipM_0XUhlgtL7R33gYVAy12YXMhEdT5NkfpKo5uo3R7phIofOuXmjE/s1600/2.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;99&quot; data-original-width=&quot;636&quot; height=&quot;49&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7WSCM_wPIvDCIX2HbKM5jqT8mNSgoNZVafR3DYhwfbf8hgO8tHzRZtnfQJvNEEdNq1aFJVnb6O5oLAeBI5czQAipM_0XUhlgtL7R33gYVAy12YXMhEdT5NkfpKo5uo3R7phIofOuXmjE/s320/2.PNG&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;#6. Restart alfresco&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;#7. After starting alfresco you come to know by inspect element in browser&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;like below&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIstLPg3OnG76X-OUcTVnpYKS4o4OTSsSczK6AFkLrXX_dODHG03hYjCPzcCdVfXxu8Xl6B0g9T_H7cCtxeSzKXjiFGKK2S5ePfT858Zi2wcZAauA2DN_1DQzg3NpuyawMolloFLqOhnQ/s1600/3.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;593&quot; data-original-width=&quot;1086&quot; height=&quot;174&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIstLPg3OnG76X-OUcTVnpYKS4o4OTSsSczK6AFkLrXX_dODHG03hYjCPzcCdVfXxu8Xl6B0g9T_H7cCtxeSzKXjiFGKK2S5ePfT858Zi2wcZAauA2DN_1DQzg3NpuyawMolloFLqOhnQ/s320/3.PNG&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alfrescocms.blogspot.com/feeds/1830870451230184366/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alfrescocms.blogspot.com/2017/07/alfresco-cluster-node-identification.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/1830870451230184366'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/1830870451230184366'/><link rel='alternate' type='text/html' href='http://alfrescocms.blogspot.com/2017/07/alfresco-cluster-node-identification.html' title='Alfresco Cluster Node Identification'/><author><name>Ghanshyam Rathod</name><uri>http://www.blogger.com/profile/06577556169566692992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji2AaY0aghbCp2S33y3FcydTlZZu48Y6ERp6OiqXke1pX8fpWIHSngTpAUZyuvDAGsuzpjNmI4-4Jb6rdi6ZROKUkZYizJKdNhbBPP8gGCFfaBx13PWkkcxdZEbeSKBw/s113/*'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicOpNLXT-blVCq12eeT9YvEKFPjpT__okxhqC6fVwql-3jE3bgigsYS74JiqmhypbAKVDim4h4YDIE6OXbKkGmxd0zt3sQudAhF5uJ9h9rCGzkrQpCPDTyHF4Cgrrg9R7b-9YBt1KRvkI/s72-c/1.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-395334916920577484.post-518552155396789427</id><published>2017-03-31T12:37:00.003+05:30</published><updated>2017-11-17T23:04:12.664+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="alfresco 5.x"/><category scheme="http://www.blogger.com/atom/ns#" term="solr"/><category scheme="http://www.blogger.com/atom/ns#" term="tuning"/><title type='text'>Alfresco 5.x Solr Tuning Tips</title><content type='html'>&lt;a href=&quot;https://paidverts.com/ref/grathod&quot;&gt;&lt;img title=&quot;Join PaidVerts NOW!&quot; alt=&quot;PaidVerts&quot; src=&quot;https://paidverts.com/promo/0_0_1.gif&quot; /&gt;&lt;/a&gt;

&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: x-small;&quot;&gt;Searching on alfresco system should be efficient and utilize solr in effective way. By default there are many factors we are not able to pin point or not taken into consideration&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: x-small;&quot;&gt;For Solr optimizations let follow below practices:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;Tuning Criteria&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: x-small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;If you are not using search functionality on deleted content , then better you should disable&amp;nbsp;&lt;b&gt;archive core.&amp;nbsp;&amp;nbsp;&lt;/b&gt;(Edit inside solr.xml&amp;nbsp; and commenting archive core)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;If you only require searching on content or only metadata then disable&amp;nbsp;&lt;b&gt;full text searching&lt;/b&gt;&amp;nbsp;for that make property like&amp;nbsp;&amp;nbsp;&lt;b&gt;alfresco.index.transformContent=false&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: x-small;&quot;&gt;On intranet if that is secure enough do not use SSL that may be overhead.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: x-small;&quot;&gt;Use local storage instead shared folders, use faster hardware RAID/SSD.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: x-small;&quot;&gt;Tune mergeFactor to 25 better for indexing and&amp;nbsp; 2 for search.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: x-small;&quot;&gt;Tune ramBufferSize in solrconfig.xml, it is by default 32MB we need to tune it.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: x-small;&quot;&gt;Configure transformation timeout.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: x-small;&quot;&gt;Increase index batch count to get more result on your indexing webscript&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: x-small;&quot;&gt;Disable unnecessary services from OS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: x-small;&quot;&gt;Enable jodConvertor instead&amp;nbsp; LibreOffice&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;trebuchet ms&amp;quot; , sans-serif; font-size: x-small;&quot;&gt;Regularly cleanup trashcan data.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;/ol&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alfrescocms.blogspot.com/feeds/518552155396789427/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alfrescocms.blogspot.com/2017/03/alfresco-5x-solr-tuning-tips.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/518552155396789427'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/518552155396789427'/><link rel='alternate' type='text/html' href='http://alfrescocms.blogspot.com/2017/03/alfresco-5x-solr-tuning-tips.html' title='Alfresco 5.x Solr Tuning Tips'/><author><name>Ghanshyam Rathod</name><uri>http://www.blogger.com/profile/06577556169566692992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji2AaY0aghbCp2S33y3FcydTlZZu48Y6ERp6OiqXke1pX8fpWIHSngTpAUZyuvDAGsuzpjNmI4-4Jb6rdi6ZROKUkZYizJKdNhbBPP8gGCFfaBx13PWkkcxdZEbeSKBw/s113/*'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-395334916920577484.post-6824159642095152214</id><published>2017-03-11T17:40:00.000+05:30</published><updated>2017-07-08T13:49:21.095+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="alfresco 5"/><category scheme="http://www.blogger.com/atom/ns#" term="nonssl"/><category scheme="http://www.blogger.com/atom/ns#" term="solr"/><title type='text'>Running Solr NonSSL way - Alfresco 5.x</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Many times we are keeping default configuration with Alfresco -&amp;gt; SOLR communication.&lt;br /&gt;
Sometime we require that they want to communicate without SSL (https) communication to reduce network overhead and security impact performance.&lt;br /&gt;

&lt;iframe style=&quot;width:120px;height:240px;&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; src=&quot;//ws-in.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&amp;OneJS=1&amp;Operation=GetAdHtml&amp;MarketPlace=IN&amp;source=ac&amp;ref=qf_sp_asin_til&amp;ad_type=product_link&amp;tracking_id=ghanshyamr-21&amp;marketplace=amazon&amp;region=IN&amp;placement=B010NE3U2M&amp;asins=B010NE3U2M&amp;linkId=e6ebd3b5844fa5f47ca85a540fc2242c&amp;show_border=false&amp;link_opens_in_new_window=true&amp;price_color=333333&amp;title_color=0066c0&amp;bg_color=ffffff&quot;&gt;
    &lt;/iframe&gt;


&lt;br /&gt;
So to turn off Alfresco repository and solr server communication via SSL, we are following below steps useful to us.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For Alfresco Repository configuration&lt;br /&gt;
&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Set solr.secureComms=none &amp;nbsp;in alfresco-global.properties file&lt;/li&gt;
&lt;li&gt;Make sure solr.port you set is non-ssl in application config where solr is running.&lt;/li&gt;
&lt;li&gt;For the below path&lt;/li&gt;
&lt;/ol&gt;


&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #58595b; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: 14px;&quot;&gt;&amp;lt;solrRootDir&amp;gt;/archive-SpacesStore/conf/solrcore.properties&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #58595b; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: 14px;&quot;&gt;&amp;lt;solrRootDir&amp;gt;/workspace-SpacesStore/conf/solrcore.properties&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #58595b; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #58595b; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;set &amp;nbsp;alfresco.secureComms=none&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #58595b; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;verify alfresco.port is set to nonSSL port.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;color: #58595b; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #58595b; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;Inside repository &lt;b&gt;web.xml&lt;/b&gt;&amp;nbsp;remove below block&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;pre class=&quot;pre codeblock prettyprint prettyprinted&quot; style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(136, 136, 136); box-sizing: color: #333333; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 13px; height: auto; line-height: 1.42857; margin-bottom: 20px; overflow: hidden; padding: 2px; white-space: pre-wrap; width: 931.75px; word-break: break-all; word-wrap: break-word;&quot;&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;security-constraint&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;web-resource-collection&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;web-resource-name&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;SOLR&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/web-resource-name&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;url-pattern&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;/service/api/solr/*&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/url-pattern&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/web-resource-collection&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;auth-constraint&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;role-name&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;repoclient&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/role-name&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/auth-constraint&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;user-data-constraint&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;transport-guarantee&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;CONFIDENTIAL&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/transport-guarantee&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/user-data-constraint&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/security-constraint&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;security-constraint&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;web-resource-collection&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;web-resource-name&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;SOLR&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/web-resource-name&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;url-pattern&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;/s/api/solr/*&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/url-pattern&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/web-resource-collection&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;

&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;auth-constraint&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;role-name&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;repoclient&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/role-name&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/auth-constraint&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;

&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;user-data-constraint&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;transport-guarantee&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;CONFIDENTIAL&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/transport-guarantee&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/user-data-constraint&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/security-constraint&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;security-constraint&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;web-resource-collection&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;web-resource-name&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;SOLR&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/web-resource-name&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;url-pattern&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;/wcservice/api/solr/*&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/url-pattern&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/web-resource-collection&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;auth-constraint&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;role-name&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;repoclient&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/role-name&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/auth-constraint&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;user-data-constraint&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;transport-guarantee&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;CONFIDENTIAL&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/transport-guarantee&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/user-data-constraint&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/security-constraint&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;security-constraint&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;web-resource-collection&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;web-resource-name&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;SOLR&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/web-resource-name&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;url-pattern&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;/wcs/api/solr/*&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/url-pattern&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/web-resource-collection&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;auth-constraint&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;role-name&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;repoclient&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/role-name&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/auth-constraint&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;user-data-constraint&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;transport-guarantee&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;CONFIDENTIAL&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/transport-guarantee&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/user-data-constraint&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/security-constraint&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;login-config&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;auth-method&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;CLIENT-CERT&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/auth-method&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;realm-name&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;Repository&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/realm-name&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/login-config&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;security-role&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;role-name&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;repoclient&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/role-name&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/security-role&amp;gt;&lt;/span&gt;&lt;/pre&gt;
In solr &amp;nbsp; web.xml &amp;nbsp;remove below block&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;pre codeblock prettyprint prettyprinted&quot; style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(136, 136, 136); box-sizing: border-box; color: #333333; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 13px; height: auto; line-height: 1.42857; margin-bottom: 20px; overflow: hidden; padding: 2px; white-space: pre-wrap; width: 931.75px; word-break: break-all; word-wrap: break-word;&quot;&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;security-constraint&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
   &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;web-resource-collection&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
      &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;url-pattern&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;/*&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/url-pattern&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
   &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/web-resource-collection&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
   &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;auth-constraint&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
      &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;role-name&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;repository&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/role-name&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
   &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/auth-constraint&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
      &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;user-data-constraint&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
         &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;transport-guarantee&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;CONFIDENTIAL&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/transport-guarantee&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
      &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/user-data-constraint&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/security-constraint&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;login-config&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
   &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;auth-method&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;CLIENT-CERT&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/auth-method&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
      &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;realm-name&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;Solr&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/realm-name&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/login-config&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;security-role&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
   &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;role-name&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;repository&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/role-name&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;box-sizing: border-box; color: #000088;&quot;&gt;&amp;lt;/security-role&amp;gt;&lt;/span&gt;&lt;/pre&gt;
restart application server to take effect.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alfrescocms.blogspot.com/feeds/6824159642095152214/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alfrescocms.blogspot.com/2017/03/running-solr-nonssl-way-alfresco-5x.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/6824159642095152214'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/6824159642095152214'/><link rel='alternate' type='text/html' href='http://alfrescocms.blogspot.com/2017/03/running-solr-nonssl-way-alfresco-5x.html' title='Running Solr NonSSL way - Alfresco 5.x'/><author><name>Ghanshyam Rathod</name><uri>http://www.blogger.com/profile/06577556169566692992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji2AaY0aghbCp2S33y3FcydTlZZu48Y6ERp6OiqXke1pX8fpWIHSngTpAUZyuvDAGsuzpjNmI4-4Jb6rdi6ZROKUkZYizJKdNhbBPP8gGCFfaBx13PWkkcxdZEbeSKBw/s113/*'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-395334916920577484.post-8952990878473364868</id><published>2016-10-19T15:39:00.000+05:30</published><updated>2017-11-17T23:04:38.373+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="alfresco"/><category scheme="http://www.blogger.com/atom/ns#" term="nginx"/><category scheme="http://www.blogger.com/atom/ns#" term="proxy"/><category scheme="http://www.blogger.com/atom/ns#" term="webproxy"/><title type='text'>Setting up Nginx</title><content type='html'>&lt;a href=&quot;https://paidverts.com/ref/grathod&quot;&gt;&lt;img title=&quot;Join PaidVerts NOW!&quot; alt=&quot;PaidVerts&quot; src=&quot;https://paidverts.com/promo/0_0_1.gif&quot; /&gt;&lt;/a&gt;

&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Nginx is tool to provide a web server. It can act as a reverse proxy server for TCP, UDP, HTTP, HTTPS, SMTP, POP3, and IMAP protocols, as well as a load balancer and an HTTP cache&lt;br /&gt;
&lt;br /&gt;
&lt;script async src=&quot;//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js&quot;&gt;&lt;/script&gt;
&lt;!-- Custom_30OCT --&gt;
&lt;ins class=&quot;adsbygoogle&quot;
     style=&quot;display:inline-block;width:228px;height:90px&quot;
     data-ad-client=&quot;ca-pub-6313462751316354&quot;
     data-ad-slot=&quot;5698956709&quot;&gt;&lt;/ins&gt;
&lt;script&gt;
(adsbygoogle = window.adsbygoogle || []).push({});
&lt;/script&gt;

Nginx is tool to provide a web server. It can act as a reverse proxy server for TCP, UDP, HTTP, HTTPS, SMTP, POP3, and IMAP protocols, as well as a load balancer and an HTTP cache&lt;br /&gt;
&lt;br /&gt;
Installing and Getting Nginx&lt;br /&gt;
------------------------------&lt;br /&gt;
For CentOS Linux v6.x user type the following command:&lt;br /&gt;
# wget http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm&lt;br /&gt;
# rpm -ivh nginx-release-centos-6-0.el6.ngx.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
For RHEL v6.x user type the following command:&lt;br /&gt;
# wget http://nginx.org/packages/rhel/6/noarch/RPMS/nginx-release-rhel-6-0.el6.ngx.noarch.rpm&lt;br /&gt;
# rpm -ivh nginx-release-rhel-6-0.el6.ngx.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
Installation&lt;br /&gt;
------------&lt;br /&gt;
yum install nginx&lt;br /&gt;
&lt;br /&gt;
Turn Nginx service ON&lt;br /&gt;
----------------------&lt;br /&gt;
chkconfig nginx on&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Command to start/stop services&lt;br /&gt;
------------------------------&lt;br /&gt;
# service nginx start&lt;br /&gt;
# service nginx stop&lt;br /&gt;
# service nginx restart&lt;br /&gt;
# service nginx status&lt;br /&gt;
# service nginx reload&lt;br /&gt;
&lt;br /&gt;
Below are the useful links for configuration&lt;br /&gt;
-------------------------------------------&lt;br /&gt;
Default configuration directory: /etc/nginx/&lt;br /&gt;
Default SSL and vhost config directory: /etc/nginx/conf.d/&lt;br /&gt;
Default log file directory: /var/log/nginx/&lt;br /&gt;
Default document root directory: /usr/share/nginx/html&lt;br /&gt;
Default configuration file: /etc/nginx/nginx.conf&lt;br /&gt;
Default server access log file: /var/log/nginx/access.log&lt;br /&gt;
Default server access log file: /var/log/nginx/error.log&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
vi /etc/nginx/nginx.conf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Verify that everything is working:&lt;br /&gt;
# netstat -tulpn | grep :80&lt;br /&gt;
# ps aux | grep nginx&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Firewall configuration: Open TCP port # 80&lt;br /&gt;
&lt;br /&gt;
Edit the file /etc/sysconfig/iptables, enter:&lt;br /&gt;
# vi /etc/sysconfig/iptables&lt;br /&gt;
&lt;br /&gt;
Add the following lines, ensuring that they appear before the final LOG and DROP lines for the INPUT chain to open port 80:&lt;br /&gt;
&lt;br /&gt;
-A INPUT -m state --state NEW -p tcp --dport 80 -j ACCEPT&lt;br /&gt;
Save and close the file. Finally, restart the firewall:&lt;br /&gt;
# service iptables restart&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alfrescocms.blogspot.com/feeds/8952990878473364868/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alfrescocms.blogspot.com/2016/10/setting-up-nginx.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/8952990878473364868'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/8952990878473364868'/><link rel='alternate' type='text/html' href='http://alfrescocms.blogspot.com/2016/10/setting-up-nginx.html' title='Setting up Nginx'/><author><name>Ghanshyam Rathod</name><uri>http://www.blogger.com/profile/06577556169566692992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji2AaY0aghbCp2S33y3FcydTlZZu48Y6ERp6OiqXke1pX8fpWIHSngTpAUZyuvDAGsuzpjNmI4-4Jb6rdi6ZROKUkZYizJKdNhbBPP8gGCFfaBx13PWkkcxdZEbeSKBw/s113/*'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-395334916920577484.post-3077760923103089756</id><published>2016-10-15T17:58:00.004+05:30</published><updated>2016-12-17T10:53:53.489+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Alfresco 5.1"/><category scheme="http://www.blogger.com/atom/ns#" term="Cluster"/><title type='text'>Setting up Alfresco Cluster</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Setting up Alfresco Repository Cluster&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;===========================&lt;/span&gt;&lt;br /&gt;
&lt;script async src=&quot;//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js&quot;&gt;&lt;/script&gt;
&lt;!-- Custom_30OCT --&gt;
&lt;ins class=&quot;adsbygoogle&quot;
     style=&quot;display:inline-block;width:728px;height:90px&quot;
     data-ad-client=&quot;ca-pub-6313462751316354&quot;
     data-ad-slot=&quot;5698956709&quot;&gt;&lt;/ins&gt;
&lt;script&gt;
(adsbygoogle = window.adsbygoogle || []).push({});
&lt;/script&gt;

&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Clustered environment is very beneficial when we are dealing with multiple node and require high availability to the application.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;If any of the node is down, it is automatically served requests to other active node.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Clustered node are synced to each other.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;There are no major steps to bind cluster in alfresco 5.1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Below are the requirement to keep nodes into repository cluster&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Step 1 : Database is common&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;multiple node should be pointed out to single db in alfresco-global.properties file.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Step 2 : Content Store is common&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Like DB, content store should be also pointed and shared among all nodes.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Step 3 : Enable cluster from Config&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Enable setting via alfresco-global.properties file&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #58595b; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px; font-weight: bold;&quot;&gt;alfresco.cluster.enabled = true&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #58595b; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #58595b; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14px;&quot;&gt;Above setting automatically enable clustering your nodes in repository.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #58595b; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #58595b; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14px;&quot;&gt;Enable below setting in log4j.properties to see info statements&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #58595b; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #58595b; font-family: &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class=&quot;pre codeblock prettyprint prettyprinted&quot; style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(136, 136, 136); box-sizing: border-box; color: #333333; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 13px; height: auto; line-height: 1.42857; margin-bottom: 20px; overflow: hidden; padding: 2px; white-space: pre-wrap; width: 971.75px; word-break: break-all; word-wrap: break-word;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;log4j&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;box-sizing: border-box; color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;logger&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;box-sizing: border-box; color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;org&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;box-sizing: border-box; color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;alfresco&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;box-sizing: border-box; color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;enterprise&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;box-sizing: border-box; color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;repo&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;box-sizing: border-box; color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;cluster&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;box-sizing: border-box; color: #666600;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;box-sizing: border-box; color: black;&quot;&gt;info&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alfrescocms.blogspot.com/feeds/3077760923103089756/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alfrescocms.blogspot.com/2016/10/setting-up-alfresco-cluster_40.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/3077760923103089756'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/3077760923103089756'/><link rel='alternate' type='text/html' href='http://alfrescocms.blogspot.com/2016/10/setting-up-alfresco-cluster_40.html' title='Setting up Alfresco Cluster'/><author><name>Ghanshyam Rathod</name><uri>http://www.blogger.com/profile/06577556169566692992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji2AaY0aghbCp2S33y3FcydTlZZu48Y6ERp6OiqXke1pX8fpWIHSngTpAUZyuvDAGsuzpjNmI4-4Jb6rdi6ZROKUkZYizJKdNhbBPP8gGCFfaBx13PWkkcxdZEbeSKBw/s113/*'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-395334916920577484.post-2583503120977550759</id><published>2016-10-15T17:52:00.000+05:30</published><updated>2017-07-08T14:04:40.923+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="ACA"/><title type='text'>Alfresco ACA 5.1 Preparation</title><content type='html'>&lt;iframe style=&quot;width:120px;height:240px;&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; src=&quot;//ws-in.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&amp;OneJS=1&amp;Operation=GetAdHtml&amp;MarketPlace=IN&amp;source=ac&amp;ref=tf_til&amp;ad_type=product_link&amp;tracking_id=ghanshyamr-21&amp;marketplace=amazon&amp;region=IN&amp;placement=B00MGFZKDE&amp;asins=B00MGFZKDE&amp;linkId=8e04fbe532880c1af5c8b2c626250d3e&amp;show_border=false&amp;link_opens_in_new_window=true&amp;price_color=333333&amp;title_color=0066c0&amp;bg_color=ffffff&quot;&gt;
    &lt;/iframe&gt;

&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Below are the helpful question sets for preparation&lt;/span&gt;&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;=================================&lt;/span&gt;&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;To configure alfresco in order to use LDAP server for authentication we use below properties file to configure new authentor&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;ANS : authentication.chain&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b style=&quot;font-family: Verdana, sans-serif;&quot;&gt;For Alfresco groups, which is TRUE&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;ANS : Group can contain subgroup&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Which two feature of share that is not available in web explorer of Alfresco&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;ANS : &amp;nbsp;Multiple File upload ,&amp;nbsp;Separate&amp;nbsp;share to other application&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;To build full reindex, amount of time depends on&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;ANS :&amp;nbsp;proportional&amp;nbsp;to size of content in repository&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Which file used to install amp&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;ANS : alfresco-mmt.jar&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;While upgrade from 32bit to 64bit in alfresco what should be taken care&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;ANS : &amp;nbsp;JVM to retuned , and same alfresco.war can redeploy&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Which directory referred as {extensionRoot}&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;ANS : &amp;lt;TOMCAT_HOME&amp;gt;/shared/classes&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;When user join site as their own , which role is assigned to him&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;ANS : consumer&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;If we do DB related changes, like password which properties file we touch&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;ANS : alfresco-global.properties&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;URL to connect to alfresco via WebDav&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;ANS : &amp;lt;server&amp;gt;:&amp;lt;port&amp;gt;/alfresco/webdav&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alfrescocms.blogspot.com/feeds/2583503120977550759/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alfrescocms.blogspot.com/2016/10/alfresco-aca-51-preparation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/2583503120977550759'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/2583503120977550759'/><link rel='alternate' type='text/html' href='http://alfrescocms.blogspot.com/2016/10/alfresco-aca-51-preparation.html' title='Alfresco ACA 5.1 Preparation'/><author><name>Ghanshyam Rathod</name><uri>http://www.blogger.com/profile/06577556169566692992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji2AaY0aghbCp2S33y3FcydTlZZu48Y6ERp6OiqXke1pX8fpWIHSngTpAUZyuvDAGsuzpjNmI4-4Jb6rdi6ZROKUkZYizJKdNhbBPP8gGCFfaBx13PWkkcxdZEbeSKBw/s113/*'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-395334916920577484.post-1503596435747774972</id><published>2015-03-20T17:33:00.000+05:30</published><updated>2017-11-17T23:04:51.501+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="alfresco 4.2f"/><category scheme="http://www.blogger.com/atom/ns#" term="community"/><category scheme="http://www.blogger.com/atom/ns#" term="startup"/><title type='text'>Alfresco 4.2f community startup problem</title><content type='html'>&lt;a href=&quot;https://paidverts.com/ref/grathod&quot;&gt;&lt;img title=&quot;Join PaidVerts NOW!&quot; alt=&quot;PaidVerts&quot; src=&quot;https://paidverts.com/promo/0_0_1.gif&quot; /&gt;&lt;/a&gt;

&lt;head&gt;
&lt;script type=&quot;text/javascript&quot; language=&quot;javascript&quot;&gt;
      var aax_size=&#39;300x250&#39;;
      var aax_pubname = &#39;ghanshyamr-21&#39;;
      var aax_src=&#39;302&#39;;
    &lt;/script&gt;
    &lt;script type=&quot;text/javascript&quot; language=&quot;javascript&quot; src=&quot;https://c.amazon-adsystem.com/aax2/assoc.js&quot;&gt;&lt;/script&gt;
&lt;/head&gt;

&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Hello Friends,&lt;br /&gt;
&lt;br /&gt;
I installed community alfresco 4.2f and run manually startup.bat file ,&lt;br /&gt;
at that time popup appears and suddenly disappeared.&lt;br /&gt;
&lt;br /&gt;
I setup my JAVA_HOME properly still starage to see this issue. So I found that setenv.bat contains entry which is not proper to starting up the server. I changed it and server starts successfully.&lt;br /&gt;
&lt;br /&gt;
Edit &amp;nbsp;&lt;b&gt;setenv.bat&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;old line&lt;/b&gt;&lt;br /&gt;
set JAVA_OPTS=++JvmOptions=&quot;-XX:-DisableExplicitGC&quot; ++JvmOptions=&quot;-XX:ReservedCodeCacheSize=128m&quot; --JvmMs 128 --JvmMx 768 ++JvmOptions=&quot;-XX:MaxPermSize=256M&quot; %JAVA_OPTS%&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;new line&lt;/b&gt;&lt;br /&gt;
set JAVA_OPTS=%JAVA_OPTS% &amp;nbsp;-Xms128m -Xmx768m -XX:MaxPermSize=256m -XX:-DisableExplicitGC -XX:ReservedCodeCacheSize=128m&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Try to run &amp;nbsp;&lt;b&gt;startup.bat&lt;/b&gt; &amp;nbsp;now.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alfrescocms.blogspot.com/feeds/1503596435747774972/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alfrescocms.blogspot.com/2015/03/alfresco-42f-community-startup-problem.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/1503596435747774972'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/1503596435747774972'/><link rel='alternate' type='text/html' href='http://alfrescocms.blogspot.com/2015/03/alfresco-42f-community-startup-problem.html' title='Alfresco 4.2f community startup problem'/><author><name>Ghanshyam Rathod</name><uri>http://www.blogger.com/profile/06577556169566692992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji2AaY0aghbCp2S33y3FcydTlZZu48Y6ERp6OiqXke1pX8fpWIHSngTpAUZyuvDAGsuzpjNmI4-4Jb6rdi6ZROKUkZYizJKdNhbBPP8gGCFfaBx13PWkkcxdZEbeSKBw/s113/*'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-395334916920577484.post-7595208777702365367</id><published>2014-06-16T11:48:00.002+05:30</published><updated>2015-03-18T21:23:18.280+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="alfresco 4.2"/><category scheme="http://www.blogger.com/atom/ns#" term="repository management"/><title type='text'>Alfresco 4.2x - Administrator Console</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;I could not find out alfresco &quot;&lt;a href=&quot;http://docs.alfresco.com/4.2/topic/com.alfresco.enterprise.doc/concepts/at-adminconsole.html&quot; style=&quot;background-color: white; color: black; font-size: 13px; line-height: 16.00299835205078px; margin: 0px;&quot; target=&quot;new&quot;&gt;Repository Administration Console&lt;/a&gt;&quot; in alfresco so I searched on google and from somewhere I am able to figure out URL they provide for repository management.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Alfresco should provide link in documentation atleast.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Here is the link&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;http://localhost:8080/alfresco/service/enterprise/admin/admin-systemsummary&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Ghanshyam Rathod&lt;/span&gt;&lt;br /&gt;

&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alfrescocms.blogspot.com/feeds/7595208777702365367/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alfrescocms.blogspot.com/2014/06/alfresco-42x-administrator-console.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/7595208777702365367'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/7595208777702365367'/><link rel='alternate' type='text/html' href='http://alfrescocms.blogspot.com/2014/06/alfresco-42x-administrator-console.html' title='Alfresco 4.2x - Administrator Console'/><author><name>Ghanshyam Rathod</name><uri>http://www.blogger.com/profile/06577556169566692992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji2AaY0aghbCp2S33y3FcydTlZZu48Y6ERp6OiqXke1pX8fpWIHSngTpAUZyuvDAGsuzpjNmI4-4Jb6rdi6ZROKUkZYizJKdNhbBPP8gGCFfaBx13PWkkcxdZEbeSKBw/s113/*'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-395334916920577484.post-7840473173820964743</id><published>2014-05-27T14:58:00.000+05:30</published><updated>2015-03-18T21:23:37.968+05:30</updated><title type='text'>Adding new alfresco 4.x theme</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;When we want to create our own custom theme in alfresco we need to modify only few things.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;I tried using alfresco 4.2.x&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;b&gt;#1. &amp;nbsp;Go to below location and add your new theme.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&amp;lt;alfresco_home&amp;gt;\tomcat\webapps\share\WEB-INF\classes\alfresco\site-data\themes&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;or&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&amp;lt;alfresco_home&amp;gt;\tomcat\shared\classes\alfresco\web-extension\site-data\themes&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;b&gt;#2. Copy Existing Theme and modify them.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&amp;lt;alfresco_home&amp;gt;\tomcat\webapps\share\themes&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Modify all css / images accordingly.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Thats it....!!!&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alfrescocms.blogspot.com/feeds/7840473173820964743/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alfrescocms.blogspot.com/2014/05/adding-new-alfresco-4x-theme.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/7840473173820964743'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/7840473173820964743'/><link rel='alternate' type='text/html' href='http://alfrescocms.blogspot.com/2014/05/adding-new-alfresco-4x-theme.html' title='Adding new alfresco 4.x theme'/><author><name>Ghanshyam Rathod</name><uri>http://www.blogger.com/profile/06577556169566692992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji2AaY0aghbCp2S33y3FcydTlZZu48Y6ERp6OiqXke1pX8fpWIHSngTpAUZyuvDAGsuzpjNmI4-4Jb6rdi6ZROKUkZYizJKdNhbBPP8gGCFfaBx13PWkkcxdZEbeSKBw/s113/*'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-395334916920577484.post-7351363758346697310</id><published>2014-05-22T14:49:00.002+05:30</published><updated>2015-03-18T21:23:50.776+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="alfresco 4.x"/><title type='text'>Remove welcome dashlet widget in alfresco share 4.x</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Many of us do not prefer welcome widget on home page.&lt;br /&gt;
We will show you way to remove this widget/dashlet on alfresco 4.x version&lt;br /&gt;
&lt;br /&gt;
welcome dashlet looks like below&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhh92WLaie1fP-cvL1RfQd1ilZsBonALyAgKdinURk1yMC0oBs63gcEodbaWfnzmj7KUukOeRE76gAZHUrWsPnybBWQR_Mvr3ia2TPNVCxk1s9Sdr4P3XUprfCq_MudmhHDRztwmuD18k/s1600/welcome.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhh92WLaie1fP-cvL1RfQd1ilZsBonALyAgKdinURk1yMC0oBs63gcEodbaWfnzmj7KUukOeRE76gAZHUrWsPnybBWQR_Mvr3ia2TPNVCxk1s9Sdr4P3XUprfCq_MudmhHDRztwmuD18k/s1600/welcome.png&quot; height=&quot;63&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Go and edit following file :&lt;br /&gt;
&lt;br /&gt;
#step:1&lt;br /&gt;
&lt;div&gt;
&lt;pre class=&quot;xml&quot; name=&quot;code&quot;&gt;&amp;lt;alfresco_home&amp;gt;/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/dashlets/dynamic-welcome.get.html.ftl&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
#step:2&lt;br /&gt;
open file and find condition&lt;br /&gt;
&lt;pre class=&quot;xml&quot; name=&quot;code&quot;&gt;&amp;lt;#if showDashlet&amp;gt;&lt;/pre&gt;
&lt;br /&gt;
#step:3 &lt;br /&gt;
&lt;pre class=&quot;xml&quot; name=&quot;code&quot;&gt;make it &amp;lt;#if false&amp;gt;&lt;/pre&gt;
&lt;br /&gt;
#step:4&lt;br /&gt;
refresh share side webscript&lt;br /&gt;
&lt;br /&gt;
#step:5&lt;br /&gt;
refresh alfresco share page for dashlet (it now disappear)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ghanshyam Rathod&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alfrescocms.blogspot.com/feeds/7351363758346697310/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alfrescocms.blogspot.com/2014/05/remove-welcome-dashlet-widget-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/7351363758346697310'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/7351363758346697310'/><link rel='alternate' type='text/html' href='http://alfrescocms.blogspot.com/2014/05/remove-welcome-dashlet-widget-in.html' title='Remove welcome dashlet widget in alfresco share 4.x'/><author><name>Ghanshyam Rathod</name><uri>http://www.blogger.com/profile/06577556169566692992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji2AaY0aghbCp2S33y3FcydTlZZu48Y6ERp6OiqXke1pX8fpWIHSngTpAUZyuvDAGsuzpjNmI4-4Jb6rdi6ZROKUkZYizJKdNhbBPP8gGCFfaBx13PWkkcxdZEbeSKBw/s113/*'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhh92WLaie1fP-cvL1RfQd1ilZsBonALyAgKdinURk1yMC0oBs63gcEodbaWfnzmj7KUukOeRE76gAZHUrWsPnybBWQR_Mvr3ia2TPNVCxk1s9Sdr4P3XUprfCq_MudmhHDRztwmuD18k/s72-c/welcome.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-395334916920577484.post-2752451753640750419</id><published>2014-04-23T13:56:00.001+05:30</published><updated>2017-03-07T16:50:59.201+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="alfresco"/><category scheme="http://www.blogger.com/atom/ns#" term="solr"/><title type='text'>Reindexing solr on Alfresco 4.x</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
In certain condition we are not getting our nodes are in sync or while searching node are not appear in search. This is due to non-indexed nodes.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Re-index required to index those nodes.&lt;/div&gt;
&lt;div&gt;
Here are few steps you can consider to re-index solr.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Note: Here I assume you have single machine on which alfresco and solr running on same server.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;#1 : First confirm solr core directories&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
you can find&amp;nbsp;&lt;u&gt;archive-SpacesStore&lt;/u&gt; and &lt;u&gt;workspace-SpacesStore&lt;/u&gt; core directories.&lt;br /&gt;
you can determine location using &lt;u&gt;solrcore.properties&lt;/u&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This properties file mostly in following location:&lt;br /&gt;
&amp;lt;alf_home&amp;gt;\alf_data\solr\workspace-SpacesStore\conf&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: monospace; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;#2 : Stop alfresco server&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;#3 : Delete the contents in following directories&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - &amp;lt;&lt;/b&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: monospace; font-size: 15px;&quot;&gt;alf_home&amp;gt;\alf_data\solr\workspace\SpacesStore&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: monospace; font-size: 15px;&quot;&gt;&amp;nbsp; &amp;nbsp;- &amp;lt;alf_home&amp;gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: monospace; font-size: 15px;&quot;&gt;\alf_data\solr\archive\SpacesStore&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: monospace; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;#4 : Delete the models in following directories&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;- &lt;/b&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: monospace; font-size: 15px;&quot;&gt;&amp;lt;alf_home&amp;gt;\alf_data\solr\workspace-SpacesStore\alfrescoModels&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: monospace; font-size: 15px;&quot;&gt;&amp;nbsp; - &amp;lt;alf_home&amp;gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: monospace; font-size: 15px;&quot;&gt;\alf_data\solr\archive-SpacesStore\alfrescoModels&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: monospace; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: monospace; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;#5 : Restart Alfresco/solr&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: monospace; font-size: 15px;&quot;&gt;&amp;nbsp; &amp;nbsp;- Start alfresco server which is having solr server&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: monospace; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: monospace; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: monospace; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: monospace; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alfrescocms.blogspot.com/feeds/2752451753640750419/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alfrescocms.blogspot.com/2014/04/reindexing-solr-on-alfresco.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/2752451753640750419'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/2752451753640750419'/><link rel='alternate' type='text/html' href='http://alfrescocms.blogspot.com/2014/04/reindexing-solr-on-alfresco.html' title='Reindexing solr on Alfresco 4.x'/><author><name>Ghanshyam Rathod</name><uri>http://www.blogger.com/profile/06577556169566692992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji2AaY0aghbCp2S33y3FcydTlZZu48Y6ERp6OiqXke1pX8fpWIHSngTpAUZyuvDAGsuzpjNmI4-4Jb6rdi6ZROKUkZYizJKdNhbBPP8gGCFfaBx13PWkkcxdZEbeSKBw/s113/*'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-395334916920577484.post-1611476795264324796</id><published>2014-04-22T14:24:00.001+05:30</published><updated>2015-03-18T21:31:09.704+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="action"/><category scheme="http://www.blogger.com/atom/ns#" term="alfresco"/><category scheme="http://www.blogger.com/atom/ns#" term="custom rule"/><category scheme="http://www.blogger.com/atom/ns#" term="rule"/><title type='text'>Custom Rule - Alfresco</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
Custom rule is necessary when we want to perform our custom action based on content entry/update/deletion action.&lt;br /&gt;
&lt;br /&gt;
When specific content enters into space, we will perform our custom action on it.&lt;br /&gt;
e.g. ranaming file/allow only specific type of files etc. etc.&lt;br /&gt;
&lt;br /&gt;
Lets have steps to create custom rule&lt;br /&gt;
I have used alfresco 4.2.x version.&lt;br /&gt;
&lt;br /&gt;
#1) context file [custom-rule-context.xml]&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;xml&quot; name=&quot;code&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;

&amp;lt;!DOCTYPE beans PUBLIC &#39;-//SPRING//DTD BEAN//EN&#39; &#39;http://www.springframework.org/dtd/spring-beans.dtd&#39;&amp;gt;
&amp;lt;beans&amp;gt;
&amp;lt;bean id=&quot;custom-rule-executer&quot; class=&quot;com.example.alfresco.repo.action.CustomRuleExecutor&quot; parent=&quot;action-executer&quot;&amp;gt;
&amp;lt;property name=&quot;nodeService&quot;&amp;gt;
&amp;lt;ref bean=&quot;NodeService&quot; /&amp;gt;
&amp;lt;/property&amp;gt; 
&amp;lt;property name=&quot;fileFolderService&quot;&amp;gt;
&amp;lt;ref bean=&quot;fileFolderService&quot;/&amp;gt;
&amp;lt;/property&amp;gt;
&amp;lt;/bean&amp;gt;

&amp;lt;bean id=&quot;custom-rule-executer-messages&quot; class=&quot;org.alfresco.i18n.ResourceBundleBootstrapComponent&quot;&amp;gt;
&amp;lt;property name=&quot;resourceBundles&quot;&amp;gt;
&amp;lt;list&amp;gt;
&amp;lt;value&amp;gt;alfresco.extension.custom-rule-messages&amp;lt;/value&amp;gt;
&amp;lt;/list&amp;gt;
&amp;lt;/property&amp;gt;
&amp;lt;/bean&amp;gt;
&amp;lt;/beans&amp;gt;





&lt;/pre&gt;
#2) Properties File [custom-rule-messages.properties]&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;xml&quot; name=&quot;code&quot;&gt;custom-rule-executer.title=My Custom Rule.

custom-rule-executer.description=This action will allow Custom Rule files.

custom-rule-executer.param_tags.display-label=My Custom Rule files.

&lt;/pre&gt;
&lt;br /&gt;
#3) Custom Rule class [CustomRuleExecutor.java]&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;java&quot; name=&quot;code&quot;&gt;public class CustomRuleExecutor extends ActionExecuterAbstractBase {

 Logger logger = Logger.getLogger(CustomRuleExecutor.class);
 private NodeService nodeService;
 private FileFolderService fileFolderService;

@Override
 protected void executeImpl(Action action, NodeRef addedFile) {
try {

  //add your code here for custom action
} catch (InvalidNodeRefException ine) {
 logger.error(&quot;### Node Invalid&quot;);
 throw ine;
 } catch (FileExistsException e) {
 e.printStackTrace();
 
 } catch (FileNotFoundException e1) {
 e1.printStackTrace();
 
 }
}
 @Override
 protected void addParameterDefinitions(List&amp;lt;ParameterDefinition&amp;gt; arg0) {

 }
 public NodeService getNodeService() {
 return nodeService;
 }
 public void setNodeService(NodeService nodeService) {
 this.nodeService = nodeService;
 }


 public FileFolderService getFileFolderService() {
 return fileFolderService;
 }

 public void setFileFolderService(FileFolderService fileFolderService) {
 this.fileFolderService = fileFolderService;
 }
}&lt;/pre&gt;
Place context file and properties file in /tomcat/shared/classes/alfresco/extension  folder  and
&lt;br /&gt;
restart alfresco
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===============&lt;br /&gt;
Ghanshyam &amp;nbsp;Rathod&lt;br /&gt;
&lt;br /&gt;
India&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alfrescocms.blogspot.com/feeds/1611476795264324796/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alfrescocms.blogspot.com/2014/04/custom-rule-alfresco.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/1611476795264324796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/1611476795264324796'/><link rel='alternate' type='text/html' href='http://alfrescocms.blogspot.com/2014/04/custom-rule-alfresco.html' title='Custom Rule - Alfresco'/><author><name>Ghanshyam Rathod</name><uri>http://www.blogger.com/profile/06577556169566692992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji2AaY0aghbCp2S33y3FcydTlZZu48Y6ERp6OiqXke1pX8fpWIHSngTpAUZyuvDAGsuzpjNmI4-4Jb6rdi6ZROKUkZYizJKdNhbBPP8gGCFfaBx13PWkkcxdZEbeSKBw/s113/*'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-395334916920577484.post-967875728508977219</id><published>2014-04-07T12:24:00.002+05:30</published><updated>2014-04-22T17:47:27.506+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="alfresco 4.2"/><category scheme="http://www.blogger.com/atom/ns#" term="CIFS"/><category scheme="http://www.blogger.com/atom/ns#" term="mapping"/><category scheme="http://www.blogger.com/atom/ns#" term="SMB"/><title type='text'>CIFS on windows 7</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;You face problem like Your cifs working fine with Windows XP machines but not properly in Windows 7 .&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;b&gt;Note&lt;/b&gt;: After reading many blogs having registry edits and other configuration, I found this way is somewhat fine to me. So posting it but could not explain this reason for this. May be CIFS binding name is mapped like this way.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Here are the few steps you can try to enable CIFS on windows 7 machines.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;b&gt;1. Get your computer name&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;for windows machine you can open command prompt and type &quot;set&quot; command.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;find computer name.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; e.g &amp;nbsp;COMPUTERNAME = XYZMACHINE&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;b&gt;2. APPEND CIFS PARAM to Computer Name&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;In our case letter &quot;A&quot; we are appending to this name&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;e.g. &amp;nbsp; XYZMACHINEA&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;3. Make entry in hosts file&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; open hosts file from C:\Windows\System32\drivers\etc\&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; use some unused IP like below entry :&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 13.13.13.13&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;XYZMACHINEA&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;4. Restart and Map alfresco with CIFS&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt; &amp;nbsp; &amp;nbsp;e.g. &amp;nbsp;\\XYZMACHINEA\Alfresco&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;==========================&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Ghanshyam Rathod&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;CIGNEX Datamatics Pvt Ltd.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;India&lt;/b&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alfrescocms.blogspot.com/feeds/967875728508977219/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alfrescocms.blogspot.com/2014/04/cifs-on-windows-7.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/967875728508977219'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/967875728508977219'/><link rel='alternate' type='text/html' href='http://alfrescocms.blogspot.com/2014/04/cifs-on-windows-7.html' title='CIFS on windows 7'/><author><name>Ghanshyam Rathod</name><uri>http://www.blogger.com/profile/06577556169566692992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji2AaY0aghbCp2S33y3FcydTlZZu48Y6ERp6OiqXke1pX8fpWIHSngTpAUZyuvDAGsuzpjNmI4-4Jb6rdi6ZROKUkZYizJKdNhbBPP8gGCFfaBx13PWkkcxdZEbeSKBw/s113/*'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-395334916920577484.post-8125783159219766700</id><published>2014-04-03T14:00:00.002+05:30</published><updated>2014-04-22T17:47:57.436+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="alfresco"/><category scheme="http://www.blogger.com/atom/ns#" term="inbound"/><title type='text'>Configure Alfresco Inbound Email in local machine</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Alfresco
Inbound Email Configuration&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;When
you want your email client send email directly to the alfresco, here
is the inbound alfresco configuration.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Email
client will connect to IMAP and SMTP server of alfresco itself and
then put that email into specified space of alfresco. You know that
alfresco acts as a IMAP and SMTP server as well.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;I
am using alfresco 4.2.1 (Lastest version as of now) on my local machine.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Lets
start configure it :&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Step
1 :  &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Best
practice is not to override original alfresco files, &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;we
will use &lt;span style=&quot;color: maroon;&quot;&gt;&lt;i&gt;alfresco-global.properties&lt;/i&gt;&lt;/span&gt;
file.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;location
: &amp;lt;alfresco_home&amp;gt;/tomcat/shared/classes&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;###
Inbound setting ###&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;email.inbound.unknownUser=anonymous
&lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;email.inbound.enabled=true&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;email.server.enabled=true&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;email.server.port=25&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;email.server.domain=cignexindia.com&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;email.server.allowed.senders=.*&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;###IMAP
Configuration###&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;imap.server.enabled=true&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;imap.server.port=143&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;imap.server.host=localhost&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;###
Outbound Email Configuration ###&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;mail.host=&amp;lt;your_smtp_server&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;mail.port=25&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;mail.username=&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;mail.password=&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;#####
Test SMTP setup ###&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;mail.testmessage.send=true&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;mail.testmessage.to=&amp;lt;test_email_to_send&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;mail.testmessage.subject=Outbound
SMTP&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;mail.testmessage.text=The
Outbound SMTP email subsystem is working.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;I
am not explaining above properties as it is already mentioned in the
forums/post/wiki.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Step
2 : Creating domain in host file&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Open
following file in your window&#39;s file system  &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: maroon;&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;i&gt;hosts&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;location
: C:\Windows\System32\drivers\etc&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Add
following entry :&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt; 127.0.0.1 cignexindia.com&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;save
file and close it.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;b&gt;Note&lt;/b&gt;
: This domain name can not be anything it should be your system domain only.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Step
3 : Configure Alfresco&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Start
Alfresco server and create users&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;e.g.
Fred (username = fred)     email = fred@cignexindia.com&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Inbox
(username = inbox)  email = inbox@cignexindia.com&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;admin(username =
admin) email = &lt;a href=&quot;mailto:admin@cignexindia.com&quot;&gt;admin@cignexindia.com&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;e.g. &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifnhX2CdxtFzPxLTZ2hC4wRwEMrrTwy1fLjKmFDqe9Uysq4zpDkkI8vj6iLp33Dk2nG4yxvywNy_MjOTQWiEAF7XoXLC_Oe-faTU-hw7YXIv_8ScAhHNaxSj_HBx3ZMmdI0FMlSpNmRrY/s1600/1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifnhX2CdxtFzPxLTZ2hC4wRwEMrrTwy1fLjKmFDqe9Uysq4zpDkkI8vj6iLp33Dk2nG4yxvywNy_MjOTQWiEAF7XoXLC_Oe-faTU-hw7YXIv_8ScAhHNaxSj_HBx3ZMmdI0FMlSpNmRrY/s1600/1.png&quot; height=&quot;122&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;After
creating sample users as above, add those users to EMAIL_CONTRIBUTORS
group in alfresco.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;e.g
&lt;/span&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvxeCMlBCsuGwxrqvKbpnpDHG3kHSS6NhGvRuNAadfIowIJeH-E33sQ0lOnwRFQqdQo1ObuvH-rizDTMwX52EUB4jD5cVLxg4Rob6aoyu9XdfIVo8z6qloFY-lOEvqPNQs749VkoEnh5k/s1600/2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvxeCMlBCsuGwxrqvKbpnpDHG3kHSS6NhGvRuNAadfIowIJeH-E33sQ0lOnwRFQqdQo1ObuvH-rizDTMwX52EUB4jD5cVLxg4Rob6aoyu9XdfIVo8z6qloFY-lOEvqPNQs749VkoEnh5k/s1600/2.png&quot; height=&quot;95&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Go
to Company Home space, create Folder (Space) named “Inbound”&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Apply
Email Alias (Aspect) to it via Run Action&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Give
alias as “fred” as per our example.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Fred
is existed user in alfresco.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;b&gt;Note :&amp;nbsp; Email alias you should provide is exactly same as email id of user before &quot;@&amp;lt;domain&amp;gt;&quot;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;e.g&amp;nbsp; fred is alias then email id of fred in alfresco is fred@cignexindia.com&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Step
4 : Open Mozilla Thunderbird and Configure it&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;We
need to enable IMAP and SMTP on thunderbird to work with Inbound.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;As
we already activated IMAP and SMTP server in&lt;/span&gt;
&lt;span style=&quot;color: maroon;&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;i&gt;alfresco-global.properties&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
 file&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;e.g.
   &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Configure
new Email account &amp;lt;IMAP&amp;gt; in thunderbird, &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;In
screenshot you can see, we have used user “fred” which is already
there in alfresco and giving domain cignexindia.com as we specified
in &lt;span style=&quot;color: maroon;&quot;&gt;&lt;i&gt;alfresco-global.properties&lt;/i&gt;&lt;/span&gt;
file.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjugp3L8PHQBYk3Szkpzpuiul06krPIiaz_73k6CUOFehfSyhN6RnRtG-hgf6I3DVZ0vusxk1e0AegE6kiIEuyiX7nMdwbIesKNa03VMNxQFsjhhSWpS3kkeI_s8qXKER0z4VbcwKu47o/s1600/3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjugp3L8PHQBYk3Szkpzpuiul06krPIiaz_73k6CUOFehfSyhN6RnRtG-hgf6I3DVZ0vusxk1e0AegE6kiIEuyiX7nMdwbIesKNa03VMNxQFsjhhSWpS3kkeI_s8qXKER0z4VbcwKu47o/s1600/3.png&quot; height=&quot;320&quot; width=&quot;261&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Then
configure local SMTP server, alfresco already act as a SMTP server ,
so we just need to give our local alfresco to point out on 25
port.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;You
can configure in thunderbird by following way :&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Open
 “Account Setting”&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Select
 “Outgoing server (SMTP)&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Click
 Add&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;It
looks like below :&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRVxpNZxcBs9VnTrMS7H339YCE0H0ur42g6ZBX4NIX-MjHebQSz4ti6vCHOUqX37GHa2x3Hz4zvkqnyAWrTNUbxXk5AtZ37qVP_H-6W_ncHeNzhaAvEsBLfIM0ghW1mzPw2qJtXyHkhlw/s1600/4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRVxpNZxcBs9VnTrMS7H339YCE0H0ur42g6ZBX4NIX-MjHebQSz4ti6vCHOUqX37GHa2x3Hz4zvkqnyAWrTNUbxXk5AtZ37qVP_H-6W_ncHeNzhaAvEsBLfIM0ghW1mzPw2qJtXyHkhlw/s1600/4.png&quot; height=&quot;177&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Now
you are configured properly for Inbound on mozilla thunderbird.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;You
can see now thunderbird shows alfresco repository in its email client
like below :&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDDwJKeSOkYZWQLiAuKXvXKi9nXW9izlttF9e8iaoSg4ju6xe-hzl5NYlA1vH5qWNwOu0J8ywQT9UVdoNPRYcfX-0AsGj6u6hV-Czv8G5a3U8AWQNuw3RlqWPgMR-EdW4K0paAJJw3LX0/s1600/5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDDwJKeSOkYZWQLiAuKXvXKi9nXW9izlttF9e8iaoSg4ju6xe-hzl5NYlA1vH5qWNwOu0J8ywQT9UVdoNPRYcfX-0AsGj6u6hV-Czv8G5a3U8AWQNuw3RlqWPgMR-EdW4K0paAJJw3LX0/s1600/5.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Step
5 : Send email from this IMAP account like below&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;  &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidgt-MfO4mCJPR4YheEBbAX28nLlN-nsZudhwqGO-WAzUSfZkmgEQ_zHNvBPBtycZ6RXV20UfzEB8CIzwxKFnqJWtOoJuTeAePVjLZYlgg4VEfyrMUdNg8uHfMtplT33Co4271uDDCiSM/s1600/6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidgt-MfO4mCJPR4YheEBbAX28nLlN-nsZudhwqGO-WAzUSfZkmgEQ_zHNvBPBtycZ6RXV20UfzEB8CIzwxKFnqJWtOoJuTeAePVjLZYlgg4VEfyrMUdNg8uHfMtplT33Co4271uDDCiSM/s1600/6.png&quot; height=&quot;137&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;  &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;When
you see your email comes in your configured space.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio4BEZnnzzAprmXb3MYVEX7QfnhXsTMSkc-9P57rLGmRLCLLguNxCVm_Z6AyurSjwTuZnq0iRWAMUmSJgt6fD-ABcFf0m1oGqpQqCWNMYwL9IMbW-IAp8oksAky3AsWZZhVA7XrP_FazI/s1600/7.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio4BEZnnzzAprmXb3MYVEX7QfnhXsTMSkc-9P57rLGmRLCLLguNxCVm_Z6AyurSjwTuZnq0iRWAMUmSJgt6fD-ABcFf0m1oGqpQqCWNMYwL9IMbW-IAp8oksAky3AsWZZhVA7XrP_FazI/s1600/7.png&quot; height=&quot;156&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;==================================&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Ghanshyam Rathod&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;CIGNEX Datamatics Pvt Ltd.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;India&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alfrescocms.blogspot.com/feeds/8125783159219766700/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alfrescocms.blogspot.com/2014/04/configure-alfresco-inbound-email-in.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/8125783159219766700'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/8125783159219766700'/><link rel='alternate' type='text/html' href='http://alfrescocms.blogspot.com/2014/04/configure-alfresco-inbound-email-in.html' title='Configure Alfresco Inbound Email in local machine'/><author><name>Ghanshyam Rathod</name><uri>http://www.blogger.com/profile/06577556169566692992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji2AaY0aghbCp2S33y3FcydTlZZu48Y6ERp6OiqXke1pX8fpWIHSngTpAUZyuvDAGsuzpjNmI4-4Jb6rdi6ZROKUkZYizJKdNhbBPP8gGCFfaBx13PWkkcxdZEbeSKBw/s113/*'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifnhX2CdxtFzPxLTZ2hC4wRwEMrrTwy1fLjKmFDqe9Uysq4zpDkkI8vj6iLp33Dk2nG4yxvywNy_MjOTQWiEAF7XoXLC_Oe-faTU-hw7YXIv_8ScAhHNaxSj_HBx3ZMmdI0FMlSpNmRrY/s72-c/1.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-395334916920577484.post-480573931205155685</id><published>2013-12-26T10:55:00.000+05:30</published><updated>2013-12-26T10:55:26.712+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="noderef"/><title type='text'>Creating new nodeRef - Alfresco API</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;&lt;br /&gt;Sometime we need to create alfresco node and need to proceed that node. We can create alfresco node but for that we need store to choose, in which store that node will store its content.&lt;br /&gt;&lt;br /&gt;e.g. &lt;br /&gt;&lt;pre class=&quot;java&quot; name=&quot;code&quot;&gt;StoreRef storeRef = new StoreRef(StoreRef.PROTOCOL_WORKSPACE, &quot;SpacesStore&quot;);&lt;br /&gt;NodeRef nodeRef = new NodeRef(storeRef, &quot;f8785545-beb0-4e4c-aedc-72a8db70bb30&quot;);&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Here we used &quot;SpacesStore&quot; as the alfresco store area.&lt;br /&gt;&lt;br /&gt;&lt;div&gt;
We can have following stores available :&lt;br /&gt;archive://SpacesStore&lt;br /&gt;system://system&lt;br /&gt;user://alfrescoUserStore&lt;br /&gt;workspace://lightWeightVersionStore&lt;br /&gt;workspace://SpacesStore&lt;br /&gt;workspace://version2Store&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alfrescocms.blogspot.com/feeds/480573931205155685/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alfrescocms.blogspot.com/2013/12/creating-new-noderef-alfresco-api.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/480573931205155685'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/480573931205155685'/><link rel='alternate' type='text/html' href='http://alfrescocms.blogspot.com/2013/12/creating-new-noderef-alfresco-api.html' title='Creating new nodeRef - Alfresco API'/><author><name>Ghanshyam Rathod</name><uri>http://www.blogger.com/profile/06577556169566692992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji2AaY0aghbCp2S33y3FcydTlZZu48Y6ERp6OiqXke1pX8fpWIHSngTpAUZyuvDAGsuzpjNmI4-4Jb6rdi6ZROKUkZYizJKdNhbBPP8gGCFfaBx13PWkkcxdZEbeSKBw/s113/*'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-395334916920577484.post-2996443704408084387</id><published>2013-07-26T12:51:00.003+05:30</published><updated>2013-07-26T13:01:14.900+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="alfresco"/><category scheme="http://www.blogger.com/atom/ns#" term="email"/><title type='text'>Sending email with attachment</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Sending email with attachment useful snippets :&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Note: File is used to attach. If you are using nodeRef then you need to read those content and write to some file.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
we are using &amp;lt;org.springframework.mail.javamail.&lt;b&gt;JavaMailSender&lt;/b&gt;&amp;gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre class=&quot;java&quot; name=&quot;code&quot;&gt;public void sendEmailWithAttachmentToListUsers(String from, List&amp;lt;String&amp;gt; emails, String subject, String body, String report_name, File fileObj) {
try
 {
 MimeMessage mimeMessage = mailSender.createMimeMessage();
 MimeMessageHelper helper = new MimeMessageHelper(mimeMessage,true); 
 helper.setSubject(subject);
 helper.setText(body,true);
 helper.setFrom(new InternetAddress(from));
 helper.setTo(getAddresses(emails));
 //add attachment
 FileSystemResource file = new FileSystemResource(fileObj.getAbsolutePath());
 helper.addAttachment(report_name + &quot;.zip&quot;, file);
 mailSender.send(mimeMessage);
 logger.debug(&quot;## Email sent to -&amp;gt; &quot;+ emails);
 }
 catch(MessagingException me)
 {
 logger.error(me);
}
}&lt;/pre&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
//Method getAddresses&lt;/div&gt;
&lt;pre class=&quot;java&quot; name=&quot;code&quot;&gt;private static InternetAddress[] getAddresses(List&amp;lt;String&amp;gt; emailIds)
 {
   InternetAddress[] toAddresses = new InternetAddress[emailIds.size()];
 try
 { 
   for(int i=0; i&amp;lt;emailIds.size();i++ )
 {
    toAddresses[i] = new InternetAddress(emailIds.get(i));
 }
}
 catch(AddressException ae)
 {
 logger.error(ae);
 }
 return toAddresses;
}&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alfrescocms.blogspot.com/feeds/2996443704408084387/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alfrescocms.blogspot.com/2013/07/sending-email-with-attachment.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/2996443704408084387'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/2996443704408084387'/><link rel='alternate' type='text/html' href='http://alfrescocms.blogspot.com/2013/07/sending-email-with-attachment.html' title='Sending email with attachment'/><author><name>Ghanshyam Rathod</name><uri>http://www.blogger.com/profile/06577556169566692992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji2AaY0aghbCp2S33y3FcydTlZZu48Y6ERp6OiqXke1pX8fpWIHSngTpAUZyuvDAGsuzpjNmI4-4Jb6rdi6ZROKUkZYizJKdNhbBPP8gGCFfaBx13PWkkcxdZEbeSKBw/s113/*'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-395334916920577484.post-7423827817665133347</id><published>2013-07-26T12:20:00.002+05:30</published><updated>2013-07-26T12:21:35.080+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="alfresco"/><category scheme="http://www.blogger.com/atom/ns#" term="noderef"/><title type='text'>Getting nodeRef via resolveNamePath</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Another way using we can get nodeRef of the content / folder in alfresco.&lt;br /&gt;
&lt;br /&gt;
e.g If we have folder structure in DM is like below :&lt;br /&gt;
&lt;b&gt;Company Home &amp;gt; Project &amp;gt; Draft &amp;gt; Account &amp;gt; Order&lt;/b&gt;&lt;br /&gt;
and we want nodeRef of Order folder we can get like below :&lt;br /&gt;
&lt;br /&gt;
//Normal class&lt;br /&gt;
&lt;pre class=&quot;java&quot; name=&quot;code&quot;&gt;private NodeRef getOrderNodeRef() {

try {

NodeRef companyHomeRef = repoHelper.getCompanyHome();

List&amp;lt;String&amp;gt; pathElements = MyUtility.getOrderPathElements();

FileInfo info = this.getFileFolderService().resolveNamePath(companyHomeRef, pathElements);

return info.getNodeRef();

} catch (FileNotFoundException e)


&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;e.printStackTrace();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;
}
&lt;/pre&gt;
//MyUtility class&lt;/div&gt;
&lt;pre class=&quot;java&quot; name=&quot;code&quot;&gt;public static List&amp;lt;String&amp;gt;&amp;nbsp;getOrderPathElements() {

List&amp;lt;String&amp;gt; pathElements = new ArrayList&amp;lt;String&amp;gt;();

pathElements.add(COSTANT_FOLDER_PROJECT);

pathElements.add(COSTANT_FOLDER_DRAFT);

pathElements.add(COSTANT_FOLDER_ACCOUNT);

pathElements.add(COSTANT_ORDERS_FOLDER_ORDER);

return pathElements;

}&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alfrescocms.blogspot.com/feeds/7423827817665133347/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alfrescocms.blogspot.com/2013/07/getting-noderef-via-resolvenamepath.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/7423827817665133347'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/7423827817665133347'/><link rel='alternate' type='text/html' href='http://alfrescocms.blogspot.com/2013/07/getting-noderef-via-resolvenamepath.html' title='Getting nodeRef via resolveNamePath'/><author><name>Ghanshyam Rathod</name><uri>http://www.blogger.com/profile/06577556169566692992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji2AaY0aghbCp2S33y3FcydTlZZu48Y6ERp6OiqXke1pX8fpWIHSngTpAUZyuvDAGsuzpjNmI4-4Jb6rdi6ZROKUkZYizJKdNhbBPP8gGCFfaBx13PWkkcxdZEbeSKBw/s113/*'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-395334916920577484.post-6386748317575179939</id><published>2013-07-26T12:06:00.001+05:30</published><updated>2013-07-26T12:07:10.160+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="alfresco"/><category scheme="http://www.blogger.com/atom/ns#" term="noderef"/><title type='text'>Getting parent nodeRef in alfresco</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;&lt;br /&gt;Sometime we require to populate nodes and require parent nodeRef of the given node.&lt;br /&gt;Following snippet will help us to get the parent nodeRef :&lt;br /&gt;&lt;pre class=&quot;java&quot; name=&quot;code&quot;&gt;&lt;br /&gt;NodeRef titleRef = getNodeService().getPrimaryParent(contentXMLNodeRef).getParentRef();&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;hope this helps !&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alfrescocms.blogspot.com/feeds/6386748317575179939/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alfrescocms.blogspot.com/2013/07/getting-parent-noderef-in-alfresco.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/6386748317575179939'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/6386748317575179939'/><link rel='alternate' type='text/html' href='http://alfrescocms.blogspot.com/2013/07/getting-parent-noderef-in-alfresco.html' title='Getting parent nodeRef in alfresco'/><author><name>Ghanshyam Rathod</name><uri>http://www.blogger.com/profile/06577556169566692992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji2AaY0aghbCp2S33y3FcydTlZZu48Y6ERp6OiqXke1pX8fpWIHSngTpAUZyuvDAGsuzpjNmI4-4Jb6rdi6ZROKUkZYizJKdNhbBPP8gGCFfaBx13PWkkcxdZEbeSKBw/s113/*'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-395334916920577484.post-4936964218716501545</id><published>2013-05-29T16:39:00.001+05:30</published><updated>2013-05-29T16:39:15.191+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="archieve"/><title type='text'>Remove node or content without archieve it</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Sometime we need to remove content permanant.&lt;br /&gt;
system model provide aspect called temporary, please apply it before delete node.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;xml&quot; name=&quot;code&quot;&gt;node.addAspect(&quot;sys:temporary&quot;);
logger.log(&quot;Aspect sys:temporary added.&quot;);
flag = node.remove();
logger.log(&quot;node removed (&quot;+ flag +&quot;)&quot;);&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alfrescocms.blogspot.com/feeds/4936964218716501545/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alfrescocms.blogspot.com/2013/05/remove-node-or-content-without-archieve.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/4936964218716501545'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/4936964218716501545'/><link rel='alternate' type='text/html' href='http://alfrescocms.blogspot.com/2013/05/remove-node-or-content-without-archieve.html' title='Remove node or content without archieve it'/><author><name>Ghanshyam Rathod</name><uri>http://www.blogger.com/profile/06577556169566692992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji2AaY0aghbCp2S33y3FcydTlZZu48Y6ERp6OiqXke1pX8fpWIHSngTpAUZyuvDAGsuzpjNmI4-4Jb6rdi6ZROKUkZYizJKdNhbBPP8gGCFfaBx13PWkkcxdZEbeSKBw/s113/*'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-395334916920577484.post-2345637647806410808</id><published>2012-08-17T12:41:00.001+05:30</published><updated>2012-08-17T12:41:32.065+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="solr"/><title type='text'>Renew Solr license in alfresco 4.x</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Solr license is going to expire within this week (At the time this blog is written).&lt;br /&gt;
&lt;br /&gt;
To renew it follow below steps :&lt;br /&gt;
&lt;br /&gt;
1) Download file&amp;nbsp;generate_keystores.bat &amp;nbsp;&lt;a href=&quot;https://sites.google.com/site/blogspotgkr/generate_keystores.bat.sample?attredirects=0&amp;amp;d=1&quot;&gt;Download File&lt;/a&gt;&lt;br /&gt;
2) Rename file &amp;nbsp;from &amp;lt;generate_keystores.bat.sample&amp;gt; to &amp;nbsp;&amp;lt;generate_keystores.bat&amp;gt;&lt;br /&gt;
3) Open &amp;lt;generate_keystores.bat&amp;gt; in text editor&lt;br /&gt;
4) Provide proper &amp;lt;ALFRESCO_HOME&amp;gt; path&lt;br /&gt;
5) Run bat file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This will give you message on console like &quot;Certificate update complete&quot;&lt;br /&gt;
Also you need to make entry in alfresco-global.properties like below&lt;br /&gt;
&lt;br /&gt;
dir.keystore=%ALFRESCO_KEYSTORE_HOME%&lt;br /&gt;
&lt;br /&gt;
where&amp;nbsp;ALFRESCO_KEYSTORE_HOME &amp;nbsp;= &amp;nbsp;ALFRESCO_HOME/alf_data/keystore&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://alfrescocms.blogspot.com/feeds/2345637647806410808/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alfrescocms.blogspot.com/2012/08/renew-solr-license-in-alfresco-4x.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/2345637647806410808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/2345637647806410808'/><link rel='alternate' type='text/html' href='http://alfrescocms.blogspot.com/2012/08/renew-solr-license-in-alfresco-4x.html' title='Renew Solr license in alfresco 4.x'/><author><name>Ghanshyam Rathod</name><uri>http://www.blogger.com/profile/06577556169566692992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji2AaY0aghbCp2S33y3FcydTlZZu48Y6ERp6OiqXke1pX8fpWIHSngTpAUZyuvDAGsuzpjNmI4-4Jb6rdi6ZROKUkZYizJKdNhbBPP8gGCFfaBx13PWkkcxdZEbeSKBw/s113/*'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-395334916920577484.post-3214537413015610425</id><published>2012-07-27T15:11:00.000+05:30</published><updated>2012-07-27T15:11:26.294+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="alfresco webscript"/><title type='text'>Creating sample Javabacked webscript</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;
Webscript is widely used in alfresco customization or integration with third party portals to communicate.&lt;br /&gt;
&lt;br /&gt;
Lets create java backed webscript with sample code.&lt;br /&gt;
&lt;br /&gt;
For creating webscript we required following files :&lt;br /&gt;
&lt;br /&gt;
1) Java class ( for java backed webscript which is action class)&lt;br /&gt;
2) Freemarker template&lt;br /&gt;
3) webscript bean entry in content xml file&lt;br /&gt;
&lt;br /&gt;
we will create sample script as an example&lt;br /&gt;
&lt;br /&gt;
1. CustomWebscript.java&lt;br /&gt;&lt;pre class=&quot;java&quot; name=&quot;code&quot;&gt;
&lt;br /&gt;public class CustomWebscript extends DeclarativeWebScript&lt;br /&gt; {&lt;br /&gt; @Override&lt;br /&gt; protected Map&amp;lt;String, Object&amp;gt; executeImpl(final WebScriptRequest req, final Status status, final Cache cache) {&lt;br /&gt; Map&amp;lt;String,Object&amp;gt; model;&lt;br /&gt; model = new HashMap&amp;lt;String,Object&amp;gt;();&lt;br /&gt; // final processing object should be placed in result&lt;br /&gt; model.put(&quot;result&quot;,&quot;myfinalResultObject&quot;);&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;
&lt;br /&gt;
2. Descriptor and Freemarker&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; customContent.get.desc.xml&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;xml&quot; name=&quot;code&quot;&gt;&amp;lt;webscript&amp;gt;

&amp;nbsp; &amp;lt;shortname&amp;gt;Custom Contents&amp;lt;/shortname&amp;gt;

&amp;nbsp; &amp;lt;description&amp;gt;Get Custom Contents&amp;lt;/description&amp;gt;

&amp;nbsp; &amp;lt;url&amp;gt;/getCustomContents&amp;lt;/url&amp;gt;

&amp;nbsp; &amp;lt;format default=&quot;json&quot;&amp;gt;&amp;lt;/format&amp;gt;

&amp;nbsp; &amp;lt;authentication&amp;gt;user&amp;lt;/authentication&amp;gt;

&amp;lt;/webscript&amp;gt;&lt;/pre&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; customContent.get.json.ftl&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre class=&quot;xml&quot; name=&quot;code&quot;&gt;{

&quot;rows&quot;: 

[

&amp;lt;#if (contents??)&amp;gt;

&amp;nbsp;&amp;lt;#list result as agreement&amp;gt; 

{ 

&quot;name&quot;:&quot;${agreement.properties[&quot;cm:name&quot;]!&quot;&quot;}&quot;,

&quot;description&quot;:&quot;${agreement.properties[&quot;cm:description&quot;]!&quot;&quot;}&quot;,

&quot;createdBy&quot;:&quot;${agreement.properties[&quot;cm:creator&quot;]!&quot;&quot;}&quot;,

&amp;lt;#if (agreement.properties[&quot;cm:created&quot;])??&amp;gt;

&quot;createdDate&quot;:&quot;${(agreement.properties[&quot;cm:created&quot;])?string(&quot;yyyy-MM-dd&quot;)}&quot;

&amp;lt;#else&amp;gt;

&quot;createdDate&quot;:&quot;&quot;

&amp;lt;/#if&amp;gt;

} 

&amp;lt;#if agreement_has_next&amp;gt;,

&amp;lt;/#if&amp;gt;

&amp;lt;/#list&amp;gt;

&amp;nbsp;&amp;lt;/#if&amp;gt;

]

}

&lt;div&gt;
&lt;/div&gt;
&lt;/pre&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
custom-webscript-context.xml&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre class=&quot;xml&quot; name=&quot;code&quot;&gt;&amp;lt;bean id=&quot;webscript.com.poc.custom.customContent.get&quot; class=&quot;com.poc.webscript.CustomWebscript&quot; parent=&quot;webscript&quot;&amp;gt;

&amp;lt;property name=&quot;serviceRegistry&quot;&amp;gt;

&amp;lt;ref bean=&quot;ServiceRegistry&quot; /&amp;gt;

&amp;lt;/property&amp;gt;

&amp;lt;/bean&amp;gt;&lt;/pre&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alfrescocms.blogspot.com/feeds/3214537413015610425/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alfrescocms.blogspot.com/2012/07/creating-sample-javabacked-webscript.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/3214537413015610425'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/3214537413015610425'/><link rel='alternate' type='text/html' href='http://alfrescocms.blogspot.com/2012/07/creating-sample-javabacked-webscript.html' title='Creating sample Javabacked webscript'/><author><name>Ghanshyam Rathod</name><uri>http://www.blogger.com/profile/06577556169566692992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji2AaY0aghbCp2S33y3FcydTlZZu48Y6ERp6OiqXke1pX8fpWIHSngTpAUZyuvDAGsuzpjNmI4-4Jb6rdi6ZROKUkZYizJKdNhbBPP8gGCFfaBx13PWkkcxdZEbeSKBw/s113/*'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-395334916920577484.post-8389596804877419110</id><published>2012-07-27T14:53:00.001+05:30</published><updated>2012-07-27T14:53:51.573+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="alfresco"/><title type='text'>Injecting Common ServiceRegistry</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
While customizing alfresco we need serviceRegistry many times to get various service.&lt;br /&gt;
Lets make it utility and keep it singleton.&lt;br /&gt;
&lt;br /&gt;
AlfrescoServiceRegistry.java&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;java&quot; name=&quot;code&quot;&gt;/**

 * Singleton service registry
&amp;nbsp;* @author ghanshyam
&amp;nbsp;*/
public final class AlfrescoServiceRegistry
{
&amp;nbsp;private static ServiceRegistry serviceRegistry;
   &amp;nbsp; &amp;nbsp; private AlfrescoServiceRegistry()
&amp;nbsp; &amp;nbsp; {
&amp;nbsp; &amp;nbsp; &amp;nbsp;//private constructor
&amp;nbsp; &amp;nbsp; }
  &amp;nbsp; &amp;nbsp; public static void setServiceRegistry(final ServiceRegistry serviceRegistry)
&amp;nbsp; &amp;nbsp; {
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AlfrescoServiceRegistry.serviceRegistry = serviceRegistry;
&amp;nbsp; &amp;nbsp; }
  &amp;nbsp; &amp;nbsp; public static ServiceRegistry getServiceRegistry()
&amp;nbsp; &amp;nbsp; {
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return AlfrescoServiceRegistry.serviceRegistry;
&amp;nbsp; &amp;nbsp; }
}
&lt;/pre&gt;
ServiceRegistryBean.java
&lt;br /&gt;
&lt;pre class=&quot;java&quot; name=&quot;code&quot;&gt;public class ServiceRegistryBean 
{ 
    private ServiceRegistry serviceRegistry; 
    public ServiceRegistry getServiceRegistry() 
     { 
         return serviceRegistry; 
     } 
   public void setServiceRegistry(ServiceRegistry serviceRegistry) 
   { 
         this.serviceRegistry = serviceRegistry;
         AlfrescoServiceRegistry.setServiceRegistry(this.serviceRegistry); 
   } 
}
&lt;/pre&gt;
&lt;br /&gt;&lt;br /&gt;custom-context.xml&lt;pre class=&quot;xml&quot; name=&quot;code&quot;&gt;
&amp;lt;bean id=&quot;AlfrescoServiceBean&quot; class=&quot;com.poc.utility.ServiceRegistryBean&quot;&amp;gt; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;property name=&quot;serviceRegistry&quot;&amp;gt;  &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;ref bean=&quot;ServiceRegistry&quot; /&amp;gt;  &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/property&amp;gt;  &lt;br /&gt;
&amp;lt;/bean&amp;gt;&lt;/div&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://alfrescocms.blogspot.com/feeds/8389596804877419110/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alfrescocms.blogspot.com/2012/07/injecting-common-serviceregistry.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/8389596804877419110'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/8389596804877419110'/><link rel='alternate' type='text/html' href='http://alfrescocms.blogspot.com/2012/07/injecting-common-serviceregistry.html' title='Injecting Common ServiceRegistry'/><author><name>Ghanshyam Rathod</name><uri>http://www.blogger.com/profile/06577556169566692992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji2AaY0aghbCp2S33y3FcydTlZZu48Y6ERp6OiqXke1pX8fpWIHSngTpAUZyuvDAGsuzpjNmI4-4Jb6rdi6ZROKUkZYizJKdNhbBPP8gGCFfaBx13PWkkcxdZEbeSKBw/s113/*'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-395334916920577484.post-4155174869184061660</id><published>2012-06-13T16:49:00.003+05:30</published><updated>2012-06-13T16:53:10.745+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="alfresco 4"/><category scheme="http://www.blogger.com/atom/ns#" term="chaining"/><category scheme="http://www.blogger.com/atom/ns#" term="ldap"/><title type='text'>Create OpenLDAP chaining</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Many times we require alfresco authentication from one or more LDAP system for authentication.&lt;br /&gt;
Here we will look at authentication from two openLDAP.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Note&lt;/b&gt; : Below configuration is related to alfresco 4.x versions&lt;br /&gt;
&lt;br /&gt;
I am here refering two LDAP as below :&lt;br /&gt;
#1) Internal LDAP&lt;br /&gt;
#2) ExternalLDAP&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step #1) Copy ldap files from original location and create/paste to extension path.&lt;/b&gt;&lt;br /&gt;
-----------------------------------------------------------------------------------&lt;br /&gt;
Copy following file from path&lt;br /&gt;
&amp;nbsp;(&amp;lt;alfresco&amp;gt;\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\subsystems\Authentication\ldap)&lt;br /&gt;
1.&amp;nbsp;ldap-authentication.properties&lt;br /&gt;
2.&amp;nbsp;ldap-authentication-context.xml&lt;br /&gt;
&lt;br /&gt;
Paste both file(s) &amp;nbsp;to following location. (&amp;lt;alfresco&amp;gt;\tomcat\shared\classes\alfresco\extension\subsystems\Authentication\ldap\internalLDAP)&lt;br /&gt;
(&amp;lt;alfresco&amp;gt;\tomcat\shared\classes\alfresco\extension\subsystems\Authentication\ldap\externalLDAP)&lt;br /&gt;
&lt;br /&gt;
You can see here we need to create two folders 1) internalLDAP &amp;nbsp;2) externalLDAP to separate out both LDAP.&lt;br /&gt;
&lt;br /&gt;
You can configure internalLDAP connection settings in ldap-authentication.properties inside internalLDAP folder and for externalLDAP to same file ldap-authentication.properites.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step #2) Add &amp;nbsp;common-ldap-context.xml&lt;/b&gt;&lt;br /&gt;
-------------------------------------------&lt;br /&gt;
Copy &amp;lt;alfresco&amp;gt;\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\subsystems\Authentication\common-ldap-context.xml&lt;br /&gt;
&lt;br /&gt;
Paste to path (&amp;lt;alfresco&amp;gt;\tomcat\shared\classes\alfresco\extension\subsystems\Authentication )&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step #3) Make chaining entry inside alfresco-global.properties&lt;/b&gt;&lt;br /&gt;
-------------------------------------------------------------------------&lt;br /&gt;
&amp;nbsp;Place below entry&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
### Ldap settings ####&lt;br /&gt;
authentication.chain=externalLDAP:ldap,internalLDAP:ldap,alfrescoNtlm1:alfrescoNtlm&lt;br /&gt;
&lt;br /&gt;
You can place these 3 in any order you want.&lt;br /&gt;
&lt;br /&gt;
alfrescoNtlm is alfresco&#39;s default authentication mechanism.&lt;br /&gt;
&lt;br /&gt;
Please make above changes and restart server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alfrescocms.blogspot.com/feeds/4155174869184061660/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alfrescocms.blogspot.com/2012/06/create-openldap-chaining.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/4155174869184061660'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/4155174869184061660'/><link rel='alternate' type='text/html' href='http://alfrescocms.blogspot.com/2012/06/create-openldap-chaining.html' title='Create OpenLDAP chaining'/><author><name>Ghanshyam Rathod</name><uri>http://www.blogger.com/profile/06577556169566692992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji2AaY0aghbCp2S33y3FcydTlZZu48Y6ERp6OiqXke1pX8fpWIHSngTpAUZyuvDAGsuzpjNmI4-4Jb6rdi6ZROKUkZYizJKdNhbBPP8gGCFfaBx13PWkkcxdZEbeSKBw/s113/*'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-395334916920577484.post-9065190543819839188</id><published>2012-05-24T16:11:00.002+05:30</published><updated>2012-05-24T16:12:36.248+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="alfresco 4"/><category scheme="http://www.blogger.com/atom/ns#" term="log"/><title type='text'>Enable javascript debugging log</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
In alfresco share we sometime need to log the js content.&lt;br /&gt;
Using below configuration we can enable javascript logging .&lt;br /&gt;
&lt;br /&gt;
inside &lt;b&gt;log4j.properties&lt;/b&gt; modify below entry to debug from error or warn.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;xml&quot; name=&quot;code&quot;&gt;log4j.logger.org.alfresco.repo.jscript=debug
log4j.logger.org.alfresco.repo.jscript.ScriptLogger=debug&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alfrescocms.blogspot.com/feeds/9065190543819839188/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alfrescocms.blogspot.com/2012/05/enable-javascript-debugging-log.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/9065190543819839188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/9065190543819839188'/><link rel='alternate' type='text/html' href='http://alfrescocms.blogspot.com/2012/05/enable-javascript-debugging-log.html' title='Enable javascript debugging log'/><author><name>Ghanshyam Rathod</name><uri>http://www.blogger.com/profile/06577556169566692992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji2AaY0aghbCp2S33y3FcydTlZZu48Y6ERp6OiqXke1pX8fpWIHSngTpAUZyuvDAGsuzpjNmI4-4Jb6rdi6ZROKUkZYizJKdNhbBPP8gGCFfaBx13PWkkcxdZEbeSKBw/s113/*'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-395334916920577484.post-7927913053475538821</id><published>2012-05-24T15:55:00.000+05:30</published><updated>2017-06-28T18:44:50.490+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="alfresco 4"/><category scheme="http://www.blogger.com/atom/ns#" term="audit"/><title type='text'>Auditing custom content types</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Sometimes in important application requires auditing data. Alfresco provides auditing facility based on nodes behavior and actions.&lt;br /&gt;
In most cases out of box audit configuration is enough to satisfy the requirements, but sometime it requires certain kind of data also needs to be audited. Like we are auditing our own custom content types.&lt;br /&gt;
&lt;br /&gt;
I have tested below configuration in Alfresco version 4.0 EE&lt;br /&gt;
&lt;br /&gt;
E.g. I have my own custom content type say &quot;clm:contract&quot; and I want to monitor changes inside this node whether its create/read/update/delete.&lt;br /&gt;
&lt;br /&gt;
We are including following configuration in alfresco-global.properties  file to achieve this.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;xml&quot; name=&quot;code&quot;&gt;audit.enabled=true
audit.alfresco-access.enabled=true
audit.alfresco-access.sub-actions.enabled=true

&lt;script async=&quot;&quot; src=&quot;//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js&quot;&gt;&lt;/script&gt;
&lt;!-- Custom_30OCT --&gt;
&lt;br /&gt;
&lt;ins class=&quot;adsbygoogle&quot; data-ad-client=&quot;ca-pub-6313462751316354&quot; data-ad-slot=&quot;5698956709&quot; style=&quot;display: inline-block; height: 90px; width: 728px;&quot;&gt;&lt;/ins&gt;&lt;script&gt;
(adsbygoogle = window.adsbygoogle || []).push({});
&lt;/script&gt;


### Audit Filter ###
audit.filter.alfresco-access.default.enabled=true
audit.filter.alfresco-access.transaction.user=~System;~null;.*
audit.filter.alfresco-access.transaction.type=cm:folder;cm:content;st:site;clm:contract
audit.filter.alfresco-access.transaction.path=~/sys:archivedItem;~/ver:;.*
&lt;/pre&gt;
&lt;br /&gt;
Above configuration is enough to detect your custom content type clm:contract  and auditing it.&lt;br /&gt;
If you want to see detailed log in console just write below configuration in log4j.properties  file.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;xml&quot; name=&quot;code&quot;&gt;### Audit Logs ###
log4j.logger.org.alfresco.repo.audit.AuditComponentImpl=DEBUG
log4j.logger.org.alfresco.repo.audit.inbound=DEBUG&lt;/pre&gt;
&lt;br /&gt;
EnJOy !!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alfrescocms.blogspot.com/feeds/7927913053475538821/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://alfrescocms.blogspot.com/2012/05/auditing-custom-content-types.html#comment-form' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/7927913053475538821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/395334916920577484/posts/default/7927913053475538821'/><link rel='alternate' type='text/html' href='http://alfrescocms.blogspot.com/2012/05/auditing-custom-content-types.html' title='Auditing custom content types'/><author><name>Ghanshyam Rathod</name><uri>http://www.blogger.com/profile/06577556169566692992</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji2AaY0aghbCp2S33y3FcydTlZZu48Y6ERp6OiqXke1pX8fpWIHSngTpAUZyuvDAGsuzpjNmI4-4Jb6rdi6ZROKUkZYizJKdNhbBPP8gGCFfaBx13PWkkcxdZEbeSKBw/s113/*'/></author><thr:total>11</thr:total></entry></feed>