Skip to content
Browse files
Closes #257
BROOKLYN-592: add to WinRM troubleshooting

  • Loading branch information
duncangrant committed Jun 15, 2018
2 parents 9bf6a18 + 14b6acc commit e1db3735c8039e3d28949789054f3f0fb7e4a867
Showing 1 changed file with 23 additions and 0 deletions.
@@ -466,6 +466,29 @@ Additional logs may be created by some Windows programs. For example, MSSQL crea

### WinRM Commands Fail on Java Version 8u161

As described in bug [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](

The error within Brooklyn will look like:

org.apache.brooklyn.util.core.internal.winrm.WinRmException: (Administrator@ : 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(
at org.apache.brooklyn.util.core.internal.winrm.winrm4j.Winrm4jTool.exec(
at org.apache.brooklyn.util.core.internal.winrm.winrm4j.Winrm4jTool.executeCommand(
Caused by: java.lang.UnsupportedOperationException: Entity References are not allowed in SOAP documents
at com.sun.xml.internal.messaging.saaj.soap.SOAPDocumentImpl.createEntityReference(

The workaround is to downgrade Java to 8u151 or similar, or upgrade to 8u192 or later.

Known Limitations

0 comments on commit e1db373

Please sign in to comment.