You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "code4wt (GitHub)" <gi...@apache.org> on 2018/11/22 05:31:54 UTC

[GitHub] [incubator-dubbo-website] code4wt opened issue #186: The user doc about sticky connection is wrong.

The doc url: [http://dubbo.apache.org/zh-cn/docs/user/demos/stickiness.html](http://dubbo.apache.org/zh-cn/docs/user/demos/stickiness.html)

![image](https://user-images.githubusercontent.com/25877772/48883002-8a529200-ee58-11e8-969e-9cd74192bd4b.png)

I do like this, bug got an error. As below:

```java
Caused by: org.xml.sax.SAXParseException; lineNumber: 28; columnNumber: 49; cvc-complex-type.3.2.2: 元素 'dubbo:protocol' 中不允许出现属性 'sticky'。
	at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
	at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:134)
	at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:396)
	at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
	at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:284)
        ........
```

The sticky property cannot be configured in \<dubbo:protocol\>, please see another issue [incubator-dubbo #1538](https://github.com/apache/incubator-dubbo/issues/1538). Please update sticky doc to avoid confusing developers, thx.

[ Full content available at: https://github.com/apache/incubator-dubbo-website/issues/186 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo-website] lovepoem closed issue #186: The user doc about sticky connection is wrong.

Posted by "lovepoem (GitHub)" <gi...@apache.org>.
[ issue closed by lovepoem ]

[ Full content available at: https://github.com/apache/incubator-dubbo-website/issues/186 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org


[GitHub] [incubator-dubbo-website] ralf0131 commented on issue #186: The user doc about sticky connection is wrong.

Posted by "ralf0131 (GitHub)" <gi...@apache.org>.
Hi, would you please send a pull request?

[ Full content available at: https://github.com/apache/incubator-dubbo-website/issues/186 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org


[GitHub] [incubator-dubbo-website] lovepoem commented on issue #186: The user doc about sticky connection is wrong.

Posted by "lovepoem (GitHub)" <gi...@apache.org>.
Fixed via https://github.com/apache/incubator-dubbo-website/pull/189

[ Full content available at: https://github.com/apache/incubator-dubbo-website/issues/186 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org


[GitHub] [incubator-dubbo-website] code4wt commented on issue #186: The user doc about sticky connection is wrong.

Posted by "code4wt (GitHub)" <gi...@apache.org>.
OK, I will send a PR to update it.

[ Full content available at: https://github.com/apache/incubator-dubbo-website/issues/186 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org