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 ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

Error during Verify J2EE compliance with deploytool

Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am having a problem with one of the methods in a stateless session bean that is in my application. I am using the deploytool. After I use the "Edit Contents' button to add my classes to my session bean jar file, I can see all of the methods from the remote interface appearing under the "Transactions" and "Security" tab, within the deploytool for the bean. They are all set with the attribute "Required".

Then, after I do File/Save for the application, one of the methods no longer appears in the "Transactions" or "Security" tab. When I run the "Verify J2EE Compliance", I am receiving the following message, for the missing method.

Error: Transaction attributes must be specified for the methods defined in the component interface [ retail.Retail ]. Method [ getInfo ] has no transaction attribute defined within this bean [ RetailBean ].

Can anyone help me?
This. Exactly this. This is what my therapist has been talking about. And now with a tiny ad:
We need your help - Coderanch server fundraiser
    Bookmark Topic Watch Topic
  • New Topic