Hello guys, why Am I getting this error ?

I have two SP on my DB2 (v7.2 FP6.0 Win2k)
The first one does not take any argument, and when I call it on Java
doing the prepared stament Call proc1() it works..

My second SP has an input and an output value , and when I call it using
java I the the
[DB2]"Unable to load module GETNEXTID

inside the db2 enviroment CLP or Command Center they both work, but outside they do not, any clues..

thank you