Hi Thayalan, This happens since the default admin user has not been granted all privileges for Cassandra datastore. We are currently looking into this issue.
This can be temporary fixed by granting all privilleges to admin user in the management console. Navigate to Home > Manage > Cassandra Keyspaces > List > Keyspaces. Tick all checkboxes for admin role under "Permissions for All Keyspaces" section. Regards, Dunith On Mon, Feb 17, 2014 at 12:13 PM, Thayalan <[email protected]> wrote: > Hi, > > I have downloaded the pack and started in Windows 7 environment in > standalone mode and getting the below exception on server startup > > *[2014-02-17 17:28:51,252] INFO > {org.wso2.carbon.databridge.core.DataBridge} - admin connected* > *[2014-02-17 17:28:51,345] ERROR > {org.wso2.carbon.bam.notification.task.NotificationDispatchTask} - Error > executing notification dispatch task: InvalidRequestException(why:User > admin has no SELECT permission on <table > BAM_UTIL_KS.bam_notification_messages> or any of its parents)* > *me.prettyprint.hector.api.exceptions.HInvalidRequestException: > InvalidRequestException(why:User admin has no SELECT permission on <table > BAM_UTIL_KS.bam_notification_messages> or any of its parents)* > * at > me.prettyprint.cassandra.service.ExceptionsTranslatorImpl.translate(ExceptionsTranslatorImpl.java:52)* > * at > me.prettyprint.cassandra.service.KeyspaceServiceImpl$3.execute(KeyspaceServiceImpl.java:164)* > * at > me.prettyprint.cassandra.service.KeyspaceServiceImpl$3.execute(KeyspaceServiceImpl.java:146)* > * at > me.prettyprint.cassandra.service.Operation.executeAndSetResult(Operation.java:104)* > * at > me.prettyprint.cassandra.connection.HConnectionManager.operateWithFailover(HConnectionManager.java:253)* > * at > me.prettyprint.cassandra.service.KeyspaceServiceImpl.operateWithFailover(KeyspaceServiceImpl.java:132)* > * at > me.prettyprint.cassandra.service.KeyspaceServiceImpl.getRangeSlices(KeyspaceServiceImpl.java:168)* > * at > me.prettyprint.cassandra.model.thrift.ThriftRangeSlicesQuery$1.doInKeyspace(ThriftRangeSlicesQuery.java:80)* > * at > me.prettyprint.cassandra.model.thrift.ThriftRangeSlicesQuery$1.doInKeyspace(ThriftRangeSlicesQuery.java:76)* > * at > me.prettyprint.cassandra.model.KeyspaceOperationCallback.doInKeyspaceAndMeasure(KeyspaceOperationCallback.java:20)* > * at > me.prettyprint.cassandra.model.ExecutingKeyspace.doExecute(ExecutingKeyspace.java:101)* > * at > me.prettyprint.cassandra.model.thrift.ThriftRangeSlicesQuery.execute(ThriftRangeSlicesQuery.java:75)* > * at > org.wso2.carbon.bam.notification.task.NotificationDispatchTask.processNotificationRecords(NotificationDispatchTask.java:226)* > * at > org.wso2.carbon.bam.notification.task.NotificationDispatchTask.execute(NotificationDispatchTask.java:214)* > * at > org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter.execute(TaskQuartzJobAdapter.java:67)* > * at org.quartz.core.JobRunShell.run(JobRunShell.java:213)* > * at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)* > * at > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)* > * at java.util.concurrent.FutureTask.run(FutureTask.java:138)* > * at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)* > * at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)* > * at java.lang.Thread.run(Thread.java:662)* > *Caused by: InvalidRequestException(why:User admin has no SELECT > permission on <table BAM_UTIL_KS.bam_notification_messages> or any of its > parents)* > * at > org.apache.cassandra.thrift.Cassandra$get_range_slices_result.read(Cassandra.java:12916)* > * at > org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)* > * at > org.apache.cassandra.thrift.Cassandra$Client.recv_get_range_slices(Cassandra.java:734)* > * at > org.apache.cassandra.thrift.Cassandra$Client.get_range_slices(Cassandra.java:718)* > * at > me.prettyprint.cassandra.service.KeyspaceServiceImpl$3.execute(KeyspaceServiceImpl.java:152)* > > > Environment Details: > OS: > Windows 7 SP1 > > JAVA > java version "1.6.0_43" > Java(TM) SE Runtime Environment (build 1.6.0_43-b01) > Java HotSpot(TM) 64-Bit Server VM (build 20.14-b01, mixed mode) > > Cygwin > CYGWIN_NT-6.1 LT-THAYA 1.7.25(0.270/5/3) 2013-08-31 20:37 x86_64 Cygwin > > Please advice. > > > On Thu, Feb 13, 2014 at 7:06 PM, Evanthika Amarasiri > <[email protected]>wrote: > >> Hi Dunith, >> >> Thaya, Pandula & ChamaraA will start a QA cycle from Monday. >> >> Evanthika >> >> >> On Thu, Feb 13, 2014 at 5:39 PM, Dunith Dhanushka <[email protected]>wrote: >> >>> Hi all, >>> >>> BAM 2.4.1-Milestone1 distribution is available at >>> https://svn.wso2.org/repos/wso2/people/dunith/2.4.1-m1/wso2bam-2.4.1.zip >>> >>> Following are the bug fixes, improvements and the new features available >>> with this release. >>> >>> *Bug* >>> >>> - [BAM-1408 <https://wso2.org/jira/browse/BAM-1408>] >>> - NotificationDispatchTask may try to connect to another IP if there are >>> multiple network interfaces >>> >>> *Improvement* >>> >>> - [BAM-1434 <https://wso2.org/jira/browse/BAM-1434>] - Add The >>> Complete Event in Cassandra to the Message Console's Messages Table >>> - [BAM-1435 <https://wso2.org/jira/browse/BAM-1435>] - Add Oracle DB >>> support for Hive meta stores >>> - [BAM-1436 <https://wso2.org/jira/browse/BAM-1436>] - Upgrade to >>> Cassandra V1.2 >>> >>> *New Feature* >>> >>> - [BAM-1433 <https://wso2.org/jira/browse/BAM-1433>] - Add Message >>> Console to BAM Management Console >>> >>> >>> Evanthika, can we please start QA on this release? >>> >>> >>> >>> Regards, >>> >>> Dunith Dhanushka, >>> Senior Software Engineer - BAM, >>> WSO2 Inc, >>> >>> Mobile - +94 71 8615744 >>> Blog - dunithd.wordpress.com <http://blog.dunith.com> >>> Twitter - @dunithd <http://twitter.com/dunithd> >>> >> >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Regards, > Thayalan Sivapaleswararajah > Associate Technical Lead - QA > Mob: +94(0)777872485 > Tel : +94(0)(11)2145345 > Fax : +94(0)(11)2145300 > Email: [email protected] > > > *Disclaimer*: *This communication may contain privileged or other > confidential information and is intended exclusively for the addressee/s. > If you are not the intended recipient/s, or believe that you may have > received this communication in error, please reply to the sender indicating > that fact and delete the copy you received and in addition, you should not > print, copy, retransmit, disseminate, or otherwise use the information > contained in this communication. Internet communications cannot be > guaranteed to be timely, secure, error or virus-free. The sender does not > accept liability for any errors or omissions.* > > -- Regards, Dunith Dhanushka, Senior Software Engineer - BAM, WSO2 Inc, Mobile - +94 71 8615744 Blog - dunithd.wordpress.com <http://blog.dunith.com> Twitter - @dunithd <http://twitter.com/dunithd>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
