|
Hi all,
I am calling my Java module that has a String input and String out put. This is
in Test.jar.
My class path is set in Clle as:
2801 - ADDENVVAR ENVVAR(classpath)
VALUE('.:/xml/com/sungardfutures/testing/
:/qibm/proddata/http/public/jt400/lib/jt400.zip
:/qibm/proddata/http/public/jt400/lib/jt400access.zip
:/QIBM/ProdData/Java400/jdk14/lib/rt.jar
:/QIBM/ProdData/Java400/jdk14/lib/jaas.jar
:/QIBM/ProdData/Java400/jdk14/lib/tools.jar
:/JUNK/Test.jar')
REPLACE(*YES)
I have definitions in RPGLE as:
* java method
D OpenConn PR O Class(*JAVA:'java.lang.String')
D ExtProc(*JAVA:
d 'com.sud.test.TestURL':
d 'OpenConnection')
D surl S O Class(*JAVA:'java.lang.String')
D srtn S O Class(*JAVA:'java.lang.String')
And my call as:
c eval srtn = urlOpenConn(sUrl)
I get following error:
Java exception received when calling Java method.
Cause . . . . . : RPG procedure URLCHECK3 in program
DSRAMANUJA/URLCHECK3
received Java exception "java.lang.NoClassDefFoundError:
com/sud/test/TestURL" when calling method "OpenConnection" with signature
"()Ljava.lang.String;" in class "com.sud.test.TestURL".
Recovery . . . : Contact the person responsible for program
maintenance to
Also, How can we call a java method that does not return any values - void or
STATIC methods?
TIA
Sudha Ramanujan
SunGard Futures Systems
sramanujan@xxxxxxxxxxxxxxxxxx
(312) 577 6179
(312) 577 6101 - Fax
-----Original Message-----
From: Haas, Matt [mailto:Matt.Haas@xxxxxxxxxxx]
Sent: Friday, December 10, 2004 9:47 AM
To: RPG programming on the AS400 / iSeries
Subject: RE: CGI, RPG
If you're on a V5 release, you have a license to the C compilers. As much as I
like RPG for business programming, there are better languages for CGI
programming so why not use C or C++ if you already know those?
Matt
-----Original Message-----
From: Douglas W. Palme [mailto:dpalme@xxxxxxxxxxxxxxxxxxxxx]
Sent: Friday, December 10, 2004 10:07 AM
To: RPG programming on the AS400 / iSeries
Subject: Re: CGI, RPG
My RPG skills are weak, although I am spending considerable time every day
learning as much as I can...I have heavy experience in C, C++, perl, html,
etc. Never saw an advantage to asp or PHP for what I was working on at the
time....
On Fri, 10 Dec 2004 09:19:19 -0500, Mike Eovino wrote
> What technologies do you have experience with? If you have people
> with web scripting language experience (ASP, PHP, Cold Fusion), I'd
> agree with Raul and use the Net.Data/RPG combo. That's what we use.
>
> Mike E.
>
> On Fri, 10 Dec 2004 07:50:55 -0300, Raul Jager <raul@xxxxxxxxxx> wrote:
> > I use a mixture of RPG and NetData. For simple forms to be filled by a
user,
> > it may be you best choice. I found the RPG very usefull for validating
the
> > entry data, and NetData for display.
> > __________________________________________________________________
> > El Thursday 09 December 2004 13:55, David Gibbs escribió:
> >
> >
> > > Douglas W. Palme wrote:
> > > > Just a quick question, how difficult would it be for us to setup an
online
> > > > app process for potential drivers to complete, that will then update
our
> > > > database (physical) files?
> > >
> > > Might be worthwhile checking in on the WEB400 list also
> > > (http://lists.midrange.com/listinfo/web400).
> > >
> > > david
> > >
>
--
This is the RPG programming on the AS400 / 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 mailing list archive is Copyright 1997-2025 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.