You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Kaz Walker (JIRA)" <ji...@apache.org> on 2010/02/23 23:03:27 UTC
[jira] Created: (CASSANDRA-824) Unable to start Cassandra in
windows if P drive exsists
Unable to start Cassandra in windows if P drive exsists
-------------------------------------------------------
Key: CASSANDRA-824
URL: https://issues.apache.org/jira/browse/CASSANDRA-824
Project: Cassandra
Issue Type: Bug
Components: Core
Environment: This problem should affect any version of windows with a P drive.
Reporter: Kaz Walker
Priority: Trivial
When running bin\cassandra.bat from main dir, Cassandra exits with:
Invalid parameter - P:
Starting Cassandra Server
Listening for transport dt_socket at address: 8888
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/cassandra/service/CassandraDaemon
Caused by: java.lang.ClassNotFoundException: org.apache.cassandra.service.CassandraDaemon
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: org.apache.cassandra.service.CassandraDaemon. Program will exit.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CASSANDRA-824) Unable to start Cassandra in
windows if P drive exsists
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-824:
-------------------------------------
Fix Version/s: 0.6
> Unable to start Cassandra in windows if P drive exsists
> -------------------------------------------------------
>
> Key: CASSANDRA-824
> URL: https://issues.apache.org/jira/browse/CASSANDRA-824
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Environment: This problem should affect any version of windows with a P drive.
> Reporter: Kaz Walker
> Priority: Trivial
> Fix For: 0.6
>
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> When running bin\cassandra.bat from main dir, Cassandra exits with:
> Invalid parameter - P:
> Starting Cassandra Server
> Listening for transport dt_socket at address: 8888
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/cassandra/service/CassandraDaemon
> Caused by: java.lang.ClassNotFoundException: org.apache.cassandra.service.CassandraDaemon
> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> Could not find the main class: org.apache.cassandra.service.CassandraDaemon. Program will exit.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CASSANDRA-824) Unable to start Cassandra in
windows if P drive exsists
Posted by "Mark Wolfe (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Wolfe updated CASSANDRA-824:
---------------------------------
Attachment: cassandra-bat-tidy.patch
Patch to correct the issue.
I have removed the use of subst which was mapping the P: this is unneccessary on newer windows releases.
I will give it a go on some test machines at work so far this tests fine on windows 7.
> Unable to start Cassandra in windows if P drive exsists
> -------------------------------------------------------
>
> Key: CASSANDRA-824
> URL: https://issues.apache.org/jira/browse/CASSANDRA-824
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Environment: This problem should affect any version of windows with a P drive.
> Reporter: Kaz Walker
> Priority: Trivial
> Fix For: 0.6
>
> Attachments: cassandra-bat-tidy.patch
>
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> When running bin\cassandra.bat from main dir, Cassandra exits with:
> Invalid parameter - P:
> Starting Cassandra Server
> Listening for transport dt_socket at address: 8888
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/cassandra/service/CassandraDaemon
> Caused by: java.lang.ClassNotFoundException: org.apache.cassandra.service.CassandraDaemon
> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> Could not find the main class: org.apache.cassandra.service.CassandraDaemon. Program will exit.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CASSANDRA-824) Unable to start Cassandra in
windows if P drive exsists
Posted by "Gary Dusbabek (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary Dusbabek resolved CASSANDRA-824.
-------------------------------------
Resolution: Fixed
r915824 (0.6), r915828 (trunk)
> Unable to start Cassandra in windows if P drive exsists
> -------------------------------------------------------
>
> Key: CASSANDRA-824
> URL: https://issues.apache.org/jira/browse/CASSANDRA-824
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Environment: This problem should affect any version of windows with a P drive.
> Reporter: Kaz Walker
> Assignee: Gary Dusbabek
> Priority: Trivial
> Fix For: 0.6
>
> Attachments: cassandra-bat-tidy.patch
>
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> When running bin\cassandra.bat from main dir, Cassandra exits with:
> Invalid parameter - P:
> Starting Cassandra Server
> Listening for transport dt_socket at address: 8888
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/cassandra/service/CassandraDaemon
> Caused by: java.lang.ClassNotFoundException: org.apache.cassandra.service.CassandraDaemon
> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> Could not find the main class: org.apache.cassandra.service.CassandraDaemon. Program will exit.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (CASSANDRA-824) Unable to start Cassandra in
windows if P drive exsists
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis reopened CASSANDRA-824:
--------------------------------------
> Unable to start Cassandra in windows if P drive exsists
> -------------------------------------------------------
>
> Key: CASSANDRA-824
> URL: https://issues.apache.org/jira/browse/CASSANDRA-824
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Environment: This problem should affect any version of windows with a P drive.
> Reporter: Kaz Walker
> Priority: Trivial
> Fix For: 0.6
>
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> When running bin\cassandra.bat from main dir, Cassandra exits with:
> Invalid parameter - P:
> Starting Cassandra Server
> Listening for transport dt_socket at address: 8888
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/cassandra/service/CassandraDaemon
> Caused by: java.lang.ClassNotFoundException: org.apache.cassandra.service.CassandraDaemon
> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> Could not find the main class: org.apache.cassandra.service.CassandraDaemon. Program will exit.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (CASSANDRA-824) Unable to start Cassandra in
windows if P drive exsists
Posted by "Gary Dusbabek (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary Dusbabek reassigned CASSANDRA-824:
---------------------------------------
Assignee: Gary Dusbabek
> Unable to start Cassandra in windows if P drive exsists
> -------------------------------------------------------
>
> Key: CASSANDRA-824
> URL: https://issues.apache.org/jira/browse/CASSANDRA-824
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Environment: This problem should affect any version of windows with a P drive.
> Reporter: Kaz Walker
> Assignee: Gary Dusbabek
> Priority: Trivial
> Fix For: 0.6
>
> Attachments: cassandra-bat-tidy.patch
>
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> When running bin\cassandra.bat from main dir, Cassandra exits with:
> Invalid parameter - P:
> Starting Cassandra Server
> Listening for transport dt_socket at address: 8888
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/cassandra/service/CassandraDaemon
> Caused by: java.lang.ClassNotFoundException: org.apache.cassandra.service.CassandraDaemon
> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> Could not find the main class: org.apache.cassandra.service.CassandraDaemon. Program will exit.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-824) Unable to start Cassandra in
windows if P drive exsists
Posted by "Gary Dusbabek (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12837835#action_12837835 ]
Gary Dusbabek commented on CASSANDRA-824:
-----------------------------------------
That patch didn't work perfectly for me. It wasn't including the jar files located in %CASSANDRA_HOME%/build/lib/jars. Once I added that, everything was good.
+1 on this patch.
> Unable to start Cassandra in windows if P drive exsists
> -------------------------------------------------------
>
> Key: CASSANDRA-824
> URL: https://issues.apache.org/jira/browse/CASSANDRA-824
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Environment: This problem should affect any version of windows with a P drive.
> Reporter: Kaz Walker
> Assignee: Gary Dusbabek
> Priority: Trivial
> Fix For: 0.6
>
> Attachments: cassandra-bat-tidy.patch
>
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> When running bin\cassandra.bat from main dir, Cassandra exits with:
> Invalid parameter - P:
> Starting Cassandra Server
> Listening for transport dt_socket at address: 8888
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/cassandra/service/CassandraDaemon
> Caused by: java.lang.ClassNotFoundException: org.apache.cassandra.service.CassandraDaemon
> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> Could not find the main class: org.apache.cassandra.service.CassandraDaemon. Program will exit.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CASSANDRA-824) Unable to start Cassandra in
windows if P drive exsists
Posted by "Kaz Walker (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kaz Walker resolved CASSANDRA-824.
----------------------------------
Resolution: Fixed
Changing the following lines in bin\cassandra.bat will fix this issue (Substitute "Q" for any available drive letter):
subst Q: "%CASSANDRA_HOME%\lib"
Q:
set CLASSPATH=Q:\
for %%i in (*.jar) do call :append %%i
goto okClasspath
:append
set CLASSPATH=%CLASSPATH%;Q:\%*
goto :eof
> Unable to start Cassandra in windows if P drive exsists
> -------------------------------------------------------
>
> Key: CASSANDRA-824
> URL: https://issues.apache.org/jira/browse/CASSANDRA-824
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Environment: This problem should affect any version of windows with a P drive.
> Reporter: Kaz Walker
> Priority: Trivial
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> When running bin\cassandra.bat from main dir, Cassandra exits with:
> Invalid parameter - P:
> Starting Cassandra Server
> Listening for transport dt_socket at address: 8888
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/cassandra/service/CassandraDaemon
> Caused by: java.lang.ClassNotFoundException: org.apache.cassandra.service.CassandraDaemon
> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> Could not find the main class: org.apache.cassandra.service.CassandraDaemon. Program will exit.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.