Skip to content

Commit

Permalink
log file name added
Browse files Browse the repository at this point in the history
Update README.md

update readme
  • Loading branch information
Khushboo Sharma authored and Khushboo Sharma committed May 14, 2024
1 parent 2fc984a commit d08eff4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,11 @@ The error occurs because the credential that deploys the bundle doesn't have acc
Contact your system administrator to make sure the `deploy_userid` configured for the CICS bundle deployment API has WRITE access to the bundles directory. The bundles directory is specified on the `com.ibm.cics.jvmserver.cmci.bundles.dir` option in the JVM profile of the CMCI JVM server.
For instructions on how to specify the bundles directory and grant access to `deploy_userid`, see [Configuring the CMCI JVM server for the CICS bundle deployment API](https://www.ibm.com/docs/en/cics-ts/5.6?topic=suc-configuring-cmci-jvm-server-cics-bundle-deployment-api) in CICS documentation.

### Failed to execute goal com.ibm.cics:cics-bundle-maven-plugin:1.0.1-SNAPSHOT:deploy (default) on project standalone-war: Some of the supplied parameters were invalid
**Why does it happen?**
When you are using a bundle-war, bundle-ear, or bundle-osgi goal, the deploy goal must be configured with cics-bundle classifier specifically.
**How to resolve it?**
Use the <classifier> configuration option to select the bundle, in the case where you're deploying a bundle-war-built bundle.
## Contributing

We welcome contributions! Find out how in our [contribution guide](CONTRIBUTING.md).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,12 @@ public void execute() throws MojoExecutionException {
if (cicsplexSpecified && !regionSpecified || regionSpecified && !cicsplexSpecified) {
throw new MojoExecutionException("Specify both or neither of cicsplex and region in plugin configuration or server configuration");
}

getLog().info("Deploying bundle to " + serverConfig.getEndpointUrl().toASCIIString() + " into region " + serverConfig.getCicsplex() + "/" + serverConfig.getRegion());
File file = getBundle();
getLog().info("Deploying " + file.getName() + " to " + serverConfig.getEndpointUrl().toASCIIString() + " into region " + serverConfig.getCicsplex() + "/" + serverConfig.getRegion());
try {
BundleDeployHelper.deployBundle(
serverConfig.getEndpointUrl(),
getBundle(),
file,
bunddef,
csdgroup,
serverConfig.getCicsplex(),
Expand Down

0 comments on commit d08eff4

Please sign in to comment.