I have a java program that I wrote that utilizes iText 2.1.4.  This
program works properly on my local windows environment.  I am running
Sun JDK 1.5.0.17.


I then jar my application up and transfer the jar to an iSeries
(AS/400), version V5R3.  I receive the following error when I attempt to
run my program:

java.io.IOException: Operation not supported. Map failed

        at java.lang.Throwable.<init>(Throwable.java:195)

        at java.lang.Exception.<init>(Exception.java:41)

        at java.io.IOException.<init>(IOException.java:40)

        at sun.nio.ch.FileChannelImpl.map0(Native Method)

        at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:731)

        at com.lowagie.text.pdf.MappedRandomAccessFile.init(Unknown
Source)    
        at com.lowagie.text.pdf.MappedRandomAccessFile.<init>(Unknown
Source)  
        at com.lowagie.text.pdf.RandomAccessFileOrArray.<init>(Unknown
Source) 
        at com.lowagie.text.pdf.RandomAccessFileOrArray.<init>(Unknown
Source) 
        at com.lowagie.text.pdf.PRTokeniser.<init>(Unknown Source)

        at com.lowagie.text.pdf.PdfReader.<init>(Unknown Source)

        at com.lowagie.text.pdf.PdfReader.<init>(Unknown Source)


On the iSeries, I am running under JDK 1.4.2.  Though I did attempt to
run it under 1.5 as well with no change in behavior.

Any idea what might be causing this?

Thanks,

Donald R. Kichline
Penske Truck Leasing
Sr. Software Engineer, Systems Architecture

T 610-796-4190
F 610-603-8402
E don.kichl...@penske.com
www.GoPenske.com

P.O. Box 563
Reading, PA 19603-0563

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to