× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--
[ Picked text/plain from multipart/alternative ]
Are you using FOP only?

We do use FOP on the As400 without any problem. The problem
is that we do not use Jpeg files.

At reading your traces it seems that it is related to AWT, but usually
another exception is thrown. I also noticed that with FOP or Cocoon
the exception thrown can be due to something else (like classpath
problems, or jar problems).

So I suggest that you first have a look to all of your fop jars
and make sure that you have:
- access to them with the classpath
- compiled them (at least to make sure that the jar is usuable. Depending
on the way you copy it on the as400 you cannot use it)
- the jar has correct rights

I am giving this advice, because when we used FOP, we had very strange
exception messages at first, and it was always due to the 3 points above.

About AWT. I know that with V5R1 they provide a native AWT, but it seems
quite complicated to install.

If you want I will check or FOP configuration on the AS400

Gilles

-----Original Message-----
From: Geert Van Landeghem [mailto:gvl@reynders.com]
Sent: mardi, 30. juillet 2002 11:52
To: java400-l@midrange.com
Subject: Anyone using FOP on AS/400?


Hello all,

I have a java/FOP application working on a Windows2000 Server that
converts xml files into pdf files using FOP. I want to transfer this
application
to our AS/400 system. When copying all the appropiate directories to the
AS/400
and executing a test program following exception occurs:

using SAX parser org.apache.xerces.parsers.SAXParser
building formatting object tree
setting up fonts
 [1>>>]java.lang.UnsatisfiedLinkError: no jpeg in java.library.path
      java/lang/Throwable.<init>(Ljava/lang/String;)V+4 (Throwable.java:90)

java/lang/ClassLoader.loadLibrary(Ljava/lang/Class;Ljava/lang/String;Z)V+309
(ClassLoader.java:1312)

java/lang/Runtime.loadLibrary0(Ljava/lang/Class;Ljava/lang/String;)V+51
(Runtime.java:749)
      java/lang/System.loadLibrary(Ljava/lang/String;)V+6 (System.java:820)
      sun/security/action/LoadLibraryAction.run()Ljava/lang/Object;+4
(LoadLibraryAction.java:53)
      sun/awt/image/JPEGImageDecoder.<clinit>()V+33
(JPEGImageDecoder.java:39)

sun/awt/image/InputStreamImageSource.getDecoder(Ljava/io/InputStream;)Lsun/a
wt/image/ImageDecoder;+135 (InputStreamImageSou
rce.java:224)

sun/awt/image/URLImageSource.getDecoder()Lsun/awt/image/ImageDecoder;+159
(URLImageSource.java:142)
      sun/awt/image/InputStreamImageSource.doFetch()V+34
(InputStreamImageSource.java:251)
      sun/awt/image/ImageFetcher.fetchloop()V+29 (ImageFetcher.java:217)
      sun/awt/image/ImageFetcher.run()V+4 (ImageFetcher.java:185)


Is this problem caused bij java400 (no AWT available) and if so
is there a solution to this problem?

Any help is appreciated,

Geert Van Landeghem
Reynders Etiketten NV
Tel: 03/460.32.81
GSM: 0477/75.95.33
gvl@reynderseti.be

_______________________________________________
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
To post a message email: JAVA400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l
or email: JAVA400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.


**********************************************************************
This E-mail and any files transmitted with it are confidential
and intended for the exclusive use of the addressee(s) only.
 You should not disclose its contents to any other person.
If you are not the intended recipient please notify the sender
immediately.
**********************************************************************


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.