1 2 Previous Next 26 Replies Latest reply on Jul 16, 2007 12:08 AM by philip_manual

    jbossj2ee-src.zip

    vidhya

       

      "Vidhya" wrote:
      Please help me download jbossj2ee-src.zip.
      The Getting started doc talks about this and says its available for download in the same place as the doc. But I am not able to find it.
      Please help.


        • 1. Re: Here you go.
          darrinps

           

          "darrinps" wrote:
          Go here: http://www.jboss.org/docs/index

          Scroll to the bottom and click on where it says Download Book Source

          Which is: http://www.jboss.org/docs/jbossj2ee-src.zip

          Can't miss it.

          Now, can someone please help me out getting the bank example to build?


          • 2. Re: jbossj2ee-src.zip
            leagend
            • 3. Re: jbossj2ee-src.zip
              patrick_tw

              Hi,
              It needs to be compiled with SUN's J2EE 1.4 tutorial example source. I've tried it and it works.

              Hope you'll be as lucky as I am. ;)

              Best regards!

              • 4. Re: jbossj2ee-src.zip
                hasek

                bad lucky~!
                i didn't konw what happen when i deploy it at last~~! the erros message
                outputed from console:

                23:16:08,905 INFO [EARDeployer] Init J2EE application: file:/D:/Program Files/j
                boss-4.0.3SP1/server/default/deploy/JBossDukesBank.ear
                23:16:12,389 WARN [verifier] EJB spec violation:
                Bean : CustomerBean
                Section: 12.2.2
                Warning: The class must be defined as public and must not be abstract.
                
                23:16:12,498 WARN [verifier] EJB spec violation:
                Bean : CustomerBean
                Section: 12.2.5
                Warning: Every entity bean must define the ejbFindByPrimaryKey method.
                
                23:16:12,530 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
                
                23:16:12,545 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 <local> element.
                Info : Class not found on 'com.sun.ebank.ejb.customer.Customer': No ClassLoade
                rs found for: com.sun.ebank.ejb.customer.Customer
                
                23:16:12,545 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.
                
                23:16:12,545 WARN [verifier] EJB spec violation:
                Bean : AccountBean
                Section: 12.2.2
                Warning: The class must be defined as public and must not be abstract.
                
                23:16:12,623 WARN [verifier] EJB spec violation:
                Bean : AccountBean
                Section: 12.2.5
                Warning: Every entity bean must define the ejbFindByPrimaryKey method.
                
                23:16:12,623 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
                
                23:16:12,639 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 <local> element.
                Info : Class not found on 'com.sun.ebank.ejb.account.Account': No ClassLoaders
                 found for: com.sun.ebank.ejb.account.Account
                
                23:16:12,639 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.
                
                23:16:12,655 WARN [verifier] EJB spec violation:
                Bean : TxBean
                Section: 12.2.2
                Warning: The class must be defined as public and must not be abstract.
                
                23:16:12,670 WARN [verifier] EJB spec violation:
                Bean : TxBean
                Section: 12.2.5
                Warning: Every entity bean must define the ejbFindByPrimaryKey method.
                
                23:16:12,670 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
                
                23:16:12,686 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 <local> element.
                Info : Class not found on 'com.sun.ebank.ejb.tx.Tx': No ClassLoaders found for
                : com.sun.ebank.ejb.tx.Tx
                
                23:16:12,686 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.
                
                23:16:13,295 ERROR [MainDeployer] Could not create deployment: file:/D:/Program
                Files/jboss-4.0.3SP1/server/default/tmp/deploy/tmp19743JBossDukesBank.ear-conten
                ts/bank-ejb.jar
                org.jboss.deployment.DeploymentException: Verification of Enterprise Beans faile
                d, see above for error messages.
                 at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:575)
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
                java:39)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                sorImpl.java:25)
                 at java.lang.reflect.Method.invoke(Method.java:585)
                 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
                er.java:141)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
                 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
                or.java:118)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
                 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
                BeanOperationInterceptor.java:127)
                 at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor
                .java:80)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
                java:245)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
                 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
                 at $Proxy35.create(Unknown Source)
                 at org.jboss.deployment.MainDeployer.create(MainDeployer.java:935)
                 at org.jboss.deployment.MainDeployer.create(MainDeployer.java:925)
                 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:789)
                 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
                 at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                sorImpl.java:25)
                 at java.lang.reflect.Method.invoke(Method.java:585)
                 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
                er.java:141)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
                 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
                or.java:118)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
                 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
                BeanOperationInterceptor.java:127)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
                java:245)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
                 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
                 at $Proxy6.deploy(Unknown Source)
                 at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
                tScanner.java:319)
                 at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
                canner.java:507)
                 at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
                doScan(AbstractDeploymentScanner.java:192)
                 at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
                loop(AbstractDeploymentScanner.java:203)
                 at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
                run(AbstractDeploymentScanner.java:182)


                • 5. Re: jbossj2ee-src.zip
                  rramadeen

                  [javac] Compiling 4 source files to C:\Java\Downloads\j2eetutorial14\example
                  ank\build
                  [javac] C:\Java\Downloads\j2eetutorial14\examples\bank\src\com\sun\ebank\web
                  mplate\DefinitionTag.java:66: inconvertible types
                  [javac] found : javax.servlet.jsp.JspContext
                  [javac] required: javax.servlet.jsp.PageContext
                  [javac] PageContext context = ((PageContext) getJspContext());
                  [javac] ^
                  [javac] C:\Java\Downloads\j2eetutorial14\examples\bank\src\com\sun\ebank\web
                  mplate\InsertTag.java:58: inconvertible types
                  [javac] found : javax.servlet.jsp.JspContext
                  [javac] required: javax.servlet.jsp.PageContext
                  [javac] PageContext context = (PageContext) getJspContext();
                  [javac] ^
                  [javac] C:\Java\Downloads\j2eetutorial14\examples\bank\src\com\sun\ebank\web
                  mplate\InsertTag.java:93: cannot resolve symbol
                  [javac] symbol : constructor JspTagException (java.lang.String,java.lang.Th
                  able)
                  [javac] location: class javax.servlet.jsp.JspTagException
                  [javac] throw new JspTagException(ex.getMessage(), rootCause);
                  [javac] ^
                  [javac] 3 errors

                  • 6. Re: jbossj2ee-src.zip
                    rramadeen

                    HELP, I'M GETTING THESE ERRORS WHEN TRYING TO BUILD:


                    [javac] Compiling 4 source files to C:\Java\Downloads\j2eetutorial14\example
                    ank\build
                    [javac] C:\Java\Downloads\j2eetutorial14\examples\bank\src\com\sun\ebank\web
                    mplate\DefinitionTag.java:66: inconvertible types
                    [javac] found : javax.servlet.jsp.JspContext
                    [javac] required: javax.servlet.jsp.PageContext
                    [javac] PageContext context = ((PageContext) getJspContext());
                    [javac] ^
                    [javac] C:\Java\Downloads\j2eetutorial14\examples\bank\src\com\sun\ebank\web
                    mplate\InsertTag.java:58: inconvertible types
                    [javac] found : javax.servlet.jsp.JspContext
                    [javac] required: javax.servlet.jsp.PageContext
                    [javac] PageContext context = (PageContext) getJspContext();
                    [javac] ^
                    [javac] C:\Java\Downloads\j2eetutorial14\examples\bank\src\com\sun\ebank\web
                    mplate\InsertTag.java:93: cannot resolve symbol
                    [javac] symbol : constructor JspTagException (java.lang.String,java.lang.Th
                    able)
                    [javac] location: class javax.servlet.jsp.JspTagException
                    [javac] throw new JspTagException(ex.getMessage(), rootCause);
                    [javac] ^
                    [javac] 3 errors

                    • 7. same problem deploying the duke's bank app
                      debambi

                      If you find the answer please let me know
                      I have the same problem here
                      HELP

                      "hasek" wrote:
                      bad lucky~!
                      i didn't konw what happen when i deploy it at last~~! the erros message
                      outputed from console:

                      23:16:08,905 INFO [EARDeployer] Init J2EE application: file:/D:/Program Files/j
                      boss-4.0.3SP1/server/default/deploy/JBossDukesBank.ear
                      23:16:12,389 WARN [verifier] EJB spec violation:
                      Bean : CustomerBean
                      Section: 12.2.2
                      Warning: The class must be defined as public and must not be abstract.
                      
                      23:16:12,498 WARN [verifier] EJB spec violation:
                      Bean : CustomerBean
                      Section: 12.2.5
                      Warning: Every entity bean must define the ejbFindByPrimaryKey method.
                      
                      23:16:12,530 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
                      
                      23:16:12,545 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 <local> element.
                      Info : Class not found on 'com.sun.ebank.ejb.customer.Customer': No ClassLoade
                      rs found for: com.sun.ebank.ejb.customer.Customer
                      
                      23:16:12,545 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.
                      
                      23:16:12,545 WARN [verifier] EJB spec violation:
                      Bean : AccountBean
                      Section: 12.2.2
                      Warning: The class must be defined as public and must not be abstract.
                      
                      23:16:12,623 WARN [verifier] EJB spec violation:
                      Bean : AccountBean
                      Section: 12.2.5
                      Warning: Every entity bean must define the ejbFindByPrimaryKey method.
                      
                      23:16:12,623 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
                      
                      23:16:12,639 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 <local> element.
                      Info : Class not found on 'com.sun.ebank.ejb.account.Account': No ClassLoaders
                       found for: com.sun.ebank.ejb.account.Account
                      
                      23:16:12,639 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.
                      
                      23:16:12,655 WARN [verifier] EJB spec violation:
                      Bean : TxBean
                      Section: 12.2.2
                      Warning: The class must be defined as public and must not be abstract.
                      
                      23:16:12,670 WARN [verifier] EJB spec violation:
                      Bean : TxBean
                      Section: 12.2.5
                      Warning: Every entity bean must define the ejbFindByPrimaryKey method.
                      
                      23:16:12,670 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
                      
                      23:16:12,686 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 <local> element.
                      Info : Class not found on 'com.sun.ebank.ejb.tx.Tx': No ClassLoaders found for
                      : com.sun.ebank.ejb.tx.Tx
                      
                      23:16:12,686 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.
                      
                      23:16:13,295 ERROR [MainDeployer] Could not create deployment: file:/D:/Program
                      Files/jboss-4.0.3SP1/server/default/tmp/deploy/tmp19743JBossDukesBank.ear-conten
                      ts/bank-ejb.jar
                      org.jboss.deployment.DeploymentException: Verification of Enterprise Beans faile
                      d, see above for error messages.
                       at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:575)
                       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
                      java:39)
                       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                      sorImpl.java:25)
                       at java.lang.reflect.Method.invoke(Method.java:585)
                       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
                      er.java:141)
                       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
                       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
                      or.java:118)
                       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
                       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
                      BeanOperationInterceptor.java:127)
                       at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor
                      .java:80)
                       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
                       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
                      java:245)
                       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
                       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
                       at $Proxy35.create(Unknown Source)
                       at org.jboss.deployment.MainDeployer.create(MainDeployer.java:935)
                       at org.jboss.deployment.MainDeployer.create(MainDeployer.java:925)
                       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:789)
                       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
                       at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
                       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                      sorImpl.java:25)
                       at java.lang.reflect.Method.invoke(Method.java:585)
                       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
                      er.java:141)
                       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
                       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
                      or.java:118)
                       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
                       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
                      BeanOperationInterceptor.java:127)
                       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
                       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
                      java:245)
                       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
                       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
                       at $Proxy6.deploy(Unknown Source)
                       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
                      tScanner.java:319)
                       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
                      canner.java:507)
                       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
                      doScan(AbstractDeploymentScanner.java:192)
                       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
                      loop(AbstractDeploymentScanner.java:203)
                       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
                      run(AbstractDeploymentScanner.java:182)


                      • 8. Re: jbossj2ee-src.zip
                        mrull

                         

                        "Vidhya" wrote:
                        "Vidhya" wrote:
                        Please help me download jbossj2ee-src.zip.
                        The Getting started doc talks about this and says its available for download in the same place as the doc. But I am not able to find it.
                        Please help.


                        try this link. otherwise just use the siteseach and use "jbossj2ee-src.zip"
                        as argument. check the clustering demo page in the wiki for file attachments

                        http://wiki.jboss.org/wiki/attach?page=ClusteringDemoUsingDukesBankJ2EE1.4%2Fjbossj2ee-src.zip

                        • 9. Re: jbossj2ee-src.zip

                          you got the error on connection or jndi from JSP to EJB code.
                          the solution, you have to write correct syntax to connect it.

                          • 10. Re: jbossj2ee-src.zip
                            mrull

                             

                            "hasek" wrote:
                            bad lucky~!
                            i didn't konw what happen when i deploy it at last~~! the erros message
                            outputed from console:

                            23:16:08,905 INFO [EARDeployer] Init J2EE application: file:/D:/Program Files/j
                            boss-4.0.3SP1/server/default/deploy/JBossDukesBank.ear
                            23:16:12,389 WARN [verifier] EJB spec violation:
                            Bean : CustomerBean
                            Section: 12.2.2
                            Warning: The class must be defined as public and must not be abstract.
                            
                            23:16:12,498 WARN [verifier] EJB spec violation:
                            Bean : CustomerBean
                            Section: 12.2.5
                            Warning: Every entity bean must define the ejbFindByPrimaryKey method.
                            . . . . . .
                            


                            there are 3 versions of the sun j2ee tutorial.
                            ( see http://java.sun.com/j2ee/1.4/download.html#tutorial )
                            using the newest "J2EE 1.4 Tutorial Update 6 (for Sun Java System Application Server Platform Edition 8.1 2005Q2 UR2) September 15, 2005" leads to the mentioned/same errors.

                            but if you use "J2EE 1.4 Tutorial Update 2 (for Sun Java System Application Server Platform Edition 8 Update 1) June 22, 2004" it works fine.



                            • 11. Re: jbossj2ee-src.zip

                              Did you ever find this file

                              • 12. Re: jbossj2ee-src.zip
                                bdlink

                                The file referenced by

                                http://wiki.jboss.org/wiki/attach?page=ClusteringDemoUsingDukesBankJ2EE1.4%2Fjbossj2ee-src.zip

                                has no src directory for the ejb/cmproster example used in chapter 7/8.

                                That file is also available with the Getting Started with JBoss 4.0 release 4 book, again, the cmp example is missing the source code.

                                • 13. Re: jbossj2ee-src.zip
                                  pdgillen

                                  I too am a greenie with JBoss but I seem to recall getting this a while back and that the solution required ignoring the tutorial's caution to get the 1.3 sample from Sun and get the lates, to get the sample source package from JBoss, and to combine the two. Good luck and wish me the same.

                                  • 14. Re: same problem deploying the duke's bank app
                                    rkurra

                                    Try changing the following flag in your ejb-deployer.xml of your server/default/deploy directory
                                    attribute name="VerifierVerbose" FROM true TO false

                                    "debambi" wrote:
                                    If you find the answer please let me know
                                    I have the same problem here
                                    HELP
                                    "hasek" wrote:
                                    bad lucky~!
                                    i didn't konw what happen when i deploy it at last~~! the erros message
                                    outputed from console:

                                    23:16:08,905 INFO [EARDeployer] Init J2EE application: file:/D:/Program Files/j
                                    boss-4.0.3SP1/server/default/deploy/JBossDukesBank.ear
                                    23:16:12,389 WARN [verifier] EJB spec violation:
                                    Bean : CustomerBean
                                    Section: 12.2.2
                                    Warning: The class must be defined as public and must not be abstract.
                                    
                                    23:16:12,498 WARN [verifier] EJB spec violation:
                                    Bean : CustomerBean
                                    Section: 12.2.5
                                    Warning: Every entity bean must define the ejbFindByPrimaryKey method.
                                    
                                    23:16:12,530 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
                                    
                                    23:16:12,545 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 <local> element.
                                    Info : Class not found on 'com.sun.ebank.ejb.customer.Customer': No ClassLoade
                                    rs found for: com.sun.ebank.ejb.customer.Customer
                                    
                                    23:16:12,545 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.
                                    
                                    23:16:12,545 WARN [verifier] EJB spec violation:
                                    Bean : AccountBean
                                    Section: 12.2.2
                                    Warning: The class must be defined as public and must not be abstract.
                                    
                                    23:16:12,623 WARN [verifier] EJB spec violation:
                                    Bean : AccountBean
                                    Section: 12.2.5
                                    Warning: Every entity bean must define the ejbFindByPrimaryKey method.
                                    
                                    23:16:12,623 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
                                    
                                    23:16:12,639 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 <local> element.
                                    Info : Class not found on 'com.sun.ebank.ejb.account.Account': No ClassLoaders
                                     found for: com.sun.ebank.ejb.account.Account
                                    
                                    23:16:12,639 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.
                                    
                                    23:16:12,655 WARN [verifier] EJB spec violation:
                                    Bean : TxBean
                                    Section: 12.2.2
                                    Warning: The class must be defined as public and must not be abstract.
                                    
                                    23:16:12,670 WARN [verifier] EJB spec violation:
                                    Bean : TxBean
                                    Section: 12.2.5
                                    Warning: Every entity bean must define the ejbFindByPrimaryKey method.
                                    
                                    23:16:12,670 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
                                    
                                    23:16:12,686 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 <local> element.
                                    Info : Class not found on 'com.sun.ebank.ejb.tx.Tx': No ClassLoaders found for
                                    : com.sun.ebank.ejb.tx.Tx
                                    
                                    23:16:12,686 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.
                                    
                                    23:16:13,295 ERROR [MainDeployer] Could not create deployment: file:/D:/Program
                                    Files/jboss-4.0.3SP1/server/default/tmp/deploy/tmp19743JBossDukesBank.ear-conten
                                    ts/bank-ejb.jar
                                    org.jboss.deployment.DeploymentException: Verification of Enterprise Beans faile
                                    d, see above for error messages.
                                     at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:575)
                                     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
                                    java:39)
                                     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                                    sorImpl.java:25)
                                     at java.lang.reflect.Method.invoke(Method.java:585)
                                     at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
                                    er.java:141)
                                     at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
                                     at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
                                    or.java:118)
                                     at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
                                     at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
                                    BeanOperationInterceptor.java:127)
                                     at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor
                                    .java:80)
                                     at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
                                     at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
                                    java:245)
                                     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
                                     at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
                                     at $Proxy35.create(Unknown Source)
                                     at org.jboss.deployment.MainDeployer.create(MainDeployer.java:935)
                                     at org.jboss.deployment.MainDeployer.create(MainDeployer.java:925)
                                     at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:789)
                                     at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
                                     at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
                                     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                                    sorImpl.java:25)
                                     at java.lang.reflect.Method.invoke(Method.java:585)
                                     at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
                                    er.java:141)
                                     at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
                                     at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
                                    or.java:118)
                                     at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
                                     at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
                                    BeanOperationInterceptor.java:127)
                                     at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
                                     at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
                                    java:245)
                                     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
                                     at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
                                     at $Proxy6.deploy(Unknown Source)
                                     at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
                                    tScanner.java:319)
                                     at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
                                    canner.java:507)
                                     at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
                                    doScan(AbstractDeploymentScanner.java:192)
                                     at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
                                    loop(AbstractDeploymentScanner.java:203)
                                     at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
                                    run(AbstractDeploymentScanner.java:182)


                                    1 2 Previous Next