unable to apply patch with ERROR " Incorrect arguments specified! " on Windows

Solution Verified - Updated -

Issue

When i am trying to apply patch it throws error...i tried different mix and match combination both to run through sh and bat file

$ ./apply-updates.sh C:\Program Files\EAP 6.4.0\standalone\deployments\business-central.war eap6.x-bc

Using Java binary found at C:\Program Files\Java\jdk1.8.0_171/bin/java
09:46:02.532 [main] ERROR - Incorrect arguments specified! The program expects two mandatory parameters: <path-to-distribution> and <type-of-distribution>!

Tried diff combinations like

apply-updates.bat C:\Program Files\EAP 6.4.0\standalone\deployments\business-central.war eap6.4.16-bc

apply-updates.bat C:\Program Files\EAP 6.4.0\standalone\deployments\business-central.war eap6.4.10-bc

apply-updates.bat C:\Program Files\EAP 6.4.0\standalone\deployments\business-central.war eap6.x-bc

./apply-updates.sh C:/Program Files/EAP 6.4.0/standalone/deployments/business-central.war eap6.x-bc

what is the parameter list its expecting ?

Environment

  • Red Hat JBoss BRMS
    • 6.4.10

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content