cancel
Showing results for 
Search instead for 
Did you mean: 

MDM Java API : urgent

Former Member
0 Kudos

hi all

we hv added 5 jar file

MDM4J.jar

mdm-admin.jar

mdm-common.jar

mdm-core.jar

mdm-protocol.jar

but still we are getting error at

IConnectionSpec spec = connectionFactory.getConnectionSpec();

saying "Can not resolve IConnectionSpec"

does any one kno its solution??

do we need to add more jar files???

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks Subbu,

We have added all the files u mentioned and its working fine.

Regards,

Ashwin.

BorjaSerrano
Explorer
0 Kudos

Hello

We have read installation guide "SAP Netweaver MDM 5.5 SP05", page 22, we want install MDM Connector and MDM Java API, in "installation procedure", it is indicate

1. Extract the files from the archives.

The javadoc folders contain an HTMLbased

collection of documents that

describe the Java API. Make sure you

retain the directory structure.

2. Deploy the SDA files on Web AS

Java using the Software Deployment

Manager (SDM). MDM Connector uses

the mdm4j library as a shared library to

support generic connection.

3. Store the JAR files at the standard

location for the application that uses

them.

4. Include the path to the JAR files in

the class path for the application that

uses them. This may be an

environment variable, a command line

argument, or an application

configuration parameter.

Only we are clear point 2, but rest, we are not sure, please could you clear us it ???

Thanks

Former Member
0 Kudos

Ashwin,

Nope, those are the 4 jar files required. The problem could be the class path specified.

try this command to compile.

javac -classpath MDM4J.jar;mdm-core.jar;mdm-common.jar;mdm-admin.jar;mdm-protocol.jar <filename>

the jars specified should be in the same directory as the file.

Regards,

Anand.

Former Member
0 Kudos

Hi,

Please make sure the following jars are specified in the CLASSPATH.

MDM4J.jar, com.sap.mdm.tech.connector.jar, ConnectorHelper.jar, ExtendedConnector.jar, j2ee.jar, mdm-common.jar, mdm-protocol.jar, connector.jar, exception.jar, <b>GenericConnector.jar</b>, logging.jar, mdm-admin.jar, mdm-core.jar, sapj2eeclient.jar

IConnectionSpec.class is in GenericConnector.jar file

You can find the above jar files(GenericConnector.jar,ConnectorHelper.jar,ExtendedConnector.jar) in Web As installation directory.

<b>\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\ext\tcconnconnectorframework</b>

Hope this helps.

Thanks and Regards

Subbu