OAG Will Not Use WebLogic and Tibco JMS at the Same Time - Firewall Concerns (Doc ID 1999247.1)

Last updated on MAY 06, 2016

Applies to:

Oracle API Gateway - Version 11.1.2 and later
Information in this document applies to any platform.

Symptoms

64-bit OAG 11.1.2.3.0 on Linux.


When integrating OAG with both Tibco EMS and Weblogic JMS, such that it will be possible to read messages placed by Tibco and write the same messages to the Weblogic JMS queue, the following error occurs:

INFO    JMS service: weblogic.jndi.WLInitialContextFactory => https://myhost.com:5041
INFO    waiting for 0 JMS service threads to exit
ERROR  Error executing reconnect to JMS Service MyQueueService:
javax.naming.NoInitialContextException: Cannot instantiate class: weblogic.jndi.WLInitialContextFactory [Root exception is java.lang.ClassNotFoundException: weblogic.jndi.WLInitialContextFactory]
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:674)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)
at javax.naming.InitialContext.init(InitialContext.java:242)
at javax.naming.InitialContext.<init>(InitialContext.java:216)
at com.vordel.dwe.jms.JMSService.reconnect(JMSService.java:377)
at com.vordel.dwe.jms.JMSService.access$000(JMSService.java:63)
at com.vordel.dwe.jms.JMSService$1.call(JMSService.java:352)
at com.vordel.dwe.jms.JMSService$1.call(JMSService.java:348)
at com.vordel.common.concurrent.SelfRetriableTask.call(RetriableCommand.java:117)
at com.vordel.common.concurrent.SelfRetriableTask.call(RetriableCommand.java:105)
at com.vordel.common.concurrent.RetriableCommand.execute(RetriableCommand.java:50)
at com.vordel.dwe.jms.JMSService.startReconnectJob(JMSService.java:367)
at com.vordel.dwe.jms.JMSService.configure(JMSService.java:339)
at com.vordel.dwe.jms.JMSServiceGroup.configure(JMSServiceGroup.java:36)
at com.vordel.precipitate.SolutionPack.loadModules(SolutionPack.java:618)
at com.vordel.dwe.Service.refresh(Service.java:437)
at com.vordel.api.configuration.ConfigurationService.updateConfiguration(ConfigurationService.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:699)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
Caused by: java.lang.ClassNotFoundException: weblogic.jndi.WLInitialContextFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at java.lang.Class.forName0(Native Method)



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms