This content has been marked as final.
Show 2 replies
-
1. Re: CMP field not found during deployment
mozheyko_d May 8, 2003 5:05 AM (in response to tsangcn)In due time I am tired from this problem.
Check your java sources,
Each EJB must have
in the EntityBean class
public abstract set??? and get??? methods
where ??? CMP-field name
For example
###############
<ejb-jar>
...
<cmp-field>beer<cmp-field>
...
</ejb-jar>
###############
BeerBean.java
...
public abstract String getBeer();
public abstract void setBeer( String b);
...
Regards
Dmitry Mozheyko -
2. Re: CMP field not found during deployment
tsangcn Jul 21, 2003 10:50 PM (in response to tsangcn)Hello
Sorry for my later reply
What I mean is sometimes I have a careless spelling mistake, but during deployment JBoss cannot point out the correct location of failure, instead it keeps on saying that the failure occurs in each EJB. I suspect it is either the JBoss's deployment mechanism cannot point out the location of failure or there is a bug in JBoss.
Thanks
CN