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




Hi all,
have a Java application that normally runs as a batch job on our
iSeries. For debug purposes thought I would try to run it via the Java
Application in iSeries Server option. (Running WDSC V7.0)
I think I have got all the right parameters and properties set, but when
the job starts on the iSeries, it gets so far and then ends with the
following error. The IP Address listed was the address allocated to my
laptop at the time.

To procedure . . . . . . . : RunJava
Statement . . . . . . . . . : 52
Message . . . . : Parameter received by JNI_CreateJavaVM not valid.
Cause . . . . . : JNI_CreateJavaVM received a parameter that is not
valid:
os400.stdin=port:20.42.4.65. Recovery . . . : Correct the parameter
and
submit the request again.
40 02/07/07 18:19:20.177096 QJVAUTLJVM QSYS *STMT
QJVACMDSRV QSYS
From user . . . . . . . . . : JOSULLI4
From module . . . . . . . . : QJVAUTLJVM
From procedure . . . . . . : JvaSendMsg
Statement . . . . . . . . . : 16
To module . . . . . . . . . : QJVACMDSRV
To procedure . . . . . . . : main
Statement . . . . . . . . . : 14
Message . . . . : Unable to complete Java program.
Cause . . . . . : Unable to complete Java program because of reason 2.
The
reason codes are defined as follows: 01 - Class name is not provided.
02 -
Unable to create a Java Virtual Machine. 03 - Unable to find valid
classes


I tried specifying the os400.stdin.allowed=0 property, even thought it
should have already been set to 0, but it didn't make any difference.
Does anyone have any ideas what else I could try?
FYI, I did get this to work a long time ago with VisualAge for Java, but
never could get it to work with WDSC.


regards


James O'Sullivan
Senior Technical Consultant
email: josulli4@xxxxxxx
Office: +44 1252 536681
Fax: +44 1252 534022
www: midrange.csc.com

Based at: Tower 2, Floor 2, Royal Pavilion, Wellesley Road, Aldershot,
Hampshire, GU11 1PZ

CSC Corporation Limited: No. 1812179.
All registered office addresses: Royal Pavilion, Wellesley Road, Aldershot,
Hampshire, GU11 1PZ. Registered in England.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
any order or other contract unless pursuant to explicit written agreement
or government initiative expressly permitting the use of e-mail for such
purpose.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.