Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. JBoss 7 - Where does the war get exploded? Ask Question. Asked 9 years, 2 months ago. Active 9 years, 1 month ago. Viewed 9k times. Improve this question. Add a comment. Active Oldest Votes. You can explode an existing archive deployment to be able to update its contents.
Note that a deployment must be disabled before it can be exploded. Use the following management CLI command to explode a deployment. You can now add or remove content from this deployment. You can also explode an existing archive deployment from the management console. From the Deployments tab, select the deployment and select the Explode drop down option. To add content to a deployment, use the add-content management CLI operation.
Provide the path to the location in the deployment where the content should be added, and provide the content to be uploaded. The content to upload can be provided as a local file stream, URL, hash of content that already exists in the JBoss EAP content repository, or a byte array of the content. The following management CLI command uses the input-stream-index option to upload the contents of a local file to the deployment.
When adding content to a deployment using the add-content operation, content in the deployment is overwritten by default. You can change this behavior by setting the overwrite option to false. To remove content from a deployment, use the remove-content management CLI operation and provide the path of the content in the deployment to remove. You can browse information about files in a managed deployment and read the contents of the files using the JBoss EAP management interfaces.
Use the browse-content operation to view the files and directories in a managed deployment. Provide no arguments to return the entire deployment structure or use the path argument to provide the path to a specific directory. You can also browse contents of a deployment from the management console by navigating to the Deployments tab, selecting the deployment, and selecting Browse Content from the drop down.
You can also specify the following arguments to the browse-content operation. You can read the contents of a file in a managed deployment using the read-content operation. Provide no arguments to return the entire deployment or use the path argument to provide the path to a specific file. For example:. This returns a file stream, which can be displayed in the management CLI or saved to the file system. MF file. MF file from the helloworld.
MF file to the file system. Chapter 7. Deploying Applications. While starting the server. To deploy the application to all server groups.
Deploying Applications Using the Management Console. Create an unmanaged deployment Specify the location of a deployment. Content Repository All managed and unmanaged deployments are listed in the Content Repository section.
Unassigned Content Deployments that have not been assigned to any server groups are listed in the Unassigned Content section. Server Groups Deployments that have been assigned to one or more server groups are listed in the Server Groups section. From Content Repository , click the Add button. Choose to deploy an application by uploading a deployment or creating an unmanaged deployment.
Follow the prompts to deploy the application. From Unassigned Content , select a deployment and click the Assign button. Select one or more server groups to which this deployment should be assigned. Optionally, select the option to enable the deployment on the selected server groups. From Server Groups , select the appropriate server group. Select the desired deployment and click the Unassign button.
If the deployment is still assigned to any server groups, be sure to unassign the deployment. From Content Repository , select the deployment and click the Remove button. Select the desired deployment and click the Disable button. From Content Repository , select the deployment and click the Replace button.
Deploying Applications Using the Deployment Scanner. The specified directory must already exist or this command will fail with an error. Add the deployment to the content repository. Remove the deployment from all server groups to which it is assigned.
Define a Custom Directory for Deployment Content. Parameters name The name of the deployment overlay. Server groups group-A and group-B will have the operation applied concurrently. The operation will be applied to the servers in group-A in series, while all servers in group-B will handle the operation concurrently.
If any servers in group-B fail to apply the operation it will be rolled back across that group. Once all servers in group-A and group-B are complete, the operation will be applied to the servers in group-C. Those servers will handle the operation concurrently. If more than one server in group-C fails to apply the operation it will be rolled back across that group.
Once all servers in group-C are complete, server groups group-D and group-E will have the operation applied concurrently. The operation will be applied to the servers in group-D in series, while all servers in group-E will handle the operation concurrently.
If any servers in group-E fail to apply the operation it will be rolled back across that group. By defining the rollout plan in the deploy command operation headers. See Deploy Using a Rollout Plan for details. By storing the rollout plan using the rollout-plan command and then referencing the plan name in the deploy command operation headers. If the value is false or not specified, the operation will be applied to the servers in the group concurrently.
There will only be a single high-level phase. All server groups affected by the operation will have the operation applied concurrently. Within each server group, the operation will be applied to all servers concurrently. Failure on any server in a server group will cause rollback across the group.
Failure of any server group will result in rollback of all other server groups. Error: You don't have JavaScript enabled. This tool uses JavaScript and much of it will not work correctly without it enabled. Please turn JavaScript back on and reload this page. Please enter a title. You can not post a blank message. Please type your message and try again.
This project is read only now. Read more. I have the same question 0. This content has been marked as final.
0コメント