on 08-16-2007 2:52 PM
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
Hi Khan,
Could you post here the parameter values which u have passed and protocol?
Rgds,
Srinivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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...
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
/thread/217893 [original link is broken]
/people/alessandro.guarneri/blog/2006/01/04/jms-sender-adapter-handling-too-short-lines
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.