-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

All,

I should note that I'm using Oracle Java 1.8.0 build 161.

I have seen another environment with essentially the same
configuration that seems to work. The path is
"E:\path\to\keystore.jks" and there are no errors.

Thanks,
- -chris

On 12/4/19 12:27, Christopher Schultz wrote:
> All,
> 
> I feel like I should be able to figure this out on my own, but I'm 
> drawing a blank.
> 
> I'm trying to upgrade from Apache Tomcat 8.0.35 to Apache Tomcat 
> 8.5.35 and I'm getting errors on a certain portion of the 
> conf/server.xml configuration.
> 
> I copy have a perfect copy/paste of the config file here but
> basically this is configuring a keystore for TLS. Something like
> this:
> 
> <Connector [...] keystoreFile="E:\path\to\keystore.jks" [...] />
> 
> The error is "unknown protocol: e". Clearly,
> Tomcat/Java/URL/whatever thinks that "E:" is a protocol. No
> problem... this has to be a file URL, so let's make it a file URL:
> 
> <Connector [...] keystoreFile="file:///E:/path/to/keystore.jks" 
> [...] />
> 
> Same error.
> 
> What if I remove the drive letter?
> 
> <Connector [...] keystoreFile="file:///path/to/keystore.jks" [...] 
> />
> 
> Same error (including the "e"!).
> 
> Okay, maybe e:/ looks like a protocol. How about using
> backslashes?
> 
> <Connector [...] keystoreFile="file:///E:\path\to\keystore.jks" 
> [...] />
> 
> "Illegal character in path" :(
> 
> What's the right way to write a Windows path containing a drive
> letter?
> 
> -chris
> 
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl3n7xcACgkQHPApP6U8
pFiz3Q/+L85HlQ1s6O+Wz0kmrp3FhsuTQNizoAnEQL7lvXd+AGi2sAIagRyTfme1
9MsWYBLYk0pTnOS+1mAnSt6FNNRKjdoJ0ud/rCXblqIwWX3j3nS1jifx92mQDQWt
bHISBL9wORBxaS+ENE1kicSBsVAJvEBA8gAY9p5kYncL9K1tK54XoklujTIHxrfU
g0NdprFv1LYZxxQyWmoP5zHSfvBsR2pjLpLSn3G2q32+gALgfu5hAWuJIUq5z4XZ
65sfVEtfV9lntohTNqWqu5tdrg0TyblXMruNMB9ygW2DAbHO93Sjkpj2t/AieQwv
GtvJd1XC7shERazFtplE6o5UZaOrg+N/B2BALvqVoVMR+tAGNrbQqZZjDz+zPzGA
cL3xNcKN5OqPMFbnge8Ar1v87ywcmvO3arj1lvE6kt97VNeSAOFj7+9i2VWEqu0K
HDrLv4Ca2ESu3k/MO/eerC5os2dEoVXQEejyBrMtHPDaD40VxJIrYbRmbS/dqk5F
fjSmcWIopl3+z8/6lex2JGNc26liyvseIrnUtCP8CUklDMilS2XOGVvypDmZNEH1
rce8IBV3LrRqO/VJ18/VWsc6u6qp9QB6bD8Qvo/dpvX3uIeb4QDDz/9W1UDibG37
0ZBqHkjty8C5wHxf5ep06lSdLbiH2NdY1LXKkz5Ru9cXElifVaE=
=gJWI
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to