Error during Verify J2EE compliance with deploytool
posted 11 years ago
Hi, 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 ].