0 Replies Latest reply on Feb 10, 2004 9:16 AM by Raj Saini

    Deployement Exceptions on Jboss-3.2.3-tomcat.5.0.16

    Raj Saini Newbie

      Hi,

      I am experiencing weird behavious in Jboss-3.2.3 with embeded Tomcat.5.0.16. when I hot redeploy my application DeploymentException is thrown (StackTrace appened below).

      Still the application (both war as well as jar) is redeployed successfully.

      If I restart the Jboss with ear file already copied in the deploy direcotry this exception is not thrown.

      -------------- Stack Trace--------------

      20:23:52,242 INFO [EARDeployer] Init J2EE application: file:/opt/jboss-3.2.3/server/tomcat5/deploy/back-office.ear
      20:23:52,244 ERROR [MainDeployer] Could not initialise deloyment: file:/opt/jboss-3.2.3/server/tomcat5/deploy/back-office.ear
      org.jboss.deployment.DeploymentException: No META-INF/application.xml found
      at org.jboss.deployment.EARDeployer.init(EARDeployer.java:63)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:696)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:632)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
      at sun.reflect.GeneratedMethodAccessor37.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)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:458)
      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)
      20:23:57,256 INFO [MainDeployer] Starting deployment of package: file:/opt/jboss-3.2.3/server/tomcat5/deploy/back-office.ear
      20:23:57,368 INFO [EARDeployer] Init J2EE application: file:/opt/jboss-3.2.3/server/tomcat5/deploy/back-office.ear
      20:23:58,962 INFO [EjbModule] Deploying ContactPerson
      20:23:58,983 INFO [EjbModule] Deploying Customer
      20:23:59,008 INFO [EjbModule] Deploying Currency
      20:23:59,026 INFO [EjbModule] Deploying AccountType
      20:23:59,045 INFO [EjbModule] Deploying CustomerAccount
      20:23:59,063 INFO [EjbModule] Deploying UserFacade
      20:23:59,080 INFO [EjbModule] Deploying AccountsManager
      20:24:00,127 INFO [EntityInstancePool] Started jboss.j2ee:jndiName=local/customer/ContactPerson,plugin=pool,service=EJB
      20:24:00,128 INFO [EntityContainer] Started jboss.j2ee:jndiName=local/customer/ContactPerson,service=EJB
      20:24:00,180 INFO [EntityInstancePool] Started jboss.j2ee:jndiName=local/customer/Customer,plugin=pool,service=EJB