[jboss-user] [JBoss Getting Started Documentation] - Duke's Bank problem

jposnersails do-not-reply at jboss.com
Mon Apr 9 21:23:26 EDT 2007


I was able to exectue each of the steps outlined in the getting started guide for dukes bank without  a single warning...that is until deployment. 
I can ignure the warnings, I suppose. But ultimately, the application fails to load.

Any advice would be appreciated. I am using 4.0.5.GA, JDK 1.5.11, WinXP

Once deployed, I got the following dump:

21:15:22,203 INFO  [EARDeployer] Init J2EE application: file:/C:/JBoss/jboss-4.0.5.GA/server/default/deploy/JBossDukesBank.ear
21:15:23,421 WARN  [verifier] EJB spec violation: 
Bean   : CustomerBean
Section: 12.2.2
Warning: The class must be defined as public and must not be abstract.

21:15:23,437 WARN  [verifier] EJB spec violation: 
Bean   : CustomerBean
Section: 12.2.5
Warning: Every entity bean must define the ejbFindByPrimaryKey method.

21:15:23,437 WARN  [verifier] EJB spec violation: 
Bean   : CustomerBean
Section: 22.2
Warning: The bean provider must specify the fully-qualified name of the enterprise bean's local home interface, if any, in the <local-home> element.
Info   : Class not found on 'com.sun.ebank.ejb.customer.CustomerHome': No ClassLoaders found for: com.sun.ebank.ejb.customer.CustomerHome

21:15:23,437 WARN  [verifier] EJB spec violation: 
Bean   : CustomerBean
Section: 22.2
Warning: The bean provider must specify the fully-qualified name of the enterprise bean's local interface, if any, in the  element.
Info   : Class not found on 'com.sun.ebank.ejb.customer.Customer': No ClassLoaders found for: com.sun.ebank.ejb.customer.Customer

21:15:23,437 WARN  [verifier] EJB spec violation: 
Bean   : CustomerBean
Section: 12.2.1
Warning: The Bean Provider must provide a remote interface and a remote home interface or a local interface and a local home interface for the bean.

21:15:23,437 WARN  [verifier] EJB spec violation: 
Bean   : AccountBean
Section: 12.2.2
Warning: The class must be defined as public and must not be abstract.

21:15:23,437 WARN  [verifier] EJB spec violation: 
Bean   : AccountBean
Section: 12.2.5
Warning: Every entity bean must define the ejbFindByPrimaryKey method.

21:15:23,437 WARN  [verifier] EJB spec violation: 
Bean   : AccountBean
Section: 22.2
Warning: The bean provider must specify the fully-qualified name of the enterprise bean's local home interface, if any, in the <local-home> element.
Info   : Class not found on 'com.sun.ebank.ejb.account.AccountHome': No ClassLoaders found for: com.sun.ebank.ejb.account.AccountHome

21:15:23,453 WARN  [verifier] EJB spec violation: 
Bean   : AccountBean
Section: 22.2
Warning: The bean provider must specify the fully-qualified name of the enterprise 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

21:15:23,453 WARN  [verifier] EJB spec violation: 
Bean   : AccountBean
Section: 12.2.1
Warning: The Bean Provider must provide a remote interface and a remote home interface or a local interface and a local home interface for the bean.

21:15:23,453 WARN  [verifier] EJB spec violation: 
Bean   : TxBean
Section: 12.2.2
Warning: The class must be defined as public and must not be abstract.

21:15:23,453 WARN  [verifier] EJB spec violation: 
Bean   : TxBean
Section: 12.2.5
Warning: Every entity bean must define the ejbFindByPrimaryKey method.

21:15:23,453 WARN  [verifier] EJB spec violation: 
Bean   : TxBean
Section: 22.2
Warning: The bean provider must specify the fully-qualified name of the enterprise 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

21:15:23,453 WARN  [verifier] EJB spec violation: 
Bean   : TxBean
Section: 22.2
Warning: The bean provider must specify the fully-qualified name of the enterprise 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

21:15:23,453 WARN  [verifier] EJB spec violation: 
Bean   : TxBean
Section: 12.2.1
Warning: The Bean Provider must provide a remote interface and a remote home interface or a local interface and a local home interface for the bean.

21:15:23,843 ERROR [MainDeployer] Could not create deployment: file:/C:/JBoss/jboss-4.0.5.GA/server/default/tmp/deploy/tmp34154JBossDukesBank.ear-contents/bank-ejb.jar
org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
	at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:610)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
<CLIP....the rest of the stack dump>

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035840#4035840

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035840



More information about the jboss-user mailing list