Skip to Main Content

Analytics Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

DRM API communication error

interagoAug 23 2016 — edited Oct 20 2016

Hello!

I have created a java application for handling data data maintenance and exports from DRM, using DRM API to handle communications.

My environment has two servers.

Server 1 is a Windows server, hosting the DRM engine and applications, and also my custom java application. We run DRM v 11.1.2.4.321.

Server 2 is a Linux server, where the WLS instance is running. WLS runs the foundation services, where the webservices application (oracle-epm-drm-webservices) is deployed. The WLS version is 10.3.6, I don't know the patch number.

Normally the communication between the java appliation and DRM runs flawlessly and quick. But occationally I experience connection disruptions, that I fail to see why occurs.

A normal course of events is that I run several operations through DRM API over time. Only one session and thread is active at a time, nothing runs in parallell.

The service works well for a long time, until it suddenly hangs. There is not a specific API call being executed when this occurs, it can happen e.g. when creating connection to DRM API, opening a version, running an export or running a property query.

After a while the call terminates, and the error message returned from the API is:

Error while trying to communicate with DRM API Adapter at: http://myserver:5240/oracle/drm/apiadapter?wsdl

I have checkedthe event log on the windows server, and DRMGateway logs these two error messages:

System.ServiceModel.FaultException`1[Oracle.Drm.Remotable.DrmException]: Java heap space (Fault Detail is equal to Oracle.Drm.Remotable.DrmException).

System.ServiceModel.FaultException`1[Oracle.Drm.Remotable.DrmException]: -1 (Fault Detail is equal to Oracle.Drm.Remotable.DrmException).

I find no log entries on the WLS server, indicating that the webservices application has any part of this.

When the error occurs, the API becomes unresponsive. To resolve it, I have to restart the DRM service on the DRM server. When this is done, everything goes back to normal.

Nothing has to be done to the WLS instance, which indicates that the problem is with the DRM service. There are also no log entries indicating that the problem is caused by WLS.

The error message thrown by DRMGateway indicates a java memory problem, but where to address java memory allocations for DRM?

Has anyone experienced the same kind of problems? Any feedback will be highly appreciated, I'm a bit stuck at the moment.

Thanks,

Eigil

This post has been answered by interago on Oct 20 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 17 2016
Added on Aug 23 2016
2 comments
928 views