• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Obtain context from Infosphere MDM Collaborative Edition server

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here are instructions for developing extension points under MDM Collaborative Edition server.

http://www.ibm.com/developerworks/data/library/techarticle/dm-1312mdmjapi/

And mentioned folowing:

Prerequisites for developing Java API-based extension points

A running MDM Collaborative Edition instance is required. This instance need not be running on the same machine where the IDE is running and Java API-based classes are created.

How to obtain PMContext from remote running MDM Collaborative Edition instance? Which files I have to configure? There is no mention what to do in instructions.

Thank you for your advice,
Sigi
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Sigi,
As suggested in that article, you need to copy the jars, locales, etc folder from the MDM CE installation home ($TOP) into your local machine where IDE is running. From the workspace, create new folders and link the directories mentioned earlier. Also copy the locales folder under etc/default folder of the workspace. You should be set. Now if you are invoking your class with a main method, could be Java extension point or the DocstoreLoader class given in that article, you need to run the class arguments like the following

-DCCD_ETC_DIR=C:\prj\MDMCS10_1\etc -DTOP=C:\prj\MDMCS10_1\etc\default -classpath $CLASSPATH

In above given args, replace the underlined section with your local absolute path containing the MDM CE folder. the As far as MDM CE is running then you will be get context and talk to MDM CE application. I would presume that you have a local JRE installed and MDM CE jars in the local folder are kept in your Java Project's classpath.

Refer the

Thanks,
Muthu
MDMCE_Java_Workspace.JPG
[Thumbnail for MDMCE_Java_Workspace.JPG]
MDM CE Java Workspace
VM_Args.JPG
[Thumbnail for VM_Args.JPG]
Arguments to Main class
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic