Page 1 of 1
Java Pack problem - error
Posted: Wed Apr 30, 2008 10:43 pm
by jtsoong
Hi guys
i have a java class that can be called ok.
however as soon as i put an 'info("this is some trace")' statement in the java program i get this error:
"Abnormal termination of stage XXX_Job..TRANS_SetUp_Message detected"
If i take out this 'info' line then it works fine....
If i put in a 'warn' message and turn on tracing i get the same error.
Has anyone had this problem before?
thanks
jon
Posted: Wed Apr 30, 2008 11:37 pm
by lstsaur
Please provide more info. about your job. Are you using Java client or Java Transformer?
Posted: Thu May 01, 2008 1:02 am
by jtsoong
lstsaur wrote:Please provide more info. about your job. Are you using Java client or Java Transformer?
java client in a server job.
i have a transformer than sends data to my java client.. the java client runs ok, but if i put a 'warn' or 'info' in it fails with the error message above and doesn't show me the statement. if i put a 'fatal' in it actually shows me the statement i'm trying to print out in Director... but i really just want to use 'info' to help me debug the program.
Posted: Thu May 01, 2008 2:59 am
by ray.wurlod
Perhaps you need to direct your diagnostic messages to somewhere other than standard output. Many DataStage stages are averse to "unexpected data".
Posted: Thu May 01, 2008 10:46 am
by lstsaur
Please post your Java program if you don't mind.
Posted: Thu May 01, 2008 2:17 pm
by eostic
In v8 warn and trace are broken. other alternatives have to be used.
Ernie
Posted: Thu May 01, 2008 2:38 pm
by eostic
follow-up... I just stuck this inside one of my sample classes and it sent the messages as a group to the last message inside the standard Director based DS Log.
System.out.println("we are inside of process!");
Ernie
reply
Posted: Sun May 18, 2008 10:36 am
by jtsoong
eostic wrote:In v8 warn and trace are broken. other alternatives have to be used.
Ernie
oh right ya that seems to be the case
its something i can work around, good to know its them not me though