Skip to Content
avatar image
Former Member

SAP PI 7.3 as a JMS Provider

Dear friends,

I want to use our SAP PI 7.3 system as a JMS Provider and to test the connection I use Hermes tool.

I've already seen and implemented the following blogs:

HowTo: Connect to SAP JMS Provider with HERMES

PI and SAP application server as JMS provider

I use these JAR's in Hermes to connect to our PI 7.3 system:

\ \j2ee\j2eeclient\ sap.com~tc~exception~impl.jar

\ \j2ee\j2eeclient\ sap.com~tc~je~clientlib~impl.jar

\ \j2ee\j2eeclient\ sap.com~tc~logging~java~impl.jar

<SID>\<instance>\j2ee\cluster\bin\ext\jms\lib\private\jmsclient.jar

<SID>\<instance>\j2ee\cluster\bin\ext\jms_api\lib\jms.jar

I already created a session in Hermes as mentioned in the blog: PI and SAP application server as JMS provider and when I click on Discover I get the following error in Hermes:

javax.jms.JMSException: Could not create InitialContext: Exception while trying to get InitialContext.          at hermes.JNDIContextFactory.createContext(JNDIContextFactory.java:282)          at hermes.ext.HermesAdminSupport.discoverDestinationConfigs(HermesAdminSupport.java:441)          at hermes.impl.HermesAdminAdapter.discoverDestinationConfigs(HermesAdminAdapter.java:84)          at hermes.impl.DefaultHermesImpl.discoverDestinationConfigs(DefaultHermesImpl.java:1358)          at hermes.browser.tasks.DiscoverDestinationsTask.invoke(DiscoverDestinationsTask.java:76)          at hermes.browser.tasks.TaskSupport.run(TaskSupport.java:175)          at hermes.browser.tasks.ThreadPool.run(ThreadPool.java:170)          at java.lang.Thread.run(Unknown Source)

Can you please help me with this issue?

Thank you in advance,

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 23, 2013 at 11:42 AM

    Anyone any ideas?

    This is a rather urgent issue...

    Thank you dear friends...

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 25, 2013 at 04:12 PM

    Hi,

    Hope you have given the below parameters in Hermes JMS.

    binding : jmsfactory/default/QueueConnectionFactory

    intialContextFactory : com.sap.engine.services.jndi.InitialContextFactoryImpl

    providerURL : Host:5***4

    securityCredentials : Password

    securityPricipal : UserName

    Regards,

    Veerendra.

    Add comment
    10|10000 characters needed characters exceeded