This content has been marked as final.
Show 3 replies
-
1. Re: Issue with remote access
lafr Feb 4, 2015 9:42 AM (in response to valsaraj007)1 of 1 people found this helpful -
2. Re: Issue with remote access
valsaraj007 Feb 5, 2015 7:30 AM (in response to lafr)Thanks Frank!
I found that EJBs bound on java:jboss/exported can be used at client side. How can I get userTransaction in client side code?
Eg:
public void beginTransaction() {
try {
ut = (UserTransaction) getCtx().lookup("UserTransaction");
ut.begin();
} catch (Exception ex) {
throw new RuntimeException("Failed to begin UserTransactiion", ex);
}
}
I got this error:
Caused by: javax.naming.NameNotFoundException: UserTransaction -- service jboss.naming.context.java.jboss.exported.UserTransaction
-
3. Re: Issue with remote access
valsaraj007 Feb 12, 2015 3:02 AM (in response to valsaraj007)Fixed the above issue as specified here
UserTransaction used by remote clients in WildFly
IllegalStateException: EJBCLIENT000027: No EJBReceiver available for node name