Author: <span>kenio.carvalho</span>

IBM  today announced it is bringing new capabilities to enterprise social networks for a simpler collaboration across the workforce and employee onboarding experience. The latest version of IBM Connections also integrates with IBM Cloud Object Storage, providing companies an ability to scale their storage needs with their employee’s usage while improving storage costs.

IBM Connections 6.0 has been redesigned to surface the most useful content from the user’s network. This new feature – called Orient Me – leverages a new containerized, API-driven architecture to bring the most relevant information for the user to engage with – providing an interactive experience.

Read the full release news here

Uncategorized

Yesterday i start to setup some new servers and need to install several libraries on Centos 7

Yum is the first option and when i start a command like yum install <anylib> i got several erros and yum was locked.

See this short video and solve the problem.

Linux

Yesterday i found this tutorial on how to setup WebSphere IHS plugin with Liberty profile.

More information on Generating Plug-ins for Liberty Profile can be found here: Liberty Profile Plugin

WebSphere

One of the tuning activities is to turn on GZIP compression for HTTP requests.

This tuning can save lots of network traffic and your page will load in a short time.

Just put the lines bellow on the httpd.conf and restart the server

LoadModule deflate_module modules/mod_deflate.so

LoadModule headers_module modules/mod_headers.so

#Only the specified MIME types will be compressed.

AddOutputFilterByType DEFLATE application/atom+xml
AddOutputFilterByType DEFLATE application/atomcat+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/json
AddOutputFilterByType DEFLATE application/octet-stream
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/xsl
# Ensures that images and executable binaries are not compressed
SetEnvIfNoCase Request_URI \\.(?:gif|jpe?g|png|exe)$ no-gzip dont-vary
# Ensure that proxies do not deliver the wrong content
Header append Vary User-Agent env=!dont-vary
SetEnvIf Request_URI ^/acce(.*) no-gzip dont-vary

performance portal

Last month i was nominated as IBM Champion for ICS 2017  and now  IBM Champion for Cloud 2017 for the first time.

Thank you to everyone and IBM  who nominated me. It’s an honor.

What is an IBM Champion?

“IBM Champions demonstrate both expertise in, and extraordinary support and advocacy for, IBM communities and solutions.”

Screenshot2014-12-0221.53.15

Uncategorized

Domino

IBM Digital Experience V9.0 offerings provide integration with IBM Cognitive Engagement solutions
and enable hybrid cloud capability to deliver engaging multichannel experiences.
Starting with CF13, combined cumulative fixes apply to both WebSphere Portal version 8.5 and 9.0. The IBM Knowledge Center for Version 9.0 contains installation documentation and documentation on how to migrate your IBM WebSphere Application Server. After you install Version 9, return to the Version 8.5 IBM Knowledge Center for information on how to configure and use WebSphere Portal.

You can purchase an extra license (WebSphere Portal Version 9.0) to integrate WebSphere Portal with Watson Content Hub. The license gives you access to the Asset Picker portlet. Use the portlet to select assets (files, videos, and images) that are stored in the content hub and publish them on your site.
See the announcement letter here

portal

Yesterday IBM announced the IBM 2017 Champions for Collaboration Solutions.

I wasn’t nominated in the past year for ICS but was for Middleware.

I would also like to thank everyone who nominated me for IBM Champion for ICS 2017.

I am honored and happy to return as IBM Champion for ICS

The complete list of IBM Champions for ICS 2017 is here

Screenshot2014-12-0221.53.15

Certificação Comunidade

Bots is a high topic these days and i revisited this kind of application last week.

I created a Translation Bot based on this article from IBM.

This Sametime Bot get the text, send to IBM Watson Translation Service and return the translated text to the user.

public void textReceived(ImEvent e) {           
        String q = e.getText();       
        //here we connect to watson and get the translation
        LanguageTranslation service = new LanguageTranslation();
        service.setUsernameAndPassword("<username>","<password>");
        service.setEndPoint("https://gateway.watsonplatform.net/language-translator/api");
        List<IdentifiedLanguage> identifiedLanguages = service.identify(e.getText()).execute();
        String lang = identifiedLanguages.get(0).getLanguage();
        String idiomaPt = "pt";
        String idiomaEn = "en";
        String idiomait = "it";
        if (lang.equals(idiomaPt) | lang.equals(idiomait)) {
            TranslationResult result = service.translate(e.getText(),Language.PORTUGUESE,Language.ENGLISH).execute();
             e.getIm().sendText(true, result.getFirstTranslation()+".");
            
        } else if (lang.equals(idiomaEn)) {
            TranslationResult result = service.translate(e.getText(),Language.ENGLISH,Language.PORTUGUESE).execute();
             e.getIm().sendText(true, result.getFirstTranslation()+".");
            
        } else {
            e.getIm().sendText(true,"Não consigo traduzir.");
        }
    
        System.err.println("Message received from " + e.getIm().getPartner().getName());

    }

 

To run the bot i export the project as an executable JAR and run it on my linux server using the script bellow:

#!/bin/sh
SERVICE_NAME=STBot
PATH_TO_JAR=/etc/init.d/STBotV02.jar
PID_PATH_NAME=/etc/init.d/Stbot-pid
case $1 in
    start)
        echo "Starting $SERVICE_NAME ..."
        if [ ! -f $PID_PATH_NAME ]; then
            nohup java -jar $PATH_TO_JAR /tmp 2>> /dev/null >> /dev/null &
                        echo $! > $PID_PATH_NAME
            echo "$SERVICE_NAME started ..."
        else
            echo "$SERVICE_NAME is already running ..."
        fi
    ;;
    stop)
        if [ -f $PID_PATH_NAME ]; then
            PID=$(cat $PID_PATH_NAME);
            echo "$SERVICE_NAME stoping ..."
            kill $PID;
            echo "$SERVICE_NAME stopped ..."
            rm $PID_PATH_NAME
        else
            echo "$SERVICE_NAME is not running ..."
        fi
    ;;
    restart)
        if [ -f $PID_PATH_NAME ]; then
            PID=$(cat $PID_PATH_NAME);
            echo "$SERVICE_NAME stopping ...";
            kill $PID;
            echo "$SERVICE_NAME stopped ...";
            rm $PID_PATH_NAME
            echo "$SERVICE_NAME starting ..."
            nohup java -jar $PATH_TO_JAR /tmp 2>> /dev/null >> /dev/null &
                        echo $! > $PID_PATH_NAME
            echo "$SERVICE_NAME started ..."
        else
            echo "$SERVICE_NAME is not running ..."
        fi
    ;;
esac

Uncategorized

The general procedure to create a new theme using webdav is:

1 –  connect to http://<server>:<port>/wps/mycontenthandler/dav/themelist/

2 – Copy the original theme from IBM to your disk

3 – Modify some files and them upload the files to the file store.

My team and i used this general rule for several projects but recently this kind of procedure failed.

When we copy the files back to the file store we get a permission error at the folder metadata

I raise a PMR and the L3 support will change the documentation with the following:

“Hint: With some WebDAV clients it can happen that you get an error “You need permission to perform this action”.
In this case, you have to explicitly create the root folder of the new theme with the WebDAV client first.
The metadata folder and the metadata.properties file get created automatically with default content.
You can now open the newly created folder and copy the contents of your local folder into the remote folder thus replacing the
generated meta-data.”

Obs: Before i open the PMR i tried several webdav clients, including making a copy using finder on my mac. Every client get the same error.

WebSphere Portal