OSB JCA传输不支持适配器类型:CUSTOM_ADAPTER

时间:2014-06-20 07:13:34

标签: jdeveloper weblogic11g osb

我正在为我们的商务解决方案测试OSB适配器。在这里,我能够在Jdeveloper中创建SOA复合编辑器项目,从中我获得了出站类型的WSDL和JCA绑定文件。

使用这些文件,我需要创建项目OSB服务器并且必须激活它。 PFB屏幕截图。 enter image description here

在通过提交会话激活它时,我点击了错误消息“OSB JCA传输不支持适配器类型:CUSTOM_ADAPTER”,如下面的屏幕截图所示。

enter image description here

错误日志:

  

com.bea.wli.sb.transports.TransportException:无法为wsdl创建JCABindingService:servicebus:/ WSDL / OBTest / OFSOutBound,异常:com.bea.wli.sb.transports.TransportException:OSB JCA传输没有支持适配器类型:CUSTOM_ADAPTER   com.bea.wli.sb.transports.TransportException:OSB JCA传输不支持适配器类型:CUSTOM_ADAPTER    在com.bea.wli.sb.transports.jca.binding.JCATransportOperationBindingServiceImpl.init(JCATransportOperationBindingServiceImpl.java:56)    在com.bea.wli.sb.transports.jca.binding.JCATransportOutboundOperationBindingServiceImpl.init(JCATransportOutboundOperationBindingServiceImpl.java:38)    在com.bea.wli.sb.transports.jca.JCATransportEndpoint.initJCABindingService(JCATransportEndpoint.java:97)    在com.bea.wli.sb.transports.jca.JCATransportProvider.createEndPoint(JCATransportProvider.java:300)    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)    在java.lang.reflect.Method.invoke(Method.java:597)    在com.bea.wli.sb.transports.Util $ 1.invoke(Util.java:83)    在$ Proxy133.createEndPoint(未知来源)    在com.bea.wli.sb.transports.ResourceLifecycleListenerImpl $ EndPointOperationCreate.execute(ResourceLifecycleListenerImpl.java:907)    在com.bea.wli.sb.transports.ResourceLifecycleListenerImpl.processServiceNotifications(ResourceLifecycleListenerImpl.java:342)    在com.bea.wli.sb.transports.ResourceLifecycleListenerImpl.endChangeNotification(ResourceLifecycleListenerImpl.java:125)    在com.bea.wli.sb.transports.TransportManagerImpl.endChangeNotification(TransportManagerImpl.java:1224)    在com.bea.wli.sb.service.ServiceChangeListener.endChangeNotification(ServiceChangeListener.java:142)    at com.bea.wli.config.impl.ResourceListenerNotifier.sendChangeNotificationsInContext(ResourceListenerNotifier.java:423)    在com.bea.wli.config.impl.ResourceListenerNotifier.sendChangeNotifications(ResourceListenerNotifier.java:338)    在com.bea.wli.config.impl.ResourceListenerNotifier.sendChangeNotifications(ResourceListenerNotifier.java:321)    在com.bea.wli.config.impl.ResourceListenerNotifier.beforePrepare(ResourceListenerNotifier.java:97)    在com.bea.wli.config.transaction.TransactionListenerWrapper.beforePrepare(TransactionListenerWrapper.java:64)    在com.bea.wli.config.transaction.TransactionManager.notifyBeforePrepare(TransactionManager.java:1094)    在com.bea.wli.config.transaction.TransactionManager._prepareForCommit(TransactionManager.java:654)    在com.bea.wli.config.transaction.TransactionManager.prepareForCommit(TransactionManager.java:609)    在com.bea.wli.config.deployment.server.ServerDeploymentReceiver._prepare(ServerDeploymentReceiver.java:417)    在com.bea.wli.config.deployment.server.ServerDeploymentReceiver.access $ 700(ServerDeploymentReceiver.java:70)    在com.bea.wli.config.deployment.server.ServerDeploymentReceiver $ 1.run(ServerDeploymentReceiver.java:246)    在weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)    在weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)    在com.bea.wli.config.deployment.server.ServerDeploymentReceiver.prepare(ServerDeploymentReceiver.java:213)    在weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)    在weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access $ 000(DeploymentReceiverCallbackDeliverer.java:13)    在weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer $ 1.run(DeploymentReceiverCallbackDeliverer.java:46)    at weblogic.work.SelfTuningWorkManagerImpl $ WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)    在weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)    在weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

非常感谢某人的帮助。

如果您需要更多详细信息,请回复。

谢谢, 马德汉

1 个答案:

答案 0 :(得分:0)

我通过在OSBSupportedAdapters.xml文件中声明CUSTOM_ADAPTER来解决上述问题。

并将此xml文件放在D:\ OSB \ OSB_Test \ Oracle_OSB1 \ config \ adapter下。

<jca:osb-supported-adapters xmlns:jca="http://www.bea.com/wli/sb/transports/jca">
      <jca:adapter-type>CUSTOM_ADAPTER</jca:adapter-type>
</jca:osb-supported-adapters>

上面的xml文件解决了我的问题,同时在OSB服务器中激活项目。

谢谢, Madhan