![]() |
![]() |
|
|
1 |
ERROR: EjbCodeGenerator failed to load class val1:val2 | |
|
Description |
The EjbCodeGenerator failed to load the specified class. |
Action |
Make sure bean binaries are in CLASSPATH while running the weblogic.ejbc tool. | |
2 |
WARN: PersistenceVendors: val1 | |
|
Description |
This is an informational message indicating the name of the vendor tool that is providing container-managed persistence. |
Action |
None. | |
3 |
ERROR: EJBC fatal error: unable to find base class val1 | |
|
Description |
A base class was not found. |
Action |
Make sure weblogicaux.jar is in the classpath. | |
4 |
ERROR: processing val1 | |
|
Description |
EJB tool weblogic.ejbc encountered an error while processing val1. |
Action |
Contact customer support. | |
5 |
ERROR: No Deployment Descriptors in val1 | |
|
Description |
No deployment descriptors were found in val2. |
Action |
Possible reasons:
| |
6 |
WARN: weblogic.ejbc : val1 | |
|
Description |
This is a warning message. The val1 value gives the details. |
Action |
Take corrective action if necessary. | |
7 |
INFO:Usage: DDCompiler <Std ejb-jar XML> [Weblogic EJB extensions XML] | |
|
Description |
Improper usage of DDCompiler. |
Action |
Re-run the command with the correct syntax. | |
8 |
ERROR: ComplianceCheck failed for val1 | |
|
Description |
Deployment descriptor for val1 does not comply with the EJB specification. |
Action |
Correct the listed errors to make the deployment descriptor compliant with the EJB specification. | |
9 |
ERROR: ejb-jar val1 does not comply with the EJB 1.1 specifications. | |
|
Description |
The deployment descriptor for val1 does not comply with the EJB specification. |
Action |
Correct the listed errors to make the deployment descriptor compliant with the EJB specification. | |
10 |
ERROR: Field val1 is not present in class val2 | |
|
Description |
Field val1 as specified in cmp-field of the deployment descriptor is missing in bean class val2. The container-managed persistence fields described in XML must be member variables of class val2. |
Action |
Correct the input. | |
11 |
ERROR: Cannot access field val1 in class val2. Perhaps it is not declared public? | |
|
Description |
The WebLogic Enterprise Server EJB container requires that container-managed fields of entity bean have public access. |
Action |
Correct the input. | |
12 |
ERROR: Home Interface is not specified for val1 | |
|
Description |
The <home> element is missing in the deployment descriptor of val1. |
Action |
Correct the input. | |
13 |
ERROR: Bean class cannot be null for val1 | |
|
Description |
<ejb-class> cannot be null in the deployment descriptor of val1. |
Action |
Correct the input. | |
14 |
ERROR: Remote Interface cannot be null for val1 | |
|
Description |
<remote> cannot be null in the deployment descriptor of val1. |
Action |
Correct the input. | |
15 |
ERROR: Bean class cannot be abstract for val1 | |
|
Description |
<ejb-class> of val1 cannot be an abstract class. |
Action |
Correct the input. | |
16 |
ERROR: Bean class must be public for val1 | |
|
Description |
<ejb-class> of val1 must have public access. |
Action |
Correct the input. | |
17 |
ERROR: Remote interface class val1 of val2 must extend EJBObject | |
|
Description |
The Enterprise JavaBean's remote interface must be a derivative of javax.ejb.EJBOBject. |
Action |
Correct the input. | |
18 |
ERROR: Home interface class val1 of val2 must extend EJBHome | |
|
Description |
The Enterprise JavaBean's home interface must be a derivative of javax.ejb.EJBHome. |
Action |
Correct the input. | |
19 |
ERROR: Method val1 (val2) not found in bean val3 | |
|
Description |
Method val1 (val2) was not not found in bean val3. |
Action |
Correct the input. | |
20 |
ERROR: Method val1 (val2) declared in remote interface but not found in bean val3 | |
|
Description |
Remote methods declared in remote interface val2 of the bean should have corresponding methods in bean class val3. |
Action |
Correct the input. | |
21 |
ERROR: Deployment Descriptor is neither an entity nor a session descriptor for val1 | |
|
Description |
Internal Error. |
Action |
Make sure | |
22 |
WARN: Non matching exception(s) for methods val1 and val2 of val3 | |
|
Description |
Found a nonmatching exception between the two given methods of the bean's remote interface and implementation. |
Action |
The container will automatically wrap such exceptions in java.rmi.RemoteException. Optionally, change the remote interface and the implementation so that the exceptions match. | |
23 |
WARN: The generated implementation of bean's remote interface of val1 will wrap any such exception in java.rmi.RemoteException | |
|
Description |
This is a warning message. |
Action |
Take corrective action if necessary. | |
24 |
ERROR: env-entry val1 of bean val2 is not of type java.lang.String, java.lang.Boolean, java.lang.Integer, java.lang.Double, java.lang.Byte, java.lang.Short, java.lang.Long or java.lang.Float | |
|
Description |
The <env-entry> element should have <env-entry-type>, as specified by the EJB specification. <env-entry-type> should be one of java.lang.String, java.lang.Boolean, java.lang.Integer, java.lang.Double, java.lang.Byte, java.lang.Short, java.lang.Long, or java.lang.Float only. |
Action |
Correct the input. | |
25 |
ERROR: env-entry val1 of bean val2 is not of type java.lang.String, java.lang.Boolean, java.lang.Integer, java.lang.Double, java.lang.Byte, java.lang.Short, java.lang.Long or java.lang.Float | |
|
Description |
<env-entry> does not contain a valid <env-entry-type>, as specified by the EJB specification. <env-entry-type> should be one of java.lang.String, java.lang.Boolean, java.lang.Integer, java.lang.Double, java.lang.Byte, java.lang.Short, java.lang.Long, or java.lang.Float only. |
Action |
Correct the input. | |
26 |
ERROR: No security-role(s) defined in assembly descriptor of val1 of in val2 | |
|
Description |
<security-role-ref> are defined in <enterprise-beans>, but <security-role> are missing in <assembly-descriptor> of deployment descriptor. |
Action |
<security-role-ref> must refer to one of the <security-role>s in the same ejb-jar. | |
27 |
ERROR: Could not resolve role-name val1 referenced in val2 of val3 | |
|
Description |
The given role val1 referenced in val2 is not present in val3. |
Action |
Correct the input. | |
29 |
ERROR: Could not resolve ejb-ref val1 referenced in val2 in val3 | |
|
Description |
No bean with <ejb-name> val1 referred to by the <ejb-ref> was found in val2 of val3. |
Action |
ejb-ref should be resolvable in the same ejb-jar. | |
30 |
ERROR: resource-ref with res-ref-name val1 of bean val2 has res-ref-type which does not confirm to one of WebLogic Enterprise Server supported types : javax.sql.DataSource | |
|
Description |
The WebLogic Enterprise Server only supports javax.sql.DataSource as <resource-ref>. |
Action |
Correct the input. | |
31 |
ERROR: resource-ref with res-ref-name val1 of bean val2 has invalid res-auth. It must be either Container or Application | |
|
Description |
The <resource-ref> has an invalid <res-auth>. |
Action |
Correct the input. | |
32 |
ERROR: No transaction policies defined for bean val1 using transaction-type=Container | |
|
Description |
A bean using a container-managed transaction should at least define the default transaction policy for the bean. |
Action |
Correct the input. | |
33 |
ERROR: At least a default transaction policy should be defined for bean val1 using container managed transaction. | |
|
Description |
A bean using a container-managed transaction should at least define the default transaction policy for the bean. |
Action |
Correct the input. | |
34 |
ERROR: Invalid use of container-transaction for bean val1 using bean managed transaction | |
|
Description |
A session bean using a bean-managed transaction must not have <container-transaction> in its <assembly-descriptor>. |
Action |
Correct the input. | |
35 |
ERROR: Class val1 must implement interface SessionBean for val2 | |
|
Description |
<ejb-class> val1 of val2 must implement the SessionBean interface. |
Action |
Correct the input. | |
36 |
ERROR: create() of Home of val1 must always return the remote interface type | |
|
Description |
The |
Action |
Correct the input. | |
37 |
ERROR: Stateless session bean val1 can have only one create() method, one which takes no parameters | |
|
Description |
A stateless session bean val1 can have only one |
Action |
Correct the input. | |
38 |
ERROR: Method ejbCreate (val1) not found in bean val2 | |
|
Description |
Each create method of remote interface (<remote>) of bean val1 must have a
corresponding |
Action |
Correct the input. | |
39 |
ERROR: Session bean val1 must have at least one valid create() method | |
|
Description |
Session bean val1 must have at least one valid |
Action |
Correct the input. | |
40 |
ERROR: Method val1 of val2 is incorrect. Session bean ejbCreate() must return void | |
|
Description |
Method val1 of val2 is incorrect. The session bean |
Action |
Correct the input. | |
41 |
ERROR: Stateless session bean val1 must not implement javax.ejb.SessionSynchronization interface. | |
|
Description |
The Stateless session bean cannot implement the javax.ejb.SessionSynchronization interface. |
Action |
Correct the input. | |
42 |
ERROR: Bean val1 implementing SessionSynchronization interface must be using only container managed transaction | |
|
Description |
The Bean val1 implementing the SessionSynchronization interface must use only container-managed transaction. |
Action |
Correct the input. | |
43 |
ERROR: trans-attribute for any method of bean val1 implementing SessionSynchronization interface must be any of Required, RequiresNew or Mandatory | |
|
Description |
Trans-attribute for any method of bean val1 implementing
the SessionSynchronization interface must be any of |
Action |
Correct the input. | |
47 |
ERROR: Bean class of val1 must implement the javax.ejb.EntityBean interface. | |
|
Description |
<ejb-class> val1 of val2 must implement the SessionBean interface. |
Action |
Correct the input. | |
48 |
ERROR: Primary key class of val1 is not specified | |
|
Description |
The entity bean must define the primary key class in the deployment descriptor (<prim-key-class>) of val1. |
Action |
Correct the input. | |
49 |
ERROR: Method val1 is incorrect. Entity bean val2's ejbCreate() must have a return type of primary key class val3 | |
|
Description |
ejbCreate of entity bean val2 must have a return type of primary key class as in <prim-key-class> of the deployment descriptor. |
Action |
Correct the input. | |
50 |
ERROR: findByPrimaryKey (val1) does not exist in home interface class val2 of bean val3 | |
|
Description |
Home interface val2 of entity bean val3 must at least define one finder method - findByPrimaryKey(val1. |
Action |
Correct the input. | |
52 |
ERROR: The return type for method val1 is expected to be of type val2 in val3 | |
|
Description |
Return type of method val1 should be of type val2 <prim-key-class> of val3. |
Action |
Correct the input. | |
53 |
ERROR: The return type for method val1 is expected to either be an java.util.Enumeration,java.util.Collection or val2 for val3 | |
|
Description |
The return type of the finder method must be java.util.Enumeration, java.util.Collection, or a primary key class <prim-key-class> of val3. |
Action |
Correct the input. | |
54 |
ERROR: cmp-field val1 of bean val2 does not have valid modifier definition. | |
|
Description |
The container-managed persistence field val1 of bean val2 is either private, protected, static, or transient. The WebLogic Enterprise Server EJB Container requires that the modifier not be private, protected, static, or transient. |
Action |
Correct the input. | |
55 |
ERROR: cmp-field val1 of bean val2 does not have valid type definition | |
|
Description |
The container-managed persistence field val1 of bean val2 does not conform to types as specified in the EJB specification. These types can only be Java primitive types, Java Serializable types, and references of remote and home interfaces. |
Action |
Correct the input. | |
56 |
ERROR: Primary key class of val1 must be application defined for a bean with container-managed persistence. It cannot be val2 | |
|
Description |
The Primary key class of an entity bean should be defined by the application. |
Action |
Correct the input. | |
57 |
ERROR: Primary key class val1 of val2 must have a public default constructor | |
|
Description |
The Primary key class val1 of val2 must have a public default constructor. |
Action |
Correct the input. | |
59 |
ERROR: Field val1 is present in primary key class but not in the bean for val2 | |
|
Description |
All fields of primary key class <prim-key-class> must be also present as member variables of the bean class for val2. |
Action |
Correct the input. | |
60 |
ERROR: For container-managed persistence in val1, the primary key class must either implement equals() and hashCode(), or not be a final class | |
|
Description |
For container-managed persistence in val1, the primary key class must either implement equals() and hashCode(), or not be a final class. |
Action |
Correct the input. | |
61 |
ERROR: The return type for method val1 is expected to either be a java.util.Enumeration, java.util.Collection or the remote interface class of val2 | |
|
Description |
Create/Finder methods on entity bean's home interface must return any of the following types: java.util.Enumeration, java.util.Collection, or the remote interface <remote> of bean val2. |
Action |
Correct the input. | |
62 |
ERROR: ejbCreate() for bean val1 using container managed persistence must have return type as primary key | |
|
Description |
ejbCreate() for bean val1 using container-managed persistence must have a return type as the primary key |
Action |
Correct the input. | |
63 |
WARN: Found method val1 in bean using container managed persistence | |
|
Description |
The method val1 was found in a bean using container-managed persistence. |
Action |
No action required. | |
64 |
INFO: File: val1 ================================================================== | |
|
Description |
Output for file val1. |
Action |
No action required. | |
65 |
INFO: Bean class: val1----------------------------------------------- | |
|
Description |
Output for bean class val1. |
Action |
No action required. | |
66 |
ERROR: Deployment Descriptor map not defined | |
|
Description |
This is an internal error. |
Action |
Contact BEA Customer Support | |
67 |
INFO: File: val1 ================================================================== | |
|
Description |
Output for file val1. |
Action |
No action required. | |
68 |
INFO: Bean class: val1----------------------------------------------- | |
|
Description |
Output for bean class val1. |
Action |
No action required. | |
69 |
ERROR: Deployment Descriptor map not defined | |
|
Description |
This is an internal error. |
Action |
Contact BEA Customer Support. | |
70 |
ERROR: Deployment Descriptor map not defined | |
|
Description |
This is an internal error. |
Action |
Contact BEA Customer Support. | |
71 |
ERROR: Deployment Descriptor map not defined | |
|
Description |
This is an internal error. |
Action |
Contact BEA Customer Support. | |
72 |
ERROR: processing val | |
|
Description |
This is an internal error. |
Action |
Contact BEA Customer Support. | |
73 |
ERROR: No assembly-descriptor defined in deployment-descriptor | |
|
Description |
The XML deployment descriptor contains a security role reference, but not an assembly-descriptor. |
Action |
Add an assembly-descriptor element to the deployment descriptor, and define the referenced security role in the assembly-descriptor. | |
74 |
ERROR: Could not resolve role-link role-link name referenced | |
|
Description |
The definition of |
Action |
Update the incorrect role-link element so that it references a valid security role. | |
75 |
ERROR: Unsupported DTD dtd reference referenced in | |
|
Description |
The XML deployment descriptor references an unsupported document type declaration (DTD). The supported document types for EJB deployment descriptors are 'ejb-jar_1_1.dtd' and 'weblogic-ejb-extensions.dtd'. |
Action |
Update the deployment descriptor so that it references one of the supported document types. |
|
Copyright © 1999 BEA Systems, Inc. All rights reserved.
|