Repository: brooklyn-docs Updated Branches: refs/heads/master 9bf6a18bc -> e1db3735c
BROOKLYN-592: add to WinRM troubleshooting Project: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/commit/14b6acc0 Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/tree/14b6acc0 Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/diff/14b6acc0 Branch: refs/heads/master Commit: 14b6acc0420ec03b1efa94f84b3aa667e42f075c Parents: 9bf6a18 Author: Aled Sage <aled.s...@gmail.com> Authored: Fri Jun 15 12:21:52 2018 +0100 Committer: Aled Sage <aled.s...@gmail.com> Committed: Fri Jun 15 12:21:52 2018 +0100 ---------------------------------------------------------------------- guide/blueprints/winrm/index.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/14b6acc0/guide/blueprints/winrm/index.md ---------------------------------------------------------------------- diff --git a/guide/blueprints/winrm/index.md b/guide/blueprints/winrm/index.md index 2edcaa4..9a85d0b 100644 --- a/guide/blueprints/winrm/index.md +++ b/guide/blueprints/winrm/index.md @@ -466,6 +466,29 @@ Additional logs may be created by some Windows programs. For example, MSSQL crea [https://msdn.microsoft.com/en-us/library/ms143702.aspx](https://msdn.microsoft.com/en-us/library/ms143702.aspx). +### WinRM Commands Fail on Java Version 8u161 + +As described in bug [BROOKLYN-592](https://issues.apache.org/jira/browse/BROOKLYN-592), +WinRM commands in an entity fail for certain versions of Java 8 (from 8u161, fixed in 8u192). + +This is caused by the Java bug [JDK-8196491](https://bugs.openjdk.java.net/browse/JDK-8196491). + +The error within Brooklyn will look like: + +``` +org.apache.brooklyn.util.core.internal.winrm.WinRmException: (Administrator@52.87.226.190:5985) : failed to execute command: SOAPFaultException: Marshalling Error: Entity References are not allowed in SOAP documents + at org.apache.brooklyn.util.core.internal.winrm.winrm4j.Winrm4jTool.propagate(Winrm4jTool.java:257) + at org.apache.brooklyn.util.core.internal.winrm.winrm4j.Winrm4jTool.exec(Winrm4jTool.java:214) + at org.apache.brooklyn.util.core.internal.winrm.winrm4j.Winrm4jTool.executeCommand(Winrm4jTool.java:117) + ... +Caused by: java.lang.UnsupportedOperationException: Entity References are not allowed in SOAP documents + at com.sun.xml.internal.messaging.saaj.soap.SOAPDocumentImpl.createEntityReference(SOAPDocumentImpl.java:148) + ... +``` + +The workaround is to downgrade Java to 8u151 or similar, or upgrade to 8u192 or later. + + Known Limitations -----------------