Yeah Ive also seen this before and even in other products.. I am also not
sure what is the cause of it .. maybe its a carbon-core issue?

On Sat, Feb 5, 2011 at 7:37 PM, Tharindu Mathew <[email protected]> wrote:

> Thanks Amani for the fix on this. I don't see the exceptions at start up,
> but I do see a peculiar occurrence. Some of the data services now get
> deployed after the server start up. Shouldn't this happen before? The log is
> given below:
>
> [2011-02-05 19:36:37,600]  INFO
> {org.wso2.carbon.core.transports.http.HttpsTransportListener} -  HTTPS port
>       : 9443
> [2011-02-05 19:36:37,601]  INFO
> {org.wso2.carbon.core.transports.http.HttpTransportListener} -  HTTP port
>      : 9763
> [2011-02-05 19:36:39,407]  INFO
> {org.wso2.carbon.core.deployment.DeploymentInterceptor} -  Deploying Axis2
> service: BAMArchiverDS {super-tenant}
> [2011-02-05 19:36:40,124]  INFO
> {org.apache.axis2.deployment.DeploymentEngine} -  Deploying Web service:
> BAMArchiverDS.dbs -
> file:/home/mackie/source-checkouts/carbon/products/bam/modules/distribution/target/wso2bam-1.3.0-SNAPSHOT/repository/deployment/server/dataservices/BAMArchiverDS.dbs
> [2011-02-05 19:36:40,252]  INFO
> {org.wso2.carbon.core.deployment.DeploymentInterceptor} -  Deploying Axis2
> service: BAMDataCollectionDS {super-tenant}
> [2011-02-05 19:36:42,337]  INFO
> {org.apache.axis2.deployment.DeploymentEngine} -  Deploying Web service:
> BAMDataCollectionDS.dbs -
> file:/home/mackie/source-checkouts/carbon/products/bam/modules/distribution/target/wso2bam-1.3.0-SNAPSHOT/repository/deployment/server/dataservices/BAMDataCollectionDS.dbs
> [2011-02-05 19:36:42,597]  INFO
> {org.wso2.carbon.core.deployment.DeploymentInterceptor} -  Deploying Axis2
> service: BAMSummaryQueryDS {super-tenant}
> [2011-02-05 19:36:44,724]  INFO
> {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} -  Mgt Console URL  :
> https://192.168.1.108:9443/carbon/
> [2011-02-05 19:36:44,786]  INFO
> {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  Started
> Transport Listener Manager
> [2011-02-05 19:36:44,797]  INFO
> {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  Server
>         :  WSO2 Business Activity Monitor-1.3.0-SNAPSHOT
> *[2011-02-05 19:36:44,797]  INFO
> {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  WSO2
> Carbon started in 31 sec*
> [2011-02-05 19:36:45,271]  INFO
> {org.apache.axis2.deployment.DeploymentEngine} -  Deploying Web service:
> BAMSummaryQueryDS.dbs -
> file:/home/mackie/source-checkouts/carbon/products/bam/modules/distribution/target/wso2bam-1.3.0-SNAPSHOT/repository/deployment/server/dataservices/BAMSummaryQueryDS.dbs
> [2011-02-05 19:36:45,469]  INFO
> {org.wso2.carbon.core.deployment.DeploymentInterceptor} -  Deploying Axis2
> service: BAMConfigurationDS {super-tenant}
> [2011-02-05 19:36:49,189]  INFO
> {org.apache.axis2.deployment.DeploymentEngine} -  Deploying Web service:
> BAMConfigurationDS.dbs -
> file:/home/mackie/source-checkouts/carbon/products/bam/modules/distribution/target/wso2bam-1.3.0-SNAPSHOT/repository/deployment/server/dataservices/BAMConfigurationDS.dbs
> [2011-02-05 19:36:49,513]  INFO
> {org.wso2.carbon.core.deployment.DeploymentInterceptor} -  Deploying Axis2
> service: BAMStatQueryDS {super-tenant}
> [2011-02-05 19:36:56,305]  INFO
> {org.apache.axis2.deployment.DeploymentEngine} -  Deploying Web service:
> BAMStatQueryDS.dbs -
> file:/home/mackie/source-checkouts/carbon/products/bam/modules/distribution/target/wso2bam-1.3.0-SNAPSHOT/repository/deployment/server/dataservices/BAMStatQueryDS.dbs
>
>
> On Thu, Feb 3, 2011 at 11:50 AM, Tharindu Mathew <[email protected]>wrote:
>
>> 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 <[email protected]> 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 <[email protected]>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
>>>> [email protected]
>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> [email protected]
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Regards,
>>
>> Tharindu Mathew
>>
>> Software Engineer,
>> WSO2 Inc.,
>> http://wso2.com
>>
>>
>
>
> --
> Regards,
>
> Tharindu Mathew
>
> Software Engineer,
> WSO2 Inc.,
> http://wso2.com
>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to