Start-up error in Trading Network

Hi,

Getting below error when we login in Trading Network production,

wm.tn.admin:startup
wm.tn.task.init(Lcom/wm/data/IData;)V
java.lang.NoSuchMethodError

java.lang.NoSuchMethodError: wm.tn.task.init(Lcom/wm/data/IData;)V
at wm.tn.adminimpl.startup(adminimpl.java:799)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:443)
at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:643)
at com.wm.app.b2b.server.util.tspace.ReservationProcessor.process(ReservationProcessor.java:41)
at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:44)
at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:243)
at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java:51)
at com.wm.app.b2b.server.invoke.PipelineProcessor.process(PipelineProcessor.java:171)
at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:276)
at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:30)
at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:363)
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:547)
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:386)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:234)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:109)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:81)
at com.wm.app.b2b.server.SessionInvoke.run(Session.java:939)
at com.wm.util.pool.PooledThread.run(PooledThread.java:131)
at java.lang.Thread.run(Thread.java:662)

wm.tn.admin:startup
Must shutdown before starting up again
com.wm.app.b2b.server.ServiceException

com.wm.app.b2b.server.ServiceException: Must shutdown before starting up again
at wm.tn.adminimpl.startup(adminimpl.java:638)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:443)
at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:643)
at com.wm.app.b2b.server.util.tspace.ReservationProcessor.process(ReservationProcessor.java:41)
at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:44)
at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:243)
at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java:51)
at com.wm.app.b2b.server.invoke.PipelineProcessor.process(PipelineProcessor.java:171)
at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:276)
at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:30)
at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:363)
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:547)
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:386)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:234)
at com.wm.app.b2b.server.comm.DefaultServerRequestHandler.handleMessage(DefaultServerRequestHandler.java:119)
at com.wm.app.b2b.server.HTTPMessageHandler.process(HTTPMessageHandler.java:160)
at com.wm.app.b2b.server.HTTPDispatch.handleRequest(HTTPDispatch.java:186)
at com.wm.app.b2b.server.Dispatch.run(Dispatch.java:360)
at com.wm.util.pool.PooledThread.run(PooledThread.java:131)
at java.lang.Thread.run(Thread.java:662)

Done restart few times bur still error persists. I can not reinstall the TN again as it leads to some data loss case.
Please help me!!!

Thanks,
Karthik

Karthik – which wM version you are on ? fix levels ? Any recent fixes applied on TN or wM ?

Thanks,

Hi Karthik,

as long as you dont touch the TN database there should be not data loss when reinstalling TN Packages to IS.

Error Message sounds like some corrupted jar files or missing files in the TN package.

Regards,
Holger

Hi,

wM version is 8.2. No recent fixes applied recently. It was worked till last week.

Thanks,
Karthik

Hi Holger,

Thanks for the message. Can you please explain me the ‘reinstalling TN Packages to IS’? Does it means reloading the wMTN package?

I checker the jar files from the working server. It looks identical & I felt no issue with that.

Thanks,
Karthik

Just a guess work - I know you have restarted IS but give a try - Use the Integration Server Administrator to stop and start the WmTN package - Disable and enable the WmTN package or reload the package alone.

Hi Mahesh,

I couldn’t stop/start the package as the wMTN package dependent on some other packages. I done reloaded the package but same error.

I also tried with recover package option. Now it looks the error is changed, Please see below,

Error:

Title: wm.tn.queuing:init
Message : com/wm/app/tn/delivery/QueuingUtils
Class: java.lang.NoClassDefFoundError
Stack Trace : java.lang.NoClassDefFoundError: com/wm/app/tn/delivery/QueuingUtils
at wm.tn.queuing.init(queuing.java:41)
at wm.tn.adminimpl.startup(adminimpl.java:804)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:443)
at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:643)
at com.wm.app.b2b.server.util.tspace.ReservationProcessor.process(ReservationProcessor.java:41)
at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:44)
at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:243)
at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java:51)
at com.wm.app.b2b.server.invoke.PipelineProcessor.process(PipelineProcessor.java:171)
at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:276)
at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:30)
at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:363)
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:547)
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:386)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:234)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:109)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:81)
at com.wm.app.b2b.server.SessionInvoke.run(Session.java:939)
at com.wm.util.pool.PooledThread.run(PooledThread.java:131)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ClassNotFoundException: com.wm.app.tn.delivery.QueuingUtils
at com.wm.app.b2b.server.ServerClassLoader.findClass(ServerClassLoader.java:464)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at com.wm.app.b2b.server.ServerClassLoader.loadClass(ServerClassLoader.java:783)
at com.wm.app.b2b.server.ServerClassLoader.loadClass(ServerClassLoader.java:731)
… 24 more

While you disable the WmTN package, please have a look at the server.log see the dependent packages and kindly share.

I see the same error in server.log that I pinged earlier when I try to disable the package. I don’t see any package details.

Thanks,
Karthik

Issue is resolved now.

Soln: Copied the jars from the working server & restarted the server.

Thanks,
Karthik

Glad to hear Karthik :slight_smile: , thanks for updating the thread.

Thanks,