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



Can you get a stack trace? I've usually found that this message occurs
deep within the JVM in JNI code. Something has happened there that keeps
the JVM from even throwing an error. The JVM shuts down and throws off
this message. You MIGHT find something in the job log back a couple
messages.

It usually means I did something wrong in my code that is calling base
functions supplied by the JVM. But it may indicate an error that the JVM
developer needs to fix. Have you tried various JVM's?

It's probably time to call IBM, but they're going to want a stack trace.


-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx
[mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of David Gibbs
Sent: Thursday, July 15, 2010 9:37 AM
To: Java Programming on and around the iSeries / AS400
Subject: RUNJVA in CCSID 5026 results in JVA0122 rc 1?

Folks:

I'm stumped on this one ... I've got a java program that _generally_
works fine ... except if I run it in a CCSID 5026 job.

If I run it in a CCSID 37 or CCSID 5035 (which are generally compatible
regarding English characters) it runs fine.

But if I run it in a job with CCSID 5026 it ends with a JVA0122 error
with return code 1.

My program does *NOT* do a System.exit(1).

The java program is being invoked with the RUNJVA command.

I've looked at the joblog for the associated QJVACMDSRV job, but it's
not showing anything particularly useful (difficult as it was to
interpret, considering it was in Japanese).

When I invoke the RUNJVA command from the CL driver program, the values
for classpath, classname, & java.version property have been retrieved
from message files (tagged with CCSID 37) so they get transcoded to
CCSID 5026.

Although I get the same error when I run the program from the command
line.

When I run the program with OPTION(*VERBOSE), I can see the appropriate
classes getting loaded ... but the class doesn't run.

This is on V5R4 with the classic JVM 1.5.

Any thoughts?

david


--
IBM i on Power Systems - For when you can't afford to be out of business
--
This is the Java Programming on and around the iSeries / AS400
(JAVA400-L) mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/java400-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.