Could not run 'writeLog'

Hi
When I run wm.ip.util:writeLog service in WmIPRoot package on developer, happen some error in runtime:

Could not run ‘writeLog’.

com.wm.ip.trp.IPException:
Error: Error while executing service wm.ip.util:writeLog [ESIPRT.000000.000001]
Error Message: com.wm.app.b2b.server.Service.getParentServiceName()Ljava/lang/String;
Suggested Action:
Level: Level:
Service Call Stack:

at wm.ip.util.writeLog(util.java:466)

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:324)

at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:287)

at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:554)

at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:44)

at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:221)

at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java:49)

at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:194)

at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:39)

at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:384)

at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:486)

at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:359)

at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:246)

at com.wm.app.b2b.server.comm.DefaultServerRequestHandler.handleMessage(DefaultServerRequestHandler.java:97)

at com.wm.app.b2b.server.HTTPMessageHandler.process(HTTPMessageHandler.java:167)

at com.wm.app.b2b.server.Dispatch.run(Dispatch.java:298)

at com.wm.util.pool.PooledThread.run(PooledThread.java:105)

at java.lang.Thread.run(Thread.java:534)

The error (getParentServiceName()…) suggests that the wm.ip.util:writeLog service is excepted to be run in another service and not directly.
When you run it in developer there in no parent service name - hence the error [I think].

Try and create a test service “nu.sample.test:testWriteLog” which invokes the
wm.ip.util:writeLog service, making sure you set the inputs to the invoked child service.

Regards Nino

Hi Nino, thanks your help.
I didn’t clear description of my problem.
When I trigger 3A4 sample model, occur some errors :

2005-03-23 17:43:54 CST [PRT.0101.0002V1] ERROR: com.wm.ip.trp.IPException
2005-03-23 17:43:54 CST [PRT.0101.0376E] *** Error invoking step N5 (Pip3A4_Buy
r_Model:OutboundMap):
Error: Error while executing service wm.ip.util:writeLog [ESIPRT
000000.000001]
Error Message: com.wm.app.b2b.server.Service.getParentServiceName()Ljav
/lang/String;
Suggested Action:
Level: Level:
Service Call Stack:

    at wm.ip.util.writeLog(util.java:466)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl

java:39)

I find the wrong to be wm.ip.util:writeLog service (I think). So I test this service (writeLog), and then that can’t run. I don’t know what’s happen to run sample 3A5.

Regards Julian

This is a known issue and a fix is available for it. Please contact webMethods Support for the same!
Raghu