0

Recently I have deployed couple of applications in Jboss 7.1.0 EAP. Whenever I shutdown or restarts the Jboss server, application undeploys and again starts deploying, because of this, we have to wait for longer time to access the deployed applications, which is not acceptable.

Currently I am deploying applications via JBOSS CLI command interface.

Can we stop this undeployment of applications on shutting down or restart of jboss EAP?

James Z
  • 12,209
  • 10
  • 24
  • 44
yogish
  • 85
  • 17
  • Consider the deployment/undeployment as the startup/shutdown phases of the applications. I don't believe you can somehow skip that. There are other ways to speed up the start and stop of your server though, such as removing subsystems you don't rely on. – Aaron Aug 28 '18 at 12:19
  • Also since you're using JBoss EAP (as opposed to wildfly/previously JBoss AS) you must have access to redhat support ; you should probably provide them your domain/standalone.xml and ask them how you can speed up your startup/shutdown. – Aaron Aug 28 '18 at 12:21
  • It has nothing to do with JBoss per se, it's "as designed". JBoss like any other application server are nothing but a set of tools standardized to let the developpers concentrate on their actual application instead of recreating the wheel like datasources and other usual objects. Remember that your application is actually running within a JVM, which stands for Java Virtual Machine. Like any virtual machine, it has to boot up, loading the classes and objects in its memory and so on, it takes time. – Andre Gelinas Aug 28 '18 at 12:50
  • I don't think you can skip deployment at startup. It would be better if you can optimize the application and server configurations to reduce startup time. Also, try to reduce the number of restarts required. – Sudhish Nair Aug 29 '18 at 06:03

0 Answers0