Gut gemacht Microsoft

29. Juli 2015 Posted by Ralf Petter

Ja Microsoft das habt Ihr wirklich wieder gut gemacht. Ein Upgradeprogramm auf Windows 10, dass 16 Megabyte groß ist und das einzige was es mir sagen kann wenn ich es auf einem ganz gewöhnlichen Windows 7 laufen lasse ist:



Wirklich starke Leistung wenn man bedenkt, dass das komplette Windows 3.1 ein kleinerer Download war.

Downloads of my free Notes/Domino tools moved to a new hoster

24. Juli 2015 Posted by Ralf Petter

Some users of my free Notes/Domino tools have reported that they have problems to download the widgets from my Google Drive where i hosted them in the past. So i have migrated all my downloadable content from Google Drive to a payed web space from United Domains. I really hope that with this new web space problems with the download will be a thing of the past. If you have still problems please leave a comment what you have tried to download and which problem occurs so that i can solve your problem.

As already said this new web space costs me a monthly fee, so if you are a happy user of one of my tools maybe you can donate some money via paypal so that this service stay free for the future. Thanks in advance for your help.


The following tools are available in the moment:

Document Spy



The document spy which shows you all items of the selected document in the sidebar in a clear table. You can even change items with a simple double click on the item, which save you a big amount of your time because you do not need to write agents to do simple changes on documents. As a bonus feature the Document spy let you view and edit profile documents in databases. Very handy if you have a defect in the profile of your mail database.

ToDo Activator




Activates the otherwise hidden ToDo Sidebar view. The ToDo Sidebarview is similar to the day at a glance view only for Todos.

Extension Spy



The extension spy gives you a deep look under the hood of the eclipse extension mechanism in Notes. It shows you which plugins extend which extension points. Often you get can get good ideas for own extensions when you have a look how IBM plugins extend the Notes client.

ShortCutButtonBar Enabler



The ShortCutButtonBar Enabler allows you to add your custom databases to the new Notes 9.x Shortcutbar without java development skills. You can add new icons with simple notes.ini entries.

Downloads of my free Notes/Domino tools moved to a new hoster

24. Juli 2015 Posted by Ralf Petter

Some users of my free Notes/Domino tools have reported that they have problems to download the widgets from my Google Drive where i hosted them in the past. So i have migrated all my downloadable content from Google Drive to a payed web space from United Domains. I really hope that with this new web space problems with the download will be a thing of the past. If you have still problems please leave a comment what you have tried to download and which problem occurs so that i can solve your problem.

As already said this new web space costs me a monthly fee, so if you are a happy user of one of my tools maybe you can donate some money via paypal so that this service stay free for the future. Thanks in advance for your help.


The following tools are available in the moment:

Document Spy



The document spy which shows you all items of the selected document in the sidebar in a clear table. You can even change items with a simple double click on the item, which save you a big amount of your time because you do not need to write agents to do simple changes on documents. As a bonus feature the Document spy let you view and edit profile documents in databases. Very handy if you have a defect in the profile of your mail database.

ToDo Activator




Activates the otherwise hidden ToDo Sidebar view. The ToDo Sidebarview is similar to the day at a glance view only for Todos.

Extension Spy



The extension spy gives you a deep look under the hood of the eclipse extension mechanism in Notes. It shows you which plugins extend which extension points. Often you get can get good ideas for own extensions when you have a look how IBM plugins extend the Notes client.

ShortCutButtonBar Enabler



The ShortCutButtonBar Enabler allows you to add your custom databases to the new Notes 9.x Shortcutbar without java development skills. You can add new icons with simple notes.ini entries.

New Version of the IBM Notes Document Spy

28. Juni 2015 Posted by Ralf Petter

I have discovered a bug in the Document Spy which prevent the widget from loading a document. If you are using my Tool please update to Version 1.1.1 of the widget. The easiest way is to remove the widget from the My widget Sidebar view and then reinstall the widget from the Document spy download page.


If you like Document Spy please share the tool on your favorite social Network. Thanks in advance. If you find a bug please leave a comment or contact me at ralf(dot)petter(at)gmail(dot)com

New Version of the IBM Notes Document Spy

28. Juni 2015 Posted by Ralf Petter

I have discovered a bug in the Document Spy which prevent the widget from loading a document. If you are using my Tool please update to Version 1.1.1 of the widget. The easiest way is to remove the widget from the My widget Sidebar view and then reinstall the widget from the Document spy download page.


If you like Document Spy please share the tool on your favorite social Network. Thanks in advance. If you find a bug please leave a comment or contact me at ralf(dot)petter(at)gmail(dot)com

Einstellen des Logginglevel der Starface UCI API

5. Mai 2015 Posted by Ralf Petter

Die Entwicklung unseres Notes basierenden CTI Client für die Starface Telefonanlage befindet sich kurz vor der Fertigstellung. Bisher war es sehr angenehm, dass die Starface API alle Debugmeldungen auf die Standard Ausgabe geleitet hat. Diese Infos sind während der Entwicklung sehr informativ, da sie praktisch die gesamte Kommunikation des Clients mit der Telefonanlage beinhalten. Im Echtbetrieb ist es aber natürlich ein Ärgernis, wenn das gesamte Client log mit Meldungen der Starface API überflutet wird.

Leider habe ich in der Starface API Beschreibung keine Hinweise gefunden, wie man den Logging Level einstellen kann. Nach einiger Analyse des Codes der Starface API habe ich aber eine sehr einfache Methode gefunden den Logging Level auf ein vernüftiges Maß zu drosseln. Um diese Methode in seinem Code zu verwenden, muss sich das Log4j-1.2.16.jar, dass die Starface API mitbringt im Build Path eingetragen sein.


// Starface UCI API auf Level Info setzten. Keine Debug Infos werden
// mehr angezeigt
LogManager.getLogger("de").setLevel(Level.INFO);

IBM has announced IBM i 7.1 TR10 and 7.2 TR2 today.

28. April 2015 Posted by Ralf Petter

Today IBM has announced the newest update for IBM i V7R1 and V7R2. This updates add many new features to IBM i and the DB/2 database. You can find details about the update in the announcement letter or in the IBM Technology Update Wiki:

IBM i 7.1 Technology Refresh 10

IBM i 7.2 Technology Refresh 2

I really recommend to install this updates when it will be available on 29. May 2015

Remote Debug an IBM Notes client from Eclipse

18. April 2015 Posted by Ralf Petter

Normally the easiest way to debug Notes plugins is to start the Notes client directly from eclipse. I have explained how to do this in my tutorial: "Configure Eclipse 4.3 to develop plugins for Notes Part 1 and Part2". But sometimes problems are specific to a special client environment or user configuration and can not be debugged in a test environment. Yesterday i had such a problem with a feature which works great, when i launched the client from eclipse, but fails when i start the client like a user will do.

Fortunately the JVM of the Notes client has a built in remote debugging facility. It can be activated with some small modifications in the JVM.properties configuration file:

Locate the JVM.properties of the Notes client installation you want to debug. You can find it in the  "..frameworkrcpdeploy" directory in your IBM Notes program path.


Open the file with an Editor with admin access rights or copy the file to the desktop before your open it in your favorite text editor.

Add the "vmarg.Xss1m=-Xss1m" directive to the beginning of the VM arguments. It will increase the stack size so that the increased need for storage in the stack while debugging will be provided.

Mark the "vmarg.Xnolinenumbers=-Xnolinenumbers" directive as a comment because when this performance optimization is active, eclipse is not able to set breakpoints.

Add the "vmarg.debug=-Xdebug" and "vmarg.Xrunjdwp=Xrunjdwp:transport=dt_socket,server=y,address=8765" to the end of the VM arguments. The first will activate the debug functionality in the VM. The second makes the debugger listening on port 8765 and the server=y tells the jvm to stop the execution on startup and wait for a debugger to connect.


Save the modified jvm.properties file to the deploy folder of your Notes installation.

Then prepare a remote debug session in your eclipse IDE.

Please be sure that you choose the correct host and the port number you have chosen in the jvm.properties file. I you want to debug a remote host, be sure to deactivate or configure the windows firewall so that a connection to the port is possible.


Start the Notes client. and then click debug in Eclipse. The Notes client will start as soon as the Eclipse debugger is successfully connected to the jvm of notes. The execution of the JVM will stop on every breakpoint you have set in your code the same way as if you had started the client directly from eclipse.

If you liked this tutorial please share it on your favorite social network and if you have problems please leave a comment. Thanks in advance.

How tell Notes that it should roam the preferences of your own plugins too.

17. April 2015 Posted by Ralf Petter

One of the best things about Notes is that it can synchronize your settings on different devices. So you have for example the same settings on your Desktop and on your Laptop. This feature is called roaming. This works really great for all IBM provided Features, but when you have deployed your own or third party eclipse features to your Notes client the settings of them will not roam to your other clients as the IBM Features do. This is very annoying for your users. So i have analyzed the whole roaming process in the client and discovered, that IBM has already implemented an mechanism to activate the roaming feature for 3rd Party Plugins. I have not found any documentation for this on the internet, but it works without any problems.

So let's have a look how the roaming of Preferences in the Notes Standard client works. If roaming is enabled for your user you will have a "roamingdata.nsf" on your client and on the server. In this database there is one document for every plugin which contains the preferences. On the client start this database is replicated with the server and then the settings in your notes data/workspace folder gets updated with the settings in the documents in "roamingdata.nsf". When you end the client every setting you have changed will be updated in the corresponding document in "roamingdata.nsf" and all changed documents will be replicated to the server.

Follow this easy steps to enable the roaming of the settings for your own plugins:

The first step is to retrieve the existing configuration file for the roaming service from the "com.ibm.notes.roaming.provider" plugin. To do this copy the plugin from the "C:Program Files (x86)IBMLotusNotesframeworksharedeclipseplugins" to your desktop and change the extension of the plugin from ".jar" to ".zip" Then open this archive file and extract the roamingconfiguration.xml file in the configuration folder to a local folder. This file contains the complete configuration of the roaming service


You can edit this file with your preferred editor. I use Notespad++ because it is xml aware. Simply add an "roamingbundle" directive in this file for every plugin for which you want that notes should roam the settings.


If you do not know which plugins have settings have a look in the notes "..workspace.metadata.pluginsorg.eclipse.core.runtime.settings" folder. Every file in this folder is potential candidate for your list.

Then deploy your customized "roamingconfiguration.xml" file to every workstation for example with a windows group policy or other software distribution tool.

To tell Notes that it should use your customized file and not the built in file in the plugin simply add the "roaming.config.url=file://c:/Program Files (x86)/IBM/Lotus/Notes/roamingconfiguration.xml" to the com.ibm.rcp.roaming.service preferences. Be sure to update the path of the file to the correct path where you have deployed your configuration file. In my example i have used the Notes program directory. You can set this preferences with a desktop policy or you can set it in the plugin_customization.ini of your Notes installation.


If you like this How to or if you have problems with it, please leave a comment.

There are still marketing videos from IBM that I like.

28. März 2015 Posted by Ralf Petter



After the absolute bad marketing video about verse i have found this nice video about one of the best sources of IT knowledge regarding IBM products. The IBM Redbooks.


Unfortunatly there have been no new real Redbooks for IBM Collaboration products since the introduction of the not so good IBM Red Wikis. I hope they will go back to the normal redbooks format in the future.

In Java 0 is not always equal to 0

22. März 2015 Posted by Ralf Petter

I am a big fan, of the Java BigDecimal class for arithmetic operations. It provides fast and easy to use methods to do calculations in arbitrary precision. But last week i have got a bug report that in one of my programs a check whether a BigDecimal variable is 0 returns a wrong result. Here is the code:


if(value.equals(BigDecimal.ZERO))
System.out.println("Value is zero");
else
System.out.println("Value is not zero");


The check for a zero value has always worked, but suddenly last week it stopped working and after some investigation i have found out, that it stops working, because the scale of the value has changed from zero, to two. When you have a look in the java doc of the equals method you see, that this works as designed.

This method considers two BigDecimal objects equal only if they are equal in value and scale (thus 2.0 is not equal to 2.00 when compared by this method.

As a workaround for this problem you can replace all your equals method to compareTo which only compares the value and not the scale of the BigDecimal object. 

if(value.compareTo(BigDecimal.ZERO)==0)
System.out.println("Value is zero");
else
System.out.println("Value is not zero");

Software problem data for QTETHRD has been logged during debug session in RDI

10. März 2015 Posted by Ralf Petter

A RPG developer in our company had problems to debug an interactive RPG program. He wants to hold the program with the hold button while the program is waiting on user input, but it does not work and after some time the debugger in RDI stops and the program on the IBM i runs without interruption.

The QSYSOPR message queue shows an error message CPI93B9 "Software problem data for QTETHRD has been logged. Refer to help text for additional information." at the same time the debugger in RDI crashes. In the corresponding problem entry there is a Symptom string "5770 SP/QTETHRD MOD/QteRetriev MSGMCH1004RC117" logged. We could not find any helpful information in the joblogs or in the QHST log.

After some investigation we found out, that the root cause of this problem is that the developer had not the special authority "*JOBCTL" After adding this special authority to the userprofile with "CHGUSRPRF USRPRF(USERNAME) SPCAUT(*JOBCTL)" our RPG developer is a happy camper again.

Replication in Notes fails with error file does not exist

4. März 2015 Posted by Ralf Petter

Last week i had the problem that a user who got a new replica of his mail file does not get new mails again. Every time he start the replication of his mail file he got the error "File does not exist" in the replicator tab.  The replication log shows that the replica is sending data to the server, but does not get any data from the server.

Replication never recieved file does not exist


Read more »

External USB keyboard does not work when connected to Dell Dockingstation on boot

25. Februar 2015 Posted by Ralf Petter

Today we had the problem that we can not enter the Truecrypt password on the external keyboard connected to a Dell Dockingstation with a new Dell Latitude Laptop. But after we have typed in  the password on the Laptop keyboard  and windows has booted the external keyboard works without problem. We have tried many things like updating the BIOS and other keyboards, but nothing worked. So we compared the BIOS config value by value with a working Laptop and found out that the Setting "Fastboot" in the "Post Behavior" section is the problem. When it is set to Minimal the USB ports are not initialized and the external keyboard is not working, but when it is set to "Thorough" the external keyboard works without problem. So if you have the same problem go and check your BIOS Settings.

External keyboard does not work on boot Bitlocker

Dolby Digital 5.1 Ausgabe bei Netflix und Amazon Instant Video

22. Februar 2015 Posted by Ralf Petter

Ich bin ein großer Fan, der Streaming Dienste von Amazon und Netflix. Das einzige störende war bisher, dass es immer wieder Probleme beim Abspielen von 5.1 Inhalten über meine Heimkinoanlage gab. Meistens erhielt ich nur ein Stereo Signal, obwohl die Inhalte als 5.1 in der Benutzerschnittstelle von Netflix bzw. Amazon markiert waren. Als Abspielgerät verwende ich eine Playstation 3 die über HDMI mit einem Onkyo NR 636 verbunden ist. Heute habe ich mich einmal im Detail mit den Einstellungen der Playstation 3 befasst und die Einstellungen gefunden, die ein problemloses Abspielen von 5.1 Inhalten sowohl von Netflix als auch von Amazon Instant Video erlaubt.

Wählen Sie in den Einstellungen die Sound Einstellungen aus.


 Innerhalb der Soundeinstellungen wählen Sie die Audio-Ausgangs-Einstellungen


 Wählen Sie HDMI als Ausgang damit die Signale über den HDMI Ausgang ausgegeben werden.


 Schalten Sie auf die Manuelle Einstellmethode des Ausgangsformats um.


Selektieren Sie alle Checkboxen die nicht den Begriff PCM enthalten. Alle anderen Checkboxen sollten soweit wie möglich abgewählt sein.


Speichern Sie Ihre Einstellungen und ab sofort kann man Filme und Serien in  Doblby Digital 5.1 sowohl in der Netflix als auch in der Amazon Instant Video APP problemlos genießen.