#27591

Hi,

After turning on the debug information i got the following:

[language=xml:1benp1rv]AMgr: Start executing agent 'CreateContractPDFs' in 'EAA090114ccoweb.nsf'
Agent Manager: Agent printing: testing CustomFileResourceProvider.test: test works
Agent Manager: Agent printing: version: PD4ML 351b17 (eval)
Agent Manager: Agent printing: image not yet in cache: https://www.reachsuite.com/EAA090114/cxpweb.nsf/PublicDocs/NCOY-7UKH4E/$File/CompanyLogo.gif
Agent Manager: Agent printing: not yet in cache: https://www.reachsuite.com/EAA090114/cxpweb.nsf/PublicDocs/NCOY-7UKH4E/$File/CompanyLogo.gif
Agent Manager: Agent printing: External resource loader: CustomFileResourceProvider not found. Make sure “pd4ml.extra.resource.loaders” value is correct
Agent Manager: Agent printing: External resource loader: CustomFileResourceProvider not found. Make sure “pd4ml.extra.resource.loaders” value is correct
Agent Manager: Agent printing: resource https://www.reachsuite.com/EAA090114/cxpweb.nsf/PublicDocs/NCOY-7UKH4E/$File/CompanyLogo.gif not found.
Agent Manager: Agent printing: image https://www.reachsuite.com/EAA090114/cxpweb.nsf/PublicDocs/NCOY-7UKH4E/$File/CompanyLogo.gif not found.
Agent Manager: Agent printing: can not load image: https://www.reachsuite.com/EAA090114/cxpweb.nsf/PublicDocs/NCOY-7UKH4E/$File/CompanyLogo.gif
Agent Manager: Agent printing: done in 343ms.
AMgr: Agent 'CreateContractPDFs' in 'EAA090114ccoweb.nsf' completed execution[/language:1benp1rv]I also added a function test() to CustomFileResourceProvider to return a dummy string and did the following:

[language=java:1benp1rv]PD4ML pd4ml = new PD4ML();
pd4ml.setPageInsets(new Insets(20, 10, 10, 10));
pd4ml.setHtmlWidth(1000);
pd4ml.setPageSize(format);
HashMap map = new HashMap();
map.put( “pd4ml.extra.resource.loaders”, “CustomFileResourceProvider” );
pd4ml.setDynamicParams(map);
ustomFileResourceProvider obTest = new CustomFileResourceProvider();
System.out.println(“testing CustomFileResourceProvider.test: ” + obTest.test());[/language:1benp1rv]
The Agent Manager output above shows the CustomFileResourceProvider is available as a class and working. How ever i don’t think this class is available in the java generally available classes.
I am going to test changing the IP from a web URL to xx.xx.xx.xx but the ResourceProvider as a class doesn’t seem to behave correctly …

Again anymore help would be great so we can then purchase the unlimited licence.