cancel
Showing results for 
Search instead for 
Did you mean: 

JCO$Exception: (120) JCO_: JCO.Server could not unmarshall tables

Former Member
0 Kudos

Hi

We are writing a new server program to receive various IDOC's and function calls from SAP on our MES server.

When SAP tries to download Planned Orders (LOIPLO) type messages we get the following error:

JCO$Exception: (120) JCO_: JCO.Server could not unmarshall tables

The same server program can receive other IDOC's and function cals e.g. LOIPRO type messages without getting the same error.

The only difference is that there are 1975 Planned Orders(LOIPLO) to be downloaded and only one or two Process Orders(LOIPRO).

The errors are as follows:

Exception in server MESPPPISER : com.sap.mw.jco.JCO$Exception: (120) JCO_: JCO.Server could not unmarshall tables

D:\Systems\DMES\Bin>java -jar rfctestserver.jar MESPPPISER BMS2 sapgw02

com.sap.mw.jco.JCO$Exception: (120) JCO_: JCO.Server could not unmarshall tables

at com.sap.mw.jco.rfc.MiddlewareRFC$Server.nativeListen(Native Method)

at com.sap.mw.jco.rfc.MiddlewareRFC$Server.listen(MiddlewareRFC.java:1395)

at com.sap.mw.jco.JCO$Server.listen(JCO.java:7067)

at com.sap.mw.jco.JCO$Server.run(JCO.java:6996)

at java.lang.Thread.run(Unknown Source)

Any help will be appreciated.

Regards

Koos Fourie

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

afaik this happens if there is not enough memory available for your java program

try to increase the heap size when calling your program

e.g.

java -Xms128m -Xmx512m -jar rfctestserver.jar MESPPPISER BMS2 sapgw02

regards franz

reward points if useful

Former Member
0 Kudos

Thank you Franz, your suggestion worked for us.

Regards

Koos

Answers (1)

Answers (1)

Former Member
0 Kudos

HI,

I have the same Exception.

If you have solved your problem, it would be nice, telling me the solution.

I `m going on to find the solution.

Thanks and best regards

Former Member
0 Kudos

See the reply I got from Franz:

try to increase the heap size when calling your program

e.g.

java -Xms128m -Xmx512m -jar rfctestserver.jar MESPPPISER BMS2 sapgw02

regards franz

It worked for me

Regards

Koos