PAM changes for j2me/bb