0 Replies Latest reply on Sep 15, 2015 2:12 PM by Carolina Davalos

    URLDeploymentScanner - Failed to deploy

    Carolina Davalos Newbie

      I am trying to run my JBoss Server but when I clik on start, it throws some errors

       

      The log is the next:

       

      [MainDeployer] Starting deployment of package: file:/C:/jboss-3.2.2RC4/server/default/deploy/management/ejb-management.jar

      12:20:54,831 WARN  [verifier] EJB spec violation:

      Bean   : MEJB

      Section: 16.2

      Warning: The Bean Provider must specify the fully-qualified name of the Java class that implements the enterprise bean's business methods.

       

       

      12:20:54,941 WARN  [verifier] EJB spec violation:

      Bean   : MEJB

      Section: 16.2

      Warning: The Bean Provider must specify the fully-qualified name of the enterprise bean's home interface in the home element.

       

       

      12:20:55,171 WARN  [verifier] EJB spec violation:

      Bean   : MEJB

      Section: 16.2

      Warning: The Bean Provider must specify the fully-qualified name of the enterprise bean's remote interface in the remote element.

       

       

      12:20:55,171 ERROR [MainDeployer] could not create deployment: file:/C:/jboss-3.2.2RC4/server/default/deploy/management/ejb-management.jar

      org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.

        at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:490)

        at org.jboss.deployment.MainDeployer.create(MainDeployer.java:776)

        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:631)

        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)

        at sun.reflect.GeneratedMethodAccessor20.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:546)

        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)

        at $Proxy6.deploy(Unknown Source) ...

       

      Also it is throwing this:

       

      ERROR [URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@a009f4f1{ url=file:/C:/jboss-3.2.2RC4/server/default/deploy/management/ejb-management.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:490)

        at org.jboss.deployment.MainDeployer.create(MainDeployer.java:776)

        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:631)

        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)

        at sun.reflect.GeneratedMethodAccessor20.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:546)

        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)

        at $Proxy6.deploy(Unknown Source)

       

      In the ejb-managment.jar , META-INF contains the file ejb-jar.xml with the next:

       

      <ejb-jar>

           <display-name>Generated by XDoclet</display-name>

           <enterprise-beans>

                <session>

                     <display-name>JBoss Management EJB (MEJB)</display-name>

                     <ejb-name>MEJB</ejb-name>

                     <home>javax.management.j2ee.ManagementHome</home>

                     <remote>org.jboss.management.mejb.MEJB</remote>

                     <ejb-class>org.jboss.management.mejb.MEJBSession</ejb-class>

                     <session-type>Stateless</session-type>

                     <transaction-type>Container</transaction-type>

                     <env-entry>

                          <env-entry-name>Server-Name</env-entry-name>

       

       

                             <env-entry-type>java.lang.String</env-entry-type>

       

       

                             <env-entry-value>null</env-entry-value>
                         </env-entry>
                     </session>
            </enterprise-beans>
            <assembly-descriptor>

                <container-transaction>

       

                     <method>
                          <ejb-name>MEJB</ejb-name>
                          <method-name>*</method-name>

       

                    </method>

       

                    <trans-attribute>Supports</trans-attribute>

       

                 </container-transaction>

           </assembly-descriptor>

       

      </ejb-jar>

           Any clue of what it is going on ?