Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

CORBA Exception whiel recieving document from rightsmanagement server

Not applicable
Hello again,



i have a problem with livecycle es rightsmanagement. after a policy was applied to a document i try to save the secured document via

>Document.copyToFile(aFile)



While saving tis exception is thrown:

>26.01.2009 08:26:01 com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl readFully

WARNUNG: "IOP00410215: (COMM_FAILURE) Read of full message failed : bytes requested = 3.331.736 bytes read = 803.128 max wait time = 3.000 total time spent waiting = 3.190"

org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 215 completed: No

at com.sun.corba.se.impl.logging.ORBUtilSystemException.transportReadTimeoutExceeded(ORBUtilSystemException.java:2572)

at com.sun.corba.se.impl.logging.ORBUtilSystemException.transportReadTimeoutExceeded(ORBUtilSystemException.java:2598)

at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.readFully(SocketOrChannelConnectionImpl.java:628)

at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.read(SocketOrChannelConnectionImpl.java:559)

at com.sun.corba.se.impl.protocol.giopmsgheaders.MessageBase.readGIOPBody(MessageBase.java:413)

at com.sun.corba.se.impl.transport.CorbaContactInfoBase.finishCreatingMessageMediator(CorbaContactInfoBase.java:183)

at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.finishReadingBits(SocketOrChannelConnectionImpl.java:380)

at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1184)

at com.sun.corba.se.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:417)

26.01.2009 08:26:01 com.adobe.idp.DocumentManagerClient requestRemotePassivation

SCHWERWIEGEND: DOCS001: Unexpected exception. See the stack trace for details.

org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 208 completed: Maybe

at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectionAbort(ORBUtilSystemException.java:2372)

at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectionAbort(ORBUtilSystemException.java:2390)

at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.finishReadingBits(SocketOrChannelConnectionImpl.java:421)

at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1184)

at com.sun.corba.se.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:417)

Caused by: org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 215 completed: No

at com.sun.corba.se.impl.logging.ORBUtilSystemException.transportReadTimeoutExceeded(ORBUtilSystemException.java:2572)

at com.sun.corba.se.impl.logging.ORBUtilSystemException.transportReadTimeoutExceeded(ORBUtilSystemException.java:2598)

at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.readFully(SocketOrChannelConnectionImpl.java:628)

at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.read(SocketOrChannelConnectionImpl.java:559)

at com.sun.corba.se.impl.protocol.giopmsgheaders.MessageBase.readGIOPBody(MessageBase.java:413)

at com.sun.corba.se.impl.transport.CorbaContactInfoBase.finishCreatingMessageMediator(CorbaContactInfoBase.java:183)

at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.finishReadingBits(SocketOrChannelConnectionImpl.java:380)

... 2 more



Does anyone know this problem?



Here is the code to apply the policy:

>ServiceClientFactory factory = ServiceClientFactory.createInstance(connectionProps);

>RightsManagementClient rightsClient = new RightsManagementClient(factory);

FileInputStream is = new FileInputStream("C:\\file.pdf");

Document inPDF = new Document(is);

DocumentManager documentManager = rightsClient.getDocumentManager();

Document protectPDF = documentManager.applyPolicy(inPDF, "doc", "Global GL Policy Set", "Policy",

"Domain", "user");

protectPDF.passivate();

File myFile = new File("C:\\secured.pdf");
0 Replies