Hi Waruna,

I just tried this with a pack I built now. It doesn't throw any errors for
me. Token generation and regeneration are both work fine.

Thanks,
NuwanD.

On Wed, Mar 11, 2015 at 1:17 PM, Waruna Perera <[email protected]> wrote:

> Hi,
>
> When we tried to run test cases in the latest code following error
> occurred. I even tried it manually with the built pack and error is coming
> for token generation.
>
> Caused by: org.wso2.carbon.apimgt.impl.workflow.WorkflowException: Error
> occured when updating the status of the Application creation process
> INFO
>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - at
> org.wso2.carbon.apimgt.impl.workflow.ApplicationRegistrationSimpleWorkflowExecutor.complete(ApplicationRegistrationSimpleWorkflowExecutor.java:85)
> INFO
>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - at
> org.wso2.carbon.apimgt.impl.workflow.ApplicationRegistrationSimpleWorkflowExecutor.execute(ApplicationRegistrationSimpleWorkflowExecutor.java:58)
> INFO
>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - at
> org.wso2.carbon.apimgt.impl.APIConsumerImpl.requestApprovalForApplicationRegistration(APIConsumerImpl.java:1762)
> INFO
>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - ...
> 63 more
> INFO
>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
> Caused by: org.wso2.carbon.apimgt.api.APIManagementException: Error
> occurred while creating an Application Registration Entry for Application :
> APILifeCycleTestAPI-application
> INFO
>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - at
> org.wso2.carbon.apimgt.impl.dao.ApiMgtDAO.handleException(ApiMgtDAO.java:5851)
> INFO
>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - at
> org.wso2.carbon.apimgt.impl.dao.ApiMgtDAO.createApplicationRegistrationEntry(ApiMgtDAO.java:287)
> INFO
>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - at
> org.wso2.carbon.apimgt.impl.workflow.ApplicationRegistrationSimpleWorkflowExecutor.complete(ApplicationRegistrationSimpleWorkflowExecutor.java:80)
> INFO
>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - ...
> 65 more
> INFO
>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
> Caused by: org.h2.jdbc.JdbcSQLException: Column "TOKEN_SCOPE" not found;
> SQL statement:
> INFO
>  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
> INSERT INTO  AM_APPLICATION_REGISTRATION
> (SUBSCRIBER_ID,WF_REF,APP_ID,TOKEN_TYPE,ALLOWED_DOMAINS,VALIDITY_PERIOD,TOKEN_SCOPE)
>   VALUES(?,?,?,?,?,?,?) [42122-140
>
> any changes cause for this?
>
> --
> Waruna Perera
> Senior Software Engineer - Test Automation
> Mobile: +94 77 3867037
> WSO2, Inc.; http://wso2.com/
> lean . enterprise . middlewear.
>



-- 
Nuwan Dias

Associate Tech Lead - WSO2, Inc. http://wso2.com
email : [email protected]
Phone : +94 777 775 729
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to