webMethods

 View Only
Expand all | Collapse all

Problem during startUp and shutDown custom adapter WMArt

  • 1.  Problem during startUp and shutDown custom adapter WMArt

    Posted Fri September 13, 2024 10:43 PM

    Product/components used and version/fix level:

    10.15

    Detailed explanation of the problem:

    So i’m building my own custom ADK adapter, but in the middle of compiling process and registering startup and shutdown adapter, it can’t be run i got the following error message

    Error messages / full error message screenshot / log file:

    2024-09-14 09:34:28 ICT [ART.0114.1007E] (tid=352) Adapter Runtime: Error Logged. See Error log for details. Error: [ART.114.12] Adapter Runtime: Error occurred while Adapter Runtime was loading an adapter type. Unexpected adapter type object "com.vin.adapter.VinAdapter" for input "adapter". 
    2024-09-14 09:34:28 ICT [ISS.0095.0042I] (tid=352) The ERRSTACKTRACE field in a WMERROR audit record was truncated. CONTEXTID: 9fece5b2-46ea-452f-ad08-eb6316bfe469. MSGID: 4dde5577-48f9-20ef-8a6d-ae2ae7b80611. Full value: com.wm.pkg.art.error.DetailedServiceException: [ART.114.12] Adapter Runtime: Error occurred while Adapter Runtime was loading an adapter type. Unexpected adapter type object "com.vin.adapter.VinAdapter" for input "adapter".
    at com.wm.pkg.art.error.DetailedServiceException.create(DetailedServiceException.java:131)
    at com.wm.pkg.art.error.DetailedServiceException.create(DetailedServiceException.java:125)
    at com.wm.pkg.art.error.DetailedServiceException.create(DetailedServiceException.java:102)
    at com.wm.pkg.art.deployment.Service.registerAdapterType(Service.java:184)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:405)
    at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:761)
    at com.wm.app.b2b.server.util.tspace.ReservationProcessor.process(ReservationProcessor.java:39)
    at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:67)
    at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:243)
    at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java:49)
    at com.wm.app.b2b.server.invoke.PipelineProcessor.process(PipelineProcessor.java:171)
    at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:336)
    at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:33)
    at com.wm.app.b2b.server.invoke.ConcurrentRequestLimitProcessor.process(ConcurrentRequestLimitProcessor.java:57)
    at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:399)
    at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:631)
    at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:436)
    at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:394)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:260)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:88)
    at com.wm.app.b2b.server.Service.doInvoke(Service.java:705)
    at com.wm.app.b2b.server.Service.doInvoke(Service.java:596)
    at com.wm.adk.admin.AdapterAdmin.invokeAdapterService(AdapterAdmin.java:126)
    at com.wm.adk.admin.AdapterAdmin.registerAdapter(AdapterAdmin.java:86)
    at wm.vinAdapter.startup(vinAdapter.java:53)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:405)
    at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:761)
    at com.wm.app.b2b.server.util.tspace.ReservationProcessor.process(ReservationProcessor.java:39)
    at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:67)
    at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:243)
    at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java:49)
    at com.wm.app.b2b.server.invoke.PipelineProcessor.process(PipelineProcessor.java:171)
    at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:336)
    at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:33)
    at com.wm.app.b2b.server.invoke.ConcurrentRequestLimitProcessor.process(ConcurrentRequestLimitProcessor.java:57)
    at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:399)
    at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:631)
    at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:436)
    at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:394)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:260)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:116)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:75)
    at com.wm.app.b2b.server.SessionInvoke.run(SessionInvoke.java:30)
    at com.wm.util.pool.PooledThread.run(PooledThread.java:127)
    at java.base/java.lang.Thread.run(Thread.java:829) 
    2024-09-14 09:34:28 ICT [ISS.0028.0013E] (tid=70) Startup service exited with the following error: com.wm.pkg.art.error.DetailedServiceException: [ART.114.12] Adapter Runtime: Error occurred while Adapter Runtime was loading an adapter type. Unexpected adapter type object "com.vin.adapter.VinAdapter" for input "adapter". 
    

    Question related to a free trial, or to a production (customer) instance?

    Customer License


    #Integration-Server-and-ESB
    #Adapters-and-E-Standards
    #webMethods


  • 2.  RE: Problem during startUp and shutDown custom adapter WMArt

    Posted Mon September 16, 2024 02:30 AM

    Found the root cause by myself and i solved it, turns out the source folder on the Java Project i created using designer was attached to src not the code/source folder. i moved it and recompile it then it succeed now. Thank you


    #Integration-Server-and-ESB
    #webMethods
    #Adapters-and-E-Standards