jomy davis

Greenhorn
+ Follow
since Aug 25, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by jomy davis

Hello
I too had the same problem and i found out that the problem comes from different versions of jt400.jar,data400.jar and xml4j.jar.
Strangely on the AS400 there are multiple copies of these files available
I solved the problem by creating a standalone program and testing with different versions of the files till i got it rt adn then adding these files to the web application classpath.
public class PCMLTest {

public static void main(String[] args) throws PcmlException {
AS400 as400 = new AS400("ip","user","password");
System.out.println("as400 obj created");
String pcmlFileName="TestPcml.pcml";
ProgramCallDocument pcd=new ProgramCallDocument(as400 , pcmlFileName);
System.out.println("Initialisation of pcml is thru");
}
}

The original problem i had was that it said xerces/XMLParser file was missing(NoClassDefFound) even though the file was present in the classpath and accessible.
Hope it helps
[ August 25, 2004: Message edited by: jomy davis ]
19 years ago