on 10-17-2014 3:43 PM
In BLS I created a transaction that calls a second transaction, passing an XML document. The second transaction is called asynchronous using action block “Dynamic transaction call”. When calling asynchronous MII is using JMS.
In some cases we get a java.stack.overflow error. This happens when the XML document is too big (in our case above 144 kb).
If I switch back to a synchronous call it works okay.
My assumption is that there is some kind if maximum message size set on Netweaver/JMS.
Question: is my assumption correct? If yes, does someone know where to change this?
We are using MII 12.2, Netweaver 7.30.
Hello Frank,
Does this error occur on the workbench when you run the transaction? What does the log file say?
StackOverflowError means that a recursive loop is running causing JVM to overflow. If it has anything to do with JMS you will not get anything on workbench. Everything will be logged in netweaver logs.
Regards,
Anushree
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anushree,
Thanks for the reply.
There is no recursive loop used (just a 1 time call). I am running this from workbench. The error is visible in workbench (also in transaction manager and NW log).
The XML document I am using, is defined as an input parameter of FG_Transaction_1.
When calling the 2e transaction in synchronous mode I don't get the error.
When making the XML document smaller I also don't get the error.
In Asynchronous mode MII is using JMS. So somehow, when the document is too large, it is blocked.
regards Frank
Hi Frank,
Currently you are looking at System Logs and Traces. You need to navigate to Java logs(Last 24 hours). You can get these if you click on View - > Java Logs.
Here you will see this error and if you expand the entry(click on + sign) you will see the entire stack of the exception.
Regards,
Anushree
Hi Frank,
You must be using NW 7.3 then. This error does not show any details. Are there any other entries above or below this error which show the entire exception trace? Ideally there should be. You will see java.lang.StackOverflowError and then an entire sequence stating where this error came from.
xmii might not be mentioned in the trace though.
Regards,
Anushree
There is a 'Binary Size Limit' setting for the max number of kb that can be posted to a transaction that might apply.
System Properties - System Management - SAP Library
Regards,
Christian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.