I have a very odd error which I am unable to solve.
I have an enterprise application. The build ear file deploys successfully using either WLST or the weblogic Deployer command line too.
The webapp is versioned using "Weblogic-Application-Version" in the Manifest.mf file.
However, when I go to redeploy the EAR using the WLST command "redeploy(...)" I get the below error
java.io.IOException: java.io.CharConversionException: Malformed UTF-8 char -- is an XML encoding declaration missing?Failed to redeploy the application with status failed
The strange thing is that if I use the command line deployer, "java weblogic.Deployer -redeploy..." the ear file redeploys perfectly fine.
Also if I use the deploy command "deploy(....)" it also deploys successfully, and retires the old version.
Ideally I'd like to use the redeploy command in WLST to ensure the old version retires correctly.
- Does anyone have any suggestions as to what could be causing this problem?
- When weapps are versioned, does deploy(...) do the same thing as redeploy(...) in wlst?