Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

Problem with cache when rendering the PDF form

Avatar

Former Community Member
hi,



I'm having some problem when rendering my pdf forms. I´ve cleared the browser´s cache and temporary files also. I´ve changed the browser´s properties to never search for versions of stored pages and even reduced the size of temporary files to keep.

I've also checked the option to erase all temporary internet files when the browser is closed.



The problem is that when i make a call to a pdf, sending the user id in order to get the data from the data base, some times i got the correct pdf. Sometimes i don´t.



Is it possible to be something with the jboss (or tomcat´s) config ??

Does anyone know where (on witch file) i should confirm if it´s a problem with the server config that makes the server show an older (cached) version of the pdf file instead of mounting a new one ?? (probaly it´s not a server problem, but i tried everything i can think off)



thanks
13 Replies

Avatar

Level 9
Hi

Try a Reader setting. Edit/Preferences/Forms/Keep Forms Data Temporarily Available on Disk



Howard

http://www.avoka.com

Avatar

Former Community Member
hi,



i already tried to uncheck that option before. but i still got the same problem.



i´m able to get the right pdf but, if i go to the database and change the user data, when calling the pdf again, the data showing is the same.



Thanks

Avatar

Former Community Member
Try to go to http://<servername>:8080/adminui; go to services, and select liveCycle forms. There are some PDF cache options there.<br /><br />Good luck!<br /><br />David<br />www.ensemble.com

Avatar

Former Community Member
hi,



The problem are the temporary files under
c:\windows\temp that are created everytime i open the browser with the address to the pdf.



If i erase this temp files, it works fine.



David, i tried to call that http address. i´m unable to get the adminui on the computer (i have FormServer installed, and reader extensions too). I get a 404 error.



thanks,

Avatar

Former Community Member
hi,<br /><br />It's weird that i can't get access to http://<servername>:8080/adminui<br /><br />However, i managed to get access to the config using the address: <br /><br /><b>http://<host>:<port>/FormServerAdmin/welcome.do</b><br /><br />I've unchecked the box to enable cache. the one that has a description like "Specify whether forms are cached for subsequent retrieval". It still didn't work.<br /><br />i've tried to put the following code on the form1:docReady event:<br /><br /><b>var Doc = event.target;<br /> Doc.nocache = true;</b><br /><br />But nothing seems to be solving the problem.<br /><br />Any ideas??<br />Is it possible that is something wrong with my jboss config ??<br /><br />thanks,

Avatar

Former Community Member
hi,



just talked to adobe support by mail, it seem sthat form server 7.0 has 2 patches related to cache problems.



according to them the problem was solved on release 7.2.



i managed to put it to work on 7.0.



1 - Changed the call to the pdf from a Get method (with the data encrypted on the query string) to a Post method.



2 - Created a routine to erase the temp files from time to time.



however, i'll try the update to form server 7.2



thanks,

Avatar

Former Community Member
Hi Rui,



Thanks for the update. The admin UI only appears if you install the user management component. However, there's a direct configuration page as you've found above. Has update to form server 7.2 fix your problem?

Avatar

Level 6
Hi,<br /><br />Lazaro, I was able to open http://<servername>:8080/adminui with the default installation. Now, I just need to remember the login used... :( <br />Anyone knows if it´s possible to update/change the login?<br /><br />Thank you

Avatar

Former Community Member
by default the user name and login is set to administrator and password.



If you wish to update the login/pw, go to the conf folder where jboss resides. c:\adobe\livecycle\...\jboss\server\default\deploy\conf, there should be 2 properties file there. (adobeRE-roles.properties, if memory serves me correctly)



Cheers



david

www.ensemble.com

Avatar

Level 6
Hi Liao,



I only find files like that tha calls: jmx-console-roles.properties

They have this:



# A sample roles.properties file for use with the UsersRolesLoginModule

admin=JBossAdmin



However, it doesn´t work



Thank you

Avatar

Former Community Member
Hi Neptuno:



Look at the livedoc for version 7.2 at http://download.macromedia.com/pub/documentation/en/livecycle/7_2_2/jboss_install_config_sec_7_2_2.p... . The section on page 41 refer to creating the default username/password and the propertiers file i mentioned above.



Setting up users, roles, and login files



This section applies to LiveCycle Reader Extensions only. To run LiveCycle Reader Extensions, you must set up a default user, user role, and user login. The installation program creates the appropriate files, but you must move them from the LiveCycle Reader Extensions installation directory to the application server deployment directory. After you have set up the default user, you can create additional users and user roles.



➤ To set up default users, roles, and a login file:

1. Copy the following files from the [LiveCycle root]/components/readerextensions/jboss/conf directory

to the JBoss directory [appserver root]/server/all/conf directory:

● ares-roles.properties

● ares-users.properties

2. Stop and restart JBoss Application Server.

Avatar

Level 6
Hello David,



I was not able to login yet... Im not using readers extensions! Just FormServer.



Tahnk you

Avatar

Former Community Member
Ok. if you only have form server, see if you can access:



http://localhost:8080/FormServerAdmin/settings.html



this is the configuration page i was talking about in my earlier posts.



Cheers



David

www.ensemble.com