Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-2055

Failed to deploy ear file.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Minor Minor
    • None
    • JBossAS-4.0.1 SP1
    • Deployers
    • None

      When I try to deploy one of my ear files, I see the following error on the console:

      19:22:52,747 ERROR [MainDeployer] could not create deployment: file:/usr/local/jboss-4.0.1sp1/server/tradenexus/tmp/deploy/tmp3955trade-engine-singleton-1.0.ear-contents/ev-aptsimulator-1.0.jar-contents/jboss-service.xml
      org.jboss.deployment.DeploymentException: org.jboss.mx.modelmbean.XMBean.<init>(java.lang.Object, org.w3c.dom.Element, java.lang.String); - nested throwable: (java.lang.NoSuchMethodException: org.jboss.mx.modelmbean.XMBean.<init>(java.lang.Object, org.w3c.dom.Element, java.lang.String))
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:143)
      at org.jboss.system.ServiceController.install(ServiceController.java:200)
      at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      ... many more

      The structure of this ear file is as follows:
      META-INF/
      META-INF/MANIFEST.MF
      META-INF/jboss-app.xml
      META-INF/application.xml
      netrade-7.0.jar
      calathus-1.0.jar
      ev-aptsimulator-1.0.jar
      token-lock-1.0.jar
      schemas-1.1.jar
      apt-gateway-1.0.jar
      ev-kasbank-1.0.jar
      stax-1.1.1-dev.jar
      ev-simulator-1.0.jar
      cache-1.1.jar
      xbean-2.0.0-beta1.jar
      stax-api-1.0.jar
      epistula-1.0.jar

      The deployer seems to complain about the jboss-service.xml (check attachment) file (packaged inside the ev-aptsimulator-1.0.jar file). However, this ejb deploys fine when I remove the jboss-app.xml (check attachment) from the ear file.

              Unassigned Unassigned
              autiaa_jira Leon van Zantvoort (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: