× 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.



I'm using the Scott tool without any problem.
I've also rebuilt the classes and the jar and use another classpath.
Everything works fine.


----- Original Message ----- 
From: <Peter.Colpaert@xxxxxxxxxx>
To: <rpg400-l@xxxxxxxxxxxx>
Sent: Wednesday, June 29, 2005 11:39 AM
Subject: XLPARSER problem


Hi group,

I wonder if anyone has tried the XLPARSER service program that Scott
Klement published in the January 8, 2004 edition of iSeries NEWS.

Having downloaded the zip file with sources, I have followed all steps he
describes:

a) Get the Jakarta-POI Java classes from their Web site. Make sure you get
the latest version by clicking "download," then choosing a mirror, and
then clicking on the "dev" and "bin" directories. This link will take you
to the Jakarta-POI Web site: http://jakarta.apache.org/poi/
b) Unzip the file that you downloaded from the Jakarta-POI Web site and
upload the .jar files to the /QIBM/UserData/Java400/ext directory in your
IFS. If you use FTP to transfer this file, make sure you use BINARY mode.
c) Retrieve the source code for this tip from the iSeries Network's Web
site.
http://www.iseriesnetwork.com/noderesources/code/clubtechcode/ParseExcel.zip
d) Upload the xlparse.jar file to the /QIBM/UserData/Java400/ext directory
in your IFS. Again, if you use FTP, use BINARY mode.
e) Upload the xlpdemo.xls file to the /tmp directory in the IFS. Again, if
you use FTP, use BINARY mode.
f) Create the XLPARSER4 service program and the XLPDEMO program by
following the instructions in their respective source members.

However, if I then call XLPDEMO, I get a java error: "Java exception
received when calling Java method."

The details of this error are:

Message . . . . :   Java exception received when calling Java method.
Cause . . . . . :   RPG procedure XLPARSE_WO in program COLPAERP/XLPARSER4

  received Java exception "java.lang.NoClassDefFoundError:
  com/iseriesnetwork/clubtech/xlparse/ParseSheet" when calling method
"parse"
  with signature "(¬B¬B¬B)V" in class
  "com.iseriesnetwork.clubtech.xlparse.ParseSheet".

My classpath points to both the POI and XLPARSE jar files in the IFS.

Am I missing some vital stuff, or did I forget some obscure setting?

Thanks in advance,
Peter Colpaert
Application Developer
Massive - Kontich, Belgium
-----
Yoda of Borg are we.  Futile is resistance, assimilated will you be.
-----

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.