Author: <span class="vcard">kenio.carvalho</span>

This specification describes a method for surfacing customer experience digital data on a web or other digital resource as a JavaScript Object which can be used for communicating this data to digital analytics and reporting servers.
https://www.w3.org/2013/12/ceddl-201312.pdf

Uncategorized wcm web WebSphere Portal

You can use the NOTES.INI setting LOGSTATUSBAR=1 to enable logging of status bar messages to the local log file, LOG.NSF. To view the logged messages, open the file, LOG.NSF, and then click the Miscellaneous Events view. Status bar messages are appended with “Status Msg.”

To write the status bar messages to an external file, use the NOTES.INI setting Debug_Outfile=<path to file> with the NOTES.INI setting LOGSTATUSBAR=1. For example:

LOGSTATUSBAR=1
Debug_Outfile=c:\temp\StatusBarLogging.txt

Domino Notes

The Liberty profile has support for java 8 for some time. If you want java 8 on WebSphere 8.5.5 full profile you must apply the fix pack 9 first.

Installing the optional Java 7.0 or Java 7.1 or 8 does not imply that profiles can take advantage of this new version of Java.  The managesdk command has to be used to switch Java or the WAS Admin Console. wsadmin can also be used.

Instructions on how to use the managesdk can be read on this IBM TN

See the SDK version for each WAS version on this link

WebSphere

I try several times to setup Forms Expericence Builder (8.5 and 8.6) on top of Portal Cluster (2 nodes) using the Installation Manager (IIM)

I got the following error during the ear deployment.

WASX7015E: Exception running command: “source “/opt/ibm/WebSphere/wp_profile/ConfigEngine/config/work/was/curJaclScript.jacl””; exception information:
com.ibm.bsf.BSFException: error while eval’ing Jacl expression:
java.lang.IllegalArgumentException: WASX7122E: Expected “-” not found.
-appname “”Forms Experience Builder”” -cluster PortalCluster -MapResRefToEJB { {“IBM Forms Experience Builder WAR 8.5.1.489” “” builder.war,WEB-INF/web.xml jdbc/BuilderDataSource “javax.sql.DataSource” “jdbc/IBM_FORMS_DATA_SOURCE” “” “”} {“IBM Forms Experience Builder WAR 8.5.1.489” “” builder.war,WEB-INF/web.xml mail/BuilderMailSession “javax.mail.Session” “mail/IBM_FORMS_MAIL_SESSION”}} -MapModulesToServers { {.* .* WebSphere:cell=dmgrCell01,cluster=PortalCluster}} -MapRolesToUsers { {“UseApplicationsUsers” No Yes {} {}} {“AdministrativeUsers” No No {adminportal} {}} {“EditApplicationsUsers” No Yes {} {}}} -usedefaultbindings -CtxRootForWebMod { {“IBM Forms Experience Builder WAR 8.5.1.489” builder.war,WEB-INF/web.xml /forms} {“IBM Forms Experience Builder Basic Auth WAR 8.5.1.489” builder-basic.war,WEB-INF/web.xml /forms-basic}}

I search a lot about the problem without success. I raise a PMR and the answer was:

“You cannot install FEB into a Portal server at this time, there are a few known issues with the IIM installer.   If you want to install FEB into the same WAS as portal then you will need to deploy the .ear manually, the steps can be found in the Knowledge Center -> http://www.ibm.com/support/knowledgecenter/SS6KJL_8.6.0/FEB/in_deploying_was.dita”

Doing the manual steps i got FEB working with WebSphere Portal

Forms

This can be done using an agent that is run by an ID that has access and delete rights to all the mail files on the server. The email will have the same Universal ID(UNID) in all of the mail files. This will allow you to get a handle on that particular email. The example code below gets a handle to the People view of the server’s name and address book. From the person document, it obtains the mail file for the user and then opens the mail file, locates the email and removes it.

The first step is to locate the UNID. This can be found by bringing up the document properties for the email you want to remove and looking at the beanie tab:

The UNID will be the 32 characters on the first 2 lines without the OF from the first line and the ON from the second line. Also, do not include the colon : on the 2 lines. So, the UNID for the above screen shot would be – EF883FE6FC7A14D185257F8E005D7D7D

The following code is an example that can be used to accomplish this. Please note that this code is provided as an example only. IBM support will not be able to modify or customize this agent. A version of this agent will need to be run on all mail servers in your environment. It can be set to run as a scheduled agent or via action menu selection. The target in both the scheduled version and action menu selection should be set to None

Sub Initialize
Dim s As New NotesSession
Dim perdoc As NotesDocument
Dim pview As NotesView
Dim mailDB As NotesDatabase
Dim db As NotesDatabase
Dim strServerName As String
Dim doc As NotesDocument

On Error Resume next

‘Set the strServerName variable to point to your server name
strServerName = “YourServer/YourDomain”
Set db = s.Getdatabase(strServerName, “Names.nsf”, False)
Set pview = db.GetView(“($People)”)
Set perdoc = pview.GetFirstdocument
While Not perdoc Is Nothing
Set maildb = s.Getdatabase(strServerName, perdoc.Getitemvalue(“mailFIle”)(0), False)
If Not maildb Is Nothing Then
Set doc = maildb.Getdocumentbyunid(“<Target document UNID goes here>”)
If Not doc Is Nothing Then
Call doc.Removepermanently(True)
End If
End If
Set perdoc = pview.Getnextdocument(perdoc)
Wend
End Sub

I found the information above on http://www-01.ibm.com/support/docview.wss?uid=swg21980866

Domino Uncategorized

This week i am working with TDI to sync MS AD and Domino. There are several ways to sync this two ldap servers.

Searching on the web on how can i generate hundreds user accounts on the MS AD test server,  i found LDIF Generator.

This little java code generate a LDIF file and you can import using, for example, the Apache Directory Studio.

 

Domino

The badge is using Mozilla OpenBadges technology to let people display verifiable acheivements.

Uncategorized

“There are a number of aspects to consider when choosing between the traditional WebSphere Application Server (WAS full profile, or WAS Classic) and WAS Liberty for deployment. If you
have a hard requirement which is only available on one or the other (such as a particular API) then the choice is easy, but as the Liberty function has grown, it has become more common to
need to weigh the pros and cons of each more closely; to consider topology choices, operational capabilities and security options. Over one hundred and fifty IBM products have shipped with
Liberty as their internal application server and an ever-growing number of IBM SaaS offerings, such as BPM Workflow and Watson Analytics, are running on Liberty.”
See this document from IBM

WebSphere

This open mic presentation has 40 tips on the mail routing subject.

The tip #24 – How to make Domino relay server to route mail to mutiple SMTP hosts help me today.
Within the Domino “Relay host” field, two list delimiters are allowed – comma( , ) and semicolon( ;). The delimiter will set the method
Method 1:Load balancing mode : host1, host2
In this example, the router will take the group of hosts at the same preference level (host1 and host2) and try to connect to these hosts in a random order.
Method 2:Fail over mode : host1; host2
Inthis example, the router will take preference of first host (host1) to route emails. If host1 stops responding, then the Domino router will move on to the next host (host2) i.e the next
preference level

Domino

This behavior is related to an intentional change in Java6SR16FP20 to tighten security by disabling the MD5 algorithm by default in latest JVM release. The Domino Server Controller, however, currently requires MD5. IBM is investigating a solution to leverage a more secure cipher for the Domino Server Controller (a.k.a. Domino Java Console). This issue is tracked as SPR# RSSNA6UU79.

Read the complete IBM Technote here

Domino

I found  this article today.

It  covers the fundamentals of Domino Replication and options for troubleshooting common issues.

1. Introduction
2. Elements of Replication
3. Creating and Deleting Replicas
4. Running Replication
5. Replication Configurations
6. Other Areas of Replication
7. Logging and Debug options.
8. Troubleshooting

Domino

After download all files i just want to rename the files to presentation titles. I search for a rename software but the problem was not about software. The problem was how to get the relationship with the file and the presentation name.

I open every pdf file and get the presentation title and create the relationship. After that a small java program rename all files on a folder.

The file bellow has the relationship

renamer.txt

The java code bellow rename the files on the folder. Just put the reanamer.txt and Rename.jar on the same folder of the dowloaded files and run java -jar Rename.jar

import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;

public class Rename {

    public static void main(String[] args) throws FileNotFoundException {
        BufferedReader br = null;
        String line = "";
        String cvsSplitBy = ",";
        String csvFile = "renamer.txt";
        br = new BufferedReader(new FileReader(csvFile));

        try {
            while ((line = br.readLine()) != null) {
                    
                    String[] oldName = line.split(cvsSplitBy);
                    
                    System.out.println(oldName[0]);
                    System.out.println(oldName[1]);
                    
                    File oldfile = new File (oldName[0]+".pdf");
                    File newfile = new File (oldName[1]+".pdf");
                    if (oldfile.renameTo(newfile)) {
                        System.out.println("Rename sucessfull");
                    }
                    
                }
        } catch (IOException e) {
            
            e.printStackTrace();
        }

        
            try {
                br.close();
            } catch (IOException e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
            }        
    }

}

Rename.jar

 

Uncategorized