This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal


Aug 30, 2013, 8:10 PM
10 Posts

Eclipse Configuration Guide for Mac OSX?

  • Category: Application Development
  • Platform: Apple Mac OS
  • Release: 9.0
  • Role: Developer
  • Tags: eclipse,runtime
  • Replies: 2

Hi,

We develop plugins for IBM Notes and Sametime.  On my Mac, I'm trying to get my Eclipse workspace updated with Notes 9 as the target platform.  I believe I have the JRE and Target Environment configured correctly but cannot figure out a runtime configuration that allows me to run my code inside Notes 9.

Are there any instructions for this available please?  Obviously Expeditor is not an option any more.  I have it working on Windows using Mikkel's blog but obviously the runtime environment needs tweaking for Notes.  (Sametime 9 was no problem btw).  I'm using Eclipse 4.2 and an Oracle Java 6 JRE.

The main exception on startup appears to be this:

WARNING CWPST0306W: An exception occurred while invoking the target method login. ::class.method=com.ibm.rcp.internal.security.AbstractProxy.invoke() ::thread=Thread-1 ::loggername=com.ibm.rcp.internal.security
 
javax.security.auth.login.LoginException: CLFRJ0005E: Notes is not installed
at com.ibm.workplace.internal.notes.security.auth.NotesLoginModule.login(NotesLoginModule.java:334)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.ibm.rcp.security.auth.ExtLoginModuleProxy.invokeImpl(ExtLoginModuleProxy.java:109)
at com.ibm.rcp.internal.security.AbstractProxy.invoke(AbstractProxy.java:77)
at com.sun.proxy.$Proxy0.login(Unknown Source)
at com.ibm.rcp.security.auth.ExtLoginModuleProxy.login(ExtLoginModuleProxy.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at com.ibm.rcp.security.auth.service.AbstractLoginService.login(AbstractLoginService.java:125)
at com.ibm.rcp.internal.security.auth.service.DefaultLoginContextService.login(DefaultLoginContextService.java:130)
at com.ibm.rcp.platform.personality.DefaultWorkbenchWindowAdvisor.doLogin(DefaultWorkbenchWindowAdvisor.java:2467)
at com.ibm.rcp.platform.personality.DefaultWorkbenchWindowAdvisor.postWindowCreate(DefaultWorkbenchWindowAdvisor.java:1860)
at org.eclipse.ui.internal.WorkbenchWindow.fireWindowCreated(WorkbenchWindow.java:1227)
at org.eclipse.ui.internal.WorkbenchWindow.open(WorkbenchWindow.java:779)

 

I can provide more information as required.  

Regards,

Colin.


 

Sep 2, 2013, 6:28 AM
24 Posts
Try this?

I haven't set up for plugin development on OSX yet, but for general Java development (ie. Notes.jar) try this. 

In the Run->Configurations, select your configuration. Then go to the "Environment Tab" and add the following. 

Variable:  DYLD_LIBRARY_PATH
Value: /Application/IBM Notes.app/Contents/MacOS

Obviously you may need to change the value to match your system. 

 


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal