cancel
Showing results for 
Search instead for 
Did you mean: 

JMS Receiver

nisarkhan_n
Active Contributor
0 Kudos

Hi All

i am trying to execute an simple file to JMS scnarion, i am trying to create an test queue in the viisual admin (XI) when i try activating the JMS receiver adapter i get the following error

Error during channel initialization; exception trace: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Error getting the server-side naming service functionality during getInitialContext operation.

at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:243)

at com.sap.engine.system.naming.provider.DefaultInitialContext._getDefaultInitCtxt(DefaultInitialContext.java:65)

at com.sap.engine.system.naming.provider.DefaultInitialContext.(DefaultInitialContext.java:46)

at com.sap.engine.system.naming.provider.DefaultInitialContextFactory.getInitialContext(DefaultInitialContextFactory.java:41)

at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)

at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)

at javax.naming.InitialContext.init(InitialContext.java:219)

at javax.naming.InitialContext.(InitialContext.java:195)

at com.sap.aii.af.service.jms.WorkerJMSSender.init(WorkerJMSSender.java:318)

at com.sap.aii.af.service.jms.WorkerHandlerImpl.run(WorkerHandlerImpl.java:344)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

Caused by: com.sap.engine.services.jndi.persistent.exceptions.NoPermissionException: Exception during getInitialContext operation. Wrong security principle/credentials. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: Cannot authenticate the user.]

at com.sap.engine.services.jndi.implclient.LoginHelper.serverSideLogin(LoginHelper.java:70)

at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:13

Do i have enable the basic authentication in the Security Provider?

Which User details i have to mention on the Jms Queue user name And PWD.

I have created an test Queue in the JMS Provider in VA.

regards

Nisar

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Khan,

Could you post here the parameter values which u have passed and protocol?

Rgds,

Srinivas

Former Member
0 Kudos

Hi,

Pls check below parameters in ur scenario..

Tp:access JMS provider with JNDI

MP:JMS1.x

<b>JNDI lookup name of queue conn factory:</b> jmsfactory/default/QueueConnectionFactory

<b>JNDI lookup name of queue</b> : jmsqueues/default/XITestQueue... (XITestQueue is created in Vis admin)

<b>Name of JNDI initial cont fact</b>:com.sap.engine.services.jndi.InitialContextFactoryImpl

JNDI server address: give ur serverip and port

JNDIlogon user :J2EE_ADMIN

JNDI logon pwd: xxxxxx

dont set any other parameters...

Former Member
0 Kudos

Please check the following

1. Parameter values of Queue Name , Queue manager....

2. All the necessary Jar files have been deployed,,,,

check this link for that

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70ffd890-0201-0010-708f-d5dad2dfcf3a">How To Install and Configure External Drivers for JDBC and JMS Adapters</a>

3. Keep the default security settings

4. User Name and Password will be the User name and Password you use to log on to the Visula Admin

Hope this helps ..

Regards,

Sushil.

Former Member
0 Kudos

hey

which system you wanna integrate via JMS?

even if we are using SAP XI inbuilt queues a lot of times we need to deploy some .jar files for this purpose and those .jar files depend upon the system you are integrating.

Thanx

Aamir suhail

Former Member
0 Kudos

hi

try this

<u>/people/william.li/blog/2006/11/13/how-to-use-saps-webas-j2ees-jms-queue-in-exchange-infrastructure

http://help.sap.com/saphelp_nw2004s/helpdata/en/cd/d85a9d6fab7d4dbb7ae421f710626c/content.htm

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f02d12a7-0201-0010-5780-8bfc7d12...

/thread/217893 [original link is broken]

/people/alessandro.guarneri/blog/2006/01/04/jms-sender-adapter-handling-too-short-lines