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



Colin:

I misspoke. It is a standard application not a web app and I am able to 
run it in WDSCi as a stand alone app, not in WAS Test Env.

My RUNJVA command is like you said: the fully qualified class name 
including the package and the JAR file listed in the CLASSPATH parm. 



Mike,

Are you talking about a standard application or a web application. WAS 
Test
Environment is for running web applications, in which case they must be
distributed as EAR or WAR files.

If your talking standard java application, what is your RUNJVA command. 
The
class name including package should be specified on the CLASS  (unless you
specify it in the JAR manifest).
The jar file should be listed on the CLASSPATH 

cheers
Colin.W
 
Extension   5800
Direct dial   0870 429 5800


-----Original Message-----
From: Mike Burdette [mailto:Mike.Burdette@xxxxxxxxxxxxx] 
Sent: 27 September 2004 14:53
To: JAVA400-L@xxxxxxxxxxxx
Subject: Creating, deploying a Java app jar file from WDSCi and running on
iSeries...


I have a Java application that I have developed in WDSCi and wish to 
export in a jar file to the iSeries and run it from there using the RUNJVA 

command.

The app runs from within WDSCi on my PC in the WAS Test Environment. But 
when I export it to the iSeries, the app never loads. I cannot even run it 

in debug as it blows up before the first statement. Here are the errors I 
am getting:

.....
Loading class java/security/BasicPermissionCollection.class from 
/QIBM/ProdData/OS400/Java400/jdk/lib/rt.jar 
Loading class java/lang/VerifyError.class from 
/QIBM/ProdData/OS400/Java400/jdk/lib/rt.jar 
Loading class java/beans/PropertyVetoException.class from 
/QIBM/ProdData/OS400/Java400/jdk/lib/rt.jar 
FATAL ERROR in native method: Received NULL object reference Java program
completed with exit code 134 

I have contacted IBM support, and they have been somewhat helpful, but 
they say the problem is with the way I am creating the jar file. 

Any ideas/suggestions on what might be the problem? Any good resources on 
creating a Java app in/deploying from WDSCi to the iSeries?

Thanks.

BTW, I am running V5R2. 


Mike Burdette


Mike Burdette

Comporium Data Services
Web Development
471 Lakeshore Parkway
PO Box 270
Rock Hill, SC 29731

803 326-4153
803 326-4252 fax

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.