You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Yura Tolochkevich (JIRA)" <ji...@apache.org> on 2014/02/10 21:01:24 UTC

[jira] [Updated] (KNOX-244) Knox run from the directory with spaces in Windows OS

     [ https://issues.apache.org/jira/browse/KNOX-244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yura Tolochkevich updated KNOX-244:
-----------------------------------

    Attachment: KNOX-244.patch

> 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)