cancel
Showing results for 
Search instead for 
Did you mean: 

GlobalContainer Object

Former Member
0 Kudos

Hello all,

is the GlobalContainer Object that can be used in Message Mappings being persisted? I.e. if the Java Engine crashes, can I still retrieve my objects from the GlobalContainer after restarting the engine?

Best regards,

Malte

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Malte,

The objects will not remain after the server restart as all the references to the objects will be lost and the object will be garbage collected.

For more info on Global container see these links

http://help.sap.com/saphelp_nw70/helpdata/en/75/8e0f8f3b0c2e4ea5f8d8f9faa9461a/content.htm

http://www.erpgenie.com/sap/netweaver/xi/mapping1.htm

Regards

Sreenivas

Answers (2)

Answers (2)

bhavesh_kantilal
Active Contributor
0 Kudos

Avoid GlobalContainers. Use the Java Section . Makes life easier from both a development perspective and from a runtime perspective.

It doesn't solve this problem though.

Regards

Bhavesh

Former Member
0 Kudos

Hi Malte,

I am not sure, but my best gut is <b>no</b>.

The reason I say this is G.C values are persisted only with in a single mapping and not across mapping. If Java engine crashes while executing a mapping, once the Java engine is up only the whole mapping program can be restarted not the part which was left unexecuted before the crash.

So it makes no sense to persist the values in a db.

Just my thoughts.

Regards,

Jai Shankar