Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Error during Verify J2EE compliance with deploytool  RSS feed

Drake Almonto
Posts: 16
  • Mark post as helpful
  • send pies
  • 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?
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!