This is my way:
1. Edit catalina.sh
`/usr/local/Cellar/tomcat/8.5.3/libexec/bin/catalina.sh`
2. At line 103, add the following
`CATALINA_OPTS="-javaagent:/Library/Tomcat/lib/jetty-alpn-agent-2.0.6.jar"`
3. Restart tomcat
`../bin/shutdown.sh
../bin/startup.sh`

On Thursday, December 22, 2016 at 9:58:58 PM UTC+8, Jorg Heymans wrote:
>
> Hi,
>
> I have been troubleshooting the ALPN error i was getting under a vanilla 
> spring-boot configuration, using 
> netty-tcnative-boringssl-static:1.1.33.Fork24 and a plain serverbuilder 
> with useTransportSecurity. 
>
> It turns out that it was caused by the spring-boot-starter-web dependency, 
> which brings its own version of tomcat-embed-core containing the jni 
> classes that are also packaged in the tcnative jar. 
>
> See also https://github.com/netty/netty-tcnative/issues/214 
>
>
> Jorg
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/27ce87a5-57ef-4708-8f49-bc9f0f50c5f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to