"No transport provider registered with ID" While Enabling Custom Transport in JDeveloper (Doc ID 2193012.1)

Last updated on OCTOBER 19, 2016

Applies to:

Oracle Service Bus - Version 12.2.1.0.0 to 12.2.1.0.0
Information in this document applies to any platform.

Symptoms

Custom transport is not recognized by JDeveloper after placing the plugin xml file under the plugin directory and placing the transport jar in the transport directory and restarting the JDeveloper.

Following exceptions occur in JDeveloper after enabling custom transport in JDeveloper.

Performing action (162) null [ from MainWindowView ] [ for ( , SBProject.jpr, ServiceBusApplication1.jws ) ]
org.openide.filesystems.Ordering:Sep 20, 2016 4:39:41 PM org.openide.filesystems.Ordering$1ChildAndPosition compareTo
WARNING: Found same position 1,000 for both Toolbars/dbsearch.toolbar and Toolbars/javax.ide.NEW_SECTION_ID

org.openide.filesystems.Ordering:Sep 20, 2016 4:39:41 PM org.openide.filesystems.Ordering$1ChildAndPosition compareTo
WARNING: Found same position 1,000 for both Toolbars/dbsearch.toolbar and Toolbars/javax.ide.NEW_SECTION_ID

org.openide.filesystems.Ordering:Sep 20, 2016 4:39:41 PM org.openide.filesystems.Ordering$1ChildAndPosition compareTo
WARNING: Found same position 1,000 for both Toolbars/dbsearch.toolbar and Toolbars/javax.ide.NEW_SECTION_ID

Reported by logger: oracle.osb.offline.kernel-offline.kerneloffline
Sep 20, 2016 4:41:30 PM com.bea.alsb.common.catalog.CatalogLogger log
SEVERE: Could not register transport: /refresh/home/Oracle/Middleware/Home12211/osb/config/plugins/transport-http-wia.xml
java.lang.ClassCastException: com.bea.wli.sb.transports.http.generic.HttpTransportProvider cannot be cast to com.bea.wli.sb.transports.http.wls.HttpTransportProvider
at com.bea.wli.sb.transports.http.wls.HttpTransportProvider.getInstance(HttpTransportProvider.java:39)
at com.example.esb.transports.wia.WiaTransportProvider.(WiaTransportProvider.java:48)

 

Also, when modifying the custom transport implementation to use com.bea.wli.sb.transports.http.generic.HttpTransportProvider to get the HttpTransportProvider instance instead of using
com.bea.wli.sb.transports.http.wls.HttpTransportProvider following error occurs.

 

SEVERE: No transport provider registered with ID: http
Sep 18, 2016 11:20:26 PM com.bea.alsb.common.catalog.CatalogLogger log
SEVERE: Exception in HttpTransportProvider.getInstance:
com.bea.wli.sb.transports.TransportException: No transport provider
registered with ID: http
com.bea.wli.sb.transports.TransportException: No transport provider
registered with ID: http
at com.bea.wli.sb.transports.TransportManagerImpl.getProviderInternal(TransportManagerImpl.java:623)
at com.bea.wli.sb.transports.http.wls.HttpTransportProvider.getInstance(HttpTransportProvider.java:39)
at com.example.esb.transports.wia.WiaTransportProvider.<init>(WiaTransportProvider.java:48)
at com.example.esb.transports.wia.WiaTransportProvider.getInstance(WiaTransportProvider.java:260)
at com.example.esb.transports.wia.WiaTransportProviderFactory.registerProvider(WiaTransportProviderFactory.java:18)
at com.bea.alsb.offline.OfflineExtensionRegistry.registerTransport(OfflineExtensionRegistry.java:250)
at com.bea.alsb.offline.OfflineExtensionRegistry.register(OfflineExtensionRegistry.java:165)
at oracle.sb.tooling.ide.core.internal.config.service.SbConfigService.start(SbConfigService.java:108)
at oracle.sb.tooling.ide.core.SbIdeStarter.run(SbIdeStarter.java:57)
at oracle.ideimpl.extension.ExtensionManagerImpl$AfterExtensionLoadingRunnable.run(ExtensionManagerImpl.java:2076)
at oracle.ideimpl.extension.ExtensionManagerImpl._invokeRunnablesAfterExtensionLoading(ExtensionManagerImpl.java:1575)
at oracle.ideimpl.extension.ExtensionManagerImpl.fullyLoadExtensions(ExtensionManagerImpl.java:1817)
at oracle.ideimpl.extension.OnProjectOpenHook.projectOpen(OnProjectOpenHook.java:109)
at oracle.ide.model.Project$NL.processOnProjectOpenHook(Project.java:963)
at oracle.ide.model.Project$NL.nodeWillOpen(Project.java:951)

at oracle.ide.model.Node$3.run(Node.java:3017)
at oracle.ide.model.Node.fireNodeEvent(Node.java:2966)
at oracle.ide.model.Node.fireNodeWillOpen(Node.java:3015)
at oracle.ide.model.Node.open(Node.java:1250)
at oracle.ide.model.Node.open(Node.java:1201)
at oracle.ideri.navigator.DefaultNavigatorWindow.openDataNodes(DefaultNavigatorWindow.java:1327)
at oracle.ideri.navigator.DefaultNavigatorWindow.restoreExpansionState(DefaultNavigatorWindow.java:1306)
at oracle.ideri.navigator.DefaultNavigatorWindow.loadLayout(DefaultNavigatorWindow.java:680)
at oracle.ide.navigator.ProjectNavigatorWindow.loadLayout(ProjectNavigatorWindow.java:439)
at oracle.ide.docking.DrawerWindow.createDrawer(DrawerWindow.java:856)
at oracle.ide.docking.DrawerWindow.loadLayout(DrawerWindow.java:823)
at oracle.ide.navigator.ApplicationNavigatorWindow.loadLayout(ApplicationNavigatorWindow.java:1319)
at com.oracle.jdeveloper.nbwindowsystem.NbDockStation.loadViewData(NbDockStation.java:986)
at com.oracle.jdeveloper.nbwindowsystem.NbDockableContainer.componentOpened(NbDockableContainer.java:169)
at org.openide.windows.WindowManager.componentOpenNotify(WindowManager.java:307)
at org.netbeans.core.windows.WindowManagerImpl.notifyTopComponentOpened(WindowManagerImpl.java:1149)
at org.netbeans.core.windows.Central.addModeOpenedTopComponent(Central.java:798)
at org.netbeans.core.windows.ModeImpl.addOpenedTopComponent(ModeImpl.java:354)
at org.netbeans.core.windows.LazyLoader.lazyLoad(LazyLoader.java:140)
at org.netbeans.core.windows.PersistenceHandler.initModeFromConfig(PersistenceHandler.java:441)
at org.netbeans.core.windows.PersistenceHandler.load(PersistenceHandler.java:204)
at org.netbeans.core.windows.WindowSystemImpl.load(WindowSystemImpl.java:81)
at org.netbeans.core.GuiRunLevel$InitWinSys.run(GuiRunLevel.java:229)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

 

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