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
BedrockMission!

Learn more

View all

Sign in to view all badges

Error generate PDF

Paul_Butenko
Level 6
Level 6

Hi,

I'm using some EJB invoke to generate PDF from XDP form. Everything working fine, but sometimes I'm getting exception and my form not generating properly.

Exception:

14:53:30,666  WARN [com.pdf.PDFGenerator@tryGenerate:187] "Error generate PDF:org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 208 completed: Maybe"
com.adobe.idp.DocumentError: org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 208 completed: Maybe
at com.adobe.idp.DocumentManagerClient.requestRemotePassivation(DocumentManagerClient.java:329)
at com.adobe.idp.Document.passivate(Document.java:1069)
at com.adobe.idp.Document.passivate(Document.java:1012)
at com.adobe.idp.Document.getInputStream(Document.java:1524)

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.readBits(SocketOrChannelConnectionImpl.java:354)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.handleEvent(SocketOrChannelConnectionImpl.java:1098)
at com.sun.corba.se.impl.transport.SelectorImpl.run(SelectorImpl.java:282)
org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 211  completed: No
at com.sun.corba.se.impl.logging.ORBUtilSystemException.ioexceptionWhenReadingConnection(ORBUtilSystemException.java:2456)
at com.sun.corba.se.impl.logging.ORBUtilSystemException.ioexceptionWhenReadingConnection(ORBUtilSystemException.java:2474)
at com.sun.corba.se.impl.protocol.giopmsgheaders.MessageBase.readGIOPHeader(MessageBase.java:116)
at com.sun.corba.se.impl.transport.CorbaContactInfoBase.createMessageMediator(CorbaContactInfoBase.java:150)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.readBits(SocketOrChannelConnectionImpl.java:314)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.handleEvent(SocketOrChannelConnectionImpl.java:1098)
at com.sun.corba.se.impl.transport.SelectorImpl.run(SelectorImpl.java:282)
java.io.IOException: Connection reset by peer
at sun.nio.ch.FileDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:21)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:233)
at sun.nio.ch.IOUtil.read(IOUtil.java:200)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:207)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.readFully(SocketOrChannelConnectionImpl.java:599)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.read(SocketOrChannelConnectionImpl.java:521)
at com.sun.corba.se.impl.protocol.giopmsgheaders.MessageBase.readGIOPHeader(MessageBase.java:112)
at com.sun.corba.se.impl.transport.CorbaContactInfoBase.createMessageMediator(CorbaContactInfoBase.java:150)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.readBits(SocketOrChannelConnectionImpl.java:314)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.handleEvent(SocketOrChannelConnectionImpl.java:1098)
at com.sun.corba.se.impl.transport.SelectorImpl.run(SelectorImpl.java:282)

Does somebody know what is the problem?

Thanks in advance,

Paul Butenko

1 Reply
tareknas
Level 1
Level 1
I am facing the same problem. In my case, Java code is invoking myData.passivate() which fails with the exact error message. This happens if the Java portal isn't used for a couple of hours. If I restart tomcat server or try again after the error, it works.