Hm.. I see you're using tomcat. Is JT400.JAR in the tomcat COMMON/lib?
If so, you must decide whether to remove this jar and deploy JT400 with
each application that needs it, or remove it from your project and make
everyone use the common jar...
http://www.mail-archive.com/users@xxxxxxxxxxxxxxxxx/msg50773.html
Have you cleaned the project? Perhaps there's a java artifact that
needs to be removed... In menu Project, select Clean...
Also noticed your eglbld names the program name as COMMANDONI, but in
you code sample, you're calling "QCMDEXC". I'm not sure if EGL lets you
call an alias name...
Sorry if I'm all over the place on this...
-Eric
-----Original Message-----
From: egl-i-bounces@xxxxxxxxxxxx [mailto:egl-i-bounces@xxxxxxxxxxxx] On
Behalf Of Pete Hall
Sent: Tuesday, June 30, 2009 7:40 PM
To: egl-i@xxxxxxxxxxxx
Subject: Re: [EGL-i] Trying to execute a command on the i
DeLong, Eric wrote:
Pete,
Did you add JT400.jar to your project? Just copy it to your
WEB-INF/lib
folder.
Regarding the part details, the example I see shows:
Thanks again Eric. I do have jt400.jar in WEB_INF/lib, and the
powerpoint is what I was working from originally, although I found it
somewhere else. I made the linkage elements exactly as you suggest, but
still no difference. I don't think it's getting far enough to attempt to
connect to the remote i. At least I can't find anything in the system
history log. I believe the show stopper is the
java.lang.ClassNotFoundException for com.vcpi.services.COMMANDONI. I was
using QCMDEXC before, but changed it to match the example. EGL doesn't
seem to be generating the class. It doesn't make any difference if I
specify a package in the LinkageOptions section of eglbld or not. It
still says it can't find com.vcpi.services.<whatever>.
Here's what's in eglbld:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE EGL PUBLIC "-//IBM Corporation, Inc.//DTD EGL Build Parts
6.0//EN" "">
<EGL>
<BuildDescriptor
name="Submit835BatchWebBuildOptions"
genProject="Submit835Batch"
system="WIN"
J2EE="YES"
genProperties="GLOBAL"
genDataTables="YES"
dbms="DB2"
sqlJNDIName=""
deploymentDescriptor="Submit835Batch"
serverType="TOMCAT6.X"
</BuildDescriptor>
<LinkageOptions name="ExternalLinkages">
<callLink >
<remoteCall pgmName="COMMANDONI" alias="QCMDEXC"
conversionTable="CSOE037" library="%LIBL%" luwControl="CLIENT"
remoteBind="GENERATION" remoteComType="JAVA400" remotePgmType="STATEFUL"
location="systemb.vcpi.com"/></callLink>
</LinkageOptions>
</EGL>
As an Amazon Associate we earn from qualifying purchases.