client app :
try {
usertx = txm.getUserTransaction();
} catch (TransactionException e) {
e.printStackTrace(System.out);
}
usertx.begin();
Error is:
javax.naming.NameNotFoundException: No object bound for java:comp/UserTransaction [Root exception is java.lang.NullPointerException]
My question is:
1. This is normal stuff. Anyone has done this on glassfish? which version? Nightly build? What did I do wrong?
2. I didn't pass anything to initialContext, should I?
3. Know bugs or solutions?
thanks
ying
[Message sent by forum member 'yxd0018' (yxd0018)]
http://forums.java.net/jive/thread.jspa?messageID=215547