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



John,

Which Java JVM version were you running on V6R1?
6 is minimum on V7R2.
5 still available on V7R1.

https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/IBM%20i%20Technology%20Updates/page/Java%20products%20and%20options%20on%20IBM%20i



Paul


-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Scott Klement
Sent: Wednesday, August 26, 2015 3:41 PM
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: Re: HSSFR4, 7.2 Upgrade and Start JVM.

Make sure you have the latest CUM PTF and Java group PTF.

I'm running 7.2, and not having problems like this...


On 8/26/2015 10:11 AM, JRusling@xxxxxxxxxxx wrote:
On our production i -
We upgraded from 6.1 to 7.2 Saturday Aug 15th.
This week a spreadsheet program i wrote stopped working so I went back
to Scott Klements example programs in the poi36 library and get the
same thing.
It crashes hssfr4 on the start_jvm line.
here is the overview of the joblog messages -

call setenv
Library POI36 already exists in library list.
Environment variable added.
Environment variable added.
Environment variable added.
call hdrdemo
Pointer not set for location referenced.
Pointer not set for location referenced.
Java exception received when calling Java method.
Application error. RNX0301 unmonitored by HSSFR4 at statement
0000102100,
instruction X'0000'.
The call to HSSF_BEGIN ended in error (C G D F).
? C
The call to HSSF_BEGIN ended in error (C G D F).
? C
Application error. CEE9901 unmonitored by HDRDEMO at statement
0000005900, instruction X'0000'.

The error occurs in the hssf_get_jni_env() procedure (below) on the
start_jvm() line.

Is there some change made in 7.2 that needs to be allowed for / some
adjustment that needs to be made in order for hssfr4 to keep working?

-Any- ideas are greatly appreciated.


Another clue is if i do a wrkjvmjob, after trying to run the
spreadsheet pgm, no entries show up under my user profile.
(leading me to believe the issue is something to do with starting the
jvm)


Thanks,

John


*-----------------------------------------------------------------
* hssf_get_jni_env():
*
* Service program utility to get a pointer to the JNI environment
* you'll need this pointer in order to call many of the JNI
* routines.
*
* returns the pointer, or *NULL upon error
*-----------------------------------------------------------------
P hssf_get_jni_env...
P B EXPORT
D hssf_get_jni_env...
D PI *

D wwEnv s *

/free
wwEnv = attach_jvm();
if (wwEnv = *NULL);
wwEnv = start_jvm();
endif;

return wwEnv;
/end-free
P E



John Rusling
Senior Developer/Analyst
Quadion LLC
Minnesota Rubber & Plastics
952.927.1419
jrusling@xxxxxxxxxxx
<br />
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by
anyone else is unauthorized. If you are not the intended recipient,
any disclosure, copying, distribution or any action taken or omitted
to be taken in reliance on it, is prohibited and may be unlawful.

--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.


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.