Troubleshooting my Lotus Notes 8.5.2, Expeditor 6.2, and Eclipse 3.4 setup

SCHEDULED: 2010-07-21 Wed 08:00

To paraphrase Edison: I wasn’t failing, I was just figuring out a thousand ways that didn’t work. =)

—-

Summary of troubleshooting lessons learned for Lotus Notes 8.5.2, Expeditor 6.2, and Eclipse 3.4:

org.eclipse.equinox.common problems when installing Expeditor Make sure you have the version of Eclipse that matches your Expeditor’s system requirements (not a newer version, not an older version). For Expeditor 6.2, you’ll need Eclipse 3.4.

Problem occurred reading your Target. Ensure that your Target Platform’s Location is configured correctly. Set it to c:\notes\framework\rcp\eclipse, or wherever your rcp\eclipse directory is. If you still get the error, tinker around a little or wait a while. I don’t remember what I did to solve this.

Bundle com.ibm.jxesupport not found. Ignore that. You’re supposed to be able to correct that issue by right-clicking on the project, selecting Properties > Client Services, and clicking OK, but no luck. It doesn’t stop the system from moving forward, though.

com.ibm.rcp.platform.personality error or java.lang.SecurityException: Unable to locate a login configuration: *Enable all the features and be patient.

—-

I’ve been working on getting a Lotus Notes + Eclipse development environment so that I can make a Lotus Notes plugin for my community tools. There’s a lot of interest in the community metrics tool, for starters.

The challenge with setting up development environments is getting all the versions to line up with the tutorials on the Net. I came across a page that described how to set up Lotus Notes 8.5.1 with the Eclipse Plugin Development Environment (PDE). I was on a newer version of Eclipse, so I needed to figure out a couple of the steps, and I eventually ran into a security exception with login configurations.

Along the way, I came across Lotus Expeditor and decided I wanted to try that. I saw an old article that said Expeditor only works with Eclipse 3.2.2 and not the newer versions, so I installed that, but it had problems trying to find com.ibm.equinox.common. Then I found out that I had a newer version of Expeditor which requires Eclipse 4.0. When I installed that, Expeditor installed fine.

Lesson learned: Look up the version of the toolkit you’re using. Look up the specific software requirements for that version. Match it instead of using newer versions.

Hmm. New error: Problem occurred reading your Target. Ensure that your Target Platform’s Location is configured correctly. I have it set to c:\notes\framework\rcp\eclipse. It won’t accept c:\notes\framework\eclipse . Hmm. It works now. I don’t know what I did, though.

I’m running into the com.ibm.rcp.platform.personality error again. Let’s try reloading those. They show up in the plugin list for the run configuration, though. Ah. Selecting another plugin that depends on that plugin might’ve done the trick.

There’s a note about Bundle com.ibm.jxesupport not found. com.ibm.jxesupport was removed in Lotus Expeditor 6.2.0. You’re supposed to be able to correct that issue by right-clicking on the project, selecting Properties > Client Services, and clicking OK, but no luck. It doesn’t stop the system from moving forward, though.

… and we’re back at the java.lang.SecurityException: Unable to locate a login configuration which I encountered this morning.

Okay. What do I know about this error?

  • Maybe I’ve configured the wrong JVM.
  • Maybe the JVM can’t find lib/security/java.security .
  • Maybe there isn’t one by default in Notes, so I have to create it.
  • Maybe the classes aren’t in the classpath.

Aha! Found someone with the same error message, but in a different language. The person reported that checking all the boxes in the plugin tab helped. Let’s try running it with all the features enabled (oh my). Lots of warnings, but still going… And there’s the Lotus Notes login dialog, and the sample QuickNote plugin. I think we have it!

Useful links:

  • http://www.trajano.net/ Archimedes Trajano

    A lot of com.ibm packages tend to only work in the version that they have tested. And you’d probably encounter different versions of Eclipse being needed. Fortunately, you can install multiple versions of Eclipse so you’re lucky there.

    Personally I am still waiting for Notes X when they would hopefully make things easier for developers to get started before I jump in again. However, it is good that you’re treading the waters for the rest of us.

  • http://twitter.com/wordymusic Linda

    Thank you! That was was very useful to me. Also interesting. :)

  • Colin

    Thank you for sharing this information, I was stuck getting the Test Environment Configuration, Target Location, which for me is now working at C:\lotus\notes\framework\rcp\eclipse

    • http://sachachua.com Sacha Chua

      You’re welcome. Glad it works for you!

  • Heinrich Mueller

    I was not sure with System Requirements and Windows7 32, so I tried out all configurations, but Edison did not help me. Finally installed it with XP and it worked immediately.
    Thank you for all the tipps !

  • wayne

    every time i open my lotus notes, the lotus notes window always closes, any idea and solution to this issue, i had already tried re installing my notes, it will just operate normally for a week then the problem again comes…. can i have please ideas on how to fix this problem?

  • Rao Vootla

    I am running into similar issues. Our Notes Designer installation is under c:program files. I know that Java does not really work well with spaces in certain scenarios.

    When I created a plug-in from Designer and launch , I get \Bootstrap code cannot be found\ error. When I set the target platform from Eclipse to c:program filesIBMlotus
    otes ramework
    cpeclipse, I am getting all sorts of weird eclipse errors. Such as \activation failure see config.ini\ and \NoSuchMethod Error on org.osgi.framework.Bundle.getVersion\.

    I do not have expeditor. I am trying to write a plug-in that can work Notes UI workspace.

    I am suspecting the spaces in the path as first suspect. It could also be a bad install. Not so sure.

    I am new to Notes Designer :-) but not to Java.

    Got any ideas?