cancel
Showing results for 
Search instead for 
Did you mean: 

Connection to WEblogic JMS queue from XI

Former Member
0 Kudos

Trying to connect to Weblogic JMS queue from XI through JMS receiver adapter,

Done all the necessary configuration for the receiver adapter and given

JNDI Lookup name of QueueConnectionFactory

JNDI Lookup name of JMS queue

JNDI Initial Context Factory

JNdi server address ( t3 Protocol)

Also deployed weblogic.jar and edited provider.xml through SDM,stop/started J2ee Engine.

Below is the error in adapter monitor for the communication channel

"Receiver channel. Details: Cannot instantiate class: weblogic.jndi.WLInitialContextFactory"

Refered to SAP Note 802754 which refers to the same problem, however coudnt get this working.

Is there any connection factory to be setup in visual administrator?

Appreciate any help.

Sunil

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Sunil,

The error states it cannot instantiate the class WLInitialContextFactory which creates initial contexts for accessing the WebLogic naming service. So go through the below url for more info. on this and configure accordingly.

http://edocs.bea.com/wls/docs70/javadocs/weblogic/jndi/WLInitialContextFactory.html

Also just try to configure accroding to:

http://help.sap.com/saphelp_nw2004s/helpdata/en/10/b1b4c8575a6e47954ad63438d303e4/content.htm

Configure the JMS settings according to:

http://help.sap.com/saphelp_nw2004s/helpdata/en/c1/739c4186c2a409e10000000a155106/content.htm

Check in Visual administrator if your JMS driver has been successfully installed or not. Problem instantiating the ContextFactory are related to the class loaders either not able to find the related classes or in few cases the mismatch of the java runtime versions too(IBM websphere).

Also check this thread:

---Satish

Former Member
0 Kudos

All the configuration given in the links provided by you has been done, however i believe QueueConnection Factory has to be defined in XI with the name of initial context factory .

However the error still remains the same.

The queue on weblogic is working fine.

Sunil

Former Member
0 Kudos

Hi Sunil,

Try connecting to the Weblogic JMS queue using a Stand alone java program. If that is succesfully done, you can use the same configurations in XI.

Also check in adapter logs in server. You can find some more exception on why it cannot instatiate the ConnectionFactory.

Make sure that jmsproviderlib.sda doesnt contain jars containing classes in javax package.

Regards,

P.Venkat

Former Member
0 Kudos

Weblogic JMS queue is working fine. The log file says it cannot instantiate the weblogic. SDA files are fine.

Still working on the issue

Sunil