27 Jan

Activiti BPM in Alfresco

Alfresco-Activiti
Alfresco, the open platform for document and enterprise content management has launched a new workflow engine integrated business process management program called Activiti. This BPMN2.0 integration is fully compliant with industry standards and extends Alfresco’s workflow features that allow for more flexibility between Alfresco and other similar applications. The integration is offered through an update to the Alfresco Community and is available for immediate download.
By replacing jBPM with Activiti, this is just the beginning for bpm programs that signal the start of seamless integrated environments to combine enterprise content management, adaptive case management with the business process management. Alfresco sees this as a way to move business program management out of it’s nice and open it up to a larger range of users for greater innovations.
Activiti is a lightweight workflow platform designed to assist developers, system administrators and business users to deliver superbly effectively driven content within the Alfresco community.  With the exceptionally quick and rock solid BPMN 2.0 Java based process engine, activiti provides users flexibility and more out of the box functionality with similar applications.
The preview release of Activiti will allow users to compare existing jBPM workflow while experimenting with the integration of other tools to create different workflow applications.  This integration of Alfresco’s Activiti platform is a key factor for any organization wanting to review and approve content requiring complex processes such as contracts, budgets, press releases and sales forecasts. This empowers the document collaboration process without losing control oftraceability or the latest revision versions.
Activiti, allows developers to define new BPMN 2.0 workflow definitions and add them to Alfresco document centric process management.  Organizations can, for the first time, leverage the standalone BPMN 2.0 engine within their own content repository platforms with the Alfresco integration system. Since its launch Activiti has worked as an independently run and branded open source project.
This type of flexible customization is exactly the type of services that can be found with Softbless.  As Alfresco service provider and official Liferay partner in Indonesia(2011-2012), Softbless offers service and the ability to easily make enterprise content management adjustments all without the hassle of major technical modifications.

23 Jan

Liferay Training - Portal and System Administrator Training, 24-25 September 2012

Summary
Liferay is enterprise portal/intranet portal with open source license. Liferay is the only open source solutions that become a leader in Gartner's Magic Quadrant. Liferay is an effective solution for collaboration and communication within the company, content management and knowledge management.

This training, provided by Softbless, will equip participants about the concept of Enterprise Portal, and the concept of Liferay in particular, including the use and administration of Liferay.

Schedule
Training will be held on : 24-25 September 2012 at9AM-5PM

Location
Training will be held at PTSoftblessSolutions office,KompPerkantoranMitraMatramanBlokA2no 11,JlMatramanRayano 148, JakartaTimur, Indonesia.

Facility
Participants will get manual, snack, lunch, and certificate from Softbless.

About trainer
  • You will be trained be experienced trainers, and who have been participating in Liferay Official Training
Investment
The training will costRp3.500.000 (PPN included).

Capacity
Maximum capacity : 8 persons.

How to register
  • Fill in registration form on :https://www.softbless.com/content/Liferay-training-registration
  • Tranferpayment to :
    • BCA, Account No: 3428777877, PTSoftblessSolutions
  • Payment must be received 3 days before the training
  • Cancellationfee :
    • 100% > 5 working days before training day
    • 50% <= 5 working days before training day
Syllabus

Portal Administrator :
  • Liferay Portal Introduction
  • Enterprise Portal/Intranet portal concept
  • Organizations, Users and Roles
  • Web Content
  • Document and Image Management
  • Blogs, Message Boards and Wiki
  • Dynamic Data List
  • Workflow

System Administrator :
  • Basic Custom Theme
  • Liferay installation and Configuration
  • Intragration with LDAP
  • Clusting and Load Balancing

Contact Person :
For more information, please contact :
  • TutiIzzati, email : tuti@softbless.com, phone : (021)85918058-59, HP : 085715848086
  • TiurLumbanGaol, email : tiur@softbless.com, phone : (021)85918058-59, HP : 0818181183

Remarks :
Participants must bring their own laptop with wireless connectivity.Softblessdoes not provide PC for participant

23 Jan

Alfresco Training - End User and Administrator Training, 17-18 September 2012

Summary
Alfresco is web based Enterprise Content Management/Document Management System, initiated by John Newton since 2005, one of the Documentum Co-founders. Alfresco has been entered into the Gartner Magic Quadrant for Enterprise Content Management category. Today Alfresco has been implemented in more than 5000 companies.
Alfresco is able to handle large-scale content management to millions of content. This training will equip participants about the concept of Enterprise Content Management, and the concept of Alfresco in particular, including the use and administration of Alfresco.

Schedule
Training will be held on : 2-3 Juli 2012 at 9AM-5PM

Location
Training will be held at PT Softbless Solutions office, Komp Perkantoran Mitra Matraman Blok A2 no 11, Jl Matraman Raya no 148, Jakarta Timur.

Facility
Participants will get manual, snack, lunch, and certificate from Softbless.

About trainer
  • Tiur Lumban Gaol, Softbless, is a Certified Alfresco Trainer, has 3 years experience in Enterprise Content Management implementantions including ELO Document Management System and Alfresco Enterprise Content Management System..
  • Togu Muara Sianturi, Softbless, has been involved in numerous projects Alfresco implementation, specializing in infrastructure configuration for Alfresco.

Investment
The training will cost Rp 3.250.000.

Capacity
Maximum capacity : 8 persons.

How to register
  • Fill in registration form on : https://www.softbless.com/content/Alfresco-training-registration
  • Tranfer payment to :
    • BCA, Account No: 3428777877, PT Softbless Solutions
  • Payment must be received 3 days before the training
  • Cancellation fee :
    • 100% > 5 working days before training day
    • 50% <= 5 working days before training day

Syllabus

Training for End User (Day 1):
  • Alfresco Concept Introduction
  • Space and Content Ownership & Management
  • Rules, Aspect, Category Concept
  • Permission Access
  • Versioning
  • Simple and Advanced Workflow
  • Simple and Advanced Searching
  • Introduction to Collaboration

Administrator Training(Day 2):
  • Installing and setting up Alfresco
  • Configuring the repository
  • Configuring the file system
  • Troubleshooting the system
  • Maintenance, Migration and Security
  • Exporting and importing
  • Backing up and restoring the system
  • Security and permissions
  • Bonus - Alfresco Customization for : Domain Model

Contact Person :
For more information, please contact :
  • Tuti Izzati, email : tuti@softbless.com, phone : (021)85918058-59, HP : 085715848086
  • Tiur Lumban Gaol, email : tiur@softbless.com, phone : (021)85918058-59, HP : 0818181183

Remarks :
Participants must bring their own laptop with wireless connectivity. Softbless does not provide PC for participant

21 Jan

Tutorial Alfresco Smartphone Ipad, Iphone, Android - iOS

Here is a tutorial mobile Alfresco: Ipad, Iphone, Android.
using the OS:
OS Android : iOS 6
Application : Alfresco 4.0e Community
----------------------------------------------------------


1.  Install app  Alfresco mobile : Ipad, Iphone, Android from the App Store. These icons display on mobile Ipad Alfresco:

Icon alfresco mobile

2. Open the Alfresco application, and then click More - Manage Account to login to the server Alfresco
Username : admin
Password : *****
Server Address : 192.168.2.25
Description : Softbless (content may be anything, just labeling only)
HTTPS : OFF
Port : 80
Service Document : [Default]
Manage Account
3. Then click Browse Documents

Features

1. Browse Document
After doing the Manage Account, click on the Document toolbar button below to see the Alfresco repository

Browse document

2. Create Folder
Click the + button on the upper right side, and then click Create Folder.
Alfresco Create Folder

3. Upload Document
Click the + button on the upper right side, then to click Upload.
Upload mutilpe documents:

Upload document

4. Download Document
Click the document you want to download, then click the Action button at the bottom far left and click Download:

Download document

5. View Properties
Browse the document, then click the i button on the right side of the document. After clicking i will be shown properties of the document.
View properties

6. Update Document
Click the document you want to download, then click the Action button at the bottom of the left and then click Open in. Make sure there is an editor for editing documents on your iPhone or iPad:
Update document

7. Workflow
Click the document you want to download, then click the Action button at the bottom of the left and then click Send for review.
Then fill in:

• Choose Assignee
• Due on
• Email notification ON
Workflow Alfresco

8. Activities
To view a user's activity, click the button on the toolbar below Avtivites
Activities Alfresco

9. Task
To see the task you need to do, click the Tasks button on the toolbar below
My task


A few mobile Alfresco tutorial: Ipad, Iphone, Android.
If there are any questions and difficulties please contact us.

21 Jan

Performance Tuning in Liferay

There are several things to consider in improving the performance of Liferay:

1. Properties
There are several configurations on-ext.properties portal that can improve performance:
last.modified.check=false
Disable checking last modified date on server side CSS and Javascript
theme.css.fast.load=true
Load the theme’s merged CSS files for faster loading for production
javascript.fast.load=true
Load the javascript files for faster loading for production

2. Servlet Filters
Disable all unused servlet filter
 SSO CAS
 SSO NTLM
 SSO OpenSSO
 Sharepoint Filter
Comment all servlet filters are not used in the file: liferay-portal-6.0.6\tomcat-6.0.29\webapps\ROOT\WEB-INF\web.xml

3. Portlet
Disable all the portlets that are used in a way comment on the file: liferay-portal-6.0.6\tomcat-6.0.29\webapps\ROOT\WEB-INF\liferay-portlet.xml

4. Memori
Increase JVM Tuning by editing the file: \liferay-portal-6.0.6\tomcat-6.0.29\bin\setenv.bat

JAVA_OPTS="$JAVA_OPTS -Dfile.encoding=UTF8 -Duser.timezone=GMT -XX:NewSize=700m -XX:MaxNewSize=700m 
-Xms2048 -Xmx2048m -XX:MaxPermSize=256m -XX:+UseParNewGC -XX:+UseConcMarkSweepGC
-XX:+CMSParallelRemarkEnabled -XX:SurvivorRatio=20 -XX:ParallelGCThreads=8"

If memory servers over 8 GB with 4 processors.

21 Jan

SSO Setting - CAS and Alfresco

Prerequisite:

  • Alfresco and CAS should use the HTTPS protocol
  • Let's say, CAS used port 433 and Alfresco 9443
  • Set Alfresco so it can redirect from port 8080 tobe 9443
  • Make sure Alfresco and CAS can be accessed with domain name (not recomended with IP Address), in this tutorial use:
    • Alfresco = http://alfresco.local
    • CAS = http://cas.softbless.local
Form Login CAS

1.       Add this configuration in alfresco-global.properties file:

#CAS

authentication.chain=cas:external

2.       Copy service.xml to C:\Alfresco\tomcat\shared\classes\alfresco\extension

3.       Copy commonValues.properties to C:\Alfresco\tomcat\shared\classes\alfresco\extension\messages

# CAS

      cas_url=https://cas.softbless.local:443

      cas_alfresco_url=https://alfresco.local:9443/alfresco

4.       Copy mycompany folder into C:\Alfresco\tomcat\shared\classes\alfresco\extension\templates\webscripts\org

5.       Copy custom-slingshot-application-context.xml to C:\Alfresco\tomcat\shared\classes\alfresco\web-extension folder. Make sure same with below configurations:

<!-- Override Logout Controller - to expire Alfresco tickets -->

<bean id="logoutController" class="org.wwarn.cms.authentication.servlet.CASSlingshotLogoutController">

       <property name="cacheSeconds" value="-1" />

       <property name="useExpiresHeader"><value>true</value></property>

       <property name="useCacheControlHeader"><value>true</value></property>

       <property name="connectorService" ref="connector.service" />

       <!-- if blank assumes the same as Share -->

 

       <property name="casHost"><value>https://cas.softbless.local:443</value></property>

       <property name="casPath"><value>logout</value></property>

   </bean>

6.       Edit share-config-custom.xml file from C:\Alfresco\tomcat\shared\classes\alfresco\web-extension :

<config evaluator="string-compare" condition="Server">

        <server>

<!-- Enable and adjust the following settings to allow for external access URLs to the

WebScript Framework - to return an externally accessible address for absolute url generation.-->

              <scheme>https</scheme>

              <hostname>alfresco.local</hostname>

              <port>9443</port>

        </server>

    </config>

    <!--Overriding endpoints to reference a remote Alfresco server &ndash;&gt;-->

    <config evaluator="string-compare" condition="Remote">

        <remote>

            <!-- Authenticator implementation used in CAS authentication scenario,

                overrides the default alfresco-ticket authenticator

                <class>org.alfresco.connector.AlfrescoAuthenticator</class> -->

            <authenticator>

                <id>alfresco-ticket</id>

                <name>Alfresco Authenticator</name>

                <description>Alfresco Authenticator</description>

                <class>org.mycompany.cms.authentication.CasAlfrescoAuthenticator</class>

            </authenticator>

            <!-- Connects to an Alfresco instance using ticket-based authentication,

                overrides the default alfresco connector to use ticket authenticator-->

            <connector>

                <id>alfresco</id>

                <name>Alfresco Connector</name>

                <description>Connects to an Alfresco instance using ticket-based authentication</description>

                <class>org.springframework.extensions.webscripts.connector.AlfrescoConnector</class>

                <authenticator-id>alfresco-ticket</authenticator-id>

            </connector>

            <!-- Endpoint using external authentication via CAS-->

            <endpoint>

                <id>alfresco</id>

                <name>Alfresco - user access</name>

                <description>Access to Alfresco Repository WebScripts that require external user authentication

                </description>

                <connector-id>alfresco</connector-id>

                <endpoint-url>https://alfresco.local:9443/alfresco/s</endpoint-url>

                <identity>user</identity>

                <external-auth>true</external-auth>

            </endpoint>

        </remote>

    </config>

7.       Edit webscript-framework-config-custom.xml file from C:\Alfresco\tomcat\shared\classes\alfresco\web-extension :

<config evaluator="string-compare" condition="Remote">

<remote>

<endpoint>

              <id>alfresco-noauth</id>

              <name>Alfresco - unauthenticated access</name>

<description>Access to Alfresco Repository WebScripts that do not require authentication</description>

              <connector-id>alfresco</connector-id>

              <endpoint-url>https://alfresco.local:9443/alfresco/s</endpoint-url>

              <identity>none</identity>

       </endpoint>

       <endpoint>

              <id>alfresco</id>

              <name>Alfresco - user access</name>

<description>Access to Alfresco Repository WebScripts that require user authentication</description>

              <connector-id>alfresco</connector-id>

              <endpoint-url>https://alfresco.local:9443/alfresco/s</endpoint-url>

              <identity>user</identity>

       </endpoint>

       <endpoint>

              <id>alfresco-feed</id>

              <name>Alfresco Feed</name>

<description>Alfresco Feed - supports basic HTTP authentication</description>

              <connector-id>http</connector-id>

              <endpoint-url>https://alfresco.local:9443/alfresco/s</endpoint-url>

              <basic-auth>true</basic-auth>

              <identity>user</identity>

       </endpoint>              

       </remote>

</config>

<config evaluator="string-compare" condition="Remote">

<remote>

            <keystore>

                <path>alfresco/web-extension/alfresco-system.p12</path>

                <type>pkcs12</type>

                <password>alfresco-system</password>

            </keystore>

            <endpoint>

                <id>alfresco</id>

                <name>Alfresco - user access</name>

<description>Access to Alfresco Repository WebScripts that require user authentication</description>

                <connector-id>alfresco</connector-id>

                <endpoint-url>https://alfresco.local:9443/alfresco/wcs</endpoint-url>

                <identity>user</identity>

                <external-auth>true</external-auth>

                <authenticator-id>alfresco-ticket</authenticator-id>

            </endpoint>

        </remote>

    </config>

8.       Edit relogin.jsp file from C:\Alfresco\tomcat\webapps\alfresco\jsp, tambahkan code di bawah sebelum tanda %> response.addCookie(authCookie);

// deconnection CAS

response.sendRedirect("https://cas.softbless.local:443/logout");

9.       Copy alfresco-cas.jar and cas-client-core-3.1.12.jar library into C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib folder

10.   Copy web.xml file into C:\Alfresco\tomcat\webapps\alfresco\WEB-INF, make sure CAS code same with below configurations:

<!-- Adding CAS Authentication filters and replacing Alfresco's default one -->

   <filter>

      <filter-name>Authentication Filter</filter-name>

      <filter-class>org.jasig.cas.client.authentication.AuthenticationFilter</filter-class>

      <init-param>

         <param-name>casServerLoginUrl</param-name>

         <param-value>https://cas.softbless.local:443/login</param-value>

      </init-param>

      <init-param>

         <param-name>serverName</param-name>

         <param-value>https://alfresco.local:9443</param-value>

      </init-param>

   </filter>

   <filter>

      <filter-name>CAS Validation Filter</filter-name>

      <filter-class>org.jasig.cas.client.validation.Cas20ProxyReceivingTicketValidationFilter</filter-class>

      <init-param>

         <param-name>casServerUrlPrefix</param-name>

         <param-value>https://alfresco.local:443</param-value>

      </init-param>

      <init-param>

         <param-name>serverName</param-name>

         <param-value>https://alfresco.local:9443</param-value>

      </init-param>

   </filter>

   <filter>

      <filter-name>Alfresco CAS Authentication Filter</filter-name>

      <filter-class>org.mycompany.cms.authentication.CasAuthenticationFilter</filter-class>

   </filter>

   <!-- End adding CAS authentication filters -->

11.   Copy cas-client-core-3.1.12.jar, logoutCAS.jar, and share-CAS.jar library into C:\Alfresco\tomcat\webapps\share\WEB-INF\lib folder

12.   Copy web.xml file into C:\Alfresco\tomcat\webapps\share\WEB-INFmake sure CAS code same with below configurations :

<!-- Adding CAS Authentication filters -->

   <filter>

      <filter-name>CAS Authentication Filter</filter-name>

      <filter-class>org.jasig.cas.client.authentication.AuthenticationFilter</filter-class>

      <init-param>

         <param-name>casServerLoginUrl</param-name>

          <param-value>https://cas.softbless.local:443/login</param-value>

      </init-param>

      <init-param>

         <param-name>serverName</param-name>

         <param-value>https://alfresco.local:9443</param-value>

      </init-param>

   </filter>

   <filter>

      <filter-name>CAS Validation Filter</filter-name>

      <filter-class>org.jasig.cas.client.validation.Cas20ProxyReceivingTicketValidationFilter</filter-class>

      <init-param>

         <param-name>casServerUrlPrefix</param-name>

          <param-value>https://cas.softbless.local:443</param-value>

      </init-param>

      <init-param>

         <param-name>serverName</param-name>

         <param-value>https://alfresco.local:9443</param-value>

      </init-param>

      <init-param>

         <param-name>allowAnyProxy</param-name>

         <param-value>true</param-value>

      </init-param>

      <init-param>

         <param-name>proxyCallbackUrl</param-name>

         <param-value>https://alfresco.local:9443/share/proxyCallback</param-value>

      </init-param>

      <init-param>

         <param-name>proxyReceptorUrl</param-name>

         <param-value>/proxyCallback</param-value>

      </init-param>

   </filter>

   <filter>

      <filter-name>Alfresco CAS Authentication Filter</filter-name>

      <filter-class>org.mycompany.cms.authentication.CasAuthenticationFilter</filter-class>

   </filter>

   <!-- End adding CAS authentication filters -->

13.   Now you can access Alfresco used Internet Explorer http://alfresco.local:8080/share, it will redirect to CAS form login.

Reference:

configuring-alfresco-for-sso-with-cas | ecmstuff.blogspot.com

Web-SSO between Liferay and Alfresco with CAS and Penrose (part 2/2) | holisticsecurity.wordpress.com

cas-sso-for-alfresco-33-and-share | akselsarchitecture.blogspot.com

SSO between Share and Alfresco | blog.atolcd.com

20 Jan

Online Preview in Liferay

Steps to install the online preview Liferay on linux:
1. Install ImageMagick:
apt-get install imagemagick
2. Log in as Administrator Portal
3. Navigate to ControlPanel -> Administration Server
4. On the menu tabs select External Service
5. To activate ImageMagick, check the enable ImageMagick
6. Fill Path with / usr / bin, how to find out by typing in the terminal :
"which convert"

Default settings:

imagemagick.resource.limit.area=2GiB
#imagemagick.resource.limit.disk=16GiB
#imagemagick.resource.limit.file=256
imagemagick.resource.limit.map=1GiB
imagemagick.resource.limit.memory=2GiB
#imagemagick.resource.limit.thread=2
#imagemagick.resource.limit.time=3600
note: "sign # is not filled"
Default setting: 
ImageMagick

Change to::

imagemagick.resource.limit.area=3GiB
imagemagick.resource.limit.disk=10GiB
imagemagick.resource.limit.file=512
imagemagick.resource.limit.map=3GiB
imagemagick.resource.limit.memory=2GiB
imagemagick.resource.limit.thread=1
imagemagick.resource.limit.time=3600

 ImageMagick