Hi Amani,

What is the fix for this? I have the data source feature in BAM.

On Thu, Feb 3, 2011 at 11:00 AM, Amani Soysa <am...@wso2.com> wrote:

> Hi,
> This is because data source ("bam_datasource") is nonexistent the data
> source which is referred by the dbs.
>
> Regards,
> Amani
>
>
>
> On Wed, Feb 2, 2011 at 9:24 PM, Tharindu Mathew <thari...@wso2.com> wrote:
>
>> I see the following exception when starting up BAM:
>>
>> Have I missed an update somewhere?
>>
>> [2011-02-02 21:23:09,129]  INFO
>> {org.apache.axis2.deployment.DeploymentEngine} -
>>  org.apache.axis2.deployment.DeploymentException: The
>> BAMSummaryGenerationDS.dbs service, which is not valid, caused {1}
>> [2011-02-02 21:23:09,381] ERROR
>> {org.wso2.carbon.dataservices.core.DBDeployer} -  The BAMStatQueryDS.dbs
>> service, which is not valid, caused {1}
>> DS Code: unknown_error
>> Source Data Service:-
>>  Name: BAMStatQueryDS
>> Location:
>> /home/mackie/source-checkouts/carbon/products/bam/modules/distribution/target/wso2bam-1.3.0-SNAPSHOT/repository/deployment/server/dataservices/BAMStatQueryDS.dbs
>> Description: N/A
>> Default Namespace: http://ws.wso2.org/dataservice
>> Nested Exception:-
>> java.lang.NullPointerException
>>
>> at
>> org.wso2.carbon.dataservices.core.DataServiceFactory.createDataService(DataServiceFactory.java:241)
>>  at
>> org.wso2.carbon.dataservices.core.DBDeployer.createDBService(DBDeployer.java:588)
>> at
>> org.wso2.carbon.dataservices.core.DBDeployer.processService(DBDeployer.java:938)
>>  at
>> org.wso2.carbon.dataservices.core.DBDeployer.deploy(DBDeployer.java:179)
>> at
>> org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
>>  at
>> org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:813)
>> at
>> org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
>>  at
>> org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:370)
>> at
>> org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
>>  at
>> org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:364)
>> at
>> org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:73)
>>  at
>> org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:94)
>> at
>> org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Scheduler.java:93)
>>  at java.util.TimerThread.mainLoop(Timer.java:512)
>> at java.util.TimerThread.run(Timer.java:462)
>> Caused by: java.lang.NullPointerException
>> at
>> org.wso2.carbon.dataservices.core.description.query.SQLQueryDialectCarbonDSListener.setCarbonDataSourceService(SQLQueryDialectCarbonDSListener.java:46)
>>  at
>> org.wso2.carbon.dataservices.core.internal.DataServicesDSComponent.registerCarbonDataSourceServiceListener(DataServicesDSComponent.java:206)
>> at
>> org.wso2.carbon.dataservices.core.description.query.QueryFactory.createSQLQuery(QueryFactory.java:319)
>>  at
>> org.wso2.carbon.dataservices.core.description.query.QueryFactory.createQuery(QueryFactory.java:72)
>> at
>> org.wso2.carbon.dataservices.core.DataServiceFactory.createDataService(DataServiceFactory.java:176)
>>  ... 14 more
>>
>>
>> --
>> Regards,
>>
>> Tharindu
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Regards,

Tharindu Mathew

Software Engineer,
WSO2 Inc.,
http://wso2.com
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to