I have problem with starting Wildfly. I have more than 40 WARs on application server and XMX limitation. Sometimes server will start, sometimes not... There is any apportunity to deploy WARs one after other after startup Wildfly? Server has problem with start when is deploying all WARs during starting.
相关问题
- ClickOnce updates all files. Why?
- Why am I getting a WELD-001303: No active contexts
- WCF service deployment - tools
- Robocopy to copy files to a remote machine
- NServiceBus - Type was not registered in the seria
相关文章
- Override env values defined in container spec
- What is a good way to deploy a Perl application?
- Eclipse war export: optimize for a specific server
- Deploying C++ game in Linux
- Can't get Jenkins to start using Tomcat
- Swift 4 - Setting a minimum deployment target
- Publish is not transforming web.config?
- Wildfly: Encrypt password and username for databas
Yes, regardless how you deploy, you can deploy one-by-one.
If you deploy by copying your WARs to
standalone/deployments
, then yes, you can (1) start an empty server and then (2) copy the wars one-by-one manually or using a shell script. However, it is quite possible that your problem will re-appear when you shut down and start up the fully deployed server again. To solve that, maybe you could have a script to undeploy the WARs before shutting the server down.You can reach a similar effect also using
jboss-cli
: (1) start an empty server (2) connect your cli clientjboss-cli.sh --connect
and (3) deploy the WARs one-by-one:deploy ~/Desktop/my-app1.war
... See https://docs.wildfly.org/16/Admin_Guide.html#standalone-server-3