Message format for EJB validation
By default, before EJB deployment code is generated when you use either the workbench or the ejbdeploy command from the command line, validation is automatically run on the application.
When the EJB validator issues an error, warning, or information message, the location and the source of the message is displayed in the following format (an error message is used as an example):
[Error:]JAR_name(location):message_text
where
- JAR_name is the name of the archive file
- message_text is the text of the message
- location identifies the source of the message, and is either a number or text.
It defaults to a line number if a line number is available as a result of .java source files residing in the archive. For example, if the line number is 101, the message would appear as follows:
[Error:] JAR_name(101): message_text
If no line number is available, a text description of the location is provided. A message on a method, for example, would be displayed like this:
[Error:] JAR_name(Method: fully_qualified_method_name, Class: fully_qualified_name_of_the_class_that_contains_the_method): message_text
Related concepts
EJB deployment tool
Related tasks
Generating EJB deployment code from the workbench