cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CASSANDRA-2237) cassandra.bat does fail when CASSANDRA_HOME contains a whitespace
Date Thu, 24 Feb 2011 19:58:38 GMT

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

Jonathan Ellis resolved CASSANDRA-2237.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.7.3
         Reviewer: jbellis
         Assignee: Norman Maurer

committed, thanks!

> cassandra.bat does fail when CASSANDRA_HOME contains a whitespace
> -----------------------------------------------------------------
>
>                 Key: CASSANDRA-2237
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2237
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Packaging
>         Environment: windows
>            Reporter: Norman Maurer
>            Assignee: Norman Maurer
>             Fix For: 0.7.3
>
>         Attachments: CASSANDRA-2237.diff
>
>
> If you try to start cassandra from a directory with whitespaces you will see a stacktrace
similar to this:
> Starting Cassandra Server
> Exception in thread "main" java.lang.NoClassDefFoundError: and
> Caused by: java.lang.ClassNotFoundException: and
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
> Could not find the main class: and.  Program will exit.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message