You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "ialand (JIRA)" <ji...@apache.org> on 2010/06/28 15:23:50 UTC
[jira] Created: (CASSANDRA-1236) when I start up the cassandra-cli,
a ClassNotFoundException occured:java.lang.ClassNotFoundException:
org.apache.cassandra.cli.CliMain
when I start up the cassandra-cli, a ClassNotFoundException occured:java.lang.ClassNotFoundException: org.apache.cassandra.cli.CliMain
--------------------------------------------------------------------------------------------------------------------------------------
Key: CASSANDRA-1236
URL: https://issues.apache.org/jira/browse/CASSANDRA-1236
Project: Cassandra
Issue Type: Bug
Components: Tools
Affects Versions: 0.6.2
Environment: windows XP
Reporter: ialand
After start up the cassandra server, I went to the bin/ directory and run the cassandra-cli, but there's an Exception throwed out, I have set the CASSANDRA_HOME system varible, but I don't know why
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/cassandra/cli/CliMain
Caused by: java.lang.ClassNotFoundException: org.apache.cassandra.cli.CliMain
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:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CASSANDRA-1236) when I start up the cassandra-cli,
a ClassNotFoundException occured:java.lang.ClassNotFoundException:
org.apache.cassandra.cli.CliMain
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-1236:
--------------------------------------
Assignee: Gary Dusbabek
can you reproduce in 0.6.3 gary?
> when I start up the cassandra-cli, a ClassNotFoundException occured:java.lang.ClassNotFoundException: org.apache.cassandra.cli.CliMain
> --------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-1236
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1236
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Affects Versions: 0.6.2
> Environment: windows XP
> Reporter: ialand
> Assignee: Gary Dusbabek
> Priority: Minor
> Fix For: 0.6.4
>
>
> After start up the cassandra server, I went to the bin/ directory and run the cassandra-cli, but there's an Exception throwed out, I have set the CASSANDRA_HOME system variable, I don't know why
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/cassandra/cli/CliMain
> Caused by: java.lang.ClassNotFoundException: org.apache.cassandra.cli.CliMain
> 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:306)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-1236) when I start up the
cassandra-cli, a ClassNotFoundException
occured:java.lang.ClassNotFoundException: org.apache.cassandra.cli.CliMain
Posted by "Gary Dusbabek (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12897130#action_12897130 ]
Gary Dusbabek commented on CASSANDRA-1236:
------------------------------------------
Thanks Carlos. Do you have the know-how to fix the batch file? If so, would you be willing to do this and attach it to this ticket? I can take care of the rest.
> when I start up the cassandra-cli, a ClassNotFoundException occured:java.lang.ClassNotFoundException: org.apache.cassandra.cli.CliMain
> --------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-1236
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1236
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Affects Versions: 0.6.2
> Environment: windows XP
> Reporter: ialand
> Assignee: Gary Dusbabek
> Priority: Minor
> Fix For: 0.6.4
>
>
> After start up the cassandra server, I went to the bin/ directory and run the cassandra-cli, but there's an Exception throwed out, I have set the CASSANDRA_HOME system variable, I don't know why
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/cassandra/cli/CliMain
> Caused by: java.lang.ClassNotFoundException: org.apache.cassandra.cli.CliMain
> 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:306)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CASSANDRA-1236) when I start up the cassandra-cli,
a ClassNotFoundException occured:java.lang.ClassNotFoundException:
org.apache.cassandra.cli.CliMain
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-1236:
--------------------------------------
Fix Version/s: 0.6.4
Priority: Minor (was: Major)
> when I start up the cassandra-cli, a ClassNotFoundException occured:java.lang.ClassNotFoundException: org.apache.cassandra.cli.CliMain
> --------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-1236
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1236
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Affects Versions: 0.6.2
> Environment: windows XP
> Reporter: ialand
> Priority: Minor
> Fix For: 0.6.4
>
>
> After start up the cassandra server, I went to the bin/ directory and run the cassandra-cli, but there's an Exception throwed out, I have set the CASSANDRA_HOME system varible, but I don't know why
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/cassandra/cli/CliMain
> Caused by: java.lang.ClassNotFoundException: org.apache.cassandra.cli.CliMain
> 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:306)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-1236) when I start up the
cassandra-cli, a ClassNotFoundException
occured:java.lang.ClassNotFoundException: org.apache.cassandra.cli.CliMain
Posted by "Carlos (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12897141#action_12897141 ]
Carlos commented on CASSANDRA-1236:
-----------------------------------
Hi Gary, I actually did not realise that there was a batch file to launch the CLI but I took a look and figured out what needed to be done to the sh script. I don't know enough about Windows batch programming to fix the bat file. Anyway, thanks for pointing me in the right direction. I was just trying to get through the GettingStarted guide on the Wiki.
> when I start up the cassandra-cli, a ClassNotFoundException occured:java.lang.ClassNotFoundException: org.apache.cassandra.cli.CliMain
> --------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-1236
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1236
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Affects Versions: 0.6.2
> Environment: windows XP
> Reporter: ialand
> Assignee: Gary Dusbabek
> Priority: Minor
> Fix For: 0.6.4
>
> Attachments: cassandra-cli
>
>
> After start up the cassandra server, I went to the bin/ directory and run the cassandra-cli, but there's an Exception throwed out, I have set the CASSANDRA_HOME system variable, I don't know why
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/cassandra/cli/CliMain
> Caused by: java.lang.ClassNotFoundException: org.apache.cassandra.cli.CliMain
> 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:306)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CASSANDRA-1236) when I start up the cassandra-cli,
a ClassNotFoundException occured:java.lang.ClassNotFoundException:
org.apache.cassandra.cli.CliMain
Posted by "Carlos (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carlos updated CASSANDRA-1236:
------------------------------
Attachment: cassandra-cli
Attached is a fix for the Bourne shell script. It was tested on Cygwin/XP.
> when I start up the cassandra-cli, a ClassNotFoundException occured:java.lang.ClassNotFoundException: org.apache.cassandra.cli.CliMain
> --------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-1236
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1236
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Affects Versions: 0.6.2
> Environment: windows XP
> Reporter: ialand
> Assignee: Gary Dusbabek
> Priority: Minor
> Fix For: 0.6.4
>
> Attachments: cassandra-cli
>
>
> After start up the cassandra server, I went to the bin/ directory and run the cassandra-cli, but there's an Exception throwed out, I have set the CASSANDRA_HOME system variable, I don't know why
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/cassandra/cli/CliMain
> Caused by: java.lang.ClassNotFoundException: org.apache.cassandra.cli.CliMain
> 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:306)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CASSANDRA-1236) when I start up the
cassandra-cli, a ClassNotFoundException
occured:java.lang.ClassNotFoundException: org.apache.cassandra.cli.CliMain
Posted by "Gary Dusbabek (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary Dusbabek resolved CASSANDRA-1236.
--------------------------------------
Resolution: Fixed
fixed in trunk and 0.6.4.
> when I start up the cassandra-cli, a ClassNotFoundException occured:java.lang.ClassNotFoundException: org.apache.cassandra.cli.CliMain
> --------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-1236
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1236
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Affects Versions: 0.6.2
> Environment: windows XP
> Reporter: ialand
> Assignee: Gary Dusbabek
> Priority: Minor
> Fix For: 0.6.4
>
>
> After start up the cassandra server, I went to the bin/ directory and run the cassandra-cli, but there's an Exception throwed out, I have set the CASSANDRA_HOME system variable, I don't know why
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/cassandra/cli/CliMain
> Caused by: java.lang.ClassNotFoundException: org.apache.cassandra.cli.CliMain
> 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:306)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CASSANDRA-1236) when I start up the cassandra-cli,
a ClassNotFoundException occured:java.lang.ClassNotFoundException:
org.apache.cassandra.cli.CliMain
Posted by "ialand (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ialand updated CASSANDRA-1236:
------------------------------
Description:
After start up the cassandra server, I went to the bin/ directory and run the cassandra-cli, but there's an Exception throwed out, I have set the CASSANDRA_HOME system variable, I don't know why
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/cassandra/cli/CliMain
Caused by: java.lang.ClassNotFoundException: org.apache.cassandra.cli.CliMain
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:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
was:
After start up the cassandra server, I went to the bin/ directory and run the cassandra-cli, but there's an Exception throwed out, I have set the CASSANDRA_HOME system varible, but I don't know why
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/cassandra/cli/CliMain
Caused by: java.lang.ClassNotFoundException: org.apache.cassandra.cli.CliMain
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:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
Priority: Major (was: Minor)
Fix Version/s: 0.6.2
(was: 0.6.4)
> when I start up the cassandra-cli, a ClassNotFoundException occured:java.lang.ClassNotFoundException: org.apache.cassandra.cli.CliMain
> --------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-1236
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1236
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Affects Versions: 0.6.2
> Environment: windows XP
> Reporter: ialand
> Fix For: 0.6.2
>
>
> After start up the cassandra server, I went to the bin/ directory and run the cassandra-cli, but there's an Exception throwed out, I have set the CASSANDRA_HOME system variable, I don't know why
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/cassandra/cli/CliMain
> Caused by: java.lang.ClassNotFoundException: org.apache.cassandra.cli.CliMain
> 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:306)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CASSANDRA-1236) when I start up the cassandra-cli,
a ClassNotFoundException occured:java.lang.ClassNotFoundException:
org.apache.cassandra.cli.CliMain
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-1236:
--------------------------------------
Fix Version/s: 0.6.4
(was: 0.6.2)
Priority: Minor (was: Major)
Please do not change the issue metadata.
> when I start up the cassandra-cli, a ClassNotFoundException occured:java.lang.ClassNotFoundException: org.apache.cassandra.cli.CliMain
> --------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-1236
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1236
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Affects Versions: 0.6.2
> Environment: windows XP
> Reporter: ialand
> Priority: Minor
> Fix For: 0.6.4
>
>
> After start up the cassandra server, I went to the bin/ directory and run the cassandra-cli, but there's an Exception throwed out, I have set the CASSANDRA_HOME system variable, I don't know why
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/cassandra/cli/CliMain
> Caused by: java.lang.ClassNotFoundException: org.apache.cassandra.cli.CliMain
> 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:306)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-1236) when I start up the
cassandra-cli, a ClassNotFoundException
occured:java.lang.ClassNotFoundException: org.apache.cassandra.cli.CliMain
Posted by "Carlos (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12897128#action_12897128 ]
Carlos commented on CASSANDRA-1236:
-----------------------------------
I am able to reproduce this in the 0.6.4 binary release. I get the error when running cassandra-cli from the Cassandra directory as well as from the bin directory.
> when I start up the cassandra-cli, a ClassNotFoundException occured:java.lang.ClassNotFoundException: org.apache.cassandra.cli.CliMain
> --------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-1236
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1236
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Affects Versions: 0.6.2
> Environment: windows XP
> Reporter: ialand
> Assignee: Gary Dusbabek
> Priority: Minor
> Fix For: 0.6.4
>
>
> After start up the cassandra server, I went to the bin/ directory and run the cassandra-cli, but there's an Exception throwed out, I have set the CASSANDRA_HOME system variable, I don't know why
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/cassandra/cli/CliMain
> Caused by: java.lang.ClassNotFoundException: org.apache.cassandra.cli.CliMain
> 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:306)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.