Problem running a java concurrent program ! [message #95924] |
Fri, 25 June 2004 05:25 |
Prem Khanna J
Messages: 3 Registered: May 2004
|
Junior Member |
|
|
Hi All,
------------ SmileObject.java -----------------
public class SmileObject {
public static void main(String args[[]]) {
HappyObject h = new HappyObject();
h.laugh();
}
}
------------- HappyObject.java -------------
public class HappyObject {
protected String getMood() {
return "happy";
}
public void laugh() {
System.out.println("Ha ha ha.");
}
}
------------------------------------------------
i have made the HappyObject.class as Happy.jar and placed in $JAVA_TOP and placed SmileObject.class in $JAVA_TOP too. When i register this SmileObject as a java concurrent program and place a request for it , i get ClassNotFoundException.
i am able to run this SmileObject in command line.
So in what all config files i should mention this Happy.jar file ?
I tried in jserv.properties files . but still the error persists ?
can someone guide me ?
|
|
|