Topic
  • 2 replies
  • Latest Post - ‏2011-05-27T15:34:49Z by CBS3_Ian_Wilson
Larry9999
Larry9999
2 Posts

Pinned topic Class Not Found When Starting RM BDS in P8 4.5

‏2010-10-26T17:47:50Z |
Hi,

I'm writing java code to interface to P8 4.5 InfoSphere Enterprise Records package. When I get an instance to the BDS as per below:

private Map getContextMap()
{
HashMap contextMap = new HashMap();
contextMap.put(BDSConstants.CONTEXT_TRANSPORT_TYPE, BDSConstants.TRANSPORT_TYPE_BDP40_JACE);
contextMap.put( BDSConstants.CONTEXT_URI, REMOTE_SERVER_URL);
contextMap.put( BDSConstants.CONTEXT_USERNAME, REMOTE_SERVER_USER);
contextMap.put( BDSConstants.CONTEXT_PASSWORD, REMOTE_SERVER_PASSWORD);
return contextMap;
}
Map commContext = getContextMap();
bds = BulkDeclarationFactory.getBulkDeclarationService(commContext);
A class not found exception is raised in the call to getBulkDeclarationService(). The class in question is:

com.filenet.rm.sm.util.SMUtil
I can find no information on this class within the RM realm of packages. I'm hoping someone will know why this error is happening and what this package is. Is it something not installed on the content engine server? Any information would be most helpful.

Thanks in advance,

Larry
Updated on 2011-05-27T15:34:49Z at 2011-05-27T15:34:49Z by CBS3_Ian_Wilson
  • CBS3_Ian_Wilson
    CBS3_Ian_Wilson
    2 Posts

    Re: Class Not Found When Starting RM BDS in P8 4.5

    ‏2011-05-27T14:03:42Z  
    I have the same issue while coding a BDS application, on the same call to getBulkDeclarationService.

    Did you ever resolve this?

    That missing class (com.filenet.rm.sm.util.SMUtil) is completely undocumented, and not even google can find any reference to it. :-(
  • CBS3_Ian_Wilson
    CBS3_Ian_Wilson
    2 Posts

    Re: Class Not Found When Starting RM BDS in P8 4.5

    ‏2011-05-27T15:34:49Z  
    I seem to have answered this now. I had a bit of a mooch inside RM-App/WEB-INF/lib and found rm-sm-util.jar, and this did the trick. (This is all completely undocumented by the way...).

    I also needed to add the following JARs to the classpath:
    bdp-iface.jar
    bdp-impl-jace.jar
    bdp-impl-wsi.jar
    listener.jar
    wsi40.jar