自定义适配器停止工作,错误无法启动

2020-09-16 15:49发布

点击此处---> 群内免费提供SAP练习系统(在群公告中)加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)由于受Blog的限制,我已经为R...

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


由于受Blog的限制,我已经为REST实现了自定义适配器代码,并且可以正常使用到上周。现在,它给出的错误如下,请不要进行任何更改。

MP:捕获原因为javax.naming.NamingException的异常:名称为localejbs/Custom_AF_Modules/FormatConversionBean的对象的查找操作期间发生异常,无法解析对象引用。 [根本异常是javax.naming.NamingException:EJB对象工厂尝试解析JNDI参考时发生错误参考类名称:
类型:clientAppName
内容:JavaEE/com.equalize.xpi.af.modules.ejb
类型:interfaceType
内容:本地
类型:local-home
内容:com.sap.aii.af.lib.mp.module.ModuleLocalHome
类型:ejb-link
内容:FormatConversionBean
类型:jndi-name
内容:Custom_AF_Modules/FormatConversionBean
类型:local
内容:com.sap.aii.af.lib.mp.module.ModuleLocal
< br> com.sap.engine.services.ejb3.runtime.impl.refmatcher.EJBResolvingException:无法启动应用程序JavaEE/com.equalize.xpi.af.modules.ejb; 嵌套的异常是:java.rmi.RemoteException:ASJ.dpl_ds.006125在本地启动应用程序并等待时发生错误。 嵌套的异常是:
com.sap.engine.services.deploy.exceptions.ServerDeploymentException:[准备启动应用程序JavaEE/com.equalize.xpi.af.modules.ejb]时发生异常。 在com.sap.engine.services.ejb3.runtime.impl.DefaultContainerRepository.startApp(DefaultContainerRepository.java:347)中
在com.sap.engine.services.ejb3.runtime.impl.refmatcher.result。 SingleResultImpl.add(SingleResultImpl.java:93)在com.sap.engine.services.ejb3.runtime.impl.refmatcher.BeanMatcher.matchLocalInterfaces(BeanMatcher.java:185)在com.sap.engine中。 services.ejb3.runtime.impl.refmatcher.BeanMatcher.matchInterfaces(BeanMatcher.java:87)在com.sap.engine.services.ejb3.runtime.impl.refmatcher.BeanMatcher.matchReferenceToBean(BeanMatcher.java:50) 在com.sap.engine.services.ejb3.runtime.impl.DefaultContainerRepository.matchBean(DefaultContainerRepository.java:386)中
在com.sap.engine.services.ejb3.runtime.impl.DefaultContainerRepository.matchApps( DefaultContainerRepository.java:363)在com.sap.engine.services.ejb3.runtime.impl.DefaultContainerRepository.getEnterpriseBeansContainers(DefaultContainerRepository.java:94)中在com.sap.engine.services.ejb3.run中 time.impl.DefaultRemoteObjectFactory.resolveReference(DefaultRemoteObjectFactory.java:82)在com.sap.engine.services.ejb3.runtime.impl.EJBObjectFactory.getObjectInstance(EJBObjectFactory.java:197)在com.sap处。 在com.sap.engine.system.naming.provider.ObjectFactoryBuilderImpl._getObjectInstance(ObjectFactoryBuilderImpl.java:76)上的engine.services.ejb3.runtime.impl.EJBObjectFactory.getObjectInstance(EJBObjectFactory.java:109)
com.sap.engine.system.naming.provider.ObjectFactoryBuilderImpl.access $ 100(ObjectFactoryBuilderImpl.java:33)在com.sap.engine.system.naming.provider.ObjectFactoryBuilderImpl $ DispatchObjectFactory.getObjectInstance(ObjectFactoryBuilderImpl.java:226) )
在javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:283)在com.sap.engine.services.jndi.implclient.ClientContext.lookup(ClientContext.java:435)
在com.sap.engine.services.jndi.implclient.OffsetClientContext.lookup(OffsetClientContext.java:224)上
在com.sap.engine.service s.jndi.implclient.OffsetClientContext.lookup(OffsetClientContext.java:243)
在javax.naming.InitialContext.lookup(InitialContext.java:392)在javax.naming.InitialContext.lookup(InitialContext.java: 392)在com.sap.aii.af.lib.util.ejb.FastEjbFactory.createEjbInstance(FastEjbFactory.java:70)在com.sap.aii.af.lib.util.ejb.FastEjbFactory中。 createEjbInstance(FastEjbFactory.java:51)在com.sap.aii.af.app.mp.ejb.ModuleProcessorBean.getModuleLocal(ModuleProcessorBean.java:385)在com.sap.aii.af.app中。 mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:261)
在sun.reflect.GeneratedMethodAccessor650.invoke(未知源)在sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
在java.lang.reflect.Method.invoke(Method.java:597)在com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:47)在com上 .sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proc eed(AbstractInvocationContext.java:166)在com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)在com.sap.engine.services.ejb3上。 runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)在com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:50)在com.sap中。 engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)在com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:37)
>在com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:21)处
在com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext。 java:179)在com.sap.engine.services.ejb3.runtime.impl.Interceptors_MethodRetry.invoke(Interceptors_MethodRetry.java:46)在com上。 sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
在com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:191) 在com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:23)在com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed( AbstractInvocationContext.java:179)在com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:25)在com.sap.engine.services.ejb3.runtime处。 impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)在com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:17)在com.sap.engine中。 services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
在com.sap.engine.services.ejb3 .runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:138)在com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:172)在com.sap中 .engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:99)在com.sun.proxy。$ Proxy532.process(未知源)上在com.sap.aii.af .app.listener.AFWListenerBean.onMessage(AFWListenerBean.java:430)在sun.reflect.GeneratedMethodAccessor768.invoke(未知源)在sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>在java.lang.reflect.Method.invoke(Method.java:597)在com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:47)在
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
在com.sap.engine.services.ejb3.runt ime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)在com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)上在com.sap。 engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:50)在com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
> com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:37)
com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction。 java:21)在com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)在com.sap.engine.services.ejb3.runtime.impl中。 Interceptors_MethodRetry.invoke(Interceptors_MethodRetry.java:46)
在com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(Abstract InvocationContext.java:179)在com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:191)在com.sap.engine.services.ejb3.runtime处。 impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:23)在com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)上在com.sap.engine。 services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:25)在com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:17)在com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java: 179)在com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsM anager.java:138)在com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:172)在com.sap.engine.services.ejb3.runtime处。 impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:99)在com.sun.proxy。$ Proxy465.onMessage(未知源)在com.sap.engine.messaging.impl.spi.ServicesImpl.deliver( ServicesImpl.java:361)在com.sap.aii.adapter.xi.ms.XIEventHandler $ TRPProcessingBlock.process(XIEventHandler.java:1841)在com.sap.engine.messaging.impl.spi中。 stage.ProcessorImpl.proceedToProcessingBlock(ProcessorImpl.java:101)在com.sap.engine.messaging.impl.spi.stage.ProcessorImpl.proceedToProcessingBlock(ProcessorImpl.java:120)在com.sap.engine中。 com.sap.engine.messaging.impl.spi.stage.ProcessorImpl.proceedToProcessingBlock(ProcessorImpl.java:120)
上的messages.impl.spi.stage.ProcessorImpl.proceedToProcessingBlock(ProcessorImpl.java:120)
com.sap.engine.messaging.impl。 spi.stage.ProcessorImpl.proceedToProcessingBlock(ProcessorImpl.java:120)在com.sap.engine.messaging.impl.spi.stage.ProcessorImpl.processMessage(ProcessorImpl.java:72)在com.sap中。 aii.adapter.xi.ms.XIEventHandler.onTransmit(XIEventHandler.java:486)在com.sap.engine.messaging.impl.core.queue.consumer.CallConsumer.onMessage(CallConsumer.java:74)中
>在com.sap.engine.messaging.impl.core.queue.Queue.run(Queue.java:1099)
在com.sap.engine.messaging.runtime.MSWorkWrapper.run(MSWorkWrapper.java:58) 在com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)处
在java.security.AccessController.doPrivileged(本机方法)处com.sap.engine处的
.core.thread.impl3.SingleThread.execute(SingleThread.java:185)
在com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:302)
]