Forum Discussion
Java MIP SDK 1.17.154: commitAsync() TemplateNotFoundError (C# OK; Java fails Win & Ubuntu)
mip sdk recent versions introduced the offline publishing and it is enabled by default. For your issue can you try with the following
map<mip::FlightingFeature, bool> featureSettingsOverride;
featureSettingsOverride[mipns::FileSDKOfflinePublishing] = false;
- mjseongAug 18, 2025Copper Contributor
Hi HyderAli,
Thank you for your suggestion.
I appreciate your comment from July 31, 2025, where you mentioned:
“mip sdk recent versions introduced the offline publishing and it is enabled by default. For your issue can you try with the following"
map<mip::FlightingFeature, bool> featureSettingsOverride; featureSettingsOverride[mipns::FileSDKOfflinePublishing] = false;
As you correctly pointed out, this approach applies to the C++ SDK (and similar functionality exists in .NET), thanks to the availability of FeatureSettingsOverride.
Unfortunately, in the Java SDK, the current wrapper does not provide any equivalent API or configuration option to disable offline publishing.
Therefore, in our Java-based wrapper implementation, it is not possible to disable offline publishing using the method you suggested.
If you’re open to exploring workarounds, here are two possible directions we could consider:
- Roll back to Java SDK version 1.16, where offline publishing may behave differently or not be enabled by default.
- Implement a native C++ or .NET module that handles protection workflows with offline publishing disabled, and invoke it from Java via JNI or a REST gateway. The module would handle protection and produce the final output, which Java would then consume.
Thanks again for your input. I’d be glad to discuss these options further if you wish.
Best regards,
mjseong