2 Replies Latest reply on Aug 12, 2004 4:51 AM by Erik Itter

    deployment of quite simple bean fails

    Erik Itter Newbie

      hi,

      after trying the tutorial on 3.2.5 in wanted to rewrite my own application using EJBs

      i made a quite simple statefull SessionBean without any bussines methods (just to see if i can successfully deploy it and to add its features later). nevertheless the deployment fails with the warnings below. i think i did everything as i did with the tutorial (implemented that completely from scratch so i think i did not miss a step there) except asking for a statefull bean and both interfaces

      any hint/advice welcome

      2004-08-12 09:23:25,293 WARN [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:
      Bean : ServerImpl
      Section: 22.2
      Warning: The bean provider must specify the fully-qualified name of the enterprise bean's remote home interface, if any, in the element.
      Info : Class not found on 'com.bbraun.ofas.core.interfaces.ServerImplHome': No ClassLoaders found for: com.bbraun.ofas.core.interfaces.ServerImplHome

      2004-08-12 09:23:25,293 WARN [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:
      Bean : ServerImpl
      Section: 22.2
      Warning: The bean provider must specify the fully-qualified name of the enterprise bean's remote interface, if any, in the element.
      Info : Class not found on 'com.bbraun.ofas.core.interfaces.ServerImpl': No ClassLoaders found for: com.bbraun.ofas.core.interfaces.ServerImpl

      2004-08-12 09:23:25,308 WARN [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:
      Bean : ServerImpl
      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.bbraun.ofas.core.interfaces.ServerImplLocalHome': No ClassLoaders found for: com.bbraun.ofas.core.interfaces.ServerImplLocalHome

      2004-08-12 09:23:25,324 WARN [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:
      Bean : ServerImpl
      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.bbraun.ofas.core.interfaces.ServerImplLocal': No ClassLoaders found for: com.bbraun.ofas.core.interfaces.ServerImplLocal

      2004-08-12 09:23:25,339 WARN [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:
      Bean : ServerImpl
      Section: 7.10.1
      Warning: The session bean must implement either a remote home and remote, or a local home and a local interface.

      2004-08-12 09:23:25,355 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true
      2004-08-12 09:23:25,355 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false
      2004-08-12 09:23:25,355 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true
      2004-08-12 09:23:25,355 ERROR [org.jboss.deployment.MainDeployer] could not create deployment: file:/D:/jboss/server/default/deploy/ofas.jar
      org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:517)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:790)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:644)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)
      at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy7.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
      2004-08-12 09:23:25,418 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@4a959b21{ url=file:/D:/jboss/server/default/deploy/ofas.jar, deployedLastModified=0 }
      org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:517)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:790)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:644)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)
      at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy7.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
      2004-08-12 09:23:25,418 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL for: file:/D:/jboss/server/default/deploy/ofas.jar -> file:/D:/jboss/server/default/deploy/ofas.jar
      2004-08-12 09:41:35,261 INFO [org.jboss.system.server.Server] JBoss SHUTDOWN: Undeploying all packages
      2004-08-12 09:41:35,261 DEBUG [org.jboss.deployment.MainDeployer] Undeploying file:/D:/jboss/server/default/deploy/ofas.jar
      2004-08-12 09:41:35,261 INFO [org.jboss.ejb.EJBDeployer] Undeploying: file:/D:/jboss/server/default/deploy/ofas.jar

        • 1. Re: deployment of quite simple bean fails
          Erik Itter Newbie

          ... and its a J2EE 1.4 project

          • 2. Re: deployment of quite simple bean fails
            Erik Itter Newbie

            now i added localinterface and localhomeinterface tasks at the JBoss-IDE and its still the same (minus i fixed some include information in the packaging reducing the messages):

            2004-08-12 10:42:07,246 WARN [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:
            Bean : ServerImpl
            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.bbraun.ofas.core.interfaces.ServerImplLocalHome': No ClassLoaders found for: com.bbraun.ofas.core.interfaces.ServerImplLocalHome

            2004-08-12 10:42:07,261 WARN [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:
            Bean : ServerImpl
            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.bbraun.ofas.core.interfaces.ServerImplLocal': No ClassLoaders found for: com.bbraun.ofas.core.interfaces.ServerImplLocal

            2004-08-12 10:42:07,277 DEBUG [org.jboss.ejb.EJBDeployer.verifier] Bean checked: ServerImpl: Verified.
            2004-08-12 10:42:07,277 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true
            2004-08-12 10:42:07,277 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false
            2004-08-12 10:42:07,277 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true
            2004-08-12 10:42:07,277 ERROR [org.jboss.deployment.MainDeployer] could not create deployment: file:/D:/jboss/server/default/deploy/ofas.jar
            org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
            at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:517)
            at org.jboss.deployment.MainDeployer.create(MainDeployer.java:790)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:644)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)
            at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
            at $Proxy7.deploy(Unknown Source)
            at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
            at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
            2004-08-12 10:42:07,324 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@4a959b21{ url=file:/D:/jboss/server/default/deploy/ofas.jar, deployedLastModified=0 }
            org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
            at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:517)
            at org.jboss.deployment.MainDeployer.create(MainDeployer.java:790)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:644)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)
            at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
            at $Proxy7.deploy(Unknown Source)
            at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
            at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)