Quantcast
Channel: SCN : All Content - SAP NetWeaver Application Server
Viewing all articles
Browse latest Browse all 2997

Standalone Java Code to Connect to JMS in SAP MII 12.2

$
0
0

Hi All,

 

I m working on JMS in SAP MII 12.2. I m trying to Asynchronously Receiving Messages Sent to a Topic following the example at, http://help.sap.com/saphelp_erp60_sp/helpdata/en/20/4cf81d8ff54c5588cb7e000cae6467/frameset.htm. I m writing a standalone Java Code and have added following jars to build path :


sap.com~tc~exception~impl.jar
sap.com~tc~logging~java~impl.jar
sap.com~tc~je~clientlib~impl.jar

But I m getting following exception,
com.sap.engine.services.jndi.persistent.exceptions.NoPermissionException: Exception during getInitialContext operation. Wrong security principles/credentials

 

private static final String USER = "Administrator";
private static final String PASSWORD = "abc123";

 

The username/password I m passing here is able to login to SAP MII and also able to check JNDI Browser in NWA.

Could you please point out what m I doing wrong here. Any pointers would be appreciated.

 

Thanks,

N G.


Viewing all articles
Browse latest Browse all 2997


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>