WebSphere Portal V8 migration from V7

    Kenio Carvalho  30 July 2014 11:35:25
    This week i am working on a migration project.  Everything was fine until i ran

     ./WASPostUpgrade.sh /waspreupgradebackup -profileName wp_profile -oldProfile wp_profile -username wpsadmin -password ****** -includeApps true -backupConfig false -javaoption -Xmx3056m

    JVMDUMP032I JVM requested Java dump using '/opt/IBM/WebSphere/AppServer/bin/javacore.20140729.090005.3839.0009.txt' in response to an event
    JVMDUMP010I Java dump written to /opt/IBM/WebSphere/AppServer/bin/javacore.20140729.090005.3839.0009.txt
    Java heap space
    JVMDUMP032I JVM requested Snap dump using '/opt/IBM/WebSphere/AppServer/bin/Snap.20140729.090005.3839.0010.trc' in response to an event
    JVMDUMP010I Snap dump written to /opt/IBM/WebSphere/AppServer/bin/Snap.20140729.090005.3839.0010.trc
    JVMDUMP013I Processed dump event "systhrow", detail "java/lang/OutOfMemoryError".
    MIGR0272E: The migration function cannot complete the command

    I run again the command with Xmx4096m but the command doesn´t run anymore and the logs show that the parameter -includeApps is not valid.

    The solution was

    1 - Delete the wp_profile
    2 - Delete the JCR index collections
    3 - Run WASPreupgrade on the source portal
    4 - Recreate the wp_profile on the target machine
    5 - Run the WASPostUpgrade with Xmx510m

      The Pencil Project for prototyping mobile applications

      Kenio Carvalho  23 July 2014 21:06:33
      This is a cool tool. It is free and runs on Linux, Mac and Windows.
      Pencil is built for the purpose of providing a free and open-source GUI prototyping tool that people can easily install and use to create mockups in popular desktop platforms.

      Go to the Pencil Website and look for more details and download options.

      Image:The Pencil Project for prototyping mobile applications

        DWA message disclaimer is added on emails sent to Notes users

        Kenio Carvalho  18 July 2014 08:58:54
        A costumer yesterday ask the exact question i found on this link http://www-01.ibm.com/support/docview.wss?uid=swg1LO43023

        If a DWA message disclaimer is set and a DWA user sends an email where the recipient is an internal user - i.e. address is Notes mail format not internet format, the Notes user receives the message disclaimer.

        This is a known behavior in Notes/Domino and reported to Quality engineering in SPR # KBRT67FN7B as an Enhancement request and currently there are no plans to address it in R8 and R8.5

          Delete users from IBM Connections when you have only the Display Name

          Kenio Carvalho  27 June 2014 19:44:34
          A few days ago i was in charge do remove some users from IBM Connections. The case was  to delete the inactivated users.

          The users was removed from the corporate LDAP a few months ago and no one know the DN or CN of the users. The only information was the Display Name

          I need to know the user_dn and user_uid  to create the file delete_or_inactivate_employees.in and then run delete_or_inactivate_employees.sh script.

          The only way i found was to export some data from PEOPLEDB. Reading the table EMPINST . Inactivated users does not have the PROF_MAIL data.

          I created an java program using Eclipse, connect to PEOPLEDB and export all users without the PROF_MAIL.

          I was able to see the user list and compare with the display name.

          The java program print the results on eclipse console.

          import java.sql.Connection;
          import java.sql.DriverManager;
          import java.sql.ResultSet;
          import java.sql.SQLException;
          import java.sql.Statement;
          public class DAO {
              public static void main(String[] args) {
                  String jdbcClassName="com.ibm.db2.jcc.DB2Driver";
                  String url="jdbc:db2://mydb2server:50000/PEOPLEDB";
                  String user="lcuser";
                  String password="password";
                  Connection connection = null;
                  try {
                      //Load class into memory
                      //Establish connection
                      connection = DriverManager.getConnection(url, user, password);
                      Statement stmt = connection.createStatement();
                      ResultSet rs = stmt.executeQuery("SELECT PROF_UID, PROF_SOURCE_UID, PROF_DISPLAY_NAME FROM \"EMPINST\".\"EMPLOYEE\" WHERE PROF_MAIL IS NULL");
                      while (rs.next()){
                              String x = rs.getString("PROF_SOURCE_UID");
                              String y = rs.getString("PROF_UID");
                              System.out.println ("$dn:"+x);
                  } catch (ClassNotFoundException e) {
                  } catch (SQLException e) {
                          System.out.println("Exported successfully.");
                          try {
                          } catch (SQLException e) {

            ’Unable to find path to server’ when trying to connect

            Kenio Carvalho  11 June 2014 05:00:00
            If you use IBM Notes and do not saw this error, don´t panic, soon or late you will see.

            1. Create a new Location Document in the local names.nsf.
             This forces Notes to not use the cached "last known good address" which is kept even with a reboot.

            2. Use a simple formula agent to clear the fields in the Location Document, as follows:

            FIELD $SavedAddresses := "";
            FIELD $SavedPorts := "";
            FIELD $SavedServers := "";
            FIELD $SavedDate := "";
            FIELD $SavedTriedDate := "";

            NOTE: For testing purposes, you can insert the following parameter in the notes.ini file: dont_use_remembered_addresses=1

            This parameter is read by the Notes client ONLY during startup. Its purpose is to test server searches. The parameter does not clear the address cache and is not designed to do so. It causes Notes to not load remembered paths stored in the cache. Use this for testing purposes only since it is not a permanent solution to these errors.

            The information is from TN 1100207

              IBM Digital Data Connector (DDC) for WebSphere Portal

              Kenio Carvalho  10 June 2014 08:24:48

              With Digital Data Connector, your website designers can use Web Content Manager presentation components to generate the web page markup for your external data. They can use all the Web Content Manager data management facilities for managing your external data visualizations. These facilities include content syndication, version handling, workflow, and targeting. They can manage the design components in the same way as your other Web Content Manager content and design components. The major benefits of this approach include the following:
              • Your Web Content Manager designers can fully control the visual appearance of the integrated data.
              • They can visualize the external data in the same way in which they visualize data that is stored in Web Content Manager.
              • As a result, they can visualize the external data in a way that is consistent with the corporate design of your overall website by reusing existing Web Content Manager components.
              • To quickly adjust existing visualizations of your data or create new visualizations for new kinds of external data, you no longer need the help of software developers or the IT department. Your website designers can start working on the presentation templates directly from your portal pages that show the data. They use the inline editing capabilities of Web Content Manager.
              • Your website designers make updates to the Web Content Manager design components in project scope. This way, they can keep updates in draft stage until all updates to the project are completed, approved, and finally published.

              Documentation on V8.0.0.1 Wiki

              Sample on OpenNTF

                Keyboard shortcut and file location differences for Lotus Notes for Macintosh

                Kenio Carvalho  20 May 2014 17:06:18
                Just for me (beginner using Notes on MAC) this TN show basic things

                  Custom renderer for Combobox in read mode

                  Kenio Carvalho  15 May 2014 19:39:13

                  The document in read mode opens like this bellow (I am using an Xpage to show the document content). In this Xpage i have one editbox and one combobox.

                  Image:Custom renderer for Combobox in read mode
                  If you open in edit mode you get this
                  Image:Custom renderer for Combobox in read mode
                  Se examinar o fonte da página veremos que o campo combobox foi renderizado como um texto e tabelas

                  Looking on the source of the page (document in read mode) the combobox field was rendered like a string  with a table

                  Image:Custom renderer for Combobox in read mode

                  Em modo edição o campo é renderizado como um elemento select:

                  The source of edit mode the combobox field was rendered as a select.

                  Image:Custom renderer for Combobox in read mode

                  The chalenge: Create a more consistent view of the combobox element when the document is open in read mode.

                  The Solution:

                  Attention ->   I don´t know if this is the best solution but it works.

                  I create a class to modify the rendering of the combo box a custom renderer (based on this blog post).
                  When the document is opened in edit mode the class render the input field and when in edit mode it render the combobox.

                  The custom renderer  code:

                  Image:Custom renderer for Combobox in read mode
                  When i open the document in read mode i get this:

                  Image:Custom renderer for Combobox in read mode

                  New Entries

                  New Comments





                  Locations of visitors to this page