Express (Distributed operating systems), v8.0 > Reference > Messages


CWNBV

CWNBV0001E: During server start the BeanValidationService service failed to register with the injection service. Applications requiring injection of either a ValidatorFactory class or a Validator class will fail. The following error occurred: {0}.

Explanation The bean validation service failed to register with the injection engine when the application server started. The failure is unexpected. A possible cause is that the injection service has not been started.
Action Correct any previous errors and ensure that the injection service has been started. If the injection service is available and you continue to have the problem, see the problem determination information. This information is available on the WAS Support web page at //publib.boulder.ibm.com/infocenter/wasinfo/v8r0/index.jsp?topic=/ ://www.ibm.com/software/webservers/appserv/was/support.

CWNBV0002E: The BeanValidationService service is unable to create a ValidatorFactory class.

Explanation The bean validation service is unable to create a validator factory. The failure is unexpected. See the description of the specified exception for more information. The problem might be caused by the validation.xml file provided with the application.
Action Ensure that the provided validation.xml file is valid and the specified default validation provider, message interpolator or traversable resolver are available in the class path. If the validation.xml file is valid and the proper information is available in the class path but you continue to have the problem, see the problem determination information. This information is available on the WAS Support web page at //publib.boulder.ibm.com/infocenter/wasinfo/v8r0/index.jsp?topic=/ ://www.ibm.com/software/webservers/appserv/was/support.

CWNBV0003E: The BeanValidationService service is unable to create a ValidationFactory class because it was unable to load or instantiate the class: {0} in path {1} because of error: {2}

Explanation The bean validation service is unable to load or instantiate the class used to create the ValidationFactory. The problem might exist because the class does not exist or the class is not available in the application class path.
Action Ensure that the class is available and on the application class path. If class is valid and available in the class path but you continue to have the problem, see the problem determination information. This information is available on the WAS Support web page at //publib.boulder.ibm.com/infocenter/wasinfo/v8r0/index.jsp?topic=/ ://www.ibm.com/software/webservers/appserv/was/support.

CWNBV0004E: An incorrect syntax or error is detected in the validation.xml file found in {0}. The following associated error message occurred: {1}

Explanation The validation.xml file contains errors and does not conform to the schema definition.
Action Correct the errors in the validation.xml file and try again.

CWNBV0005W: A validation.xml file was found for the {0} module. However, that validation.xml file is not configured for bean validation; therefore this XML file is ignored.

Explanation The bean validation cannot create a ValidatorFactory because of an error parsing the validation.xml file with the validation-configuration-1.0.xsd schema file. This error indicates that the validation.xml file is not for bean validation; therefore, this XML file is ignored.
Action If the validation.xml file is not for creating a bean validation ValidatorFactory instance, then ignore the message. However if the validation.xml file is intended to create a ValidatorFactory instance, then a problem exists. Enable BeanValidation runtime trace in the application server, stop the application, restart the application, and examine the trace output file for a trace event such as: Unexpected exception when trying to unmarshall the validation.xml file. Examine the exception stack trace for debugging assistance.

   

+

Search Tips   |   Advanced Search