On Mon, Dec 17, 2012 at 10:08 AM, Nirmal Fernando <[email protected]> wrote:
> $subject.
>
> I started MB server first, and then tried starting BAM server and it fails
> to do so [1].
>
> I copied "cassandra.yaml" and "cassandra-component.xml" to
> repository/conf/etc folder and seems it doesn't read them. :-( (BTW,
> shouldn't these be in BAM distribution?)
Cassandra offset with the cabon offset.
New version ships relevant configs with the product.
>
> Also, when MB server starts up it kills Cassandra server [2] since it has
> "-Ddisable.cassandra.server.startup=true" in start-up script. But this
> doesn't free up the Cassandra storage server port i.e. 7000 (You could
> telnet and see that).
>
I think one of your previous process is still running with port 7000.
>
>
> [1]
> [2012-12-17 09:48:05,363] ERROR
> {org.apache.cassandra.service.AbstractCassandraDaemon} - Fatal
> configuration error
> org.apache.cassandra.config.ConfigurationException: localhost/
> 127.0.0.1:7000 is in use by another process. Change
> listen_address:storage_port in cassandra.yaml to values that do not
> conflict with other services
> at
> org.apache.cassandra.net.MessagingService.getServerSocket(MessagingService.java:277)
> at
> org.apache.cassandra.net.MessagingService.listen(MessagingService.java:247)
> at
> org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:553)
> at
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:526)
> at
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:418)
> at
> org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:231)
> at
> org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:353)
> at
> org.wso2.carbon.cassandra.server.CassandraServerController$1.run(CassandraServerController.java:48)
> at java.lang.Thread.run(Thread.java:662)
> localhost/127.0.0.1:7000 is in use by another process. Change
> listen_address:storage_port in cassandra.yaml to values that do not
> conflict with other services
> Fatal configuration error; unable to start server. See log for stacktrace.
> [2012-12-17 09:48:05,367] INFO {org.apache.cassandra.gms.Gossiper} -
> Announcing shutdown
> [2012-12-17 09:48:06,367] INFO
> {org.apache.cassandra.net.MessagingService} - Waiting for messaging
> service to quiesce
> nirmal@nirmal:/media/wso2/bamKPI/wso2bam-2.0.2$
>
> [2]
> [2012-12-17 09:34:42,360] INFO
> {org.apache.cassandra.net.MessagingService} - Starting Messaging Service
> on port 7000
> [2012-12-17 09:34:42,795] INFO
> {org.wso2.carbon.cassandra.server.CassandraServerController} - Cassandra
> Server Controller Thread was destroyed successfully
>
> --
>
> Thanks & regards,
> Nirmal
>
> Software Engineer- Platform Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
> <http://nirmalfdo.blogspot.com/>
>
--
Deependra Ariyadewa
WSO2, Inc. http://wso2.com/ http://wso2.org
email [email protected]; cell +94 71 403 5996 ;
Blog http://risenfall.wordpress.com/
PGP info: KeyID: 'DC627E6F'
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev