We are printing to PDF via RPCManager.exportContent() and I've noticed that when deployed to JBoss 6.0 the image content that was on the page isn't being included in the PDF. I see the errors below in the server log. This happens in all browsers. The software version is:
SmartClient Version: SNAPSHOT_v8.3d_2012-10-01/Enterprise Deployment (built 2012-10-01)
The first image in the error was loaded into the UI with:
This image is in the war projects src/main/webapp/images folder.
And the other image was loaded similarly:
the imageUrl points at a servlet to return the image.
The images load fine into the UI, and also when doing an html print preview via Canvas.showPrintPreview().
Is there something I need to do to get these images to print in the PDF, or is this a bug?
Thanks,
Chris
SmartClient Version: SNAPSHOT_v8.3d_2012-10-01/Enterprise Deployment (built 2012-10-01)
Code:
2012-10-02 14:46:04,280 INFO [STDOUT] (http-169.143.9.79-8080-5) 2012-10-02 08:46:04,280 [http-169.143.9.79-8080-5] WARN com.isomorphic.contentexport.ResourceLoader - Resource not found in main path. Error: /export/home/webadm/jboss-6.0.0.Final/server/default/tmp/vfs/automount41deb1dbf2490857/fpo.war-9f58a38f67d789e5/fpo/sc/skins/Jeppesen/images/icon-cg-envelope-landing-small.png (No such file or directory). Searching in alternative paths 2012-10-02 14:46:04,280 INFO [STDOUT] (http-169.143.9.79-8080-5) 2012-10-02 08:46:04,280 [http-169.143.9.79-8080-5] WARN com.isomorphic.contentexport.ResourceLoader - Resource not found in any alternative path. Error: /export/home/webadm/jboss-6.0.0.Final/server/default/tmp/vfs/automount41deb1dbf2490857/fpo.war-9f58a38f67d789e5/theme/fpo/images/icon-cg-envelope-landing-small.png (No such file or directory) 2012-10-02 14:46:04,289 INFO [STDOUT] (http-169.143.9.79-8080-5) 2012-10-02 08:46:04,289 [http-169.143.9.79-8080-5] WARN com.isomorphic.contentexport.ResourceLoader - Resource not found in main path. Error: /export/home/webadm/jboss-6.0.0.Final/server/default/tmp/vfs/automount41deb1dbf2490857/fpo.war-9f58a38f67d789e5/fpo/sc/skins/Jeppesen/imageshttp:/denjpdcd5:8080/fpo/map?number=0&planId=16410&date=1349189142819 (No such file or directory). Searching in alternative paths 2012-10-02 14:46:04,289 INFO [STDOUT] (http-169.143.9.79-8080-5) 2012-10-02 08:46:04,289 [http-169.143.9.79-8080-5] WARN com.isomorphic.contentexport.ResourceLoader - Resource not found in any alternative path. Error: /export/home/webadm/jboss-6.0.0.Final/server/default/tmp/vfs/automount41deb1dbf2490857/fpo.war-9f58a38f67d789e5/theme/fpo/imageshttp:/denjpdcd5:8080/fpo/map?number=0&planId=16410&date=1349189142819 (No such file or directory)
Code:
Img ldwIcon = new Img("icon-cg-envelope-landing-small.png", 16, 16);
And the other image was loaded similarly:
Code:
final Img image = new Img(imageUrl);
The images load fine into the UI, and also when doing an html print preview via Canvas.showPrintPreview().
Is there something I need to do to get these images to print in the PDF, or is this a bug?
Thanks,
Chris
Comment