Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Is UserTransaction supported in application client with Sun One

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When I perform ut.begain() after UserTransaction ut = initialContext.lookup("java:comp/UserTransaction");
I got the following information:
javax.transaction.SystemException: UserTransaction not supported in application
client.
at com.sun.enterprise.distributedtx.UserTransactionImpl.checkUserTransac
tionMethodAccess(UserTransactionImpl.java:99)
at com.sun.enterprise.distributedtx.UserTransactionImpl.begin(UserTransa
ctionImpl.java:114)
at converter.ConverterClient.main(ConverterClient.java:47)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:28
5)
at com.sun.enterprise.appclient.Main.<init>(Main.java:420)
at com.sun.enterprise.appclient.Main.main(Main.java:92)

The same code was performed well with WebSphere.

Is Sun one not supported UserTransaction for application server.

Please give me information about UserTransaction within Sun one for J2EE Application Client or Standalone Application Client.

Thanks!
reply
    Bookmark Topic Watch Topic
  • New Topic