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

Vibhaanshu
Vibhaanshu
Offline

Badges

Badges
4

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
0

Posts

Posts
6

Discussions

Discussions
0

Questions

Questions
6

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by Vibhaanshu
Customize the badges you want to showcase on your profile
Re: Damaged PDF getting generated when size exceeds 4 MB - Adobe LiveCycle 21-03-2014
The issue got resolved after removing the below code.pdfOptions.setLinearizedPDF(true); Thanks a lot for the help, Wasil.

Views

308

Likes

0

Replies

0
Re: Damaged PDF getting generated when size exceeds 4 MB - Adobe LiveCycle 21-03-2014
Thanks, Wasil. PDF got generated from OutputIVS. But when invoked from standalone java programme, it still gives damaged pdf file. Do you see any issue in the below code.Properties ConnectionProps = new Properties();ConnectionProps.setProperty(ServiceClientFactoryProperties.DSC_DEFAULT_EJB_ENDPOINT,"jnp://<>:1099");ConnectionProps.setProperty(ServiceClientFactoryProperties.DSC_TRANSPORT_PROTOCOL,ServiceClientFactoryProperties.DSC_EJB_PROTOCOL);ConnectionProps.setProperty(ServiceClientFactoryProp...

Views

308

Likes

0

Replies

0
Re: Damaged PDF getting generated when size exceeds 4 MB - Adobe LiveCycle 20-03-2014
Thanks, Wasil.I can generate pdf with your code but the behaviour was same (error in pdf) when I sent my xml request and the pdf size reached more than 4 MB.What I did was, saved images in repository and mentioned the image uri in the xml file. Is there a way to debug what is wrong in the xml request that is submitted to ALC server?

Views

306

Likes

0

Replies

0
Re: Damaged PDF getting generated when size exceeds 4 MB - Adobe LiveCycle 17-03-2014
Below is the code snippet for pdf generation:Properties connectionProps = new Properties();connectionProps.setProperty(ServiceClientFactoryProperties.DSC_DEFAULT_SOAP_ENDPOINT, "<>");connectionProps.setProperty(ServiceClientFactoryProperties.DSC_TRANSPORT_PROTOCOL, ServiceClientFactoryProperties.DSC_SOAP_PROTOCOL);connectionProps.setProperty(ServiceClientFactoryProperties.DSC_SERVER_TYPE, ServiceClientFactoryProperties.DSC_WEBLOGIC_SERVER_TYPE);connectionProps.setProperty(ServiceClientFactoryPro...

Views

306

Likes

0

Replies

0
Re: Damaged PDF getting generated when size exceeds 4 MB - Adobe LiveCycle 14-03-2014
Apologies for the late reply WASIL.Actually I was trying to gather more data so that I can give more clarity to this group.Analysis:If the images are hardcoded in the lca file and then invoked from java, it works(pdf's with more than 4MB size gets generated). But when xml is created dynamically and sent from java to ALC, damaged pdf gets generated.I see 'pdfparser.XrefTrailerResolver Did not found XRef object pointed to by 'Prev' key at position' in the log file. This only comes when the pdf siz...

Views

305

Likes

0

Replies

0
Damaged PDF getting generated when size exceeds 4 MB - Adobe LiveCycle 12-03-2014
Hi,We have a java application which connects to Adobe LiveCycle server(ver9.0) to generate pdf. It generates pdf successfully when the pdf size is less than 4 MB.Once the size exceeds 4 MB, the OutputResult object is returned but when pdf is opened says 'File is damaged and could not be repaired'. We checked the result of statusDoc function in OutputResult, but there is no error. Also, in ALC server no error is logged.MaxInLine Size is 64K.Any help is greatly appreciated.

Views

2.2K

Likes

0

Replies

10