CWNEN

CWNEN0001E: The injection engine caught {0} and has created the following error: {1}.
Explanation
Action
CWNEN0005E: The injection engine service is not available.
Explanation The injection engine service for the specified server is not available.
Action The injection engine service is started as a singleton service on all application server processes. Check that the application server started withut any errors.
CWNEN0006E: The injection engine cannot register the injection processors until the injection engine service is initialized.
Explanation The injection engine initializes a set of default injection processors during startup. The injection engine service must be started and initialized before additional injection processors can be registed with the injection engine.
Action Ensure that the injection processors are being registered after the application server is started.
CWNEN0008E: The {0} method must be a setter method; the annotation is ignored.
Explanation The method for the injection target must be a setter property method.
Action Ensure that the annotation or injection target XML is specifying the intended method.
CWNEN0009E: The injection engine failed to process the XML code from the deployment descriptor.
Explanation There was an error when processing the meta data in the deployment descriptor.
Action Ensure that the XML contained in deployment descriptor is correct.
CWNEN0010E: The injection engine failed to process the {0} or {1} annotation in the {3} class.
Explanation The injection engine was unable to properly set up the injection targets for the specified class.
Action Ensure that the correct annotations are contained within the class and within the XML in the deployment descriptor.
CWNEN0011E: The injection engine failed to process bindings for the metadata.
Explanation The bindings and injection information contain errors.
Action Ensure that the annotations contained in the class and XML contained in deployment descriptor is correct.
CWNEN0013W: The following NumberFormatException exception occurred when the injection engine attempted to convert the {0} <env-entry-name> {1} <env-entry-value>: {2}
Explanation The container cannot process an environment entry due to a NumberFormatException exception.
Action Ensure that the value for the environment entry is a valid string representation for the specified type.
CWNEN0014W: The java:comp/env context environment entry for {0} enterprise bean, which is the Boolean type, is not set to a valid Boolean value: {1}. Thus, the entry is assigned a false value.
Explanation A java:comp/env context environment entry for an enterprise bean of the Boolean type should be assigned either a true or false value. Any other value results in false value, but it might indicate a configuration problem. The application might not behave as expected.
Action Change the java:comp/env context environment entry of the Boolean type to either a true or false value.
CWNEN0015W: The following exception has been caught in attempting to construct the {0} <env-entry-name> {1} <env-entry-value>:
{2}
Explanation The injection engine encountered an exception when it attempted to create a java:comp/env entry.
Action Take action based upon message associated with exception.
CWNEN0016W: A type, which is not valid, has been specified in the following java:comp/env context environment entry for a bean: {0} <env-entry-name>.
Explanation The injection engine encountered a type that is not valid for an environment entry.
Action Ensure that you use one of following environment entry types: String, Integer, Boolean, Double, Byte, Short, Long, or Float.
CWNEN0017E: The injection engine cannot resolve the target of the {0} resource-ref declaration to the associated binding location in the global namespace.
Explanation The injection engine cannot link between the name that is declared in the java:comp/env namespace and the name of the target resource in the global Java Naming and Directory Interface (JNDI) namespace.
Action Ensure that the name that is declared on the injection, using @Resource annotation or resource-ref declaration, matches the same name in the binding XML file.
CWNEN0018E: The {0} injection target is specified in an annotation that does not exist in the XML deployment descriptor.
Explanation The following information is stated in the EJB specification overriding rules: When an injection target is already present and is specified using XML, the annotation injection target must specify the same field or property method.
Action Change the annotation injection target to match the previously defined XML injection target of the same field or property method.
CWNEN0019E: The {0} injection target field must not be declared final.
Explanation According to the EJB specification, an injection target field must not be declared final.
Action Correct either the field name or field signature to specify one of the non-private class fields.
CWNEN0020E: The injection engine caught the following security exception when it attempted to access the {1} member: {0}.
Explanation The injection engine did not have the proper security credentials to access the member.
Action Take action based on the message that is associated with exception.
CWNEN0021W: The {0} field is declared as {1} but the requested injection type for the field is {2}.
Explanation The field type indicated on the injection target is not correct.
Action Ensure that the annotation or injection target XML is specifying the intended field.
CWNEN0022E: The injection engine cannot find the{0} member on the {1} class.
Explanation The class does not have a field value with the specified member name.
Action Ensure that the field is spelled correctly and that the class contains the field.
CWNEN0023E: One or more of the following arguments is null: {0} targetClass, {1} targetName, {2} injectionClass.
Explanation The injection engine encountered an error when it attempted to use the injection target information that is specified in the XML code.
Action Ensure that the XML, which exists in the deployment descriptor, is correct.
CWNEN0024E: The injection engine failed to load the {0} ObjectFactory class.
Explanation The injection engine failed to load and instantiate the specified object class.
Action Ensure that the class is available and that the constructor is visible and accessible.
CWNEN0025W: The enterprise bean is being bound to an empty string in the global Java Naming and Directory Interface (JNDI) namespace.
Explanation The information annotation or injection target is incorrect or incomplete.
Action Ensure that the annotation or injection target XML for the enterprise bean is correct.
CWNEN0026E: The {0} enterprise bean home and remote, or local-home and local elements, are either missing or cannot be resolved.
Explanation The home and remote, or local-home and local elements, are either missing or cannot be resolved.
Action Ensure that the <ejb-ref> or <ejb-local-ref> tags are specified correctly in the XML deployment descriptor.
CWNEN0027E: The injection engine caught the following naming exception {0} when attempting to bind {1} into the global Java Naming and Directory Interface (JNDI) namespace.
Explanation The injection engine encountered an exception when it attempted to bind .
Action Take action based upon message associated with exception.
CWNEN0028E: The injection engine encountered an error injecting {0} into {1}
Explanation The type specified is not injectable into the class specified.
Action Ensure that the annotation or injection target XML for the enterprise bean is correct.
CWNEN0029E: The injection engine encountered an error injecting {0} into {1}. The {0} type may only be injected into a {1} enterprise bean.
Explanation Only EJBContext or TimerService objects may be injected directly into an enterprise bean.
Action Ensure that the type specified is a EJBContext or TimerService object.
CWNEN0030E: The {0} factory encountered a problem getting the object instance {1} binding object.
Explanation The object factory specified is incorrect for the binding object.
Action Ensure the factory has an object bound correctly.
CWNEN0031E: A failure occured creating {0} reference of {1} type.
Explanation A problem was encountered creating a reference to be found into the global Java Naming and Directory Interface (JNDI) namespace.
Action Ensure the reference specified is correct.
CWNEN0032E: Failed to process the XML for {0} {1}
Explanation The XML for the specified reference is incorrect or incomplete.
Action Ensure that the XML, which exists in the deployment descriptor, is correct.
CWNEN0033W: The {0} interface, which is specified for the <ejb-ref> or <ejb-local-ref> tags, cannot be found.
Explanation The interface class either is missing or cannot be found.
Action Ensure that the <ejb-ref> or <ejb-local-ref> tags are specified correctly in the XML deployment descriptor and that the class is available.
CWNEN0034E: The ejb-link/beanName is specified incorrectly. The {0} bean : {1} module name must end with .jar
Explanation The information annotation or injection target is incorrect or incomplete.
Action Ensure that the annotation or injection target XML for the enterprise bean is correct.
CWNEN0035E: The {0} reference of type {1} for the {2} component in the {3} module of the {4} application cannot be resolved.
Explanation The application declared a reference to an object which could not be found.
Action Look for a previous message that indicates why the referenced object could not be found, and verify the configuration for the reference is correct.
CWNEN0036E: The {0} binding object is not a Reference.
Explanation The object specified is inccorrect.
Action Ensure the object is set to a type Reference.
CWNEN0037E: The {0} factory is not for creating a Reference for {1} binding object.
Explanation The factory was incorrectly specified.
Action Specify a factory for the binding object being used.
CWNEN0038E: The address for {0} Reference is empty (null).
Explanation A name of the RefAddr for the Reference was not specified.
Action Specicfy a RefAddr for the Reference.
CWNEN0039E: The {0} interface that is specified for the <ejb-ref> or <ejb-local-ref> tags cannot be found.
Explanation The interface class either is missing or cannot be found.
Action Ensure that the <ejb-ref> or <ejb-local-ref> tags are specified correctly in the XML deployment descriptor and that the class is available.
CWNEN0040W: The {0} field or method was configured to be injected multiple times.
Explanation When multiple injection targets are configured for the same field or method, the injection engine is not able to determine which target to inject.
Action Do not configure the same field or method with multiple injection targets.
CWNEN0041E: The {0} enterprise bean in {1} module with the {2} interface cannot be found on this node.
Explanation The scope of AutoLink is limited to the application in which the EJB reference occurs, and to servers that are not members of a Application Server cluster.
Action Verify that the enterprise beans, which are being referenced, exist in the same application.
CWNEN0042W: The {0} env-entry statement is already specified with the {1} type.
Explanation Duplicate env-entry statements with the same name are not allowed.
Action Do not configure an env-entry with the same name.
CWNEN0043E: Injecting a UserTransaction interface into a container managed transaction bean is not allowed.
Explanation The Enterprise JavaBeans (EJB) specification requires that the UserTransaction interface is unavailable to enterprise beans with container-managed transaction demarcation.
Action Do not to inject a UserTransaction interface into a container managed transaction bean.
CWNEN0044E: A resource reference binding could not be found for the {0} resource reference, defined for the {1} component.
Explanation A binding for the resource reference may have been omitted or specified incorrectly.
Action A resource reference is defined for a component with the @Resource annotation in a component class file, or one of the following XML stanzas in the deployment descriptor : resource-env-ref, resource-ref, message-destination-ref. Ensure that a binding is defined for the resource reference in the ibm-ejb-jar-bnd file if the component is an enterprise Java bean (EJB) module, ibm-web-bnd file if the component is a web application module, or ibm-application-client-bnd file if the component is a client module.
CWNEN0045W: The env-entry {0} defined for the {1} component has no injection target or value specified.
Explanation A value for an env-entry must be specified if the injection-target value is not set.
Action Specify a value, injection-target, or both for the env-entry.
CWNEN0046W: The {0} type specified on the resource-ref, resource-env-ref, or message-destination-ref with the {1} name in the {2} module could not be loaded. Compatibility type checking will not be performed for this resource reference.
Explanation The type of the resource identified by the resource reference binding cannot be checked for compatibility with the type defined on one of the following XML stanzas in the deployment descriptor : resource-env-ref, resource-ref, message-destination-ref.
Action Change the type declared for the resource reference in the deployment descriptor to a type that may be loaded.
CWNEN0047W: Resource annotations on the fields of the {0} class will be ignored. The annotations could not be obtained because of the exception : {1}
Explanation The application will function properly if the {0} class is not used.
Action The class should either be removed from the application, or the cause of the exception corrected.
CWNEN0048W: Resource annotations on the fields of the {0} class will be ignored. The {0} class is being processed for annotations because it is referenced by the {1} application class. The annotations could not be obtained because of the exception : {2}
Explanation The application will function properly if the {1} class is not used.
Action The class should either be removed from the application, or the cause of the exception corrected.
CWNEN0049W: Resource annotations on the methods of the {0} class will be ignored. The annotations could not be obtained because of the exception : {1}
Explanation The application will function properly if the {0} class is not used.
Action The class should either be removed from the application, or the cause of the exception corrected.
CWNEN0050W: Resource annotations on the methods of the {0} class will be ignored. The {0} class is being processed for annotations because it is referenced by the {1} application class. The annotations could not be obtained because of the exception : {2}
Explanation The application will function properly if the {1} class is not used.
Action The class should either be removed from the application, or the cause of the exception corrected.
CWNEN0051E: The {0} bean in the {1} module of the {2} application has conflicting configuration data in the XML deployment descriptor. Conflicting element types exist with the same {3} element value : {4}. The conflicting element types are {5} and {6}.
Explanation When multiple resource references are defined in the XML deployment descriptor for the same component namespace with the same name, the type of the resource must be the same. A typical scenario where this may occur is when defining resource references for an Enterprise Java Bean (EJB) and for a corresponding interceptor class. Both the EJB and the interceptor share the same component namespace, so resource references that are common between the two must be the same type.
Action In the XML deployment descriptor, change the name of one of the resource references, or change the type of one of the references to match the other one.
CWNEN0052E: The {0} bean in the {1} module of the {2} application has conflicting configuration data in the XML deployment descriptor. Conflicting {3} element values exist for multiple {4} elements with the same {5} element value : {6}. The conflicting {3} element values are {7} and {8}.
Explanation When multiple resource references are defined in the XML deployment descriptor for the same component namespace with the same name, all attributes of the resource must either be the same, or one must be assignable to the other. A typical scenario where this may occur is when defining resource references for an Enterprise Java Bean (EJB) and for a corresponding interceptor class. Both the EJB and the interceptor share the same component namespace, so resource references that are common between the two must be compatible.
Action In the XML deployment descriptor, change the name of one of the resource references, or change one of the conflicting values so they are the same value or one is assignable to the other.
CWNEN0053E: The {0} bean in the {1} module of the {2} application has conflicting configuration data between the XML deployment descriptor and source code annotations. Conflicting {3} element values or {4} attribute values exist for multiple {5} elements or {6} annotations with the same {7} element value or {8} attribute value : {9}. The conflicting {3} element values or {4} attribute values are {10} and {11}.
Explanation When multiple resource references are defined in the XML deployment descriptor and in source code annotations for the same component namespace with the same name, some attributes of the resource must either be the same, or one must be assignable to the other.
Action In the XML deployment descriptor or source code annotations, change the name of one of the resource references, or change one of the conflicting values so they are the same value or one is assignable to the other.
CWNEN0054E: The {0} bean in the {1} module of the {2} application has conflicting configuration data in source code annotations. Conflicting {3} attribute values exist for multiple {4} annotations with the same {5} attribute value : {6}. The conflicting {3} attribute values are {7} and {8}.
Explanation When multiple resource references are defined in source code annotations for the same component namespace with the same name, all attributes of the resource must either be the same, or one must be assignable to the other.
Action In the source code annotations, change the name of one of the resource references, or change one of the conflicting values so they are the same value or one is assignable to the other.
CWNEN0055E: The {0} message destination in the {1} module of the {2} application cannot be found on this node.
Explanation The scope of AutoLink is limited to the application in which the message destination reference occurs, and to servers that are not members of an Application Server cluster.
Action Verify that the message destination, which is being referenced, exists in the same application. Or, define a binding for the message destination.
CWNEN0056E: Injection of the {0} resource was specified for both a property instance variable and its corresponding set method on the {1} class in the {2} module of the {3} application.
Explanation Requesting injection of a resource into both a property instance variable and its corresponding set method is an error.
Action Remove one of the annotations from either the field or method. Either the field or the method could request injection of a resource of a different (non-default) name. By explicitly specifying the JNDI name of a resource, a single resource may be injected into multiple fields or methods of multiple classes.
CWNEN0057W: The {0}.{1} injection target must not be declared static.
Explanation According to the EJB specification, an injection target may only be declared static if it exists in the client container.
Action Either change the code for the injection target to be non-static, choose a different injection target, or remove the injection target and populate it manually.
CWNEN0058E: The {0}.{1} injection target must be declared static in the client container.
Explanation According to the EJB specification, an injection target in the client container must be declared static.
Action Either change the code for the injection target to be static, choose a different injection target, or remove the injection target and populate it manually.
CWNEN0059E: The Injection Engine failed to inject the {0} binding object into the {1}:{2} Enterprise JavaBeans (EJB) file because the attempted injection is recursive or cyclic.
Explanation A cyclic or recursive injection occurs when the injection of one object requires another injection of the same object. For example, this scenario can occur when a stateful session bean attempts to inject an instance of the same type into itself.
Action Modify the application code or configuration so that injection targets do not depend on themselves either directly or indirectly.
CWNEN8990I: This message is an English-only Informational message: {0}.
Explanation This informational message is not translated.
Action See message for details.
CWNEN8991W: This message is an English-only Warning message: {0}.
Explanation This warning message is not translated.
Action See message for details.
CWNEN8992E: This message is an English-only Error message: {0}.
Explanation This error message is not translated.
Action See message for details.
Reference topic    

Terms and conditions for information centers | Feedback

Last updated: Jun 13, 2012 7:39:43 PM CDT
http://publib.boulder.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=/com.ibm.websphere.messages.doc/com.ibm.wsspi.injectionengine.injection.html

© Copyright IBM Corporation 2006, 2011. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)