-
1. Re: EJB spec violation in Duke bank
manhilango Jan 9, 2005 10:27 AM (in response to nkm)I get the same error .Did you find a way to fix this issue?
Can anyone on this forum help us?
You help is greatly appreciated. -
2. Re: EJB spec violation in Duke bank
nkm Jan 10, 2005 5:49 PM (in response to nkm)This is the complete list of errors I am getting
17:40:08,403 WARN [verifier] EJB spec violation:
Bean : CustomerBean
Section: 12.2.2
Warning: The class must be defined as public and must not be abstract.
17:40:08,403 WARN [verifier] EJB spec violation:
Bean : CustomerBean
Section: 12.2.5
Warning: Every entity bean must define the ejbFindByPrimaryKey method.
17:40:08,413 WARN [verifier] EJB spec violation:
Bean : CustomerBean
Section: 22.2
Warning: The bean provider must specify the fully-qualified name of the enterpri
se bean's local home interface, if any, in the <local-home> element.
Info : Class not found on 'com.sun.ebank.ejb.customer.CustomerHome': No ClassL
oaders found for: com.sun.ebank.ejb.customer.CustomerHome
17:40:08,423 WARN [verifier] EJB spec violation:
Bean : CustomerBean
Section: 22.2
Warning: The bean provider must specify the fully-qualified name of the enterpri
se bean's local interface, if any, in the element.
Info : Class not found on 'com.sun.ebank.ejb.customer.Customer': No ClassLoade
rs found for: com.sun.ebank.ejb.customer.Customer
17:40:08,433 WARN [verifier] EJB spec violation:
Bean : CustomerBean
Section: 12.2.1
Warning: The Bean Provider must provide a remote interface and a remote home int
erface or a local interface and a local home interface for the bean.
17:40:08,453 WARN [verifier] EJB spec violation:
Bean : AccountBean
Section: 12.2.2
Warning: The class must be defined as public and must not be abstract.
17:40:08,453 WARN [verifier] EJB spec violation:
Bean : AccountBean
Section: 12.2.5
Warning: Every entity bean must define the ejbFindByPrimaryKey method.
17:40:08,473 WARN [verifier] EJB spec violation:
Bean : AccountBean
Section: 22.2
Warning: The bean provider must specify the fully-qualified name of the enterpri
se bean's local home interface, if any, in the <local-home> element.
Info : Class not found on 'com.sun.ebank.ejb.account.AccountHome': No ClassLoa
ders found for: com.sun.ebank.ejb.account.AccountHome
17:40:08,473 WARN [verifier] EJB spec violation:
Bean : AccountBean
Section: 22.2
Warning: The bean provider must specify the fully-qualified name of the enterpri
se bean's local interface, if any, in the element.
Info : Class not found on 'com.sun.ebank.ejb.account.Account': No ClassLoaders
found for: com.sun.ebank.ejb.account.Account
17:40:08,493 WARN [verifier] EJB spec violation:
Bean : AccountBean
Section: 12.2.1
Warning: The Bean Provider must provide a remote interface and a remote home int
erface or a local interface and a local home interface for the bean.
17:40:08,503 WARN [verifier] EJB spec violation:
Bean : TxBean
Section: 12.2.2
Warning: The class must be defined as public and must not be abstract.
17:40:08,513 WARN [verifier] EJB spec violation:
Bean : TxBean
Section: 12.2.5
Warning: Every entity bean must define the ejbFindByPrimaryKey method.
17:40:08,513 WARN [verifier] EJB spec violation:
Bean : TxBean
Section: 22.2
Warning: The bean provider must specify the fully-qualified name of the enterpri
se bean's local home interface, if any, in the <local-home> element.
Info : Class not found on 'com.sun.ebank.ejb.tx.TxHome': No ClassLoaders found
for: com.sun.ebank.ejb.tx.TxHome
17:40:08,523 WARN [verifier] EJB spec violation:
Bean : TxBean
Section: 22.2
Warning: The bean provider must specify the fully-qualified name of the enterpri
se bean's local interface, if any, in the element.
Info : Class not found on 'com.sun.ebank.ejb.tx.Tx': No ClassLoaders found for
: com.sun.ebank.ejb.tx.Tx
17:40:08,543 WARN [verifier] EJB spec violation:
Bean : TxBean
Section: 12.2.1
Warning: The Bean Provider must provide a remote interface and a remote home int
erface or a local interface and a local home interface for the bean.
17:40:08,643 ERROR [MainDeployer] could not create deployment: file:/C:/Neeraj/j
boss-4.0.1/server/default/tmp/deploy/tmp15130JBossDukesBank.ear-contents/bank-ej
b.jar
Can someone help
Please.... -
3. Re: EJB spec violation in Duke bank
huang Jan 11, 2005 6:13 AM (in response to nkm)Try with the earlier J2EE 1.4 Tutorial Update 2.
J2EE 1.4 Tutorial Update 4 may have some problem . . . -
4. Re: EJB spec violation in Duke bank
youngj Feb 2, 2005 8:58 PM (in response to nkm)Thanks I ran into the same problem and that fixed it.
-
5. Re: EJB spec violation in Duke bank
khoa Feb 8, 2005 12:48 AM (in response to nkm)Hi,
After some effort I managed to build it and deploy it.
As a side topic, nkm could you tell me how you managed to get the Duke Bank tutorial to compile?
I did aant -f jboss-build.xml compile
but got a lot of packages do not exist errors.
Thanks.