Differences

This shows you the differences between two versions of the page.

Link to this comparison view

irc:1457305200 [2017/05/27 13:44] (current)
Line 1: Line 1:
 +[10:57:51] <​dns_>​ Hi there! Could you please help me with generating a fat-jar archive by maven-shade-plugin. I have this pom.xml: http://​pastebin.com/​CQcJJ0Zp and such errors: http://​pastebin.com/​ZgWxRScT
 +
 +[11:46:06] <​dns_>​ this is because I did not rename output file in <​outputFile>​.. so strange ((
 +
 +[11:55:07] <​dns_>​ so.. one more question.. I'd like to package my webserver without static content inside a fat jar. How can I provide path to "​webroot"​ directory for my StaticHandler?​
 +
 +[14:14:52] <​cescoffier>​ Hi dns_, just configure your assets to not be packaged, and create the directory on your file system
 +
 +[17:55:20] <​dns_>​ guys, if I start my verticle from a fat jar file, what is a default directory path for StaticHandler?​ I mean webroot
 +
 +[17:56:17] <​dns_>​ If I run *.java file with webserver, webroot is the current directory..
 +
 +[18:04:36] <​temporal_>​ you can change it with a system property
 +
 +[18:04:47] <​temporal_>​ now needs to remember the name :-)
 +
 +[18:05:33] <​temporal_>​ vertx.cwd
 +
 +[18:08:28] <​dns_>​ Thank you so much!!
 +
 +[20:30:35] *** ChanServ sets mode: +o temporalfox
 +
 +[20:57:03] <​AlexLehm>​ temporalfox:​ i have found an odd behaviour in the tls code, not sure if that should work
 +
 +[20:57:16] <​temporalfox>​ which tls code ?
 +
 +[20:57:39] <​AlexLehm>​ when using a netclient with ssl/tls
 +
 +[20:58:57] <​AlexLehm>​ when using .setSsl(true),​ it is possible to call getPeerCertificateChain on the NetSocket, but when using upgradeToSsl for a tls connection, getPeerCertificateChain gives an assert error or a null pointer exception
 +
 +[21:01:34] <​temporalfox>​ can you provide a reproducer ?
 +
 +[21:03:16] <​AlexLehm>​ yes, I put up one, give me a few minutes
 +
 +[21:15:20] <​AlexLehm>​ https://​gist.github.com/​alexlehm/​a7527a1eac119cca606e
 +
 +[21:15:56] <​AlexLehm>​ the ssl connect (isSsl=true) returns the certificate chain, while upgradeToSsl gives an assert error