{"action":"created","issue":{"url":"https://api.github.com/repos/jurmous/etcd4j/issues/125","repository_url":"https://api.github.com/repos/jurmous/etcd4j","labels_url":"https://api.github.com/repos/jurmous/etcd4j/issues/125/labels{/name}","comments_url":"https://api.github.com/repos/jurmous/etcd4j/issues/125/comments","events_url":"https://api.github.com/repos/jurmous/etcd4j/issues/125/events","html_url":"https://github.com/jurmous/etcd4j/issues/125","id":177811462,"number":125,"title":"etcd4j doesn't work in servlet server","user":{"login":"armstrongli","id":8025018,"avatar_url":"https://avatars.githubusercontent.com/u/8025018?v=3","gravatar_id":"","url":"https://api.github.com/users/armstrongli","html_url":"https://github.com/armstrongli","followers_url":"https://api.github.com/users/armstrongli/followers","following_url":"https://api.github.com/users/armstrongli/following{/other_user}","gists_url":"https://api.github.com/users/armstrongli/gists{/gist_id}","starred_url":"https://api.github.com/users/armstrongli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armstrongli/subscriptions","organizations_url":"https://api.github.com/users/armstrongli/orgs","repos_url":"https://api.github.com/users/armstrongli/repos","events_url":"https://api.github.com/users/armstrongli/events{/privacy}","received_events_url":"https://api.github.com/users/armstrongli/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-09-19T15:08:36Z","updated_at":"2016-09-22T12:10:16Z","closed_at":"2016-09-22T10:14:16Z","body":"In tomcat or jetty server, it doesn't work with SSL enabled etcd server.\r\nIt throws out exception:\r\n```\r\njava.lang.IllegalStateException: Load library failed!\r\n       \tat io.netty.util.internal.NativeLibraryLoader$1.run(NativeLibraryLoader.java:261)\r\n       \tat java.security.AccessController.doPrivileged(Native Method)\r\n       \tat io.netty.util.internal.NativeLibraryLoader.loadLibraryByHelper(NativeLibraryLoader.java:250)\r\n       \tat io.netty.util.internal.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:242)\r\n       \tat io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:194)\r\n       \tat io.netty.util.internal.NativeLibraryLoader.loadFirstAvailable(NativeLibraryLoader.java:166)\r\n       \tat io.netty.handler.ssl.OpenSsl.loadTcNative(OpenSsl.java:380)\r\n       \tat io.netty.handler.ssl.OpenSsl.<clinit>(OpenSsl.java:99)\r\n       \tat io.netty.handler.ssl.ReferenceCountedOpenSslContext.<init>(ReferenceCountedOpenSslContext.java:206)\r\n       \tat io.netty.handler.ssl.ReferenceCountedOpenSslContext.<init>(ReferenceCountedOpenSslContext.java:198)\r\n       \tat io.netty.handler.ssl.OpenSslContext.<init>(OpenSslContext.java:34)\r\n       \tat io.netty.handler.ssl.OpenSslClientContext.<init>(OpenSslClientContext.java:187)\r\n       \tat io.netty.handler.ssl.SslContext.newClientContextInternal(SslContext.java:753)\r\n       \tat io.netty.handler.ssl.SslContextBuilder.build(SslContextBuilder.java:397)\r\nCaused by: java.lang.reflect.InvocationTargetException\r\n       \tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n       \tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n       \tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n       \tat java.lang.reflect.Method.invoke(Method.java:497)\r\n       \tat io.netty.util.internal.NativeLibraryLoader$1.run(NativeLibraryLoader.java:259)\r\n       \t... 16 more\r\nCaused by: java.lang.UnsatisfiedLinkError: no netty-tcnative-osx-x86_64 in java.library.path\r\n       \tat java.lang.ClassLoader.loadLibrary(ClassLoader.java:1864)\r\n       \tat java.lang.Runtime.loadLibrary0(Runtime.java:870)\r\n       \tat java.lang.System.loadLibrary(System.java:1122)\r\n       \tat io.netty.util.internal.NativeLibraryUtil.loadLibrary(NativeLibraryUtil.java:38)\r\n       \t... 21 more\r\n```"},"comment":{"url":"https://api.github.com/repos/jurmous/etcd4j/issues/comments/248885455","html_url":"https://github.com/jurmous/etcd4j/issues/125#issuecomment-248885455","issue_url":"https://api.github.com/repos/jurmous/etcd4j/issues/125","id":248885455,"user":{"login":"armstrongli","id":8025018,"avatar_url":"https://avatars.githubusercontent.com/u/8025018?v=3","gravatar_id":"","url":"https://api.github.com/users/armstrongli","html_url":"https://github.com/armstrongli","followers_url":"https://api.github.com/users/armstrongli/followers","following_url":"https://api.github.com/users/armstrongli/following{/other_user}","gists_url":"https://api.github.com/users/armstrongli/gists{/gist_id}","starred_url":"https://api.github.com/users/armstrongli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armstrongli/subscriptions","organizations_url":"https://api.github.com/users/armstrongli/orgs","repos_url":"https://api.github.com/users/armstrongli/repos","events_url":"https://api.github.com/users/armstrongli/events{/privacy}","received_events_url":"https://api.github.com/users/armstrongli/received_events","type":"User","site_admin":false},"created_at":"2016-09-22T12:10:16Z","updated_at":"2016-09-22T12:10:16Z","body":"Here are some details of output:\r\n```\r\nCaused by: java.lang.UnsatisfiedLinkError: /tmp/libnetty-tcnative3270913869898400045.so: Error relocating /tmp/libnetty-tcnative3270913869898400045.so: SSL_add0_chain_cert: symbol not found\r\n       \tat java.lang.ClassLoader$NativeLibrary.load(Native Method)\r\n       \tat java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)\r\n       \tat java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)\r\n       \tat java.lang.Runtime.load0(Runtime.java:809)\r\n       \tat java.lang.System.load(System.java:1086)\r\n       \tat io.netty.util.internal.NativeLibraryUtil.loadLibrary(NativeLibraryUtil.java:36)\r\n       \t... 21 more\r\n```\r\n\r\nIf the image base is ubuntu, there won't be any error."}}
{"actor":{"display_login":"armstrongli"}}