tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mauro2java2011 <mauro2java2...@gmail.com>
Subject problem with jsf crud application :how resolve?
Date Wed, 29 Jan 2014 18:10:59 GMT
i have deployed a jsf crud application. 

Into glassfsih i t work , but from tomee i get the following problems:

WARNING: Detected the following possible violations of the restrictions
placed on property access persistent types:
"jpa.entities.ClientPK" uses property access, but its field
"clientDepartmentNumber" is accessed directly in method "equals" defined in
"jpa.entities.ClientPK".
"jpa.entities.ClientPK" uses property access, but its field "clientName" is
accessed directly in method "equals" defined in "jpa.entities.ClientPK".
"jpa.entities.ClientPK" uses property access, but its field "clientName" is
accessed directly in method "equals" defined in "jpa.entities.ClientPK".
"jpa.entities.ClientPK" uses property access, but its field "clientName" is
accessed directly in method "equals" defined in "jpa.entities.ClientPK".
"jpa.entities.ClientPK" uses property access, but its field "clientName" is
accessed directly in method "hashCode" defined in "jpa.entities.ClientPK".
"jpa.entities.ClientPK" uses property access, but its field "clientName" is
accessed directly in method "equals" defined in "jpa.entities.ClientPK".
"jpa.entities.ClientPK" uses property access, but its field "clientName" is
accessed directly in method "equals" defined in "jpa.entities.ClientPK".
"jpa.entities.ClientPK" uses property access, but its field
"clientDepartmentNumber" is accessed directly in method "equals" defined in
"jpa.entities.ClientPK".
"jpa.entities.ClientPK" uses property access, but its field
"clientDepartmentNumber" is accessed directly in method "toString" defined
in "jpa.entities.ClientPK".
"jpa.entities.ClientPK" uses property access, but its field "clientName" is
accessed directly in method "toString" defined in "jpa.entities.ClientPK".
"jpa.entities.ClientPK" uses property access, but its field
"clientDepartmentNumber" is accessed directly in method "hashCode" defined
in "jpa.entities.ClientPK".
"jpa.entities.ClientPK" uses property access, but its field "clientName" is
accessed directly in method "hashCode" defined in "jpa.entities.ClientPK".
gen 29, 2014 7:06:19 PM null
WARNING: Detected the following possible violations of the restrictions
placed on property access persistent types:
"jpa.entities.ProjectPK" uses property access, but its field "clientName" is
accessed directly in method "hashCode" defined in "jpa.entities.ProjectPK".
"jpa.entities.ProjectPK" uses property access, but its field
"clientDepartmentNumber" is accessed directly in method "hashCode" defined
in "jpa.entities.ProjectPK".
"jpa.entities.ProjectPK" uses property access, but its field "clientName" is
accessed directly in method "equals" defined in "jpa.entities.ProjectPK".
"jpa.entities.ProjectPK" uses property access, but its field "clientName" is
accessed directly in method "equals" defined in "jpa.entities.ProjectPK".
"jpa.entities.ProjectPK" uses property access, but its field "clientName" is
accessed directly in method "hashCode" defined in "jpa.entities.ProjectPK".
"jpa.entities.ProjectPK" uses property access, but its field "clientName" is
accessed directly in method "toString" defined in "jpa.entities.ProjectPK".
"jpa.entities.ProjectPK" uses property access, but its field "clientName" is
accessed directly in method "equals" defined in "jpa.entities.ProjectPK".
"jpa.entities.ProjectPK" uses property access, but its field "projectName"
is accessed directly in method "equals" defined in "jpa.entities.ProjectPK".
"jpa.entities.ProjectPK" uses property access, but its field "projectName"
is accessed directly in method "hashCode" defined in
"jpa.entities.ProjectPK".
"jpa.entities.ProjectPK" uses property access, but its field "clientName" is
accessed directly in method "equals" defined in "jpa.entities.ProjectPK".
"jpa.entities.ProjectPK" uses property access, but its field
"clientDepartmentNumber" is accessed directly in method "equals" defined in
"jpa.entities.ProjectPK".
"jpa.entities.ProjectPK" uses property access, but its field
"clientDepartmentNumber" is accessed directly in method "toString" defined
in "jpa.entities.ProjectPK".
"jpa.entities.ProjectPK" uses property access, but its field "clientName" is
accessed directly in method "equals" defined in "jpa.entities.ProjectPK".
"jpa.entities.ProjectPK" uses property access, but its field "projectName"
is accessed directly in method "equals" defined in "jpa.entities.ProjectPK".
"jpa.entities.ProjectPK" uses property access, but its field "projectName"
is accessed directly in method "equals" defined in "jpa.entities.ProjectPK".
"jpa.entities.ProjectPK" uses property access, but its field "projectName"
is accessed directly in method "toString" defined in
"jpa.entities.ProjectPK".
"jpa.entities.ProjectPK" uses property access, but its field "projectName"
is accessed directly in method "equals" defined in "jpa.entities.ProjectPK".
"jpa.entities.ProjectPK" uses property access, but its field "projectName"
is accessed directly in method "equals" defined in "jpa.entities.ProjectPK".
"jpa.entities.ProjectPK" uses property access, but its field "projectName"
is accessed directly in method "hashCode" defined in
"jpa.entities.ProjectPK".
"jpa.entities.ProjectPK" uses property access, but its field
"clientDepartmentNumber" is accessed directly in method "equals" defined in
"jpa.entities.ProjectPK".
gen 29, 2014 7:06:19 PM org.apache.openejb.cdi.OpenEJBLifecycle
startApplication
SEVERE: CDI Beans module deployment failed
org.apache.webbeans.exception.inject.DeploymentException:
org.apache.webbeans.exception.WebBeansConfigurationException: Passivation
scoped defined bean must be passivation capable, but bean :
BillableController, Name:billableController, WebBeans Type:MANAGED, API
Types:[jsf.BillableController,java.lang.Object],
Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default,javax.inject.Named]
is not passivation capable




--
View this message in context: http://openejb.979440.n4.nabble.com/problem-with-jsf-crud-application-how-resolve-tp4667346.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Mime
View raw message