3 Replies Latest reply on Jun 9, 2003 12:15 PM by adrian.brock

    Local Interfaces mandatory?

    dapo

      Hi,

      I just started using JBoss 3.2.1 with default settings. After trying to deploy a bean which I only want to use with remote-interfaces the deployment crashed with the message that I have to provide a local- and a localHome-interface.
      But I don't want ;-)
      Is there any way to make JBoss accept the Bean without local interfaces?

      thx
      Daniel

        • 1. Re: Local Interfaces mandatory?

          Post the stacktrace.

          Local is only required for CMR.

          Regards,
          Adrian

          • 2. Re: Local Interfaces mandatory?
            dapo

            Here is the stacktrace:

            14:33:51,165 INFO [MainDeployer] Starting deployment of package: file:/C:/Programme/jboss-3.2.1/server/default/deploy/i
            nfopool.jar
            14:33:52,027 WARN [verifier] EJB spec violation:
            Bean : Person
            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: de.wwu.infopool.person.data.PersonLocalHome

            14:33:52,027 WARN [verifier] EJB spec violation:
            Bean : Person
            Section: 22.2
            Warning: The bean provider must specify the fully-qualified name of the enterprise bean's local interface, if any, in th
            e element.
            Info : Class not found: de.wwu.infopool.person.data.PersonLocal

            14:33:52,037 WARN [verifier] EJB spec violation:
            Bean : XmlFileContainer
            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: de.wwu.infopool.core.data.XmlFileContainerLocalHome

            14:33:52,037 WARN [verifier] EJB spec violation:
            Bean : XmlFileContainer
            Section: 22.2
            Warning: The bean provider must specify the fully-qualified name of the enterprise bean's local interface, if any, in th
            e element.
            Info : Class not found: de.wwu.infopool.core.data.XmlFileContainerLocal

            14:33:52,037 ERROR [MainDeployer] could not create deployment: file:/C:/Programme/jboss-3.2.1/server/default/deploy/info
            pool.jar
            org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
            at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:487)
            at org.jboss.deployment.MainDeployer.create(MainDeployer.java:784)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:639)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
            at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
            at $Proxy7.deploy(Unknown Source)
            at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
            at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:20
            0)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:211)

            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:190)

            • 3. Re: Local Interfaces mandatory?

              You have
              and
              specified in ejb-jar.xml

              Regards,
              Adrian