IBM Support

webMethods Knowlegebase : pub.date:dateTimeFormat results in [ISS.0086.9189] Invalid date pattern or input error (1792867)

Troubleshooting


Problem

Environment has IS 9.8 Core Fix 19 installed.

User performing a date time conversion using the inbuilt service pub.date:dateTimeFormat.

The input to the service is of format 2018-06-20T14:18:28-04:00.

The code is using currentPattern as yyyy-MM-dd'T'HH:mm:ssZ and newPattern as MM/dd/yyyy.

Conversion works properly in webMethods v7.1.2, but getting below error in webMethods v9.8:

"com.wm.app.b2b.server.ServiceException: [ISS.0086.9189] Invalid date pattern or input."

Tested this on an v9.8 server with below inputs:

inString 2018-06-20T14:18:28-04:00

currentPattern yyyy-MM-dd'T'HH:mm:ssZ

newPattern MM/dd/yyyy

After executing, see below error and wanting to use currentPattern as yyyy-MM-dd'T'HH:mm:ssZ:

"Could not run 'dateTimeFormat'

com.wm.app.b2b.server.ServiceException: [ISS.0086.9189] Invalid date pattern or input

com.wm.app.b2b.server.ServiceException: [ISS.0086.9189] Invalid date pattern or input

at pub.date.dateTimeFormat(date.java:523)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:483)

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

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

at com.wm.app.b2b.server.util.tspace.ReservationProcessor.process(ReservationProcessor.java:39)

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

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

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

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

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

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

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

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

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

at com.wm.app.b2b.server.HTTPDispatch.handleRequest(HTTPDispatch.java:170)

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

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

Document Location

Worldwide

[{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSVYEV","label":"IBM webMethods Integration"},"ARM Category":[{"code":"a8mKe00000000AQIAY","label":"webMethods Integration Server (PIE)"}],"ARM Case Number":"","Platform":[{"code":"PF002","label":"AIX"}],"Version":"9.8"},{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSFIWYE","label":"IBM webMethods B2B"},"ARM Category":[{"code":"a8mKe00000000AQIAY","label":"webMethods Integration Server (PIE)"}],"ARM Case Number":"","Platform":[{"code":"PF002","label":"AIX"}],"Version":"9.8"},{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSQG2X","label":"IBM webMethods Managed File Transfer"},"ARM Category":[{"code":"a8mKe00000000AQIAY","label":"webMethods Integration Server (PIE)"}],"ARM Case Number":"","Platform":[{"code":"PF002","label":"AIX"}],"Version":"9.8"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
20 March 2025

UID

ibm17226893