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

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

Uncategorized

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

Uncategorized

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

Uncategorized

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
            Class.forName(jdbcClassName);
            //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);
                    System.out.println(“uid:”+y);
                    System.out.println(“.”);
            }
        } catch (ClassNotFoundException e) {
            e.printStackTrace();
        } catch (SQLException e) {
            e.printStackTrace();
        }finally{
            if(connection!=null){
                System.out.println(“Exported successfully.”);
                try {
                    connection.close();
                } catch (SQLException e) {
                    e.printStackTrace();
                }
            }
        }
 
    }
 
}

Uncategorized

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

Uncategorized

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

Uncategorized

Just for me (beginner using Notes on MAC) this TN show basic things

Uncategorized

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

Uncategorized

As the administrator, you can  use a setting in the Mail settings policy document to list by name any web sites you want to trust to show images in client users’ MIME mail messages. The setting creates exceptions to the Notes client preference To ensure privacy, do not show remote images without my permission (under File > Preferences > Mail > Internet setting) .

The new policy setting enforces exceptions for any websites you enter. The client user’s mail prevents display of images in messages from all but the trusted sites.

To enable the exception (“whitelist”) for images, create a mail policy settings document, and on the Basics tab, enter as many website addresses (URLs) as you want to trust under Image Security in the field List of trusted websites for images in MIME messages. For example, enter www.ibm.com.

Uncategorized

I opened a PMR last week asking IBM why drag and drop a file to a folder is not working when i use Windows Explorer.

Bellow the answer.

The MS desktop plugins do not currently support dragging directly to a folder.  Files must first be created on the server (by adding to Files) and then they can be added to folders.  Connections folders are not containers – they are collections of files that live elsewhere.

Already logged as a story for future consideration:  MS Desktop: Ability to DND a file directly to a personal/community folder (LC 112847)

Uncategorized