EOF error while logging in developer

I am receiving EOF message when trying to log into developer or designer as Admin or any user.

here is the exception:
Caused by: com.wm.monitor.util.MonitorException: Failed in trying to resubmit all: com.wm.monitor.util.MonitorException: Failed in trying to resubmit all: java.lang.ArrayIndexOutOfBoundsException
at com.wm.util.coder.IDataBinCoder.writeCharArray(IDataBinCoder.java:359)
at com.wm.util.coder.IDataBinCoder._encode(IDataBinCoder.java:447)
at com.wm.util.coder.IDataBinCoder._encode(IDataBinCoder.java:476)
at com.wm.util.coder.IDataBinCoder._encode(IDataBinCoder.java:476)
at com.wm.util.coder.IDataBinCoder.encode(IDataBinCoder.java:281)
at com.wm.util.coder.IDataCoder.encodeToBytes(IDataCoder.java:82)
at com.wm.monitor.app.InstanceControl.submitPipeline(InstanceControl.java:397)
at com.wm.monitor.app.InstanceControl.resubmitFailedInstance(InstanceControl.java:253)
at ws.monitor.process.instanceControl.resubmitAllFailed(instanceControl.java:116)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.Nati… com.wm.monitor.util.MonitorException: Failed in trying to resubmit all: com.wm.monitor.util.MonitorException: Failed in trying to resubmit all: java.lang.ArrayIndexOutOfBoundsException
at com.wm.util.coder.IDataBinCoder.writeCharArray(IDataBinCoder.java:359)
at com.wm.util.coder.IDataBinCoder._encode(IDataBinCoder.java:447)
at com.wm.util.coder.IDataBinCoder._encode(IDataBinCoder.java:476)
at com.wm.util.coder.IDataBinCoder._encode(IDataBinCoder.java:476)
at com.wm.util.coder.IDataBinCoder.encode(IDataBinCoder.java:281)
at com.wm.util.coder.IDataCoder.encodeToBytes(IDataCoder.java:82)
at com.wm.monitor.app.InstanceControl.submitPipeline(InstanceControl.java:397)
at com.wm.monitor.app.InstanceControl.resubmitFailedInstance(InstanceControl.java:253)
at ws.monitor.process.instanceControl.resubmitAllFailed(instanceControl.java:116)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:599)
at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:439)
at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:635)
at com.wm.app.b2b.server.util.tspace.ReservationProcessor.process(ReservationProcessor.java:46)
at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:44)
at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:238)
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:272)
at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:30)
at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:390)
at com.wm.app… wm.server.soap:rpc ws.monitor.process.instanceControl:resubmitAllFailed
wm.server.soap:rpc

Vinay,
Are you still seeing this problem? The error message you quote seems completely unrelated to the use of Developer/Designer.
Also, please provide more details of the versions you are using.

Jonathan Heywood
Software AG Product Management

Jonathan,

We got improved logs after the debug fix:
2010-07-22 11:32:23 ::java.io.EOFException
at com.wm.util.coder.IDataBinCoder.readString(IDataBinCoder.java:748)
at com.wm.util.coder.IDataBinCoder._decode(IDataBinCoder.java:964)
at com.wm.util.coder.IDataBinCoder._decode(IDataBinCoder.java:858)
at com.wm.util.coder.IDataBinCoder._decode(IDataBinCoder.java:995)
at com.wm.util.coder.IDataBinCoder._decode(IDataBinCoder.java:858)
at com.wm.util.coder.IDataBinCoder._decode(IDataBinCoder.java:995)
at com.wm.util.coder.IDataBinCoder._decode(IDataBinCoder.java:858)
at com.wm.util.coder.IDataBinCoder._decode(IDataBinCoder.java:995)
at com.wm.util.coder.IDataBinCoder._decode(IDataBinCoder.java:858)
at com.wm.util.coder.IDataBinCoder._decode(IDataBinCoder.java:858)
at com.wm.util.coder.IDataBinCoder._decode(IDataBinCoder.java:858)
at com.wm.util.coder.IDataBinCoder.decode(IDataBinCoder.java:310)
at com.wm.app.b2b.client.Context.invoke(Context.java:1016)
at com.wm.app.b2b.client.Context.invoke(Context.java:380)
at com.wm.app.b2b.client.Context.invoke(Context.java:345)
at com.wm.app.b2b.client.Context.invoke(Context.java:309)
at wm.server.remote.invoke(remote.java:579)
at sun.reflect.GeneratedMethodAccessor118.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:599)
at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:449)
at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:635)
at com.wm.app.b2b.server.util.tspace.ReservationProcessor.process(ReservationProcessor.java:46)
at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:44)
at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:238)
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:272)
at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:30)
at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:390)
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:539)
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:384)
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.Service.doInvoke(Service.java:623)
at com.wm.app.b2b.server.Service.doInvoke(Service.java:533)
at pub.remoteimpl.invoke(remoteimpl.java:36)
at sun.reflect.GeneratedMethodAccessor117.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:599)
at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:449)
at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:635)
at com.wm.app.b2b.server.util.tspace.ReservationProcessor.process(ReservationProcessor.java:46)
at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:44)
at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:238)
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:272)
at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:30)
at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:390)
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:539)
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:384)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:234)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:94)
at com.wm.app.b2b.server.Service.doInvoke(Service.java:652)
at com.wm.app.b2b.server.Service.doInvoke(Service.java:540)
at wm.designer.ModelerUtils.getPackageForNode(ModelerUtils.java:584)
at wm.designer.ModelerUtils.addServiceDependencyOfUnknownPackage(ModelerUtils.java:779)
at wm.designer.Modeler.GetDependencies(Modeler.java:722)
at sun.reflect.GeneratedMethodAccessor132.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:599)
at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:439)
at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:635)
at com.wm.app.b2b.server.util.tspace.ReservationProcessor.process(ReservationProcessor.java:46)
at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:44)
at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:238)
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:272)
at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:30)
at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:390)
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:539)
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:384)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:234)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:94)
at com.wm.app.b2b.server.Service.doInvoke(Service.java:652)
at com.wm.app.b2b.server.Service.doInvoke(Service.java:592)
at wm.server.soap.rpc(soap.java:951)
at sun.reflect.GeneratedMethodAccessor121.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:599)
at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:439)
at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:635)
at com.wm.app.b2b.server.util.tspace.ReservationProcessor.process(ReservationProcessor.java:46)
at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:44)
at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:238)
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:272)
at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:30)
at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:390)
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:539)
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:384)
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.HTTPSOAPHandler._process(HTTPSOAPHandler.java:527)
at com.wm.app.b2b.server.HTTPSOAPHandler.process(HTTPSOAPHandler.java:147)
at com.wm.app.b2b.server.HTTPDispatch.handleRequest(HTTPDispatch.java:190)
at com.wm.app.b2b.server.Dispatch.run(Dispatch.java:359)
at com.wm.util.pool.PooledThread.run(PooledThread.java:131)
at java.lang.Thread.run(Thread.java:735)

If you see these logs looks like the culprit is at wm.server.remote.invoke(remote.java:579)

Customer has wrongly copied the remote servers from the 6.5 environment while migration.
So i think once they will correct it they won’t see the issue…

readString and writeCharArray are absolutely alright and there is no problem there so this error is coming out of remote call that is my thinking.

It is on 801 and a non repro case.

Has anyojne determined a resolution for this issue? We are seeing the same thing on an 8.0.1 server.

It was an IBM JVM 1.6 bug for that ticket is already opened with them.
Scenario we revealed:

  • issue occurs with either 32 bit or 64 bit 1.6 JVM
  • issue occurs on AIX 5.3 or 6.1
  • issue occurs with either 1.6 SR5 (wM ships with) or SR8 FP1 (latest).
  • issue does not occur with AIX JVM 1.5
  • issue does not occur with AIX JVM 1.6 when JIT (Just-In-Time-Compilation) is disabled (or optimization lowered from “hot” to “warm”).
  • Issue does not occur on Windows + Sun JVM 1.6 with JIT enabled

we demonstrated to IBM the stand-alone client. IBM support immediately acknowledged this looked like a defect, but presumed it was a new one. IBM will likely fix it eventually as part of a future SR level, but in meantime provided some work-around options:

JIT can be disabled as a whole using:

-Djava.compiler=NONE

…or (to have a lesser impact on the IS/JVM as a whole), optimization can be lowered (from “hot” to “warm”) on just the one IS java method in question using:

-Xjit:’{.writeCharArray}(optLevel=warm)’

…and to lower the opt level and be able to confirm it has been lowered at runtime use:

-Xjit:{.writeCharArray}(optLevel=warm),verbose={compileStart|compileEnd}

…this will print the following to stdout when the method is used:

===
(warm) Compiling com/wm/util/coder/IDataBinCoder.writeCharArray(Ljava/io/OutputStream;[C)V t=965286

  • (warm) com/wm/util/coder/IDataBinCoder.writeCharArray(Ljava/io/OutputStream;[C)V @ 0x0000000110E0224C-0x0000000110E03750 Q_SZ=3

PS -

The SAG SI for this was:
http://daepv09.eur.ad.sag:5555/PivotalLookup/getIncidentdetails.dsp?siNumber=1013978

Customer reported it to IBM, and was given a temp work-around (see previous post or above SI), but it (APAR # IZ85371) was eventually corrected in an IBM jvm patch level:

http://www.ibm.com/developerworks/java/jdk/aix/j632/Java6.fixes.html#SR9

http://www-01.ibm.com/support/docview.wss?uid=swg1IZ85371

Check that. I just tested the issue with IBM JDK 1.6 SR9 FP1, and the issue still is present. So either IBM corrected it in SR9 and broke it in SR9 FP1, or it was never actually corrected in SR9 (despire the IBM release fix notes linked on this thread).

Attached is a stand-alone sample java app (CharTest.zip) that can demonstrate the JVM / JIT issue outside of wM. Included are 4 files:

  • CharTest.java
  • input.txt
  • output_aix-JDK_error.txt
  • output_sun-JDK_clean.txt

To test, compile and run the .java source file with 1.6, and within a couple mins you should start seeing the ArrayIndexOutOfBoundsException (which manifests as the EOF in wM). If you use a different jvm vendor (Sun) or different IBM version (ie 1.5), or use 1.6 with one of the work-arounds detailed on this thread (JIT disabled, etc), you will not see the error, the app will run indefinitely.
CharTest-sample.zip (164 KB)

I performed the testing using Mark O’Brien’s sample “CharTest.java”, and I can confirm that the problem is still present with SR9. On AIX6.1, using the following JVM I still produce the “java.lang.ArrayIndexOutOfBoundsException” with the sample code, and with my SeeBeyond Integration Server 8.0 SP1 Core Fix 14 if the JIT is at full speed.

All,
FYI - I just tested with 6.0 SR10, and the issue is resolved there (not sure exactly which SR/FP level IBM included the fix, but SR10 or higher should be good).

-Mike