[
https://issues.apache.org/jira/browse/KNOX-244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13896991#comment-13896991
]
Kevin Minder commented on KNOX-244:
-----------------------------------
Patch contributed by Yura Tolochkevich.
> Knox run from the directory with spaces in Windows OS
> -----------------------------------------------------
>
> Key: KNOX-244
> URL: https://issues.apache.org/jira/browse/KNOX-244
> Project: Apache Knox
> Issue Type: Bug
> Affects Versions: 0.3.0
> Reporter: Yura Tolochkevich
> Assignee: Yura Tolochkevich
> Fix For: 0.4.0
>
> Attachments: KNOX-244.patch
>
>
> When path to Knox directory contains space (for example "c:\program
> files\knox") and when try to run java -jar bin/gateway.jar then get the
> exception:
> Exception in thread "main" java.lang.ClassNotFoundException:
> org.apache.hadoop.gateway.GatewayServer
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at
> org.apache.hadoop.gateway.launcher.Invoker.loadMainClass(Invoker.java:53)
> at org.apache.hadoop.gateway.launcher.Invoker.invoke(Invoker.java:35)
> at org.apache.hadoop.gateway.launcher.Command.run(Command.java:101)
> at org.apache.hadoop.gateway.launcher.Launcher.run(Launcher.java:70)
> at org.apache.hadoop.gateway.launcher.Launcher.main(Launcher.java:49)
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)