Document the availability of stopKey/stopPort configuration parameters (and 
possibly allow just stopPort to be defined)
-----------------------------------------------------------------------------------------------------------------------

                 Key: MCASSANDRA-8
                 URL: http://jira.codehaus.org/browse/MCASSANDRA-8
             Project: Mojo's Cassandra Maven Plugin
          Issue Type: Improvement
    Affects Versions: 0.7.4-1
            Reporter: Raffaele Sena
            Assignee: Stephen Connolly
            Priority: Minor


I added the plugin to a project but when executing "mvn cassandra:run" (or 
cassandra:start) the process would fail with the following error:

[INFO] [cassandra:run {execution: default-cli}]
[INFO] Waiting for Cassandra to start...
[INFO] Exception in thread "main" java.net.BindException: Address already in 
use: JVM_Bind
[INFO]  at java.net.PlainSocketImpl.socketBind(Native Method)
[INFO]  at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
[INFO]  at java.net.ServerSocket.bind(ServerSocket.java:328)
[INFO]  at java.net.ServerSocket.<init>(ServerSocket.java:194)
[INFO]  at 
org.codehaus.mojo.cassandra.CassandraMonitor.<init>(CassandraMonitor.java:55)
[INFO]  at 
org.codehaus.mojo.cassandra.CassandraMonitor.main(CassandraMonitor.java:140)

I tracked it down to the "stopPort" (defaulting to 8081) being already in use 
but there is no documentation explaining how to override the default value 
(once I figured out that I was able to add stopKey and stopPort to my plugin 
config and everything now works fine).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to