0 Replies Latest reply on Jan 15, 2008 6:02 PM by sunilk713

    How to hot redeploy ear file on windows Jboss.

      OS: Windows
      Jboss ver : Not sure, but the latest


      I want to do hot deployment of my *.ear file. I read it somewhere that if I change the following file, I should be abel to redeploy

      C:\sfw\jboss\server\default\deploy\uaEar.ear\META-INF\application.xml

      As soon I change it, I see the server tries to redeploy it, but it gives the error.

      Can any anyone please let me know why I am getting this error.

      From the console following errors are observed

      30 ERROR [ContextLoader] Context initialization failed
      org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [com.tektronix.undertakerLite.services], from group with resource name [classpath:/undertakerLite.xml]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.tektronix.undertakerLite.services' defined in class path resource [undertakerLite.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.tektronix.coreframework.springutils.UAApplicationContext]: Constructor threw exception; nested exception is org.mule.MuleRuntimeException: Failed to reinitialise Mule after the Application Context was refreshed
      Caused by:
      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.tektronix.undertakerLite.services' defined in class path resource [undertakerLite.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.tektronix.coreframework.springutils.UAApplicationContext]: Constructor threw exception; nested exception is org.mule.MuleRuntimeException: Failed to reinitialise Mule after the Application Context was refreshed
      Caused by:
      org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.tektronix.coreframework.springutils.UAApplicationContext]: Constructor threw exception; nested exception is org.mule.MuleRuntimeException: Failed to reinitialise Mule after the Application Context was refreshed
      Caused by:
      org.mule.MuleRuntimeException: Failed to reinitialise Mule after the Application Context was refreshed





      Error listenerStart
      16:57:20,361 ERROR [StandardContext] Context [/ua] startup failed due to previous errors
      16:57:20,361 INFO [[/ua]] Closing Spring root WebApplicationContext
      16:57:20,361 WARN [ServiceController] Problem starting service jboss.web.deployment:war=uaWeb.war,id=-884162305
      org.jboss.deployment.DeploymentException: URL file:/C:/sfw/jboss/server/default/deploy/uaEar.ear/uaWeb.war/ deployment failed