0 Replies Latest reply on Jun 2, 2008 11:35 AM by francois lecuyer

    Could not start deployment

    francois lecuyer Newbie

      Hi all!

      I'm working on JDeveloper 11g with jboss-4.2.2.GA and a database on Oracle11G.
      My problem is that when I deploy my application, I have an error of deployment. What I really don't understand is that my application was working 3 hours ago.

      You can see all the error there :

      18:19:41,247 ERROR [MainDeployer] Could not start deployment: file:/C:/jboss-4.2
      .2.GA/server/default/deploy/freak.jar
      org.jboss.deployment.DeploymentException: expected one home tag
       at org.jboss.metadata.MetaData.getUniqueChild(MetaData.java:113)
       at org.jboss.metadata.EjbRefMetaData.importEjbJarXml(EjbRefMetaData.java
      :85)
       at org.jboss.metadata.ClientMetaData.importClientXml(ClientMetaData.java
      :165)
       at org.jboss.deployment.ClientDeployer.start(ClientDeployer.java:151)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
       at sun.reflect.GeneratedMethodAccessor20.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:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
      or.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
      BeanOperationInterceptor.java:142)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy9.deploy(Unknown Source)
       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
      tScanner.java:421)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
      canner.java:634)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      doScan(AbstractDeploymentScanner.java:263)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      loop(AbstractDeploymentScanner.java:274)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      run(AbstractDeploymentScanner.java:225)


      I don't know what does it mean but I know that there is some stuff about the ejb-jar.xml .

      I hope you could help me.

      Thank you